v20180529

package
v3.0.325+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Not an organizational customer.
	AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// Unable to create this connection: insufficient account balance.
	FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"

	// The operation is being performed. Do not perform it again.
	FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing"

	// Too many attempts. Please try again later.
	FAILEDOPERATION_ACTIONOPERATETOOQUICKLY = "FailedOperation.ActionOperateTooQuickly"

	// Unable to operate in batches: the connections belong to different groups.
	FAILEDOPERATION_BELONGDIFFERENTGROUP = "FailedOperation.BelongDifferentGroup"

	// Unable to operate: the certificate is occupied.
	FAILEDOPERATION_CERTIFICATEISUSING = "FailedOperation.CertificateIsUsing"

	// Unable to delete: the connection group contains groups.
	FAILEDOPERATION_DELETEPROXYGROUPPROXYREMAINED = "FailedOperation.DeleteProxyGroupProxyRemained"

	// The domain name is used by a listener.
	FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted"

	// Operation unavailable: the domain name is not running.
	FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"

	// Repeated request. Please check the value of ClientToken.
	FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"

	// Unable to operate: the connection group is not running.
	FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"

	// Unable to operate: the connection is not running.
	FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"

	// Invalid listener protocol.
	FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol"

	// Limit on the number of listeners exceeded.
	FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"

	// The number of connections in the connection group exceeded the limit.
	FAILEDOPERATION_LIMITNUMOFPROXIESINGROUP = "FailedOperation.LimitNumofProxiesInGroup"

	// Limit on the number of forwarding rules exceeded.
	FAILEDOPERATION_LIMITNUMOFRULES = "FailedOperation.LimitNumofRules"

	// Limit on the number of bound origin servers exceeded.
	FAILEDOPERATION_LIMITREALSERVERNUM = "FailedOperation.LimitRealServerNum"

	// The listener is in operation. Do not repeat the operation.
	FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"

	// The listener does not support this operation in current status.
	FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"

	// Only connections of Version 2.0 are supported.
	FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"

	// This operation is not supported for connection groups.
	FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"

	// The configuration change is not supported.
	FAILEDOPERATION_NOTSUPPORTSCALAR = "FailedOperation.NotSupportScalar"

	// Limit on the number of ports for a single operation exceeded.
	FAILEDOPERATION_OPERATELIMITNUMOFLISTENER = "FailedOperation.OperateLimitNumofListener"

	// The security policy has been disabled. Do not repeat the operation.
	FAILEDOPERATION_PROXYSECURITYALREADYCLOSE = "FailedOperation.ProxySecurityAlreadyClose"

	// The security policy has been enabled. Do not repeat the operation.
	FAILEDOPERATION_PROXYSECURITYALREADYOPEN = "FailedOperation.ProxySecurityAlreadyOpen"

	// Failed to add the rule: default connection access rules cannot be denied.
	FAILEDOPERATION_PROXYSECURITYPOLICYDEFAULTRULE = "FailedOperation.ProxySecurityPolicyDefaultRule"

	// Failed to add rules: repeated security protection access rules.
	FAILEDOPERATION_PROXYSECURITYPOLICYDUPLICATEDRULE = "FailedOperation.ProxySecurityPolicyDuplicatedRule"

	// The security policy already exists. Do not create it again.
	FAILEDOPERATION_PROXYSECURITYPOLICYEXISTED = "FailedOperation.ProxySecurityPolicyExisted"

	// The line is sold out or the resource is insufficient. Please submit a ticket.
	FAILEDOPERATION_PROXYSELLOUT = "FailedOperation.ProxySellOut"

	// Unable to add listeners: the connection is not running.
	FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"

	// This version of connection is not supported.
	FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"

	// Failed to delete: it’s bound to an origin server.
	FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"

	// The origin server do not belong to this project.
	FAILEDOPERATION_REALSERVERNOTINPROJECT = "FailedOperation.RealServerNotInProject"

	// This resource is not accessible.
	FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"

	// The resource is being upgraded.
	FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"

	// Rule already exists.
	FAILEDOPERATION_RULEALREADYEXISTED = "FailedOperation.RuleAlreadyExisted"

	// Unverified user.
	FAILEDOPERATION_USERNOTAUTHENTICATED = "FailedOperation.UserNotAuthenticated"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Incorrect parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// Incorrect parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The domain name is blocked for ICP issues.
	INVALIDPARAMETERVALUE_DOMAININICPBLACKLIST = "InvalidParameterValue.DomainInIcpBlacklist"

	// The domain name does not have an ICP filing.
	INVALIDPARAMETERVALUE_DOMAINNOTREGISTER = "InvalidParameterValue.DomainNotRegister"

	// The `RealServer` already exists.
	INVALIDPARAMETERVALUE_DUPLICATERS = "InvalidParameterValue.DuplicateRS"

	// Listener port already exists.
	INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort"

	// The header is blocklisted.
	INVALIDPARAMETERVALUE_HITBLACKLIST = "InvalidParameterValue.HitBlacklist"

	// The bandwidth value is not in the range.
	INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"

	// Failed to resolve. Please check the format of certificate content.
	INVALIDPARAMETERVALUE_INVALIDCERTIFICATECONTENT = "InvalidParameterValue.InvalidCertificateContent"

	// Certificate unavailable.
	INVALIDPARAMETERVALUE_INVALIDCERTIFICATEID = "InvalidParameterValue.InvalidCertificateId"

	// Failed to resolve. Please check the format of certificate key.
	INVALIDPARAMETERVALUE_INVALIDCERTIFICATEKEY = "InvalidParameterValue.InvalidCertificateKey"

	// The number of concurrences is not in the range.
	INVALIDPARAMETERVALUE_INVALIDCONCURRENCY = "InvalidParameterValue.InvalidConcurrency"

	// The listener port is not available.
	INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort"

	// The tag is not found or you have no access permission to it.
	INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags"

	// The project does not belong to this user.
	INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong"

	// The origin server does not belong to this user.
	INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong"

	// The acceleration region is not found or you have no access permission to it.
	INVALIDPARAMETERVALUE_UNKNOWNACCESSREGION = "InvalidParameterValue.UnknownAccessRegion"

	// The origin server region is not found or you have no access permission to it.
	INVALIDPARAMETERVALUE_UNKNOWNDESTREGION = "InvalidParameterValue.UnknownDestRegion"

	// The quota limit should not be exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// Restricted resources found in your account. Check your inbox and email for details.
	RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

	// Unauthorized operation.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// Unknown parameter.
	UNKNOWNPARAMETER = "UnknownParameter"

	// Unsupported operation
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2018-05-29"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessConfiguration

type AccessConfiguration struct {

	// Acceleration region.
	AccessRegion *string `json:"AccessRegion,omitempty" name:"AccessRegion"`

	// Connection bandwidth upper limit in Mbps.
	Bandwidth *uint64 `json:"Bandwidth,omitempty" name:"Bandwidth"`

	// Concurrent connection upper limit in 10,000 connections, which indicates the allowed number of concurrently online connections.
	Concurrent *uint64 `json:"Concurrent,omitempty" name:"Concurrent"`

	// Network type. Valid values: `normal` (default), `cn2`
	NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"`
}

type AccessRegionDetial

type AccessRegionDetial struct {

	// Region ID
	RegionId *string `json:"RegionId,omitempty" name:"RegionId"`

	// Region name in Chinese or English
	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`

	// Value array of the available concurrence
	ConcurrentList []*int64 `json:"ConcurrentList,omitempty" name:"ConcurrentList"`

	// Value array of the available bandwidth
	BandwidthList []*int64 `json:"BandwidthList,omitempty" name:"BandwidthList"`
}

type AccessRegionDomainConf

type AccessRegionDomainConf struct {

	// Region ID.
	RegionId *string `json:"RegionId,omitempty" name:"RegionId"`

	// Region/country code for the nearest access, which can be obtained via the DescribeCountryAreaMapping API.
	NationCountryInnerList []*string `json:"NationCountryInnerList,omitempty" name:"NationCountryInnerList"`
}

type AddRealServersRequest

type AddRealServersRequest struct {
	*tchttp.BaseRequest

	// Project ID corresponding to origin server
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// IP or domain name corresponding to origin server
	RealServerIP []*string `json:"RealServerIP,omitempty" name:"RealServerIP"`

	// Origin server name
	RealServerName *string `json:"RealServerName,omitempty" name:"RealServerName"`

	// Tag list
	TagSet []*TagPair `json:"TagSet,omitempty" name:"TagSet"`
}

func NewAddRealServersRequest

func NewAddRealServersRequest() (request *AddRealServersRequest)

func (*AddRealServersRequest) FromJsonString

func (r *AddRealServersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddRealServersRequest) ToJsonString

func (r *AddRealServersRequest) ToJsonString() string

type AddRealServersResponse

type AddRealServersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Origin server information list
		RealServerSet []*NewRealServer `json:"RealServerSet,omitempty" name:"RealServerSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAddRealServersResponse

func NewAddRealServersResponse() (response *AddRealServersResponse)

func (*AddRealServersResponse) FromJsonString

func (r *AddRealServersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddRealServersResponse) ToJsonString

func (r *AddRealServersResponse) ToJsonString() string

type BandwidthPriceGradient

type BandwidthPriceGradient struct {

	// Bandwidth range.
	BandwidthRange []*int64 `json:"BandwidthRange,omitempty" name:"BandwidthRange"`

	// Bandwidth unit price within the bandwidth range. Unit: CNY/Mbps/day.
	BandwidthUnitPrice *float64 `json:"BandwidthUnitPrice,omitempty" name:"BandwidthUnitPrice"`

	// Discounted bandwidth price in CNY/Mbps/day.
	DiscountBandwidthUnitPrice *float64 `json:"DiscountBandwidthUnitPrice,omitempty" name:"DiscountBandwidthUnitPrice"`
}

type BindListenerRealServersRequest

type BindListenerRealServersRequest struct {
	*tchttp.BaseRequest

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// List of origin servers to be bound. If the origin server scheduling policy type of this listener is weighted round robin, you need to enter the `RealServerWeight`, i.e., the origin server weight. If this field is left empty or for other scheduling types, the default origin server weight is 1.
	RealServerBindSet []*RealServerBindSetReq `json:"RealServerBindSet,omitempty" name:"RealServerBindSet"`
}

func NewBindListenerRealServersRequest

func NewBindListenerRealServersRequest() (request *BindListenerRealServersRequest)

func (*BindListenerRealServersRequest) FromJsonString

func (r *BindListenerRealServersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindListenerRealServersRequest) ToJsonString

func (r *BindListenerRealServersRequest) ToJsonString() string

type BindListenerRealServersResponse

type BindListenerRealServersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBindListenerRealServersResponse

func NewBindListenerRealServersResponse() (response *BindListenerRealServersResponse)

func (*BindListenerRealServersResponse) FromJsonString

func (r *BindListenerRealServersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindListenerRealServersResponse) ToJsonString

func (r *BindListenerRealServersResponse) ToJsonString() string

type BindRealServer

type BindRealServer struct {

	// Origin server ID
	RealServerId *string `json:"RealServerId,omitempty" name:"RealServerId"`

	// Origin server IP or domain name
	RealServerIP *string `json:"RealServerIP,omitempty" name:"RealServerIP"`

	// Origin server weight
	RealServerWeight *int64 `json:"RealServerWeight,omitempty" name:"RealServerWeight"`

	// Origin server health check status. Valid values:
	// 0: normal;
	// 1: exceptional.
	// If health check is not enabled, this status will always be normal.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RealServerStatus *int64 `json:"RealServerStatus,omitempty" name:"RealServerStatus"`

	// Origin server port number
	// Note: This field may return null, indicating that no valid values can be obtained.
	RealServerPort *int64 `json:"RealServerPort,omitempty" name:"RealServerPort"`

	// If the origin server is a domain name, the domain name will be resolved to one or multiple IPs. This field indicates the exceptional IP list.
	DownIPList []*string `json:"DownIPList,omitempty" name:"DownIPList"`
}

type BindRealServerInfo

type BindRealServerInfo struct {

	// Origin server IP or domain name
	RealServerIP *string `json:"RealServerIP,omitempty" name:"RealServerIP"`

	// Origin server ID
	RealServerId *string `json:"RealServerId,omitempty" name:"RealServerId"`

	// Origin server name
	RealServerName *string `json:"RealServerName,omitempty" name:"RealServerName"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Tag list
	// Note: This field may return null, indicating that no valid values can be obtained.
	TagSet []*TagPair `json:"TagSet,omitempty" name:"TagSet"`
}

type BindRuleRealServersRequest

type BindRuleRealServersRequest struct {
	*tchttp.BaseRequest

	// Forwarding rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// An information list of the origin servers to bind.
	// If there are origin servers bound already, they will be replaced by this new origin server list.
	// If this field is empty, it indicates unbinding all origin servers of this rule.
	// If the origin server scheduling policy type of this rule is weighted round robin, you need to enter `RealServerWeight`, i.e., the origin server weight. If this field is left empty or for other scheduling types, the default origin server weight is 1.
	RealServerBindSet []*RealServerBindSetReq `json:"RealServerBindSet,omitempty" name:"RealServerBindSet"`
}

func NewBindRuleRealServersRequest

func NewBindRuleRealServersRequest() (request *BindRuleRealServersRequest)

func (*BindRuleRealServersRequest) FromJsonString

func (r *BindRuleRealServersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindRuleRealServersRequest) ToJsonString

func (r *BindRuleRealServersRequest) ToJsonString() string

type BindRuleRealServersResponse

type BindRuleRealServersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBindRuleRealServersResponse

func NewBindRuleRealServersResponse() (response *BindRuleRealServersResponse)

func (*BindRuleRealServersResponse) FromJsonString

func (r *BindRuleRealServersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindRuleRealServersResponse) ToJsonString

func (r *BindRuleRealServersResponse) ToJsonString() string

type Certificate

type Certificate struct {

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Certificate name; It's an old parameter, please switch to CertificateAlias.
	CertificateName *string `json:"CertificateName,omitempty" name:"CertificateName"`

	// Certificate type.
	CertificateType *int64 `json:"CertificateType,omitempty" name:"CertificateType"`

	// Certificate name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertificateAlias *string `json:"CertificateAlias,omitempty" name:"CertificateAlias"`

	// Certificate creation time in the format of UNIX timestamp, indicating the number of seconds that have elapsed since January 1, 1970 (midnight in UTC/GMT).
	CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`

	// Certificate effective time in the format of UNIX timestamp, indicating the number of seconds that have elapsed since January 1, 1970 (midnight in UTC/GMT).
	// Note: This field may return null, indicating that no valid values can be obtained.
	BeginTime *uint64 `json:"BeginTime,omitempty" name:"BeginTime"`

	// Certificate expiration time in the format of UNIX timestamp, indicating the number of seconds that have elapsed since January 1, 1970 (midnight in UTC/GMT).
	// Note: This field may return null, indicating that no valid values can be obtained.
	EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"`

	// Common name of the certificate issuer.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IssuerCN *string `json:"IssuerCN,omitempty" name:"IssuerCN"`

	// Common name of the certificate subject.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SubjectCN *string `json:"SubjectCN,omitempty" name:"SubjectCN"`
}

type CertificateAliasInfo

type CertificateAliasInfo struct {

	// Certificate ID.
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Certificate alias.
	CertificateAlias *string `json:"CertificateAlias,omitempty" name:"CertificateAlias"`
}

type CertificateDetail

type CertificateDetail struct {

	// Certificate ID.
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Certificate type.
	CertificateType *int64 `json:"CertificateType,omitempty" name:"CertificateType"`

	// Certificate name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertificateAlias *string `json:"CertificateAlias,omitempty" name:"CertificateAlias"`

	// Certificate content.
	CertificateContent *string `json:"CertificateContent,omitempty" name:"CertificateContent"`

	// Key content. This field will be returned if the certificate type is the SSL certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertificateKey *string `json:"CertificateKey,omitempty" name:"CertificateKey"`

	// Creation time in the format of UNIX timestamp, indicating the number of seconds that have elapsed since January 1, 1970 (midnight in UTC/GMT).
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`

	// Certificate effective time in the format of UNIX timestamp, indicating the number of seconds that have elapsed since January 1, 1970 (midnight in UTC/GMT).
	// Note: This field may return null, indicating that no valid values can be obtained.
	BeginTime *uint64 `json:"BeginTime,omitempty" name:"BeginTime"`

	// Certificate expiration time in the format of UNIX timestamp, indicating the number of seconds that have elapsed since January 1, 1970 (midnight in UTC/GMT).
	// Note: This field may return null, indicating that no valid values can be obtained.
	EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"`

	// Common name of the certificate's issuer.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IssuerCN *string `json:"IssuerCN,omitempty" name:"IssuerCN"`

	// Common name of the certificate subject.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SubjectCN *string `json:"SubjectCN,omitempty" name:"SubjectCN"`
}

type CheckProxyCreateRequest

type CheckProxyCreateRequest struct {
	*tchttp.BaseRequest

	// Access (acceleration) region of the connection. The value can be obtained via the DescribeAccessRegionsByDestRegion API.
	AccessRegion *string `json:"AccessRegion,omitempty" name:"AccessRegion"`

	// Origin server region of the connection. The value can be obtained via the DescribeDestRegions API.
	RealServerRegion *string `json:"RealServerRegion,omitempty" name:"RealServerRegion"`

	// Connection bandwidth cap. Unit: Mbps.
	Bandwidth *uint64 `json:"Bandwidth,omitempty" name:"Bandwidth"`

	// Connection concurrence cap, which indicates the maximum number of simultaneous online connections. Unit: 10,000 connections.
	Concurrent *uint64 `json:"Concurrent,omitempty" name:"Concurrent"`

	// Connection group ID that needs to be entered when a connection is created in a connection group
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// IP version. Valid values: `IPv4` (default), `IPv6`.
	IPAddressVersion *string `json:"IPAddressVersion,omitempty" name:"IPAddressVersion"`

	// Network type. Valid values: `normal` (default), `cn2`
	NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"`

	// Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`
}

func NewCheckProxyCreateRequest

func NewCheckProxyCreateRequest() (request *CheckProxyCreateRequest)

func (*CheckProxyCreateRequest) FromJsonString

func (r *CheckProxyCreateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CheckProxyCreateRequest) ToJsonString

func (r *CheckProxyCreateRequest) ToJsonString() string

type CheckProxyCreateResponse

type CheckProxyCreateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Queries whether a connection with the specified configuration can be created. 1: yes; 0: no.
		CheckFlag *uint64 `json:"CheckFlag,omitempty" name:"CheckFlag"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCheckProxyCreateResponse

func NewCheckProxyCreateResponse() (response *CheckProxyCreateResponse)

func (*CheckProxyCreateResponse) FromJsonString

func (r *CheckProxyCreateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CheckProxyCreateResponse) ToJsonString

func (r *CheckProxyCreateResponse) ToJsonString() string

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AddRealServers

func (c *Client) AddRealServers(request *AddRealServersRequest) (response *AddRealServersResponse, err error)

AddRealServers This API is used to add the information of the origin server (server), which supports IP or the domain name.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATERS = "InvalidParameterValue.DuplicateRS"
INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags"
INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) BindListenerRealServers

func (c *Client) BindListenerRealServers(request *BindListenerRealServersRequest) (response *BindListenerRealServersResponse, err error)

BindListenerRealServers This API (BindListenerRealServers) is used for the TCP/UDP listener to bind/unbind the origin server.

Note: This API unbinds the previously bound origin servers, and binds the origin servers selected for this call. For example, the previously bound origin servers are A, B and C, and the origin servers selected for this call are C, D and E, then the origin servers bound after this call will be C, D and E.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITREALSERVERNUM = "FailedOperation.LimitRealServerNum"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) BindRuleRealServers

func (c *Client) BindRuleRealServers(request *BindRuleRealServersRequest) (response *BindRuleRealServersResponse, err error)

BindRuleRealServers This API is used to bind an origin server to the forwarding rules of layer-7 listeners. Note: This API unbinds all previously bound origin servers before binding those selected.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CheckProxyCreate

func (c *Client) CheckProxyCreate(request *CheckProxyCreateRequest) (response *CheckProxyCreateResponse, err error)

CheckProxyCreate This API (CheckProxyCreate) is used to query whether an acceleration connection with the specified configuration can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDCONCURRENCY = "InvalidParameterValue.InvalidConcurrency"
INVALIDPARAMETERVALUE_UNKNOWNACCESSREGION = "InvalidParameterValue.UnknownAccessRegion"
INVALIDPARAMETERVALUE_UNKNOWNDESTREGION = "InvalidParameterValue.UnknownDestRegion"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) CloseProxies

func (c *Client) CloseProxies(request *CloseProxiesRequest) (response *CloseProxiesResponse, err error)

CloseProxies This API (CloseProxies) is used to disable connections. If disabled, no traffic will be generated, but the basic configuration fee will still be incurred.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CloseProxyGroup

func (c *Client) CloseProxyGroup(request *CloseProxyGroupRequest) (response *CloseProxyGroupResponse, err error)

CloseProxyGroup This API is used to disable a connection group. Once disabled, the connection group will no longer generate traffic, but the basic connection configuration fees will still be incurred every day.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CloseSecurityPolicy

func (c *Client) CloseSecurityPolicy(request *CloseSecurityPolicyRequest) (response *CloseSecurityPolicyResponse, err error)

CloseSecurityPolicy This API is used to disable security policies.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing"
FAILEDOPERATION_PROXYSECURITYALREADYCLOSE = "FailedOperation.ProxySecurityAlreadyClose"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateCertificate

func (c *Client) CreateCertificate(request *CreateCertificateRequest) (response *CreateCertificateResponse, err error)

CreateCertificate This API (CreateCertificate) is used to create the GAAP certificates and configuration files, including basic authentication configuration files, client CA certificates, server SSL certificates, GAAP SSL certificates, and origin server CA certificates.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDCERTIFICATECONTENT = "InvalidParameterValue.InvalidCertificateContent"
INVALIDPARAMETERVALUE_INVALIDCERTIFICATEKEY = "InvalidParameterValue.InvalidCertificateKey"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateCustomHeader

func (c *Client) CreateCustomHeader(request *CreateCustomHeaderRequest) (response *CreateCustomHeaderResponse, err error)

CreateCustomHeader This API is used to create a custom header of the HTTP/HTTPS listener. When client requests reach the listener, they will be forwarded to the origin with this custom hearer.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HITBLACKLIST = "InvalidParameterValue.HitBlacklist"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) CreateDomain

func (c *Client) CreateDomain(request *CreateDomainRequest) (response *CreateDomainResponse, err error)

CreateDomain This API (CreateDomain) is used to create the access domain name for the HTTP/HTTPS listener. Clients request the backend data by accessing this domain.

This API only supports connections of version 3.0.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DOMAININICPBLACKLIST = "InvalidParameterValue.DomainInIcpBlacklist"
INVALIDPARAMETERVALUE_DOMAINNOTREGISTER = "InvalidParameterValue.DomainNotRegister"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) CreateDomainErrorPageInfo

func (c *Client) CreateDomainErrorPageInfo(request *CreateDomainErrorPageInfoRequest) (response *CreateDomainErrorPageInfoResponse, err error)

CreateDomainErrorPageInfo This API is used to customize the error code of an error response to the specified domain name.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateHTTPListener

func (c *Client) CreateHTTPListener(request *CreateHTTPListenerRequest) (response *CreateHTTPListenerResponse, err error)

CreateHTTPListener This API (CreateHTTPListener) is used to create an HTTP listener in the connection instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort"
INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateHTTPSListener

func (c *Client) CreateHTTPSListener(request *CreateHTTPSListenerRequest) (response *CreateHTTPSListenerResponse, err error)

CreateHTTPSListener This API (CreateHTTPListener) is used to create an HTTPS listener in the connection instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort"
INVALIDPARAMETERVALUE_INVALIDCERTIFICATEID = "InvalidParameterValue.InvalidCertificateId"
INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateProxy

func (c *Client) CreateProxy(request *CreateProxyRequest) (response *CreateProxyResponse, err error)

CreateProxy This API (CreateProxy) is used to create an acceleration connection with specified configuration.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_PROXYSELLOUT = "FailedOperation.ProxySellOut"
FAILEDOPERATION_USERNOTAUTHENTICATED = "FailedOperation.UserNotAuthenticated"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDCONCURRENCY = "InvalidParameterValue.InvalidConcurrency"
INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags"
INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateProxyGroup

func (c *Client) CreateProxyGroup(request *CreateProxyGroupRequest) (response *CreateProxyGroupResponse, err error)

CreateProxyGroup This API (CreateProxyGroup) is used to create a connection group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LIMITNUMOFPROXIESINGROUP = "FailedOperation.LimitNumofProxiesInGroup"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateProxyGroupDomain

func (c *Client) CreateProxyGroupDomain(request *CreateProxyGroupDomainRequest) (response *CreateProxyGroupDomainResponse, err error)

CreateProxyGroupDomain This API (CreateProxyGroupDomain) is used to create the connection group domain name, and enable the domain name resolution.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateRule

func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)

CreateRule This API (CreateRule) is used to create the forwarding rules of HTTP/HTTPS listeners.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACTIONOPERATETOOQUICKLY = "FailedOperation.ActionOperateTooQuickly"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFRULES = "FailedOperation.LimitNumofRules"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_RULEALREADYEXISTED = "FailedOperation.RuleAlreadyExisted"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateSecurityPolicy

func (c *Client) CreateSecurityPolicy(request *CreateSecurityPolicyRequest) (response *CreateSecurityPolicyResponse, err error)

CreateSecurityPolicy This API is used to create security policies.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PROXYSECURITYPOLICYEXISTED = "FailedOperation.ProxySecurityPolicyExisted"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateSecurityRules

func (c *Client) CreateSecurityRules(request *CreateSecurityRulesRequest) (response *CreateSecurityRulesResponse, err error)

CreateSecurityRules This API is used to add security policy rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PROXYSECURITYPOLICYDEFAULTRULE = "FailedOperation.ProxySecurityPolicyDefaultRule"
FAILEDOPERATION_PROXYSECURITYPOLICYDUPLICATEDRULE = "FailedOperation.ProxySecurityPolicyDuplicatedRule"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateTCPListeners

func (c *Client) CreateTCPListeners(request *CreateTCPListenersRequest) (response *CreateTCPListenersResponse, err error)

CreateTCPListeners This API (CreateTCPListeners) is used to batch create TCP listeners of single connections or connection groups.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_OPERATELIMITNUMOFLISTENER = "FailedOperation.OperateLimitNumofListener"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort"
INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) CreateUDPListeners

func (c *Client) CreateUDPListeners(request *CreateUDPListenersRequest) (response *CreateUDPListenersResponse, err error)

CreateUDPListeners This API (CreateTCPListeners) is used to batch create UDP listeners of single connections or connection groups.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_OPERATELIMITNUMOFLISTENER = "FailedOperation.OperateLimitNumofListener"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort"
INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteCertificate

func (c *Client) DeleteCertificate(request *DeleteCertificateRequest) (response *DeleteCertificateResponse, err error)

DeleteCertificate This API (DeleteCertificate) is used to delete certificates.

error code that may be returned:

FAILEDOPERATION_CERTIFICATEISUSING = "FailedOperation.CertificateIsUsing"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteDomain

func (c *Client) DeleteDomain(request *DeleteDomainRequest) (response *DeleteDomainResponse, err error)

DeleteDomain This API (DeleteDomain) is only applicable to layer-7 listeners. It is used to delete the domain names of this listener, and all the rules under the domain name. All rules bound to the origin server are unbound automatically.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteDomainErrorPageInfo

func (c *Client) DeleteDomainErrorPageInfo(request *DeleteDomainErrorPageInfoRequest) (response *DeleteDomainErrorPageInfoResponse, err error)

DeleteDomainErrorPageInfo This API is used to delete a custom error code for a domain name.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DeleteListeners

func (c *Client) DeleteListeners(request *DeleteListenersRequest) (response *DeleteListenersResponse, err error)

DeleteListeners This API (DeleteListeners) is used to batch delete the listeners of a connection or connection group, including layer-4/7 listeners.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteProxyGroup

func (c *Client) DeleteProxyGroup(request *DeleteProxyGroupRequest) (response *DeleteProxyGroupResponse, err error)

DeleteProxyGroup This API (DeleteProxyGroup) is used to delete a connection group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DELETEPROXYGROUPPROXYREMAINED = "FailedOperation.DeleteProxyGroupProxyRemained"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DeleteRule

func (c *Client) DeleteRule(request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)

DeleteRule This API (DeleteRule) is used to delete the forwarding rules of HTTP/HTTPS listeners.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteSecurityPolicy

func (c *Client) DeleteSecurityPolicy(request *DeleteSecurityPolicyRequest) (response *DeleteSecurityPolicyResponse, err error)

DeleteSecurityPolicy This API is used to delete security policies.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteSecurityRules

func (c *Client) DeleteSecurityRules(request *DeleteSecurityRulesRequest) (response *DeleteSecurityRulesResponse, err error)

DeleteSecurityRules This API is used to delete security policy rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeAccessRegions

func (c *Client) DescribeAccessRegions(request *DescribeAccessRegionsRequest) (response *DescribeAccessRegionsResponse, err error)

DescribeAccessRegions This API (DescribeAccessRegions) is used to query acceleration region (client access region).

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeAccessRegionsByDestRegion

func (c *Client) DescribeAccessRegionsByDestRegion(request *DescribeAccessRegionsByDestRegionRequest) (response *DescribeAccessRegionsByDestRegionResponse, err error)

DescribeAccessRegionsByDestRegion This API (DescribeAccessRegionsByDestRegion) is used to query the list of the available acceleration regions based on the origin server region.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_UNKNOWNDESTREGION = "InvalidParameterValue.UnknownDestRegion"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeBlackHeader

func (c *Client) DescribeBlackHeader(request *DescribeBlackHeaderRequest) (response *DescribeBlackHeaderResponse, err error)

DescribeBlackHeader This API is used to query names of blocked custom headers.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeCertificateDetail

func (c *Client) DescribeCertificateDetail(request *DescribeCertificateDetailRequest) (response *DescribeCertificateDetailResponse, err error)

DescribeCertificateDetail This API (DescribeCertificateDetail) is used to query certificate details, including the certificate ID, name, type, content, key, and other information.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCertificates

func (c *Client) DescribeCertificates(request *DescribeCertificatesRequest) (response *DescribeCertificatesResponse, err error)

DescribeCertificates This API (DescribeCertificates) is used to query the list of available certificates.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCountryAreaMapping

func (c *Client) DescribeCountryAreaMapping(request *DescribeCountryAreaMappingRequest) (response *DescribeCountryAreaMappingResponse, err error)

DescribeCountryAreaMapping This API (DescribeCountryAreaMapping) is used to obtain the country/region code mapping table.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeCustomHeader

func (c *Client) DescribeCustomHeader(request *DescribeCustomHeaderRequest) (response *DescribeCustomHeaderResponse, err error)

DescribeCustomHeader This API is used to query the list of custom headers.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeDestRegions

func (c *Client) DescribeDestRegions(request *DescribeDestRegionsRequest) (response *DescribeDestRegionsResponse, err error)

DescribeDestRegions This API (DescribeDestRegions) is used to query an origin server region (i.e., the region in which the origin server locates).

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeDomainErrorPageInfo

func (c *Client) DescribeDomainErrorPageInfo(request *DescribeDomainErrorPageInfoRequest) (response *DescribeDomainErrorPageInfoResponse, err error)

DescribeDomainErrorPageInfo This API is used to query the custom error response to a domain name.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeDomainErrorPageInfoByIds

func (c *Client) DescribeDomainErrorPageInfoByIds(request *DescribeDomainErrorPageInfoByIdsRequest) (response *DescribeDomainErrorPageInfoByIdsResponse, err error)

DescribeDomainErrorPageInfoByIds This API is used to query the corresponding error response by a custom error ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeGroupAndStatisticsProxy

func (c *Client) DescribeGroupAndStatisticsProxy(request *DescribeGroupAndStatisticsProxyRequest) (response *DescribeGroupAndStatisticsProxyResponse, err error)

DescribeGroupAndStatisticsProxy This is an internal API. It is used to query the information of connections and connection groups from which the statistics can be derived.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeGroupDomainConfig

func (c *Client) DescribeGroupDomainConfig(request *DescribeGroupDomainConfigRequest) (response *DescribeGroupDomainConfigResponse, err error)

DescribeGroupDomainConfig This API (DescribeGroupDomainConfig) is used to obtain the domain name resolution configuration details of a connection group.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeHTTPListeners

func (c *Client) DescribeHTTPListeners(request *DescribeHTTPListenersRequest) (response *DescribeHTTPListenersResponse, err error)

DescribeHTTPListeners This API (DescribeHTTPListeners) is used to query HTTP listener information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeHTTPSListeners

func (c *Client) DescribeHTTPSListeners(request *DescribeHTTPSListenersRequest) (response *DescribeHTTPSListenersResponse, err error)

DescribeHTTPSListeners This API (DescribeHTTPSListeners) is used to query HTTPS listener information.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeListenerRealServers

func (c *Client) DescribeListenerRealServers(request *DescribeListenerRealServersRequest) (response *DescribeListenerRealServersResponse, err error)

DescribeListenerRealServers This API (DescribeListenerRealServers) is used to query the origin server list of TCP/UDP listeners, including the list of bound origin servers and origin servers that can be bound.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeListenerStatistics

func (c *Client) DescribeListenerStatistics(request *DescribeListenerStatisticsRequest) (response *DescribeListenerStatisticsResponse, err error)

DescribeListenerStatistics This API is used to query listener statistics, including inbound/outbound bandwidth, inbound/outbound packets, and concurrence data. It supports granularities of 300, 3,600, and 86,400. Default value is the highest within the granularity range.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeProxies

func (c *Client) DescribeProxies(request *DescribeProxiesRequest) (response *DescribeProxiesResponse, err error)

DescribeProxies This API (DescribeProxies) is used to query the connection instance list.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeProxiesStatus

func (c *Client) DescribeProxiesStatus(request *DescribeProxiesStatusRequest) (response *DescribeProxiesStatusResponse, err error)

DescribeProxiesStatus This API (DescribeProxiesStatus) is used to query the connection status list.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeProxyAndStatisticsListeners

func (c *Client) DescribeProxyAndStatisticsListeners(request *DescribeProxyAndStatisticsListenersRequest) (response *DescribeProxyAndStatisticsListenersResponse, err error)

DescribeProxyAndStatisticsListeners This is an internal API. It is used to query the information of connections and listeners from which the statistics can be derived.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeProxyDetail

func (c *Client) DescribeProxyDetail(request *DescribeProxyDetailRequest) (response *DescribeProxyDetailResponse, err error)

DescribeProxyDetail This API (DescribeProxyDetail) is used to query connection details.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing"
FAILEDOPERATION_ACTIONOPERATETOOQUICKLY = "FailedOperation.ActionOperateTooQuickly"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeProxyGroupDetails

func (c *Client) DescribeProxyGroupDetails(request *DescribeProxyGroupDetailsRequest) (response *DescribeProxyGroupDetailsResponse, err error)

DescribeProxyGroupDetails This API (DescribeProxyGroupDetails) is used to query connection group details.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeProxyGroupList

func (c *Client) DescribeProxyGroupList(request *DescribeProxyGroupListRequest) (response *DescribeProxyGroupListResponse, err error)

DescribeProxyGroupList This API (DescribeProxyGroupList) is used to pull the list of connection groups and the basic information of each connection group.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeProxyGroupStatistics

func (c *Client) DescribeProxyGroupStatistics(request *DescribeProxyGroupStatisticsRequest) (response *DescribeProxyGroupStatisticsResponse, err error)

DescribeProxyGroupStatistics This API is used to query listener statistics, including inbound/outbound bandwidth, inbound/outbound packets, and concurrence data. It supports granularities of 300, 3,600, and 86,400. Default value is the highest within the granularity range.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeProxyStatistics

func (c *Client) DescribeProxyStatistics(request *DescribeProxyStatisticsRequest) (response *DescribeProxyStatisticsResponse, err error)

DescribeProxyStatistics This API is used to query listener statistics, including inbound/outbound bandwidth, inbound/outbound packets, concurrence, packet loss, and latency data. It supports granularities of 300, 3,600, and 86,400. Default value is the highest within the granularity range.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeRealServerStatistics

func (c *Client) DescribeRealServerStatistics(request *DescribeRealServerStatisticsRequest) (response *DescribeRealServerStatisticsResponse, err error)

DescribeRealServerStatistics This API is used to query the statistics of an origin server's health check results. Origin server status is displayed as 1 (normal) or 0 (exceptional). The queried origin server must be bound to a listener or rule, and the ID of the bound listener or rule must be specified for the query. This API supports displaying origin server status statistics at a 1-minute granularity.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeRealServers

func (c *Client) DescribeRealServers(request *DescribeRealServersRequest) (response *DescribeRealServersResponse, err error)

DescribeRealServers This API is used to query origin server information. It can query all origin servers under the specified project name, and supports fuzzy query by specified IPs or domain names.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeRealServersStatus

func (c *Client) DescribeRealServersStatus(request *DescribeRealServersStatusRequest) (response *DescribeRealServersStatusResponse, err error)

DescribeRealServersStatus This API (DescribeRealServersStatus) is used to query whether an origin server has been bound to a rule or listener.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REALSERVERNOTINPROJECT = "FailedOperation.RealServerNotInProject"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeRegionAndPrice

func (c *Client) DescribeRegionAndPrice(request *DescribeRegionAndPriceRequest) (response *DescribeRegionAndPriceResponse, err error)

DescribeRegionAndPrice This API (DescribeRegionAndPrice) is used to obtain the origin server regions and the bandwidth price gradient.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeResourcesByTag

func (c *Client) DescribeResourcesByTag(request *DescribeResourcesByTagRequest) (response *DescribeResourcesByTagResponse, err error)

DescribeResourcesByTag This API (DescribeResourcesByTag) is used to query corresponding resource information by tags, including connection, connection group, and origin server.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeRuleRealServers

func (c *Client) DescribeRuleRealServers(request *DescribeRuleRealServersRequest) (response *DescribeRuleRealServersResponse, err error)

DescribeRuleRealServers This API (DescribeRuleRealServers) is used to query forwarding rules-related origin server information, including information of origin servers that can be bound and have been bound.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeRules

func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)

DescribeRules This API (DescribeRules) is used to query all rule information of a listener, including the domain names, paths, and list of bound origin servers. For version 3.0 connections, this API returns the advanced authentication configuration information of the domain name.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeRulesByRuleIds

func (c *Client) DescribeRulesByRuleIds(request *DescribeRulesByRuleIdsRequest) (response *DescribeRulesByRuleIdsResponse, err error)

DescribeRulesByRuleIds This API is used to pull the list of rules based on rule ID. It supports pulling 1 to 10 rules at a time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeSecurityPolicyDetail

func (c *Client) DescribeSecurityPolicyDetail(request *DescribeSecurityPolicyDetailRequest) (response *DescribeSecurityPolicyDetailResponse, err error)

DescribeSecurityPolicyDetail This API is used to obtain security policy details.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeSecurityRules

func (c *Client) DescribeSecurityRules(request *DescribeSecurityRulesRequest) (response *DescribeSecurityRulesResponse, err error)

DescribeSecurityRules This API is used to query the list of security rules based on security rule ID. It supports querying 1 to 20 security rules at a time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTCPListeners

func (c *Client) DescribeTCPListeners(request *DescribeTCPListenersRequest) (response *DescribeTCPListenersResponse, err error)

DescribeTCPListeners This API (DescribeTCPListeners) is used to query the TCP listener information of a single connection or connection group.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeUDPListeners

func (c *Client) DescribeUDPListeners(request *DescribeUDPListenersRequest) (response *DescribeUDPListenersResponse, err error)

DescribeUDPListeners This API (DescribeUDPListeners) is used to query the UDP listener information of a single connection or connection group.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DestroyProxies

func (c *Client) DestroyProxies(request *DestroyProxiesRequest) (response *DestroyProxiesResponse, err error)

DestroyProxies This API (DestroyProxies) is used to terminate a connection. If terminated, no fees will be incurred.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing"
FAILEDOPERATION_BELONGDIFFERENTGROUP = "FailedOperation.BelongDifferentGroup"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) InquiryPriceCreateProxy

func (c *Client) InquiryPriceCreateProxy(request *InquiryPriceCreateProxyRequest) (response *InquiryPriceCreateProxyResponse, err error)

InquiryPriceCreateProxy This API (InquiryPriceCreateProxy) is used to create the price inquiries of acceleration connections.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDCONCURRENCY = "InvalidParameterValue.InvalidConcurrency"
INVALIDPARAMETERVALUE_UNKNOWNACCESSREGION = "InvalidParameterValue.UnknownAccessRegion"
INVALIDPARAMETERVALUE_UNKNOWNDESTREGION = "InvalidParameterValue.UnknownDestRegion"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyCertificate

func (c *Client) ModifyCertificate(request *ModifyCertificateRequest) (response *ModifyCertificateResponse, err error)

ModifyCertificate This API (ModifyCertificate) is used to modify a domain name certificate of a listener. domain name certificate. This API is only applicable to connections of version 3.0.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyCertificateAttributes

func (c *Client) ModifyCertificateAttributes(request *ModifyCertificateAttributesRequest) (response *ModifyCertificateAttributesResponse, err error)

ModifyCertificateAttributes This API is used to modify certificate name and content.

error code that may be returned:

FAILEDOPERATION_CERTIFICATEISUSING = "FailedOperation.CertificateIsUsing"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDomain

func (c *Client) ModifyDomain(request *ModifyDomainRequest) (response *ModifyDomainResponse, err error)

ModifyDomain This API (ModifyDomain) is used to modify domain names of listeners. For connections of version 3.0, it supports modifying certificates of the domain names.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DOMAININICPBLACKLIST = "InvalidParameterValue.DomainInIcpBlacklist"
INVALIDPARAMETERVALUE_DOMAINNOTREGISTER = "InvalidParameterValue.DomainNotRegister"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyGroupDomainConfig

func (c *Client) ModifyGroupDomainConfig(request *ModifyGroupDomainConfigRequest) (response *ModifyGroupDomainConfigResponse, err error)

ModifyGroupDomainConfig This API (ModifyGroupDomainConfig) is used to configure the nearest access domain name of a connection group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyHTTPListenerAttribute

func (c *Client) ModifyHTTPListenerAttribute(request *ModifyHTTPListenerAttributeRequest) (response *ModifyHTTPListenerAttributeResponse, err error)

ModifyHTTPListenerAttribute This API (ModifyHTTPListenerAttribute) is used to modify the HTTP listener configuration information of a connection. Currently only supports modifying listener name.

Note: Grouped connections currently do not support HTTP/HTTPS listeners.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) ModifyHTTPSListenerAttribute

func (c *Client) ModifyHTTPSListenerAttribute(request *ModifyHTTPSListenerAttributeRequest) (response *ModifyHTTPSListenerAttributeResponse, err error)

ModifyHTTPSListenerAttribute This API (ModifyHTTPSListenerAttribute) is used to modify HTTPS listener configurations. It currently do not support connection groups and connections of version 1.0.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyProxiesAttribute

func (c *Client) ModifyProxiesAttribute(request *ModifyProxiesAttributeRequest) (response *ModifyProxiesAttributeResponse, err error)

ModifyProxiesAttribute This API (ModifyProxiesAttribute) is used to modify instance attributes (currently only supports modifying connection name).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyProxiesProject

func (c *Client) ModifyProxiesProject(request *ModifyProxiesProjectRequest) (response *ModifyProxiesProjectResponse, err error)

ModifyProxiesProject This API (ModifyProxiesProject) is used to modify the project to which a connection belongs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyProxyConfiguration

func (c *Client) ModifyProxyConfiguration(request *ModifyProxyConfigurationRequest) (response *ModifyProxyConfigurationResponse, err error)

ModifyProxyConfiguration This API (ModifyProxyConfiguration) is used to modify connection configurations. You can expand or reduce the capacity based on current business requirements. It only supports connections with a Scalarable of 1. Scalarable can be obtained via DescribeProxies API.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_NOTSUPPORTSCALAR = "FailedOperation.NotSupportScalar"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyProxyGroupAttribute

func (c *Client) ModifyProxyGroupAttribute(request *ModifyProxyGroupAttributeRequest) (response *ModifyProxyGroupAttributeResponse, err error)

ModifyProxyGroupAttribute This API (ModifyProxyGroupAttribute) is used to modify connection group attributes. It currently only supports modifying connection group name.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyRealServerName

func (c *Client) ModifyRealServerName(request *ModifyRealServerNameRequest) (response *ModifyRealServerNameResponse, err error)

ModifyRealServerName This API (ModifyRealServerName) is used to modify origin server names.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyRuleAttribute

func (c *Client) ModifyRuleAttribute(request *ModifyRuleAttributeRequest) (response *ModifyRuleAttributeResponse, err error)

ModifyRuleAttribute This API (ModifyRuleAttribute) is used to modify forwarding rule information, including health check configuration and forwarding policies.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_RULEALREADYEXISTED = "FailedOperation.RuleAlreadyExisted"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifySecurityRule

func (c *Client) ModifySecurityRule(request *ModifySecurityRuleRequest) (response *ModifySecurityRuleResponse, err error)

ModifySecurityRule This API is used to modify security policy rule names.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PROXYSECURITYPOLICYDEFAULTRULE = "FailedOperation.ProxySecurityPolicyDefaultRule"
FAILEDOPERATION_PROXYSECURITYPOLICYDUPLICATEDRULE = "FailedOperation.ProxySecurityPolicyDuplicatedRule"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyTCPListenerAttribute

func (c *Client) ModifyTCPListenerAttribute(request *ModifyTCPListenerAttributeRequest) (response *ModifyTCPListenerAttributeResponse, err error)

ModifyTCPListenerAttribute This API (ModifyTCPListenerAttribute) is used to modify the TCP listener configuration of a connection instance, including health check configuration and scheduling policies.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyUDPListenerAttribute

func (c *Client) ModifyUDPListenerAttribute(request *ModifyUDPListenerAttributeRequest) (response *ModifyUDPListenerAttributeResponse, err error)

ModifyUDPListenerAttribute This API (ModifyUDPListenerAttribute) is used to modify the UDP listener configuration of a connection instance, including modification of listener names and scheduling policies.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) OpenProxies

func (c *Client) OpenProxies(request *OpenProxiesRequest) (response *OpenProxiesResponse, err error)

OpenProxies This API (OpenProxies) is used to enable one or more connections.

error code that may be returned:

AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) OpenProxyGroup

func (c *Client) OpenProxyGroup(request *OpenProxyGroupRequest) (response *OpenProxyGroupResponse, err error)

OpenProxyGroup This API is used to enable all connections in a connection group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) OpenSecurityPolicy

func (c *Client) OpenSecurityPolicy(request *OpenSecurityPolicyRequest) (response *OpenSecurityPolicyResponse, err error)

OpenSecurityPolicy This API is used to enable security policies.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing"
FAILEDOPERATION_PROXYSECURITYALREADYOPEN = "FailedOperation.ProxySecurityAlreadyOpen"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) RemoveRealServers

func (c *Client) RemoveRealServers(request *RemoveRealServersRequest) (response *RemoveRealServersResponse, err error)

RemoveRealServers This API is used to delete the added origin server (server) IP or domain name.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) SetAuthentication

func (c *Client) SetAuthentication(request *SetAuthenticationRequest) (response *SetAuthenticationResponse, err error)

SetAuthentication This API (SetAuthentication) is used for the advanced authentication configuration of connections, including authentication methods and their certificates. If only supports connections of version 3.0.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDCERTIFICATEID = "InvalidParameterValue.InvalidCertificateId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

type CloseProxiesRequest

type CloseProxiesRequest struct {
	*tchttp.BaseRequest

	// Connection instance ID; It's an old parameter, please switch to ProxyIds.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// A string used to ensure the idempotency of the request, which is generated by the user and must be unique to each request. The maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.
	// For more information, please see How to Ensure Idempotence.
	ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`

	// Connection instance ID; It's a new parameter.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`
}

func NewCloseProxiesRequest

func NewCloseProxiesRequest() (request *CloseProxiesRequest)

func (*CloseProxiesRequest) FromJsonString

func (r *CloseProxiesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseProxiesRequest) ToJsonString

func (r *CloseProxiesRequest) ToJsonString() string

type CloseProxiesResponse

type CloseProxiesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Only the running connection instance ID lists can be enabled.
		InvalidStatusInstanceSet []*string `json:"InvalidStatusInstanceSet,omitempty" name:"InvalidStatusInstanceSet"`

		// ID list of connection instances failed to be enabled.
		OperationFailedInstanceSet []*string `json:"OperationFailedInstanceSet,omitempty" name:"OperationFailedInstanceSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCloseProxiesResponse

func NewCloseProxiesResponse() (response *CloseProxiesResponse)

func (*CloseProxiesResponse) FromJsonString

func (r *CloseProxiesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseProxiesResponse) ToJsonString

func (r *CloseProxiesResponse) ToJsonString() string

type CloseProxyGroupRequest

type CloseProxyGroupRequest struct {
	*tchttp.BaseRequest

	// Connection group instance ID.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

func NewCloseProxyGroupRequest

func NewCloseProxyGroupRequest() (request *CloseProxyGroupRequest)

func (*CloseProxyGroupRequest) FromJsonString

func (r *CloseProxyGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseProxyGroupRequest) ToJsonString

func (r *CloseProxyGroupRequest) ToJsonString() string

type CloseProxyGroupResponse

type CloseProxyGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of IDs of the connection instances that are not running, which cannot be enabled.
		InvalidStatusInstanceSet []*string `json:"InvalidStatusInstanceSet,omitempty" name:"InvalidStatusInstanceSet"`

		// List of IDs of the connection instances failed to be enabled.
		OperationFailedInstanceSet []*string `json:"OperationFailedInstanceSet,omitempty" name:"OperationFailedInstanceSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCloseProxyGroupResponse

func NewCloseProxyGroupResponse() (response *CloseProxyGroupResponse)

func (*CloseProxyGroupResponse) FromJsonString

func (r *CloseProxyGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseProxyGroupResponse) ToJsonString

func (r *CloseProxyGroupResponse) ToJsonString() string

type CloseSecurityPolicyRequest

type CloseSecurityPolicyRequest struct {
	*tchttp.BaseRequest

	// Connection ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Security group policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
}

func NewCloseSecurityPolicyRequest

func NewCloseSecurityPolicyRequest() (request *CloseSecurityPolicyRequest)

func (*CloseSecurityPolicyRequest) FromJsonString

func (r *CloseSecurityPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseSecurityPolicyRequest) ToJsonString

func (r *CloseSecurityPolicyRequest) ToJsonString() string

type CloseSecurityPolicyResponse

type CloseSecurityPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Async Process ID. Using DescribeAsyncTaskStatus to query process and status.
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCloseSecurityPolicyResponse

func NewCloseSecurityPolicyResponse() (response *CloseSecurityPolicyResponse)

func (*CloseSecurityPolicyResponse) FromJsonString

func (r *CloseSecurityPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseSecurityPolicyResponse) ToJsonString

func (r *CloseSecurityPolicyResponse) ToJsonString() string

type CountryAreaMap

type CountryAreaMap struct {

	// Country name.
	NationCountryName *string `json:"NationCountryName,omitempty" name:"NationCountryName"`

	// Country code.
	NationCountryInnerCode *string `json:"NationCountryInnerCode,omitempty" name:"NationCountryInnerCode"`

	// Region name.
	GeographicalZoneName *string `json:"GeographicalZoneName,omitempty" name:"GeographicalZoneName"`

	// Region code.
	GeographicalZoneInnerCode *string `json:"GeographicalZoneInnerCode,omitempty" name:"GeographicalZoneInnerCode"`

	// Continent name.
	ContinentName *string `json:"ContinentName,omitempty" name:"ContinentName"`

	// Continent code.
	ContinentInnerCode *string `json:"ContinentInnerCode,omitempty" name:"ContinentInnerCode"`
}

type CreateCertificateRequest

type CreateCertificateRequest struct {
	*tchttp.BaseRequest

	// Certificate type. Where:
	// 0: basic authentication configuration;
	// 1: indicates client CA certificate;
	// 2: server SSL certificate;
	// 3: origin server CA certificate;
	// 4: connection SSL certificate.
	CertificateType *int64 `json:"CertificateType,omitempty" name:"CertificateType"`

	// Certificate content. URL encoding. Where:
	// If the certificate type is basic authentication, enter username/password pair for this parameter. Format: 'username:password', for example, root:FSGdT. The password is `htpasswd` or `openssl`, for example, openssl passwd -crypt 123456.
	// When the certificate type is CA/SSL certificate, enter the certificate content for this parameter in the format of `pem`.
	CertificateContent *string `json:"CertificateContent,omitempty" name:"CertificateContent"`

	// Certificate name
	CertificateAlias *string `json:"CertificateAlias,omitempty" name:"CertificateAlias"`

	// Key content. URL encoding. This parameter is required only when the certificate type is SSL certificate. The format is `pem`.
	CertificateKey *string `json:"CertificateKey,omitempty" name:"CertificateKey"`
}

func NewCreateCertificateRequest

func NewCreateCertificateRequest() (request *CreateCertificateRequest)

func (*CreateCertificateRequest) FromJsonString

func (r *CreateCertificateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCertificateRequest) ToJsonString

func (r *CreateCertificateRequest) ToJsonString() string

type CreateCertificateResponse

type CreateCertificateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Certificate ID
		CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateCertificateResponse

func NewCreateCertificateResponse() (response *CreateCertificateResponse)

func (*CreateCertificateResponse) FromJsonString

func (r *CreateCertificateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCertificateResponse) ToJsonString

func (r *CreateCertificateResponse) ToJsonString() string

type CreateCustomHeaderRequest

type CreateCustomHeaderRequest struct {
	*tchttp.BaseRequest

	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Custom header name and content list. `‘’$remote_addr‘’` will be resolved and replaced with the client IP. Other values will be directly passed to the origin server.
	Headers []*HttpHeaderParam `json:"Headers,omitempty" name:"Headers"`
}

func NewCreateCustomHeaderRequest

func NewCreateCustomHeaderRequest() (request *CreateCustomHeaderRequest)

func (*CreateCustomHeaderRequest) FromJsonString

func (r *CreateCustomHeaderRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCustomHeaderRequest) ToJsonString

func (r *CreateCustomHeaderRequest) ToJsonString() string

type CreateCustomHeaderResponse

type CreateCustomHeaderResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateCustomHeaderResponse

func NewCreateCustomHeaderResponse() (response *CreateCustomHeaderResponse)

func (*CreateCustomHeaderResponse) FromJsonString

func (r *CreateCustomHeaderResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCustomHeaderResponse) ToJsonString

func (r *CreateCustomHeaderResponse) ToJsonString() string

type CreateDomainErrorPageInfoRequest

type CreateDomainErrorPageInfoRequest struct {
	*tchttp.BaseRequest

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Original error code
	ErrorNos []*int64 `json:"ErrorNos,omitempty" name:"ErrorNos"`

	// New response packet
	Body *string `json:"Body,omitempty" name:"Body"`

	// New error code
	NewErrorNo *int64 `json:"NewErrorNo,omitempty" name:"NewErrorNo"`

	// Response header to be deleted
	ClearHeaders []*string `json:"ClearHeaders,omitempty" name:"ClearHeaders"`

	// Response header to be set
	SetHeaders []*HttpHeaderParam `json:"SetHeaders,omitempty" name:"SetHeaders"`
}

func NewCreateDomainErrorPageInfoRequest

func NewCreateDomainErrorPageInfoRequest() (request *CreateDomainErrorPageInfoRequest)

func (*CreateDomainErrorPageInfoRequest) FromJsonString

func (r *CreateDomainErrorPageInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDomainErrorPageInfoRequest) ToJsonString

func (r *CreateDomainErrorPageInfoRequest) ToJsonString() string

type CreateDomainErrorPageInfoResponse

type CreateDomainErrorPageInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Configuration ID of a custom error response
		ErrorPageId *string `json:"ErrorPageId,omitempty" name:"ErrorPageId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateDomainErrorPageInfoResponse

func NewCreateDomainErrorPageInfoResponse() (response *CreateDomainErrorPageInfoResponse)

func (*CreateDomainErrorPageInfoResponse) FromJsonString

func (r *CreateDomainErrorPageInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDomainErrorPageInfoResponse) ToJsonString

func (r *CreateDomainErrorPageInfoResponse) ToJsonString() string

type CreateDomainRequest

type CreateDomainRequest struct {
	*tchttp.BaseRequest

	// Listener ID.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Domain name to be created. Each listener supports up to 100 domain names.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Server certificate, which is used for the HTTPS interaction between client and GAAP.
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Client CA certificate, which is used for the HTTPS interaction between client and GAAP.
	// This field is required only when the mutual authentication method is adopted.
	ClientCertificateId *string `json:"ClientCertificateId,omitempty" name:"ClientCertificateId"`

	// Client CA certificate, which is used for the HTTPS interaction between the client and GAAP.
	// This field or the `ClientCertificateId` field is required for mutual authentication only.
	PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitempty" name:"PolyClientCertificateIds"`
}

func NewCreateDomainRequest

func NewCreateDomainRequest() (request *CreateDomainRequest)

func (*CreateDomainRequest) FromJsonString

func (r *CreateDomainRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDomainRequest) ToJsonString

func (r *CreateDomainRequest) ToJsonString() string

type CreateDomainResponse

type CreateDomainResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateDomainResponse

func NewCreateDomainResponse() (response *CreateDomainResponse)

func (*CreateDomainResponse) FromJsonString

func (r *CreateDomainResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDomainResponse) ToJsonString

func (r *CreateDomainResponse) ToJsonString() string

type CreateHTTPListenerRequest

type CreateHTTPListenerRequest struct {
	*tchttp.BaseRequest

	// Listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Listener port, which is based on the listeners of same transport layer protocol (TCP or UDP). The port must be unique.
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Connection ID, which cannot be set together with `GroupId` at the same time. A listener will be created for the corresponding connection.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Connection group ID, which cannot be set together with `ProxyId` at the same time. A listener will be created for the corresponding connection group.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

func NewCreateHTTPListenerRequest

func NewCreateHTTPListenerRequest() (request *CreateHTTPListenerRequest)

func (*CreateHTTPListenerRequest) FromJsonString

func (r *CreateHTTPListenerRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateHTTPListenerRequest) ToJsonString

func (r *CreateHTTPListenerRequest) ToJsonString() string

type CreateHTTPListenerResponse

type CreateHTTPListenerResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Created listener ID
		ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateHTTPListenerResponse

func NewCreateHTTPListenerResponse() (response *CreateHTTPListenerResponse)

func (*CreateHTTPListenerResponse) FromJsonString

func (r *CreateHTTPListenerResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateHTTPListenerResponse) ToJsonString

func (r *CreateHTTPListenerResponse) ToJsonString() string

type CreateHTTPSListenerRequest

type CreateHTTPSListenerRequest struct {
	*tchttp.BaseRequest

	// Listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Listener port, which is based on the listeners of same transport layer protocol (TCP or UDP). The port must be unique.
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Server certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Protocol types of the forwarding from acceleration connection to origin server: HTTP | HTTPS
	ForwardProtocol *string `json:"ForwardProtocol,omitempty" name:"ForwardProtocol"`

	// Connection ID, which cannot be set together with `GroupId` at the same time. A listener will be created for the corresponding connection.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Authentication type, where:
	// 0: one-way authentication;
	// 1: mutual authentication.
	// The one-way authentication is used by default.
	AuthType *uint64 `json:"AuthType,omitempty" name:"AuthType"`

	// Client CA certificate ID, which is required only when the mutual authentication is adopted.
	ClientCertificateId *string `json:"ClientCertificateId,omitempty" name:"ClientCertificateId"`

	// IDs of multiple new client CA certificates. This field or the `ClientCertificateId` field is required for mutual authentication only.
	PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitempty" name:"PolyClientCertificateIds"`

	// Connection group ID, which cannot be set together with `ProxyId` at the same time. A listener will be created for the corresponding connection group.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

func NewCreateHTTPSListenerRequest

func NewCreateHTTPSListenerRequest() (request *CreateHTTPSListenerRequest)

func (*CreateHTTPSListenerRequest) FromJsonString

func (r *CreateHTTPSListenerRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateHTTPSListenerRequest) ToJsonString

func (r *CreateHTTPSListenerRequest) ToJsonString() string

type CreateHTTPSListenerResponse

type CreateHTTPSListenerResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Created listener ID
		ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateHTTPSListenerResponse

func NewCreateHTTPSListenerResponse() (response *CreateHTTPSListenerResponse)

func (*CreateHTTPSListenerResponse) FromJsonString

func (r *CreateHTTPSListenerResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateHTTPSListenerResponse) ToJsonString

func (r *CreateHTTPSListenerResponse) ToJsonString() string

type CreateProxyGroupDomainRequest

type CreateProxyGroupDomainRequest struct {
	*tchttp.BaseRequest

	// Connection group ID of the domain name to be enabled.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

func NewCreateProxyGroupDomainRequest

func NewCreateProxyGroupDomainRequest() (request *CreateProxyGroupDomainRequest)

func (*CreateProxyGroupDomainRequest) FromJsonString

func (r *CreateProxyGroupDomainRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProxyGroupDomainRequest) ToJsonString

func (r *CreateProxyGroupDomainRequest) ToJsonString() string

type CreateProxyGroupDomainResponse

type CreateProxyGroupDomainResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Connection group ID.
		GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateProxyGroupDomainResponse

func NewCreateProxyGroupDomainResponse() (response *CreateProxyGroupDomainResponse)

func (*CreateProxyGroupDomainResponse) FromJsonString

func (r *CreateProxyGroupDomainResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProxyGroupDomainResponse) ToJsonString

func (r *CreateProxyGroupDomainResponse) ToJsonString() string

type CreateProxyGroupRequest

type CreateProxyGroupRequest struct {
	*tchttp.BaseRequest

	// Project ID of connection group
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Alias of connection group
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// Origin server region; Reference API: DescribeDestRegions; It returnes the `RegionId` of the parameter `RegionDetail`.
	RealServerRegion *string `json:"RealServerRegion,omitempty" name:"RealServerRegion"`

	// Tag list
	TagSet []*TagPair `json:"TagSet,omitempty" name:"TagSet"`

	// List of acceleration regions, including their names, bandwidth, and concurrence configuration.
	AccessRegionSet []*AccessConfiguration `json:"AccessRegionSet,omitempty" name:"AccessRegionSet"`

	// IP version. Valid values: `IPv4` (default), `IPv6`.
	IPAddressVersion *string `json:"IPAddressVersion,omitempty" name:"IPAddressVersion"`

	// Package type of connection group. Valid values: `Thunder` (default) and `Accelerator`.
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`
}

func NewCreateProxyGroupRequest

func NewCreateProxyGroupRequest() (request *CreateProxyGroupRequest)

func (*CreateProxyGroupRequest) FromJsonString

func (r *CreateProxyGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProxyGroupRequest) ToJsonString

func (r *CreateProxyGroupRequest) ToJsonString() string

type CreateProxyGroupResponse

type CreateProxyGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Connection Group ID
		GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateProxyGroupResponse

func NewCreateProxyGroupResponse() (response *CreateProxyGroupResponse)

func (*CreateProxyGroupResponse) FromJsonString

func (r *CreateProxyGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProxyGroupResponse) ToJsonString

func (r *CreateProxyGroupResponse) ToJsonString() string

type CreateProxyRequest

type CreateProxyRequest struct {
	*tchttp.BaseRequest

	// Project ID of connection.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Connection name.
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// Access region.
	AccessRegion *string `json:"AccessRegion,omitempty" name:"AccessRegion"`

	// Connection bandwidth cap. Unit: Mbps.
	Bandwidth *uint64 `json:"Bandwidth,omitempty" name:"Bandwidth"`

	// Connection concurrence cap, which indicates the maximum number of simultaneous online connections. Unit: 10,000 connections.
	Concurrent *uint64 `json:"Concurrent,omitempty" name:"Concurrent"`

	// Origin server region. If GroupId exists, the origin server region is the one of connection group, and this field is not required. If GroupId does not exist, this field is reuqired.
	RealServerRegion *string `json:"RealServerRegion,omitempty" name:"RealServerRegion"`

	// A string used to ensure the idempotency of the request, which is generated by the user and must be unique to each request. The maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.
	// For more information, please see How to Ensure Idempotence.
	ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`

	// Connection group ID. This parameter is required when the connection is created in the connection group. Otherwise, this field is ignored.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// List of tags to be added for connection.
	TagSet []*TagPair `json:"TagSet,omitempty" name:"TagSet"`

	// ID of the replicated connection. Only a running connection can be replicated.
	// The connection is to be replicated if this parameter is set.
	ClonedProxyId *string `json:"ClonedProxyId,omitempty" name:"ClonedProxyId"`

	// Billing mode (0: bill-by-bandwidth, 1: bill-by-traffic. Default value: bill-by-bandwidth)
	BillingType *int64 `json:"BillingType,omitempty" name:"BillingType"`

	// IP version. Valid values: `IPv4` (default), `IPv6`.
	IPAddressVersion *string `json:"IPAddressVersion,omitempty" name:"IPAddressVersion"`

	// Network type. Valid values: `normal` (default), `cn2`
	NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"`
}

func NewCreateProxyRequest

func NewCreateProxyRequest() (request *CreateProxyRequest)

func (*CreateProxyRequest) FromJsonString

func (r *CreateProxyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProxyRequest) ToJsonString

func (r *CreateProxyRequest) ToJsonString() string

type CreateProxyResponse

type CreateProxyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Instance ID of connection.
		InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateProxyResponse

func NewCreateProxyResponse() (response *CreateProxyResponse)

func (*CreateProxyResponse) FromJsonString

func (r *CreateProxyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProxyResponse) ToJsonString

func (r *CreateProxyResponse) ToJsonString() string

type CreateRuleRequest

type CreateRuleRequest struct {
	*tchttp.BaseRequest

	// Layer-7 listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Domain name of the forwarding rule
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Path of the forwarding rule
	Path *string `json:"Path,omitempty" name:"Path"`

	// The origin server type of the forwarding rule, which supports IP and DOMAIN types.
	RealServerType *string `json:"RealServerType,omitempty" name:"RealServerType"`

	// Forwarding rules of origin server, which supports round robin (rr), weighted round robin (wrr), and least connections (lc).
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`

	// Whether the health check is enabled for rules. 1: enabled; 0: disabled.
	HealthCheck *uint64 `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// Parameters related to origin server health check
	CheckParams *RuleCheckParams `json:"CheckParams,omitempty" name:"CheckParams"`

	// Protocol types of the forwarding from acceleration connection to origin server, which supports HTTP or HTTPS.
	// If this field is not passed in, it indicates that the ForwardProtocol of the corresponding listener will be used.
	ForwardProtocol *string `json:"ForwardProtocol,omitempty" name:"ForwardProtocol"`

	// Remote host to which the acceleration connection forwards. If this parameter is not specified, the default host will be used, i.e., the host with which the client initiates HTTP requests.
	ForwardHost *string `json:"ForwardHost,omitempty" name:"ForwardHost"`
}

func NewCreateRuleRequest

func NewCreateRuleRequest() (request *CreateRuleRequest)

func (*CreateRuleRequest) FromJsonString

func (r *CreateRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateRuleRequest) ToJsonString

func (r *CreateRuleRequest) ToJsonString() string

type CreateRuleResponse

type CreateRuleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The ID of the successfully created forwarding rule
		RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateRuleResponse

func NewCreateRuleResponse() (response *CreateRuleResponse)

func (*CreateRuleResponse) FromJsonString

func (r *CreateRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateRuleResponse) ToJsonString

func (r *CreateRuleResponse) ToJsonString() string

type CreateSecurityPolicyRequest

type CreateSecurityPolicyRequest struct {
	*tchttp.BaseRequest

	// Default policy: ACCEPT or DROP
	DefaultAction *string `json:"DefaultAction,omitempty" name:"DefaultAction"`

	// Acceleration connection ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Connection group ID
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

func NewCreateSecurityPolicyRequest

func NewCreateSecurityPolicyRequest() (request *CreateSecurityPolicyRequest)

func (*CreateSecurityPolicyRequest) FromJsonString

func (r *CreateSecurityPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSecurityPolicyRequest) ToJsonString

func (r *CreateSecurityPolicyRequest) ToJsonString() string

type CreateSecurityPolicyResponse

type CreateSecurityPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Security policy ID
		PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSecurityPolicyResponse

func NewCreateSecurityPolicyResponse() (response *CreateSecurityPolicyResponse)

func (*CreateSecurityPolicyResponse) FromJsonString

func (r *CreateSecurityPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSecurityPolicyResponse) ToJsonString

func (r *CreateSecurityPolicyResponse) ToJsonString() string

type CreateSecurityRulesRequest

type CreateSecurityRulesRequest struct {
	*tchttp.BaseRequest

	// Security policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

	// List of access rules
	RuleList []*SecurityPolicyRuleIn `json:"RuleList,omitempty" name:"RuleList"`
}

func NewCreateSecurityRulesRequest

func NewCreateSecurityRulesRequest() (request *CreateSecurityRulesRequest)

func (*CreateSecurityRulesRequest) FromJsonString

func (r *CreateSecurityRulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSecurityRulesRequest) ToJsonString

func (r *CreateSecurityRulesRequest) ToJsonString() string

type CreateSecurityRulesResponse

type CreateSecurityRulesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of rule IDs
		RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSecurityRulesResponse

func NewCreateSecurityRulesResponse() (response *CreateSecurityRulesResponse)

func (*CreateSecurityRulesResponse) FromJsonString

func (r *CreateSecurityRulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSecurityRulesResponse) ToJsonString

func (r *CreateSecurityRulesResponse) ToJsonString() string

type CreateTCPListenersRequest

type CreateTCPListenersRequest struct {
	*tchttp.BaseRequest

	// Listener name.
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// List of listener ports.
	Ports []*uint64 `json:"Ports,omitempty" name:"Ports"`

	// Origin server scheduling policy of listeners, which supports round robin (rr), weighted round robin (wrr), and least connections (lc).
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`

	// Whether origin server has the health check enabled. 1: enabled; 0: disabled. UDP listeners do not support health check.
	HealthCheck *uint64 `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// The origin server type of listeners, supporting IP or DOMAIN type. The DOMAIN origin servers do not support the weighted round robin.
	RealServerType *string `json:"RealServerType,omitempty" name:"RealServerType"`

	// Connection ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Connection group ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Time interval of origin server health check (unit: seconds). Value range: [5, 300].
	DelayLoop *uint64 `json:"DelayLoop,omitempty" name:"DelayLoop"`

	// Response timeout of origin server health check (unit: seconds). Value range: [2, 60]. The timeout value shall be less than the time interval for health check DelayLoop.
	ConnectTimeout *uint64 `json:"ConnectTimeout,omitempty" name:"ConnectTimeout"`

	// List of origin server ports, which only supports the listeners of version 1.0 and connection group.
	RealServerPorts []*uint64 `json:"RealServerPorts,omitempty" name:"RealServerPorts"`

	// Listener methods of getting client IPs. 0: TOA; 1: Proxy Protocol.
	ClientIPMethod *int64 `json:"ClientIPMethod,omitempty" name:"ClientIPMethod"`

	// Whether to enable the primary/secondary origin server mode. Valid values: 1 (enable) and 0 (disable). It cannot be enabled for domain name origin servers.
	FailoverSwitch *int64 `json:"FailoverSwitch,omitempty" name:"FailoverSwitch"`

	// Healthy threshold. The number of consecutive successful health checks required before considering an origin server healthy. Value range: 1 - 10.
	HealthyThreshold *uint64 `json:"HealthyThreshold,omitempty" name:"HealthyThreshold"`

	// Unhealthy threshold. The number of consecutive failed health checks required before considering an origin server unhealthy. Value range: 1 - 10.
	UnhealthyThreshold *uint64 `json:"UnhealthyThreshold,omitempty" name:"UnhealthyThreshold"`
}

func NewCreateTCPListenersRequest

func NewCreateTCPListenersRequest() (request *CreateTCPListenersRequest)

func (*CreateTCPListenersRequest) FromJsonString

func (r *CreateTCPListenersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTCPListenersRequest) ToJsonString

func (r *CreateTCPListenersRequest) ToJsonString() string

type CreateTCPListenersResponse

type CreateTCPListenersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Returns the listener ID
		ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateTCPListenersResponse

func NewCreateTCPListenersResponse() (response *CreateTCPListenersResponse)

func (*CreateTCPListenersResponse) FromJsonString

func (r *CreateTCPListenersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTCPListenersResponse) ToJsonString

func (r *CreateTCPListenersResponse) ToJsonString() string

type CreateUDPListenersRequest

type CreateUDPListenersRequest struct {
	*tchttp.BaseRequest

	// Listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// List of listener ports
	Ports []*uint64 `json:"Ports,omitempty" name:"Ports"`

	// Origin server scheduling policy of listeners, which supports round robin (rr), weighted round robin (wrr), and least connections (lc).
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`

	// Origin server type of listeners, which supports IP or DOMAIN type.
	RealServerType *string `json:"RealServerType,omitempty" name:"RealServerType"`

	// Connection ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Connection group ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// List of origin server ports, which only supports the listeners of version 1.0 and connection group.
	RealServerPorts []*uint64 `json:"RealServerPorts,omitempty" name:"RealServerPorts"`
}

func NewCreateUDPListenersRequest

func NewCreateUDPListenersRequest() (request *CreateUDPListenersRequest)

func (*CreateUDPListenersRequest) FromJsonString

func (r *CreateUDPListenersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUDPListenersRequest) ToJsonString

func (r *CreateUDPListenersRequest) ToJsonString() string

type CreateUDPListenersResponse

type CreateUDPListenersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Returns the listener ID
		ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateUDPListenersResponse

func NewCreateUDPListenersResponse() (response *CreateUDPListenersResponse)

func (*CreateUDPListenersResponse) FromJsonString

func (r *CreateUDPListenersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUDPListenersResponse) ToJsonString

func (r *CreateUDPListenersResponse) ToJsonString() string

type DeleteCertificateRequest

type DeleteCertificateRequest struct {
	*tchttp.BaseRequest

	// ID of the certificate to be deleted.
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

func NewDeleteCertificateRequest

func NewDeleteCertificateRequest() (request *DeleteCertificateRequest)

func (*DeleteCertificateRequest) FromJsonString

func (r *DeleteCertificateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCertificateRequest) ToJsonString

func (r *DeleteCertificateRequest) ToJsonString() string

type DeleteCertificateResponse

type DeleteCertificateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteCertificateResponse

func NewDeleteCertificateResponse() (response *DeleteCertificateResponse)

func (*DeleteCertificateResponse) FromJsonString

func (r *DeleteCertificateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCertificateResponse) ToJsonString

func (r *DeleteCertificateResponse) ToJsonString() string

type DeleteDomainErrorPageInfoRequest

type DeleteDomainErrorPageInfoRequest struct {
	*tchttp.BaseRequest

	// Unique ID of a custom error page. For more information, please see the response to CreateDomainErrorPageInfo.
	ErrorPageId *string `json:"ErrorPageId,omitempty" name:"ErrorPageId"`
}

func NewDeleteDomainErrorPageInfoRequest

func NewDeleteDomainErrorPageInfoRequest() (request *DeleteDomainErrorPageInfoRequest)

func (*DeleteDomainErrorPageInfoRequest) FromJsonString

func (r *DeleteDomainErrorPageInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDomainErrorPageInfoRequest) ToJsonString

func (r *DeleteDomainErrorPageInfoRequest) ToJsonString() string

type DeleteDomainErrorPageInfoResponse

type DeleteDomainErrorPageInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteDomainErrorPageInfoResponse

func NewDeleteDomainErrorPageInfoResponse() (response *DeleteDomainErrorPageInfoResponse)

func (*DeleteDomainErrorPageInfoResponse) FromJsonString

func (r *DeleteDomainErrorPageInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDomainErrorPageInfoResponse) ToJsonString

func (r *DeleteDomainErrorPageInfoResponse) ToJsonString() string

type DeleteDomainRequest

type DeleteDomainRequest struct {
	*tchttp.BaseRequest

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Domain name to be deleted
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Whether to make a forced deletion of forwarding rules that have been bound to origin servers. 0: no; 1: yes.
	// When not making a forced deletion, if there are rules bound to origin servers, they will not be deleted.
	Force *uint64 `json:"Force,omitempty" name:"Force"`
}

func NewDeleteDomainRequest

func NewDeleteDomainRequest() (request *DeleteDomainRequest)

func (*DeleteDomainRequest) FromJsonString

func (r *DeleteDomainRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDomainRequest) ToJsonString

func (r *DeleteDomainRequest) ToJsonString() string

type DeleteDomainResponse

type DeleteDomainResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteDomainResponse

func NewDeleteDomainResponse() (response *DeleteDomainResponse)

func (*DeleteDomainResponse) FromJsonString

func (r *DeleteDomainResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDomainResponse) ToJsonString

func (r *DeleteDomainResponse) ToJsonString() string

type DeleteListenersRequest

type DeleteListenersRequest struct {
	*tchttp.BaseRequest

	// ID list of listeners to be deleted
	ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"`

	// Whether to allow a forced deletion of listeners that have been bound to origin servers. 1: allowed; 0: not allow.
	Force *uint64 `json:"Force,omitempty" name:"Force"`

	// Connection group ID; Either this parameter or `GroupId` must be set, but you cannot set both.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Connection ID; Either this parameter or `GroupId` must be set, but you cannot set both.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}

func NewDeleteListenersRequest

func NewDeleteListenersRequest() (request *DeleteListenersRequest)

func (*DeleteListenersRequest) FromJsonString

func (r *DeleteListenersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteListenersRequest) ToJsonString

func (r *DeleteListenersRequest) ToJsonString() string

type DeleteListenersResponse

type DeleteListenersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// ID list of listeners failed to be deleted
		OperationFailedListenerSet []*string `json:"OperationFailedListenerSet,omitempty" name:"OperationFailedListenerSet"`

		// ID list of listeners deleted successfully
		OperationSucceedListenerSet []*string `json:"OperationSucceedListenerSet,omitempty" name:"OperationSucceedListenerSet"`

		// ID list of invalid listeners. For example: the listener does not exist, or the instance corresponding to the listener does not match.
		InvalidStatusListenerSet []*string `json:"InvalidStatusListenerSet,omitempty" name:"InvalidStatusListenerSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteListenersResponse

func NewDeleteListenersResponse() (response *DeleteListenersResponse)

func (*DeleteListenersResponse) FromJsonString

func (r *DeleteListenersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteListenersResponse) ToJsonString

func (r *DeleteListenersResponse) ToJsonString() string

type DeleteProxyGroupRequest

type DeleteProxyGroupRequest struct {
	*tchttp.BaseRequest

	// ID of the connection group to be deleted.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Whether to enable forced deletion. Valid values:
	// 0: no;
	// 1: yes.
	// Default value: 0. If there is a connection or listener/rule bound to an origin server in the connection group and `Force` is 0, the operation will return a failure.
	Force *uint64 `json:"Force,omitempty" name:"Force"`
}

func NewDeleteProxyGroupRequest

func NewDeleteProxyGroupRequest() (request *DeleteProxyGroupRequest)

func (*DeleteProxyGroupRequest) FromJsonString

func (r *DeleteProxyGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteProxyGroupRequest) ToJsonString

func (r *DeleteProxyGroupRequest) ToJsonString() string

type DeleteProxyGroupResponse

type DeleteProxyGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteProxyGroupResponse

func NewDeleteProxyGroupResponse() (response *DeleteProxyGroupResponse)

func (*DeleteProxyGroupResponse) FromJsonString

func (r *DeleteProxyGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteProxyGroupResponse) ToJsonString

func (r *DeleteProxyGroupResponse) ToJsonString() string

type DeleteRuleRequest

type DeleteRuleRequest struct {
	*tchttp.BaseRequest

	// Layer-7 listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Forwarding rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Whether to make a forced deletion of forwarding rules that have been bound to origin servers. 0: no; 1: yes.
	Force *uint64 `json:"Force,omitempty" name:"Force"`
}

func NewDeleteRuleRequest

func NewDeleteRuleRequest() (request *DeleteRuleRequest)

func (*DeleteRuleRequest) FromJsonString

func (r *DeleteRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteRuleRequest) ToJsonString

func (r *DeleteRuleRequest) ToJsonString() string

type DeleteRuleResponse

type DeleteRuleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteRuleResponse

func NewDeleteRuleResponse() (response *DeleteRuleResponse)

func (*DeleteRuleResponse) FromJsonString

func (r *DeleteRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteRuleResponse) ToJsonString

func (r *DeleteRuleResponse) ToJsonString() string

type DeleteSecurityPolicyRequest

type DeleteSecurityPolicyRequest struct {
	*tchttp.BaseRequest

	// Policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
}

func NewDeleteSecurityPolicyRequest

func NewDeleteSecurityPolicyRequest() (request *DeleteSecurityPolicyRequest)

func (*DeleteSecurityPolicyRequest) FromJsonString

func (r *DeleteSecurityPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSecurityPolicyRequest) ToJsonString

func (r *DeleteSecurityPolicyRequest) ToJsonString() string

type DeleteSecurityPolicyResponse

type DeleteSecurityPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteSecurityPolicyResponse

func NewDeleteSecurityPolicyResponse() (response *DeleteSecurityPolicyResponse)

func (*DeleteSecurityPolicyResponse) FromJsonString

func (r *DeleteSecurityPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSecurityPolicyResponse) ToJsonString

func (r *DeleteSecurityPolicyResponse) ToJsonString() string

type DeleteSecurityRulesRequest

type DeleteSecurityRulesRequest struct {
	*tchttp.BaseRequest

	// Security policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

	// List of access rule IDs
	RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList"`
}

func NewDeleteSecurityRulesRequest

func NewDeleteSecurityRulesRequest() (request *DeleteSecurityRulesRequest)

func (*DeleteSecurityRulesRequest) FromJsonString

func (r *DeleteSecurityRulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSecurityRulesRequest) ToJsonString

func (r *DeleteSecurityRulesRequest) ToJsonString() string

type DeleteSecurityRulesResponse

type DeleteSecurityRulesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteSecurityRulesResponse

func NewDeleteSecurityRulesResponse() (response *DeleteSecurityRulesResponse)

func (*DeleteSecurityRulesResponse) FromJsonString

func (r *DeleteSecurityRulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSecurityRulesResponse) ToJsonString

func (r *DeleteSecurityRulesResponse) ToJsonString() string

type DescribeAccessRegionsByDestRegionRequest

type DescribeAccessRegionsByDestRegionRequest struct {
	*tchttp.BaseRequest

	// Origin server region: the DescribeDestRegions API returns the value of `RegionId` field of `DestRegionSet`.
	DestRegion *string `json:"DestRegion,omitempty" name:"DestRegion"`

	// IP version. Valid values: `IPv4` (default), `IPv6`.
	IPAddressVersion *string `json:"IPAddressVersion,omitempty" name:"IPAddressVersion"`

	// Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`
}

func NewDescribeAccessRegionsByDestRegionRequest

func NewDescribeAccessRegionsByDestRegionRequest() (request *DescribeAccessRegionsByDestRegionRequest)

func (*DescribeAccessRegionsByDestRegionRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccessRegionsByDestRegionRequest) ToJsonString

type DescribeAccessRegionsByDestRegionResponse

type DescribeAccessRegionsByDestRegionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The number of available acceleration regions
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of available acceleration region information
		AccessRegionSet []*AccessRegionDetial `json:"AccessRegionSet,omitempty" name:"AccessRegionSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAccessRegionsByDestRegionResponse

func NewDescribeAccessRegionsByDestRegionResponse() (response *DescribeAccessRegionsByDestRegionResponse)

func (*DescribeAccessRegionsByDestRegionResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccessRegionsByDestRegionResponse) ToJsonString

type DescribeAccessRegionsRequest

type DescribeAccessRegionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeAccessRegionsRequest

func NewDescribeAccessRegionsRequest() (request *DescribeAccessRegionsRequest)

func (*DescribeAccessRegionsRequest) FromJsonString

func (r *DescribeAccessRegionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccessRegionsRequest) ToJsonString

func (r *DescribeAccessRegionsRequest) ToJsonString() string

type DescribeAccessRegionsResponse

type DescribeAccessRegionsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total quantity of acceleration regions
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Acceleration region details list
		AccessRegionSet []*RegionDetail `json:"AccessRegionSet,omitempty" name:"AccessRegionSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAccessRegionsResponse

func NewDescribeAccessRegionsResponse() (response *DescribeAccessRegionsResponse)

func (*DescribeAccessRegionsResponse) FromJsonString

func (r *DescribeAccessRegionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccessRegionsResponse) ToJsonString

func (r *DescribeAccessRegionsResponse) ToJsonString() string

type DescribeBlackHeaderRequest

type DescribeBlackHeaderRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeBlackHeaderRequest

func NewDescribeBlackHeaderRequest() (request *DescribeBlackHeaderRequest)

func (*DescribeBlackHeaderRequest) FromJsonString

func (r *DescribeBlackHeaderRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBlackHeaderRequest) ToJsonString

func (r *DescribeBlackHeaderRequest) ToJsonString() string

type DescribeBlackHeaderResponse

type DescribeBlackHeaderResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of blocked custom headers
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		BlackHeaders []*string `json:"BlackHeaders,omitempty" name:"BlackHeaders"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeBlackHeaderResponse

func NewDescribeBlackHeaderResponse() (response *DescribeBlackHeaderResponse)

func (*DescribeBlackHeaderResponse) FromJsonString

func (r *DescribeBlackHeaderResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBlackHeaderResponse) ToJsonString

func (r *DescribeBlackHeaderResponse) ToJsonString() string

type DescribeCertificateDetailRequest

type DescribeCertificateDetailRequest struct {
	*tchttp.BaseRequest

	// Certificate ID.
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

func NewDescribeCertificateDetailRequest

func NewDescribeCertificateDetailRequest() (request *DescribeCertificateDetailRequest)

func (*DescribeCertificateDetailRequest) FromJsonString

func (r *DescribeCertificateDetailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCertificateDetailRequest) ToJsonString

func (r *DescribeCertificateDetailRequest) ToJsonString() string

type DescribeCertificateDetailResponse

type DescribeCertificateDetailResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Certificate Details.
		CertificateDetail *CertificateDetail `json:"CertificateDetail,omitempty" name:"CertificateDetail"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeCertificateDetailResponse

func NewDescribeCertificateDetailResponse() (response *DescribeCertificateDetailResponse)

func (*DescribeCertificateDetailResponse) FromJsonString

func (r *DescribeCertificateDetailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCertificateDetailResponse) ToJsonString

func (r *DescribeCertificateDetailResponse) ToJsonString() string

type DescribeCertificatesRequest

type DescribeCertificatesRequest struct {
	*tchttp.BaseRequest

	// Certificate type. Where:
	// 0: basic authentication configuration;
	// 1: client CA certificate;
	// 2: server SSL certificate;
	// 3: origin server CA certificate;
	// 4: connection SSL certificate.
	// -1: all types.
	// The default value is -1.
	CertificateType *int64 `json:"CertificateType,omitempty" name:"CertificateType"`

	// Offset. The default value is 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Quantity limit. The default value is 20.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeCertificatesRequest

func NewDescribeCertificatesRequest() (request *DescribeCertificatesRequest)

func (*DescribeCertificatesRequest) FromJsonString

func (r *DescribeCertificatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCertificatesRequest) ToJsonString

func (r *DescribeCertificatesRequest) ToJsonString() string

type DescribeCertificatesResponse

type DescribeCertificatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Server certificate list, which includes certificate ID and certificate name.
		CertificateSet []*Certificate `json:"CertificateSet,omitempty" name:"CertificateSet"`

		// Total quantity of server certificates that match the query conditions.
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeCertificatesResponse

func NewDescribeCertificatesResponse() (response *DescribeCertificatesResponse)

func (*DescribeCertificatesResponse) FromJsonString

func (r *DescribeCertificatesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCertificatesResponse) ToJsonString

func (r *DescribeCertificatesResponse) ToJsonString() string

type DescribeCountryAreaMappingRequest

type DescribeCountryAreaMappingRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeCountryAreaMappingRequest

func NewDescribeCountryAreaMappingRequest() (request *DescribeCountryAreaMappingRequest)

func (*DescribeCountryAreaMappingRequest) FromJsonString

func (r *DescribeCountryAreaMappingRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCountryAreaMappingRequest) ToJsonString

func (r *DescribeCountryAreaMappingRequest) ToJsonString() string

type DescribeCountryAreaMappingResponse

type DescribeCountryAreaMappingResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Country/region code mapping table
		CountryAreaMappingList []*CountryAreaMap `json:"CountryAreaMappingList,omitempty" name:"CountryAreaMappingList"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeCountryAreaMappingResponse

func NewDescribeCountryAreaMappingResponse() (response *DescribeCountryAreaMappingResponse)

func (*DescribeCountryAreaMappingResponse) FromJsonString

func (r *DescribeCountryAreaMappingResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCountryAreaMappingResponse) ToJsonString

func (r *DescribeCountryAreaMappingResponse) ToJsonString() string

type DescribeCustomHeaderRequest

type DescribeCustomHeaderRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeCustomHeaderRequest

func NewDescribeCustomHeaderRequest() (request *DescribeCustomHeaderRequest)

func (*DescribeCustomHeaderRequest) FromJsonString

func (r *DescribeCustomHeaderRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCustomHeaderRequest) ToJsonString

func (r *DescribeCustomHeaderRequest) ToJsonString() string

type DescribeCustomHeaderResponse

type DescribeCustomHeaderResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Rule ID
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

		// List of custom headers
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		Headers []*HttpHeaderParam `json:"Headers,omitempty" name:"Headers"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeCustomHeaderResponse

func NewDescribeCustomHeaderResponse() (response *DescribeCustomHeaderResponse)

func (*DescribeCustomHeaderResponse) FromJsonString

func (r *DescribeCustomHeaderResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCustomHeaderResponse) ToJsonString

func (r *DescribeCustomHeaderResponse) ToJsonString() string

type DescribeDestRegionsRequest

type DescribeDestRegionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeDestRegionsRequest

func NewDescribeDestRegionsRequest() (request *DescribeDestRegionsRequest)

func (*DescribeDestRegionsRequest) FromJsonString

func (r *DescribeDestRegionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDestRegionsRequest) ToJsonString

func (r *DescribeDestRegionsRequest) ToJsonString() string

type DescribeDestRegionsResponse

type DescribeDestRegionsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of origin server regions
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of origin server region details
		DestRegionSet []*RegionDetail `json:"DestRegionSet,omitempty" name:"DestRegionSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeDestRegionsResponse

func NewDescribeDestRegionsResponse() (response *DescribeDestRegionsResponse)

func (*DescribeDestRegionsResponse) FromJsonString

func (r *DescribeDestRegionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDestRegionsResponse) ToJsonString

func (r *DescribeDestRegionsResponse) ToJsonString() string

type DescribeDomainErrorPageInfoByIdsRequest

type DescribeDomainErrorPageInfoByIdsRequest struct {
	*tchttp.BaseRequest

	// List of custom error IDs. Up to 10 IDs are supported
	ErrorPageIds []*string `json:"ErrorPageIds,omitempty" name:"ErrorPageIds"`
}

func NewDescribeDomainErrorPageInfoByIdsRequest

func NewDescribeDomainErrorPageInfoByIdsRequest() (request *DescribeDomainErrorPageInfoByIdsRequest)

func (*DescribeDomainErrorPageInfoByIdsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDomainErrorPageInfoByIdsRequest) ToJsonString

type DescribeDomainErrorPageInfoByIdsResponse

type DescribeDomainErrorPageInfoByIdsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Configuration set of custom error responses
		// Note: this field may return null, indicating that no valid values can be obtained.
		ErrorPageSet []*DomainErrorPageInfo `json:"ErrorPageSet,omitempty" name:"ErrorPageSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeDomainErrorPageInfoByIdsResponse

func NewDescribeDomainErrorPageInfoByIdsResponse() (response *DescribeDomainErrorPageInfoByIdsResponse)

func (*DescribeDomainErrorPageInfoByIdsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDomainErrorPageInfoByIdsResponse) ToJsonString

type DescribeDomainErrorPageInfoRequest

type DescribeDomainErrorPageInfoRequest struct {
	*tchttp.BaseRequest

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`
}

func NewDescribeDomainErrorPageInfoRequest

func NewDescribeDomainErrorPageInfoRequest() (request *DescribeDomainErrorPageInfoRequest)

func (*DescribeDomainErrorPageInfoRequest) FromJsonString

func (r *DescribeDomainErrorPageInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDomainErrorPageInfoRequest) ToJsonString

func (r *DescribeDomainErrorPageInfoRequest) ToJsonString() string

type DescribeDomainErrorPageInfoResponse

type DescribeDomainErrorPageInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Configuration set of a custom error response
		// Note: This field may return null, indicating that no valid values can be obtained.
		ErrorPageSet []*DomainErrorPageInfo `json:"ErrorPageSet,omitempty" name:"ErrorPageSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeDomainErrorPageInfoResponse

func NewDescribeDomainErrorPageInfoResponse() (response *DescribeDomainErrorPageInfoResponse)

func (*DescribeDomainErrorPageInfoResponse) FromJsonString

func (r *DescribeDomainErrorPageInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDomainErrorPageInfoResponse) ToJsonString

func (r *DescribeDomainErrorPageInfoResponse) ToJsonString() string

type DescribeGroupAndStatisticsProxyRequest

type DescribeGroupAndStatisticsProxyRequest struct {
	*tchttp.BaseRequest

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`
}

func NewDescribeGroupAndStatisticsProxyRequest

func NewDescribeGroupAndStatisticsProxyRequest() (request *DescribeGroupAndStatisticsProxyRequest)

func (*DescribeGroupAndStatisticsProxyRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGroupAndStatisticsProxyRequest) ToJsonString

type DescribeGroupAndStatisticsProxyResponse

type DescribeGroupAndStatisticsProxyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Information of connection groups that the statistics can be derived from
		GroupSet []*GroupStatisticsInfo `json:"GroupSet,omitempty" name:"GroupSet"`

		// Connection group quantity
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeGroupAndStatisticsProxyResponse

func NewDescribeGroupAndStatisticsProxyResponse() (response *DescribeGroupAndStatisticsProxyResponse)

func (*DescribeGroupAndStatisticsProxyResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGroupAndStatisticsProxyResponse) ToJsonString

type DescribeGroupDomainConfigRequest

type DescribeGroupDomainConfigRequest struct {
	*tchttp.BaseRequest

	// Connection group ID.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

func NewDescribeGroupDomainConfigRequest

func NewDescribeGroupDomainConfigRequest() (request *DescribeGroupDomainConfigRequest)

func (*DescribeGroupDomainConfigRequest) FromJsonString

func (r *DescribeGroupDomainConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGroupDomainConfigRequest) ToJsonString

func (r *DescribeGroupDomainConfigRequest) ToJsonString() string

type DescribeGroupDomainConfigResponse

type DescribeGroupDomainConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Nearest access configuration list of domain name resolution.
		AccessRegionList []*DomainAccessRegionDict `json:"AccessRegionList,omitempty" name:"AccessRegionList"`

		// Default accesses Ip.
		DefaultDnsIp *string `json:"DefaultDnsIp,omitempty" name:"DefaultDnsIp"`

		// Connection group ID.
		GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

		// Total number of configuration of access regions.
		AccessRegionCount *int64 `json:"AccessRegionCount,omitempty" name:"AccessRegionCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeGroupDomainConfigResponse

func NewDescribeGroupDomainConfigResponse() (response *DescribeGroupDomainConfigResponse)

func (*DescribeGroupDomainConfigResponse) FromJsonString

func (r *DescribeGroupDomainConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGroupDomainConfigResponse) ToJsonString

func (r *DescribeGroupDomainConfigResponse) ToJsonString() string

type DescribeHTTPListenersRequest

type DescribeHTTPListenersRequest struct {
	*tchttp.BaseRequest

	// Connection ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Filter condition. Exact query by listener IDs.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Filter condition. Exact query by listener names.
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Filter condition. Exact query by listener ports.
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Offset. The default value is 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Quantity limit. The default value is 20.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Filter condition. It supports fuzzy query by ports or listener names. This parameter cannot be used with `ListenerName` or `Port`.
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`

	// Connection group ID
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

func NewDescribeHTTPListenersRequest

func NewDescribeHTTPListenersRequest() (request *DescribeHTTPListenersRequest)

func (*DescribeHTTPListenersRequest) FromJsonString

func (r *DescribeHTTPListenersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHTTPListenersRequest) ToJsonString

func (r *DescribeHTTPListenersRequest) ToJsonString() string

type DescribeHTTPListenersResponse

type DescribeHTTPListenersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Quantity of listeners
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// HTTP listener list
		ListenerSet []*HTTPListener `json:"ListenerSet,omitempty" name:"ListenerSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeHTTPListenersResponse

func NewDescribeHTTPListenersResponse() (response *DescribeHTTPListenersResponse)

func (*DescribeHTTPListenersResponse) FromJsonString

func (r *DescribeHTTPListenersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHTTPListenersResponse) ToJsonString

func (r *DescribeHTTPListenersResponse) ToJsonString() string

type DescribeHTTPSListenersRequest

type DescribeHTTPSListenersRequest struct {
	*tchttp.BaseRequest

	// Filter condition. Connection ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Filter condition. Exact query by listener IDs.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Filter condition. Exact query by listener names.
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Filter condition. Exact query by listener ports.
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Offset. The default value is 0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Quantity limit. The default value is 20.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Filter condition. It supports fuzzy query by ports or listener names.
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`

	// Connection group ID as a filter
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

func NewDescribeHTTPSListenersRequest

func NewDescribeHTTPSListenersRequest() (request *DescribeHTTPSListenersRequest)

func (*DescribeHTTPSListenersRequest) FromJsonString

func (r *DescribeHTTPSListenersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHTTPSListenersRequest) ToJsonString

func (r *DescribeHTTPSListenersRequest) ToJsonString() string

type DescribeHTTPSListenersResponse

type DescribeHTTPSListenersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Quantity of listeners
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// HTTPS listener list
		ListenerSet []*HTTPSListener `json:"ListenerSet,omitempty" name:"ListenerSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeHTTPSListenersResponse

func NewDescribeHTTPSListenersResponse() (response *DescribeHTTPSListenersResponse)

func (*DescribeHTTPSListenersResponse) FromJsonString

func (r *DescribeHTTPSListenersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHTTPSListenersResponse) ToJsonString

func (r *DescribeHTTPSListenersResponse) ToJsonString() string

type DescribeListenerRealServersRequest

type DescribeListenerRealServersRequest struct {
	*tchttp.BaseRequest

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`
}

func NewDescribeListenerRealServersRequest

func NewDescribeListenerRealServersRequest() (request *DescribeListenerRealServersRequest)

func (*DescribeListenerRealServersRequest) FromJsonString

func (r *DescribeListenerRealServersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListenerRealServersRequest) ToJsonString

func (r *DescribeListenerRealServersRequest) ToJsonString() string

type DescribeListenerRealServersResponse

type DescribeListenerRealServersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of origin servers that can be bound
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// An information list of origin servers
		RealServerSet []*RealServer `json:"RealServerSet,omitempty" name:"RealServerSet"`

		// Number of bound origin servers
		BindRealServerTotalCount *uint64 `json:"BindRealServerTotalCount,omitempty" name:"BindRealServerTotalCount"`

		// Information list of bound origin servers
		BindRealServerSet []*BindRealServer `json:"BindRealServerSet,omitempty" name:"BindRealServerSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeListenerRealServersResponse

func NewDescribeListenerRealServersResponse() (response *DescribeListenerRealServersResponse)

func (*DescribeListenerRealServersResponse) FromJsonString

func (r *DescribeListenerRealServersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListenerRealServersResponse) ToJsonString

func (r *DescribeListenerRealServersResponse) ToJsonString() string

type DescribeListenerStatisticsRequest

type DescribeListenerStatisticsRequest struct {
	*tchttp.BaseRequest

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Statistical metric name list. It supports:["InBandwidth", "OutBandwidth", "Concurrent", "InPackets", "OutPackets"]
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// Monitoring granularity. It currently supports: 300, 3,600, and 86,400. Unit: seconds.
	// Time range: <= 1 day, supported minimum granularity: 300 seconds;
	// Time range: <= 7 days, supported minimum granularity:3,600 seconds;
	// Time range: > 7 days, supported minimum granularity:86,400 seconds;
	Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"`
}

func NewDescribeListenerStatisticsRequest

func NewDescribeListenerStatisticsRequest() (request *DescribeListenerStatisticsRequest)

func (*DescribeListenerStatisticsRequest) FromJsonString

func (r *DescribeListenerStatisticsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListenerStatisticsRequest) ToJsonString

func (r *DescribeListenerStatisticsRequest) ToJsonString() string

type DescribeListenerStatisticsResponse

type DescribeListenerStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Connection group statistics
		StatisticsData []*MetricStatisticsInfo `json:"StatisticsData,omitempty" name:"StatisticsData"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeListenerStatisticsResponse

func NewDescribeListenerStatisticsResponse() (response *DescribeListenerStatisticsResponse)

func (*DescribeListenerStatisticsResponse) FromJsonString

func (r *DescribeListenerStatisticsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListenerStatisticsResponse) ToJsonString

func (r *DescribeListenerStatisticsResponse) ToJsonString() string

type DescribeProxiesRequest

type DescribeProxiesRequest struct {
	*tchttp.BaseRequest

	// Queries by one or multiple instance IDs. The upper limit on the number of instances for each request is 100. This parameter does not support specifying InstanceIds and Filters at the same time. It's an old parameter, please switch to ProxyIds.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Offset. The default value is 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results to be returned. The default value is 20, and the maximum value is 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Filter condition
	// The upper limit for `Filters` in each request is 10 and 5 for `Filter.Values`. You cannot specify both `InstanceIds` and `Filters` with this parameter.
	// ProjectId - String - Required: No - Filter by project ID.
	// AccessRegion - String - Required: No - Filter by access region.
	// RealServerRegion - String - Required: No - Filter by origin server region.
	// GroupId - String - Required: No - Filter by connection group ID.
	// IPAddressVersion - String - Required: No - Filter by IP version.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Queries by one or multiple instance IDs. The upper limit on the number of instances for each request is 100. This parameter does not support specifying InstanceIds and Filters at the same time. It's a new parameter, and replaces InstanceIds.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`

	// Tag list. If this field exists, the list of the resources with the tag will be pulled.
	// It supports up to 5 tags. If there are two or more tags, the connections tagged any of them will be pulled.
	TagSet []*TagPair `json:"TagSet,omitempty" name:"TagSet"`

	// When this field is 1, only not-grouped connections are pulled.
	// When this field is 0, only grouped connections are pulled.
	// When this field does not exist, all connections are pulled, including both not-grouped and grouped connections.
	Independent *int64 `json:"Independent,omitempty" name:"Independent"`
}

func NewDescribeProxiesRequest

func NewDescribeProxiesRequest() (request *DescribeProxiesRequest)

func (*DescribeProxiesRequest) FromJsonString

func (r *DescribeProxiesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxiesRequest) ToJsonString

func (r *DescribeProxiesRequest) ToJsonString() string

type DescribeProxiesResponse

type DescribeProxiesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of connections.
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Connection instance information list; It's an old parameter, please switch to ProxySet.
		InstanceSet []*ProxyInfo `json:"InstanceSet,omitempty" name:"InstanceSet"`

		// Connection instance information list; It's a new parameter.
		ProxySet []*ProxyInfo `json:"ProxySet,omitempty" name:"ProxySet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProxiesResponse

func NewDescribeProxiesResponse() (response *DescribeProxiesResponse)

func (*DescribeProxiesResponse) FromJsonString

func (r *DescribeProxiesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxiesResponse) ToJsonString

func (r *DescribeProxiesResponse) ToJsonString() string

type DescribeProxiesStatusRequest

type DescribeProxiesStatusRequest struct {
	*tchttp.BaseRequest

	// Connection ID list; It's an old parameter, please switch to ProxyIds.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Connection ID list; It's a new parameter.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`
}

func NewDescribeProxiesStatusRequest

func NewDescribeProxiesStatusRequest() (request *DescribeProxiesStatusRequest)

func (*DescribeProxiesStatusRequest) FromJsonString

func (r *DescribeProxiesStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxiesStatusRequest) ToJsonString

func (r *DescribeProxiesStatusRequest) ToJsonString() string

type DescribeProxiesStatusResponse

type DescribeProxiesStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Connection status list.
		InstanceStatusSet []*ProxyStatus `json:"InstanceStatusSet,omitempty" name:"InstanceStatusSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProxiesStatusResponse

func NewDescribeProxiesStatusResponse() (response *DescribeProxiesStatusResponse)

func (*DescribeProxiesStatusResponse) FromJsonString

func (r *DescribeProxiesStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxiesStatusResponse) ToJsonString

func (r *DescribeProxiesStatusResponse) ToJsonString() string

type DescribeProxyAndStatisticsListenersRequest

type DescribeProxyAndStatisticsListenersRequest struct {
	*tchttp.BaseRequest

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`
}

func NewDescribeProxyAndStatisticsListenersRequest

func NewDescribeProxyAndStatisticsListenersRequest() (request *DescribeProxyAndStatisticsListenersRequest)

func (*DescribeProxyAndStatisticsListenersRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxyAndStatisticsListenersRequest) ToJsonString

type DescribeProxyAndStatisticsListenersResponse

type DescribeProxyAndStatisticsListenersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Information of connections that the statistics can be derived from
		ProxySet []*ProxySimpleInfo `json:"ProxySet,omitempty" name:"ProxySet"`

		// Quantity of connections
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProxyAndStatisticsListenersResponse

func NewDescribeProxyAndStatisticsListenersResponse() (response *DescribeProxyAndStatisticsListenersResponse)

func (*DescribeProxyAndStatisticsListenersResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxyAndStatisticsListenersResponse) ToJsonString

type DescribeProxyDetailRequest

type DescribeProxyDetailRequest struct {
	*tchttp.BaseRequest

	// Connection ID to be queried.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}

func NewDescribeProxyDetailRequest

func NewDescribeProxyDetailRequest() (request *DescribeProxyDetailRequest)

func (*DescribeProxyDetailRequest) FromJsonString

func (r *DescribeProxyDetailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxyDetailRequest) ToJsonString

func (r *DescribeProxyDetailRequest) ToJsonString() string

type DescribeProxyDetailResponse

type DescribeProxyDetailResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Connection details
		ProxyDetail *ProxyInfo `json:"ProxyDetail,omitempty" name:"ProxyDetail"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProxyDetailResponse

func NewDescribeProxyDetailResponse() (response *DescribeProxyDetailResponse)

func (*DescribeProxyDetailResponse) FromJsonString

func (r *DescribeProxyDetailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxyDetailResponse) ToJsonString

func (r *DescribeProxyDetailResponse) ToJsonString() string

type DescribeProxyGroupDetailsRequest

type DescribeProxyGroupDetailsRequest struct {
	*tchttp.BaseRequest

	// Connection group ID.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

func NewDescribeProxyGroupDetailsRequest

func NewDescribeProxyGroupDetailsRequest() (request *DescribeProxyGroupDetailsRequest)

func (*DescribeProxyGroupDetailsRequest) FromJsonString

func (r *DescribeProxyGroupDetailsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxyGroupDetailsRequest) ToJsonString

func (r *DescribeProxyGroupDetailsRequest) ToJsonString() string

type DescribeProxyGroupDetailsResponse

type DescribeProxyGroupDetailsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Connection group details
		ProxyGroupDetail *ProxyGroupDetail `json:"ProxyGroupDetail,omitempty" name:"ProxyGroupDetail"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProxyGroupDetailsResponse

func NewDescribeProxyGroupDetailsResponse() (response *DescribeProxyGroupDetailsResponse)

func (*DescribeProxyGroupDetailsResponse) FromJsonString

func (r *DescribeProxyGroupDetailsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxyGroupDetailsResponse) ToJsonString

func (r *DescribeProxyGroupDetailsResponse) ToJsonString() string

type DescribeProxyGroupListRequest

type DescribeProxyGroupListRequest struct {
	*tchttp.BaseRequest

	// Offset. The default value is 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. The default value is 20. The maximum value is 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Project ID. Value range:
	// -1: all projects of this user
	// 0: default project
	// Other values: specified project
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Filter condition
	// Each request can have a maximum of 5 filter conditions for `Filter.Values`.
	// RealServerRegion - String - Required: No - Filter by origin server region. You can also check the value of `RegionId` returned by the `DescribeDestRegions` API.
	// PackageType - String - Required: No - Filter by type of connection groups, which can be `Thunder` (general connection group) or `Accelerator` (game accelerator connection group).
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Tag list. If this field exists, the list of the resources with the tag will be pulled.
	// It supports up to 5 tags. If there are two or more tags, the connection groups tagged any of them will be pulled.
	TagSet []*TagPair `json:"TagSet,omitempty" name:"TagSet"`
}

func NewDescribeProxyGroupListRequest

func NewDescribeProxyGroupListRequest() (request *DescribeProxyGroupListRequest)

func (*DescribeProxyGroupListRequest) FromJsonString

func (r *DescribeProxyGroupListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxyGroupListRequest) ToJsonString

func (r *DescribeProxyGroupListRequest) ToJsonString() string

type DescribeProxyGroupListResponse

type DescribeProxyGroupListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of connection groups.
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of connection groups.
		// Note: This field may return null, indicating that no valid values can be obtained.
		ProxyGroupList []*ProxyGroupInfo `json:"ProxyGroupList,omitempty" name:"ProxyGroupList"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProxyGroupListResponse

func NewDescribeProxyGroupListResponse() (response *DescribeProxyGroupListResponse)

func (*DescribeProxyGroupListResponse) FromJsonString

func (r *DescribeProxyGroupListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxyGroupListResponse) ToJsonString

func (r *DescribeProxyGroupListResponse) ToJsonString() string

type DescribeProxyGroupStatisticsRequest

type DescribeProxyGroupStatisticsRequest struct {
	*tchttp.BaseRequest

	// Connection group ID
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Statistical metric name list. Values: InBandwidth (inbound bandwidth); OutBandwidth (outbound bandwidth); Concurrent (concurrence); InPackets (inbound packets); OutPackets (outbound packets).
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// Monitoring granularity. It currently supports: 60, 300, 3,600, 86,400. Unit: seconds.
	// Time range: <= 1 day, supported minimum granularity: 60 seconds;
	// Time range: <= 7 days, supported minimum granularity: 3,600 seconds;
	// Time range: <= 30 days, supported minimum granularity: 86,400 seconds;
	Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"`
}

func NewDescribeProxyGroupStatisticsRequest

func NewDescribeProxyGroupStatisticsRequest() (request *DescribeProxyGroupStatisticsRequest)

func (*DescribeProxyGroupStatisticsRequest) FromJsonString

func (r *DescribeProxyGroupStatisticsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxyGroupStatisticsRequest) ToJsonString

func (r *DescribeProxyGroupStatisticsRequest) ToJsonString() string

type DescribeProxyGroupStatisticsResponse

type DescribeProxyGroupStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Connection group statistics
		StatisticsData []*MetricStatisticsInfo `json:"StatisticsData,omitempty" name:"StatisticsData"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProxyGroupStatisticsResponse

func NewDescribeProxyGroupStatisticsResponse() (response *DescribeProxyGroupStatisticsResponse)

func (*DescribeProxyGroupStatisticsResponse) FromJsonString

func (r *DescribeProxyGroupStatisticsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxyGroupStatisticsResponse) ToJsonString

func (r *DescribeProxyGroupStatisticsResponse) ToJsonString() string

type DescribeProxyStatisticsRequest

type DescribeProxyStatisticsRequest struct {
	*tchttp.BaseRequest

	// Connection ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Start time (2019-03-25 12:00:00)
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time (2019-03-25 12:00:00)
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Statistical metric name list. Valid values: `InBandwidth` (inbound bandwidth); `OutBandwidth` (outbound bandwidth); Concurrent (concurrence); `InPackets` (inbound packets); `OutPackets` (outbound packets); `PacketLoss` (packet loss rate); `Latency` (latency); `HttpQPS` (the number of HTTP requests); `HttpsQPS` (the number of HTTPS requests).
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// Monitoring granularity. It currently supports: 60, 300, 3,600, and 86,400. Unit: seconds.
	// Time range: <= 1 day, supported minimum granularity: 60 seconds;
	// Time range: <= 7 days, supported minimum granularity: 3,600 seconds;
	// Time range: <= 30 days, supported minimum granularity: 86,400 seconds;
	Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"`
}

func NewDescribeProxyStatisticsRequest

func NewDescribeProxyStatisticsRequest() (request *DescribeProxyStatisticsRequest)

func (*DescribeProxyStatisticsRequest) FromJsonString

func (r *DescribeProxyStatisticsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxyStatisticsRequest) ToJsonString

func (r *DescribeProxyStatisticsRequest) ToJsonString() string

type DescribeProxyStatisticsResponse

type DescribeProxyStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Connection statistics
		StatisticsData []*MetricStatisticsInfo `json:"StatisticsData,omitempty" name:"StatisticsData"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProxyStatisticsResponse

func NewDescribeProxyStatisticsResponse() (response *DescribeProxyStatisticsResponse)

func (*DescribeProxyStatisticsResponse) FromJsonString

func (r *DescribeProxyStatisticsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxyStatisticsResponse) ToJsonString

func (r *DescribeProxyStatisticsResponse) ToJsonString() string

type DescribeRealServerStatisticsRequest

type DescribeRealServerStatisticsRequest struct {
	*tchttp.BaseRequest

	// Origin server ID
	RealServerId *string `json:"RealServerId,omitempty" name:"RealServerId"`

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Layer-7 rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Statistics duration. Unit: hours. It only supports querying statistics for the past 1, 3, 6, 12, and 24 hours.
	WithinTime *uint64 `json:"WithinTime,omitempty" name:"WithinTime"`

	// Statistics start time, such as `2020-08-19 00:00:00`
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Statistics end time, such as `2020-08-19 23:59:59`
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Statistics granularity in seconds. Only 1-minute (60-second) and 5-minute (300-second) granularities are supported.
	Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"`
}

func NewDescribeRealServerStatisticsRequest

func NewDescribeRealServerStatisticsRequest() (request *DescribeRealServerStatisticsRequest)

func (*DescribeRealServerStatisticsRequest) FromJsonString

func (r *DescribeRealServerStatisticsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRealServerStatisticsRequest) ToJsonString

func (r *DescribeRealServerStatisticsRequest) ToJsonString() string

type DescribeRealServerStatisticsResponse

type DescribeRealServerStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Origin server status statistics of specified listener
		StatisticsData []*StatisticsDataInfo `json:"StatisticsData,omitempty" name:"StatisticsData"`

		// Status statistics of multiple origin servers
		RsStatisticsData []*MetricStatisticsInfo `json:"RsStatisticsData,omitempty" name:"RsStatisticsData"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRealServerStatisticsResponse

func NewDescribeRealServerStatisticsResponse() (response *DescribeRealServerStatisticsResponse)

func (*DescribeRealServerStatisticsResponse) FromJsonString

func (r *DescribeRealServerStatisticsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRealServerStatisticsResponse) ToJsonString

func (r *DescribeRealServerStatisticsResponse) ToJsonString() string

type DescribeRealServersRequest

type DescribeRealServersRequest struct {
	*tchttp.BaseRequest

	// Queries the project ID to which the origin server belongs. -1: all projects.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Origin server IP or domain name to be queried. The fuzzy match is supported.
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`

	// Offset, which is 0 by default.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Quantity of values to return. The default value is 20 and the maximum value is 50.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Tag list. If this field exists, the list of the resources with the tag will be pulled.
	// It supports up to 5 tags. If there are two or more tags, the origin servers tagged any of them will be pulled.
	TagSet []*TagPair `json:"TagSet,omitempty" name:"TagSet"`

	// Filter conditions. The value of the `name` of the `filter` (RealServerName, RealServerIP)
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeRealServersRequest

func NewDescribeRealServersRequest() (request *DescribeRealServersRequest)

func (*DescribeRealServersRequest) FromJsonString

func (r *DescribeRealServersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRealServersRequest) ToJsonString

func (r *DescribeRealServersRequest) ToJsonString() string

type DescribeRealServersResponse

type DescribeRealServersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// An information list of origin server
		RealServerSet []*BindRealServerInfo `json:"RealServerSet,omitempty" name:"RealServerSet"`

		// The quantity of origin servers
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRealServersResponse

func NewDescribeRealServersResponse() (response *DescribeRealServersResponse)

func (*DescribeRealServersResponse) FromJsonString

func (r *DescribeRealServersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRealServersResponse) ToJsonString

func (r *DescribeRealServersResponse) ToJsonString() string

type DescribeRealServersStatusRequest

type DescribeRealServersStatusRequest struct {
	*tchttp.BaseRequest

	// List of origin server IDs
	RealServerIds []*string `json:"RealServerIds,omitempty" name:"RealServerIds"`
}

func NewDescribeRealServersStatusRequest

func NewDescribeRealServersStatusRequest() (request *DescribeRealServersStatusRequest)

func (*DescribeRealServersStatusRequest) FromJsonString

func (r *DescribeRealServersStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRealServersStatusRequest) ToJsonString

func (r *DescribeRealServersStatusRequest) ToJsonString() string

type DescribeRealServersStatusResponse

type DescribeRealServersStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Quantity of origin server query results returned
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Binding status list of origin servers
		RealServerStatusSet []*RealServerStatus `json:"RealServerStatusSet,omitempty" name:"RealServerStatusSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRealServersStatusResponse

func NewDescribeRealServersStatusResponse() (response *DescribeRealServersStatusResponse)

func (*DescribeRealServersStatusResponse) FromJsonString

func (r *DescribeRealServersStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRealServersStatusResponse) ToJsonString

func (r *DescribeRealServersStatusResponse) ToJsonString() string

type DescribeRegionAndPriceRequest

type DescribeRegionAndPriceRequest struct {
	*tchttp.BaseRequest

	// IP version. Valid values: `IPv4` (default), `IPv6`.
	IPAddressVersion *string `json:"IPAddressVersion,omitempty" name:"IPAddressVersion"`

	// Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`
}

func NewDescribeRegionAndPriceRequest

func NewDescribeRegionAndPriceRequest() (request *DescribeRegionAndPriceRequest)

func (*DescribeRegionAndPriceRequest) FromJsonString

func (r *DescribeRegionAndPriceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegionAndPriceRequest) ToJsonString

func (r *DescribeRegionAndPriceRequest) ToJsonString() string

type DescribeRegionAndPriceResponse

type DescribeRegionAndPriceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of origin server regions
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of origin server region details
		DestRegionSet []*RegionDetail `json:"DestRegionSet,omitempty" name:"DestRegionSet"`

		// Connection bandwidth price gradient
		BandwidthUnitPrice []*BandwidthPriceGradient `json:"BandwidthUnitPrice,omitempty" name:"BandwidthUnitPrice"`

		// Currency type of bandwidth price:
		// CNY (Chinese Yuan)
		// USD (United States Dollar)
		Currency *string `json:"Currency,omitempty" name:"Currency"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRegionAndPriceResponse

func NewDescribeRegionAndPriceResponse() (response *DescribeRegionAndPriceResponse)

func (*DescribeRegionAndPriceResponse) FromJsonString

func (r *DescribeRegionAndPriceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegionAndPriceResponse) ToJsonString

func (r *DescribeRegionAndPriceResponse) ToJsonString() string

type DescribeResourcesByTagRequest

type DescribeResourcesByTagRequest struct {
	*tchttp.BaseRequest

	// Tag key.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`

	// Resource type, including:
	// Proxy (connection);
	// ProxyGroup (connection group);
	// RealServer (origin server).
	// If this field is not specified, all resources with the tag will be queried.
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`
}

func NewDescribeResourcesByTagRequest

func NewDescribeResourcesByTagRequest() (request *DescribeResourcesByTagRequest)

func (*DescribeResourcesByTagRequest) FromJsonString

func (r *DescribeResourcesByTagRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourcesByTagRequest) ToJsonString

func (r *DescribeResourcesByTagRequest) ToJsonString() string

type DescribeResourcesByTagResponse

type DescribeResourcesByTagResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total resources
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Resource list corresponding to the tag
		ResourceSet []*TagResourceInfo `json:"ResourceSet,omitempty" name:"ResourceSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeResourcesByTagResponse

func NewDescribeResourcesByTagResponse() (response *DescribeResourcesByTagResponse)

func (*DescribeResourcesByTagResponse) FromJsonString

func (r *DescribeResourcesByTagResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourcesByTagResponse) ToJsonString

func (r *DescribeResourcesByTagResponse) ToJsonString() string

type DescribeRuleRealServersRequest

type DescribeRuleRealServersRequest struct {
	*tchttp.BaseRequest

	// Forwarding rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of values to be returned. The default value is 20. Maximum is 1000.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeRuleRealServersRequest

func NewDescribeRuleRealServersRequest() (request *DescribeRuleRealServersRequest)

func (*DescribeRuleRealServersRequest) FromJsonString

func (r *DescribeRuleRealServersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRuleRealServersRequest) ToJsonString

func (r *DescribeRuleRealServersRequest) ToJsonString() string

type DescribeRuleRealServersResponse

type DescribeRuleRealServersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Quantity of origin servers that can be bound
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Information list of origin servers that can be bound
		RealServerSet []*RealServer `json:"RealServerSet,omitempty" name:"RealServerSet"`

		// Quantity of bound origin servers
		BindRealServerTotalCount *uint64 `json:"BindRealServerTotalCount,omitempty" name:"BindRealServerTotalCount"`

		// Bound origin server information list
		BindRealServerSet []*BindRealServer `json:"BindRealServerSet,omitempty" name:"BindRealServerSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRuleRealServersResponse

func NewDescribeRuleRealServersResponse() (response *DescribeRuleRealServersResponse)

func (*DescribeRuleRealServersResponse) FromJsonString

func (r *DescribeRuleRealServersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRuleRealServersResponse) ToJsonString

func (r *DescribeRuleRealServersResponse) ToJsonString() string

type DescribeRulesByRuleIdsRequest

type DescribeRulesByRuleIdsRequest struct {
	*tchttp.BaseRequest

	// List of rule IDs. Up to 10 rules are supported.
	RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"`
}

func NewDescribeRulesByRuleIdsRequest

func NewDescribeRulesByRuleIdsRequest() (request *DescribeRulesByRuleIdsRequest)

func (*DescribeRulesByRuleIdsRequest) FromJsonString

func (r *DescribeRulesByRuleIdsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRulesByRuleIdsRequest) ToJsonString

func (r *DescribeRulesByRuleIdsRequest) ToJsonString() string

type DescribeRulesByRuleIdsResponse

type DescribeRulesByRuleIdsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The number of returned rules.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of returned rules.
		RuleSet []*RuleInfo `json:"RuleSet,omitempty" name:"RuleSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRulesByRuleIdsResponse

func NewDescribeRulesByRuleIdsResponse() (response *DescribeRulesByRuleIdsResponse)

func (*DescribeRulesByRuleIdsResponse) FromJsonString

func (r *DescribeRulesByRuleIdsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRulesByRuleIdsResponse) ToJsonString

func (r *DescribeRulesByRuleIdsResponse) ToJsonString() string

type DescribeRulesRequest

type DescribeRulesRequest struct {
	*tchttp.BaseRequest

	// Layer-7 listener ID.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`
}

func NewDescribeRulesRequest

func NewDescribeRulesRequest() (request *DescribeRulesRequest)

func (*DescribeRulesRequest) FromJsonString

func (r *DescribeRulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRulesRequest) ToJsonString

func (r *DescribeRulesRequest) ToJsonString() string

type DescribeRulesResponse

type DescribeRulesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Rule information list classified by domain name type
		DomainRuleSet []*DomainRuleSet `json:"DomainRuleSet,omitempty" name:"DomainRuleSet"`

		// Total quantity of domain names under this listener
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRulesResponse

func NewDescribeRulesResponse() (response *DescribeRulesResponse)

func (*DescribeRulesResponse) FromJsonString

func (r *DescribeRulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRulesResponse) ToJsonString

func (r *DescribeRulesResponse) ToJsonString() string

type DescribeSecurityPolicyDetailRequest

type DescribeSecurityPolicyDetailRequest struct {
	*tchttp.BaseRequest

	// Security policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
}

func NewDescribeSecurityPolicyDetailRequest

func NewDescribeSecurityPolicyDetailRequest() (request *DescribeSecurityPolicyDetailRequest)

func (*DescribeSecurityPolicyDetailRequest) FromJsonString

func (r *DescribeSecurityPolicyDetailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSecurityPolicyDetailRequest) ToJsonString

func (r *DescribeSecurityPolicyDetailRequest) ToJsonString() string

type DescribeSecurityPolicyDetailResponse

type DescribeSecurityPolicyDetailResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Connection ID
		// Note: this field may return null, indicating that no valid values can be obtained.
		ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

		// Security policy status:
		// BOUND (security policies enabled)
		// UNBIND (security policies disabled)
		// BINDING (enabling security policies)
		// UNBINDING (disabling security policies)
		Status *string `json:"Status,omitempty" name:"Status"`

		// Default policy: ACCEPT or DROP.
		DefaultAction *string `json:"DefaultAction,omitempty" name:"DefaultAction"`

		// Policy ID
		PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

		// List of rules
		RuleList []*SecurityPolicyRuleOut `json:"RuleList,omitempty" name:"RuleList"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSecurityPolicyDetailResponse

func NewDescribeSecurityPolicyDetailResponse() (response *DescribeSecurityPolicyDetailResponse)

func (*DescribeSecurityPolicyDetailResponse) FromJsonString

func (r *DescribeSecurityPolicyDetailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSecurityPolicyDetailResponse) ToJsonString

func (r *DescribeSecurityPolicyDetailResponse) ToJsonString() string

type DescribeSecurityRulesRequest

type DescribeSecurityRulesRequest struct {
	*tchttp.BaseRequest

	// List of security rule IDs. Up to 20 security rules are supported.
	SecurityRuleIds []*string `json:"SecurityRuleIds,omitempty" name:"SecurityRuleIds"`
}

func NewDescribeSecurityRulesRequest

func NewDescribeSecurityRulesRequest() (request *DescribeSecurityRulesRequest)

func (*DescribeSecurityRulesRequest) FromJsonString

func (r *DescribeSecurityRulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSecurityRulesRequest) ToJsonString

func (r *DescribeSecurityRulesRequest) ToJsonString() string

type DescribeSecurityRulesResponse

type DescribeSecurityRulesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The number of returned security rules.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of returned security rules.
		SecurityRuleSet []*SecurityPolicyRuleOut `json:"SecurityRuleSet,omitempty" name:"SecurityRuleSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSecurityRulesResponse

func NewDescribeSecurityRulesResponse() (response *DescribeSecurityRulesResponse)

func (*DescribeSecurityRulesResponse) FromJsonString

func (r *DescribeSecurityRulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSecurityRulesResponse) ToJsonString

func (r *DescribeSecurityRulesResponse) ToJsonString() string

type DescribeTCPListenersRequest

type DescribeTCPListenersRequest struct {
	*tchttp.BaseRequest

	// Connection ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Filter condition. Exact query by listener IDs.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Filter condition. Exact query by listener names.
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Filter condition. Exact query by listener ports.
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Offset. The default value is 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Quantity limit. The default value is 20.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Connection group ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Filter condition. It supports fuzzy query by ports or listener names. This parameter cannot be used with `ListenerName` or `Port`.
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`
}

func NewDescribeTCPListenersRequest

func NewDescribeTCPListenersRequest() (request *DescribeTCPListenersRequest)

func (*DescribeTCPListenersRequest) FromJsonString

func (r *DescribeTCPListenersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTCPListenersRequest) ToJsonString

func (r *DescribeTCPListenersRequest) ToJsonString() string

type DescribeTCPListenersResponse

type DescribeTCPListenersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total quantity of listeners that matches the conditions
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// TCP listener list
		ListenerSet []*TCPListener `json:"ListenerSet,omitempty" name:"ListenerSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTCPListenersResponse

func NewDescribeTCPListenersResponse() (response *DescribeTCPListenersResponse)

func (*DescribeTCPListenersResponse) FromJsonString

func (r *DescribeTCPListenersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTCPListenersResponse) ToJsonString

func (r *DescribeTCPListenersResponse) ToJsonString() string

type DescribeUDPListenersRequest

type DescribeUDPListenersRequest struct {
	*tchttp.BaseRequest

	// Connection ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Filter condition. Exact query by listener IDs.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Filter condition. Exact query by listener names.
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Filter condition. Exact query by listener ports.
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Offset. The default value is 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Quantity limit. The default value is 20.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Connection group ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Filter condition. It supports fuzzy query by ports or listener names. This parameter cannot be used with `ListenerName` or `Port`.
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`
}

func NewDescribeUDPListenersRequest

func NewDescribeUDPListenersRequest() (request *DescribeUDPListenersRequest)

func (*DescribeUDPListenersRequest) FromJsonString

func (r *DescribeUDPListenersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUDPListenersRequest) ToJsonString

func (r *DescribeUDPListenersRequest) ToJsonString() string

type DescribeUDPListenersResponse

type DescribeUDPListenersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Quantity of listeners
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// UDP listener list
		ListenerSet []*UDPListener `json:"ListenerSet,omitempty" name:"ListenerSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeUDPListenersResponse

func NewDescribeUDPListenersResponse() (response *DescribeUDPListenersResponse)

func (*DescribeUDPListenersResponse) FromJsonString

func (r *DescribeUDPListenersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUDPListenersResponse) ToJsonString

func (r *DescribeUDPListenersResponse) ToJsonString() string

type DestroyProxiesRequest

type DestroyProxiesRequest struct {
	*tchttp.BaseRequest

	// The identifier for forced deletion
	// 1: this connection list is deleted forcibly regardless of whether the origin server has been bound.
	// 0: this connection list cannot be deleted if the origin server has been bound.
	// If this identifier is 0, the deletion can be performed only when all the connections have not been bound to any origin servers.
	Force *int64 `json:"Force,omitempty" name:"Force"`

	// List of connection instance IDs; It's an old parameter, please switch to ProxyIds.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// A string used to ensure the idempotency of the request, which is generated by the user and must be unique to each request. The maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.
	// For more information, please see How to Ensure Idempotence.
	ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`

	// List of connection instance IDs; It's a new parameter.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`
}

func NewDestroyProxiesRequest

func NewDestroyProxiesRequest() (request *DestroyProxiesRequest)

func (*DestroyProxiesRequest) FromJsonString

func (r *DestroyProxiesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DestroyProxiesRequest) ToJsonString

func (r *DestroyProxiesRequest) ToJsonString() string

type DestroyProxiesResponse

type DestroyProxiesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// ID list of connection instances that cannot be terminated.
		InvalidStatusInstanceSet []*string `json:"InvalidStatusInstanceSet,omitempty" name:"InvalidStatusInstanceSet"`

		// ID list of connection instances that failed to be terminated.
		OperationFailedInstanceSet []*string `json:"OperationFailedInstanceSet,omitempty" name:"OperationFailedInstanceSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDestroyProxiesResponse

func NewDestroyProxiesResponse() (response *DestroyProxiesResponse)

func (*DestroyProxiesResponse) FromJsonString

func (r *DestroyProxiesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DestroyProxiesResponse) ToJsonString

func (r *DestroyProxiesResponse) ToJsonString() string

type DomainAccessRegionDict

type DomainAccessRegionDict struct {

	// Nearest access region
	NationCountryInnerList []*NationCountryInnerInfo `json:"NationCountryInnerList,omitempty" name:"NationCountryInnerList"`

	// Acceleration region connection list
	ProxyList []*ProxyIdDict `json:"ProxyList,omitempty" name:"ProxyList"`

	// Acceleration region ID
	RegionId *string `json:"RegionId,omitempty" name:"RegionId"`

	// Acceleration region internal code
	GeographicalZoneInnerCode *string `json:"GeographicalZoneInnerCode,omitempty" name:"GeographicalZoneInnerCode"`

	// Internal code of the continent to which the acceleration region belongs
	ContinentInnerCode *string `json:"ContinentInnerCode,omitempty" name:"ContinentInnerCode"`

	// Acceleration region alias
	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`
}

type DomainErrorPageInfo

type DomainErrorPageInfo struct {

	// Configuration ID of a custom error response
	ErrorPageId *string `json:"ErrorPageId,omitempty" name:"ErrorPageId"`

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Original error code
	ErrorNos []*int64 `json:"ErrorNos,omitempty" name:"ErrorNos"`

	// New error code
	// Note: This field may return null, indicating that no valid values can be obtained.
	NewErrorNo *int64 `json:"NewErrorNo,omitempty" name:"NewErrorNo"`

	// Response header to be cleared
	// Note: This field may return null, indicating that no valid values can be obtained.
	ClearHeaders []*string `json:"ClearHeaders,omitempty" name:"ClearHeaders"`

	// Response header to be set
	// Note: This field may return null, indicating that no valid values can be obtained.
	SetHeaders []*HttpHeaderParam `json:"SetHeaders,omitempty" name:"SetHeaders"`

	// Configured response body (excluding HTTP header)
	// Note: This field may return null, indicating that no valid values can be obtained.
	Body *string `json:"Body,omitempty" name:"Body"`

	// Rule status. 0: success
	// Note: this field may return null, indicating that no valid value is obtained.
	Status *int64 `json:"Status,omitempty" name:"Status"`
}

type DomainRuleSet

type DomainRuleSet struct {

	// Forwarding rule domain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Forwarding rule list of the domain name.
	RuleSet []*RuleInfo `json:"RuleSet,omitempty" name:"RuleSet"`

	// Server certificate ID of the domain. When it is `default`, it indicates that the default certificate will be used (i.e., the certificate configured for the listener).
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Server certificate name of the domain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertificateAlias *string `json:"CertificateAlias,omitempty" name:"CertificateAlias"`

	// Client certificate ID of the domain. When it is `default`, it indicates that the default certificate will be used (i.e., the certificate configured for the listener).
	// Note: This field may return null, indicating that no valid values can be obtained.
	ClientCertificateId *string `json:"ClientCertificateId,omitempty" name:"ClientCertificateId"`

	// Client certificate name of the domain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ClientCertificateAlias *string `json:"ClientCertificateAlias,omitempty" name:"ClientCertificateAlias"`

	// Basic authentication configuration ID of the domain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BasicAuthConfId *string `json:"BasicAuthConfId,omitempty" name:"BasicAuthConfId"`

	// Basic authentication status:
	// 0: disabled;
	// 1: enabled.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BasicAuth *int64 `json:"BasicAuth,omitempty" name:"BasicAuth"`

	// Basic authentication configuration name of the domain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BasicAuthConfAlias *string `json:"BasicAuthConfAlias,omitempty" name:"BasicAuthConfAlias"`

	// Origin server authentication certificate ID of the domain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RealServerCertificateId *string `json:"RealServerCertificateId,omitempty" name:"RealServerCertificateId"`

	// Origin server authentication status:
	// 0: disabled;
	// 1: enabled.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RealServerAuth *int64 `json:"RealServerAuth,omitempty" name:"RealServerAuth"`

	// Origin server authentication certificate name of the domain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RealServerCertificateAlias *string `json:"RealServerCertificateAlias,omitempty" name:"RealServerCertificateAlias"`

	// Connection authentication certificate ID of the domain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	GaapCertificateId *string `json:"GaapCertificateId,omitempty" name:"GaapCertificateId"`

	// Connection authentication status:
	// 0: disabled;
	// 1: enabled.
	// Note: This field may return null, indicating that no valid values can be obtained.
	GaapAuth *int64 `json:"GaapAuth,omitempty" name:"GaapAuth"`

	// Connection authentication certificate name of the domain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	GaapCertificateAlias *string `json:"GaapCertificateAlias,omitempty" name:"GaapCertificateAlias"`

	// Origin server authentication domain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RealServerCertificateDomain *string `json:"RealServerCertificateDomain,omitempty" name:"RealServerCertificateDomain"`

	// Returns IDs and aliases of multiple certificates when there are multiple client certificates.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PolyClientCertificateAliasInfo []*CertificateAliasInfo `json:"PolyClientCertificateAliasInfo,omitempty" name:"PolyClientCertificateAliasInfo"`

	// Returns IDs and aliases of multiple certificates when there are multiple origin certificates.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PolyRealServerCertificateAliasInfo []*CertificateAliasInfo `json:"PolyRealServerCertificateAliasInfo,omitempty" name:"PolyRealServerCertificateAliasInfo"`

	// Domain name status.
	// 0: running;
	// 1: changing;
	// 2: deleting.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DomainStatus *uint64 `json:"DomainStatus,omitempty" name:"DomainStatus"`

	// Blocking-related status of the domain name. `BANNED`: the domain name is blocked; `RECOVER`: the domain name is unblocked or normal; `BANNING`: the domain name is being blocked; `RECOVERING`: the domain name is being unblocked; `BAN_FAILED`: the blocking fails; RECOVER_FAILED: the unblocking fails.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	BanStatus *string `json:"BanStatus,omitempty" name:"BanStatus"`
}

type Filter

type Filter struct {

	// Filter conditions
	Name *string `json:"Name,omitempty" name:"Name"`

	// Filter values
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type GroupStatisticsInfo

type GroupStatisticsInfo struct {

	// Connection group ID
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Connection group name
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// List of connections of a connection group
	ProxySet []*ProxySimpleInfo `json:"ProxySet,omitempty" name:"ProxySet"`
}

type HTTPListener

type HTTPListener struct {

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Listener port
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Listener creation time; using UNIX timestamp.
	CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`

	// Listener protocol. Valid values: HTTP, HTTPS. The value `HTTP` is used for this structure
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Listener status:
	// 0: running;
	// 1: creating;
	// 2: terminating;
	// 3: adjusting origin server;
	// 4: modifying configuration.
	ListenerStatus *uint64 `json:"ListenerStatus,omitempty" name:"ListenerStatus"`
}

type HTTPSListener

type HTTPSListener struct {

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Listener port
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Listener protocol. Valid values: HTTP, HTTPS. The value `HTTPS` is used for this structure
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Listener status:
	// 0: running;
	// 1: creating;
	// 2: terminating;
	// 3: adjusting origin server;
	// 4: modifying configuration.
	ListenerStatus *uint64 `json:"ListenerStatus,omitempty" name:"ListenerStatus"`

	// Server SSL certificate ID of the listener
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Protocol used in the forwarding from connections to origin servers
	ForwardProtocol *string `json:"ForwardProtocol,omitempty" name:"ForwardProtocol"`

	// Listener creation time; using UNIX timestamp.
	CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`

	// Server SSL certificate alias
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertificateAlias *string `json:"CertificateAlias,omitempty" name:"CertificateAlias"`

	// Client CA certificate ID of the listener
	// Note: This field may return null, indicating that no valid values can be obtained.
	ClientCertificateId *string `json:"ClientCertificateId,omitempty" name:"ClientCertificateId"`

	// Listener authentication mode. Valid values:
	// 0: one-way authentication;
	// 1: mutual authentication.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AuthType *int64 `json:"AuthType,omitempty" name:"AuthType"`

	// Client CA certificate alias
	// Note: This field may return null, indicating that no valid values can be obtained.
	ClientCertificateAlias *string `json:"ClientCertificateAlias,omitempty" name:"ClientCertificateAlias"`

	// Alias information of multiple client CA certificates.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PolyClientCertificateAliasInfo []*CertificateAliasInfo `json:"PolyClientCertificateAliasInfo,omitempty" name:"PolyClientCertificateAliasInfo"`
}

type HttpHeaderParam

type HttpHeaderParam struct {

	// HTTP header name
	HeaderName *string `json:"HeaderName,omitempty" name:"HeaderName"`

	// HTTP header value
	HeaderValue *string `json:"HeaderValue,omitempty" name:"HeaderValue"`
}

type InquiryPriceCreateProxyRequest

type InquiryPriceCreateProxyRequest struct {
	*tchttp.BaseRequest

	// Acceleration region name.
	AccessRegion *string `json:"AccessRegion,omitempty" name:"AccessRegion"`

	// Connection bandwidth cap. Unit: Mbps.
	Bandwidth *int64 `json:"Bandwidth,omitempty" name:"Bandwidth"`

	// Origin server region name. It's an old parameter, please switch to RealServerRegion.
	DestRegion *string `json:"DestRegion,omitempty" name:"DestRegion"`

	// Upper limit of connection concurrence, which indicates a number of simultaneous online connections. Unit: 10,000 connections. It's an old parameter, please switch to Concurrent.
	Concurrency *int64 `json:"Concurrency,omitempty" name:"Concurrency"`

	// Origin server region name; It's a new parameter.
	RealServerRegion *string `json:"RealServerRegion,omitempty" name:"RealServerRegion"`

	// Upper limit of connection concurrence, which indicates a number of simultaneous online connections. Unit: 10,000 connections. It's a new parameter.
	Concurrent *int64 `json:"Concurrent,omitempty" name:"Concurrent"`

	// Billing mode. Valid values: 0: bill-by-bandwidth (default value); 1: bill-by-traffic.
	BillingType *int64 `json:"BillingType,omitempty" name:"BillingType"`

	// IP version. Valid values: `IPv4` (default), `IPv6`.
	IPAddressVersion *string `json:"IPAddressVersion,omitempty" name:"IPAddressVersion"`

	// Network type. Valid values: `normal` (default), `cn2`
	NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"`

	// Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`
}

func NewInquiryPriceCreateProxyRequest

func NewInquiryPriceCreateProxyRequest() (request *InquiryPriceCreateProxyRequest)

func (*InquiryPriceCreateProxyRequest) FromJsonString

func (r *InquiryPriceCreateProxyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceCreateProxyRequest) ToJsonString

func (r *InquiryPriceCreateProxyRequest) ToJsonString() string

type InquiryPriceCreateProxyResponse

type InquiryPriceCreateProxyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Basic price of connection in USD/day.
		ProxyDailyPrice *float64 `json:"ProxyDailyPrice,omitempty" name:"ProxyDailyPrice"`

		// Tiered price of connection bandwidth.
		// Note: this field may return null, indicating that no valid values can be obtained.
		BandwidthUnitPrice []*BandwidthPriceGradient `json:"BandwidthUnitPrice,omitempty" name:"BandwidthUnitPrice"`

		// Discounted basic price of connection in USD/day.
		DiscountProxyDailyPrice *float64 `json:"DiscountProxyDailyPrice,omitempty" name:"DiscountProxyDailyPrice"`

		// Currency, which supports CNY, USD, etc.
		Currency *string `json:"Currency,omitempty" name:"Currency"`

		// Connection traffic price in USD/GB.
		// Note: this field may return null, indicating that no valid values can be obtained.
		FlowUnitPrice *float64 `json:"FlowUnitPrice,omitempty" name:"FlowUnitPrice"`

		// Discounted connection traffic price in USD/GB.
		// Note: this field may return null, indicating that no valid values can be obtained.
		DiscountFlowUnitPrice *float64 `json:"DiscountFlowUnitPrice,omitempty" name:"DiscountFlowUnitPrice"`

		// Dedicated BGP bandwidth price. Unit: USD/Mbps/day
		// Note: this field may return `null`, indicating that no valid value can be obtained.
		Cn2BandwidthPrice *float64 `json:"Cn2BandwidthPrice,omitempty" name:"Cn2BandwidthPrice"`

		// Dedicated BGP bandwidth discount price. Unit: USD/Mbps/day
		// Note: this field may return `null`, indicating that no valid value can be obtained.
		Cn2BandwidthPriceWithDiscount *float64 `json:"Cn2BandwidthPriceWithDiscount,omitempty" name:"Cn2BandwidthPriceWithDiscount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewInquiryPriceCreateProxyResponse

func NewInquiryPriceCreateProxyResponse() (response *InquiryPriceCreateProxyResponse)

func (*InquiryPriceCreateProxyResponse) FromJsonString

func (r *InquiryPriceCreateProxyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceCreateProxyResponse) ToJsonString

func (r *InquiryPriceCreateProxyResponse) ToJsonString() string

type ListenerInfo

type ListenerInfo struct {

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Listening port
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Listener protocol type
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}

type MetricStatisticsInfo

type MetricStatisticsInfo struct {

	// Metric name
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Metric statistics
	MetricData []*StatisticsDataInfo `json:"MetricData,omitempty" name:"MetricData"`
}

type ModifyCertificateAttributesRequest

type ModifyCertificateAttributesRequest struct {
	*tchttp.BaseRequest

	// Certificate ID.
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Certificate name. Up to 50 characters.
	CertificateAlias *string `json:"CertificateAlias,omitempty" name:"CertificateAlias"`
}

func NewModifyCertificateAttributesRequest

func NewModifyCertificateAttributesRequest() (request *ModifyCertificateAttributesRequest)

func (*ModifyCertificateAttributesRequest) FromJsonString

func (r *ModifyCertificateAttributesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCertificateAttributesRequest) ToJsonString

func (r *ModifyCertificateAttributesRequest) ToJsonString() string

type ModifyCertificateAttributesResponse

type ModifyCertificateAttributesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyCertificateAttributesResponse

func NewModifyCertificateAttributesResponse() (response *ModifyCertificateAttributesResponse)

func (*ModifyCertificateAttributesResponse) FromJsonString

func (r *ModifyCertificateAttributesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCertificateAttributesResponse) ToJsonString

func (r *ModifyCertificateAttributesResponse) ToJsonString() string

type ModifyCertificateRequest

type ModifyCertificateRequest struct {
	*tchttp.BaseRequest

	// Listener instance ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Domain name whose certificate needs to be modified
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// New server certificate ID:
	// If CertificateId=default, using the listener certificate.
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// New client certificate ID:
	// If ClientCertificateId=default, using the listener certificate.
	// This parameter is required only when the mutual authentication is adopted.
	ClientCertificateId *string `json:"ClientCertificateId,omitempty" name:"ClientCertificateId"`

	// List of new IDs of multiple client certificates, where:
	// This parameter or the `ClientCertificateId` parameter is required for mutual authentication only.
	PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitempty" name:"PolyClientCertificateIds"`
}

func NewModifyCertificateRequest

func NewModifyCertificateRequest() (request *ModifyCertificateRequest)

func (*ModifyCertificateRequest) FromJsonString

func (r *ModifyCertificateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCertificateRequest) ToJsonString

func (r *ModifyCertificateRequest) ToJsonString() string

type ModifyCertificateResponse

type ModifyCertificateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyCertificateResponse

func NewModifyCertificateResponse() (response *ModifyCertificateResponse)

func (*ModifyCertificateResponse) FromJsonString

func (r *ModifyCertificateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCertificateResponse) ToJsonString

func (r *ModifyCertificateResponse) ToJsonString() string

type ModifyDomainRequest

type ModifyDomainRequest struct {
	*tchttp.BaseRequest

	// Layer-7 listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Original domain name information
	OldDomain *string `json:"OldDomain,omitempty" name:"OldDomain"`

	// New domain name information
	NewDomain *string `json:"NewDomain,omitempty" name:"NewDomain"`

	// Server SSL certificate ID. It's only applicable to the connections of version 3.0:
	// If this field is not passed in, the original certificate will be used;
	// If this field is passed in, and CertificateId=default, the listener certificate will be used;
	// For other cases, the certificate specified by CertificateId will be used.
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Client CA certificate ID. It's only applicable to the connections of version 3.0:
	// If this field is not passed in, the original certificate will be used;
	// If this field is passed in, and ClientCertificateId=default, the listener certificate will be used;
	// For other cases, the certificate specified by ClientCertificateId will be used.
	ClientCertificateId *string `json:"ClientCertificateId,omitempty" name:"ClientCertificateId"`

	// Client CA certificate ID. It is only applicable to connections on version 3.0, where:
	// If this field and `ClientCertificateId` are not included, the original certificate will be used;
	// If this field is included, and ClientCertificateId=default, then the listener certificate will be used;
	// In other cases, the certificate specified by `ClientCertificateId` or `PolyClientCertificateIds` will be used.
	PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitempty" name:"PolyClientCertificateIds"`
}

func NewModifyDomainRequest

func NewModifyDomainRequest() (request *ModifyDomainRequest)

func (*ModifyDomainRequest) FromJsonString

func (r *ModifyDomainRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDomainRequest) ToJsonString

func (r *ModifyDomainRequest) ToJsonString() string

type ModifyDomainResponse

type ModifyDomainResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyDomainResponse

func NewModifyDomainResponse() (response *ModifyDomainResponse)

func (*ModifyDomainResponse) FromJsonString

func (r *ModifyDomainResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDomainResponse) ToJsonString

func (r *ModifyDomainResponse) ToJsonString() string

type ModifyGroupDomainConfigRequest

type ModifyGroupDomainConfigRequest struct {
	*tchttp.BaseRequest

	// Connection group ID.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Default access IP or domain name of domain name resolution
	DefaultDnsIp *string `json:"DefaultDnsIp,omitempty" name:"DefaultDnsIp"`

	// Nearest access region configuration.
	AccessRegionList []*AccessRegionDomainConf `json:"AccessRegionList,omitempty" name:"AccessRegionList"`
}

func NewModifyGroupDomainConfigRequest

func NewModifyGroupDomainConfigRequest() (request *ModifyGroupDomainConfigRequest)

func (*ModifyGroupDomainConfigRequest) FromJsonString

func (r *ModifyGroupDomainConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyGroupDomainConfigRequest) ToJsonString

func (r *ModifyGroupDomainConfigRequest) ToJsonString() string

type ModifyGroupDomainConfigResponse

type ModifyGroupDomainConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyGroupDomainConfigResponse

func NewModifyGroupDomainConfigResponse() (response *ModifyGroupDomainConfigResponse)

func (*ModifyGroupDomainConfigResponse) FromJsonString

func (r *ModifyGroupDomainConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyGroupDomainConfigResponse) ToJsonString

func (r *ModifyGroupDomainConfigResponse) ToJsonString() string

type ModifyHTTPListenerAttributeRequest

type ModifyHTTPListenerAttributeRequest struct {
	*tchttp.BaseRequest

	// Listener ID to be modified
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// New listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Connection ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}

func NewModifyHTTPListenerAttributeRequest

func NewModifyHTTPListenerAttributeRequest() (request *ModifyHTTPListenerAttributeRequest)

func (*ModifyHTTPListenerAttributeRequest) FromJsonString

func (r *ModifyHTTPListenerAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyHTTPListenerAttributeRequest) ToJsonString

func (r *ModifyHTTPListenerAttributeRequest) ToJsonString() string

type ModifyHTTPListenerAttributeResponse

type ModifyHTTPListenerAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyHTTPListenerAttributeResponse

func NewModifyHTTPListenerAttributeResponse() (response *ModifyHTTPListenerAttributeResponse)

func (*ModifyHTTPListenerAttributeResponse) FromJsonString

func (r *ModifyHTTPListenerAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyHTTPListenerAttributeResponse) ToJsonString

func (r *ModifyHTTPListenerAttributeResponse) ToJsonString() string

type ModifyHTTPSListenerAttributeRequest

type ModifyHTTPSListenerAttributeRequest struct {
	*tchttp.BaseRequest

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Connection ID. This field is required if using a single connection listener.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// New listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Type of the protocol used in the forwarding from connections to origin servers
	ForwardProtocol *string `json:"ForwardProtocol,omitempty" name:"ForwardProtocol"`

	// New listener server certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// New listener client certificate ID
	ClientCertificateId *string `json:"ClientCertificateId,omitempty" name:"ClientCertificateId"`

	// Client certificate ID of the listener after modification, which is a new field.
	PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitempty" name:"PolyClientCertificateIds"`
}

func NewModifyHTTPSListenerAttributeRequest

func NewModifyHTTPSListenerAttributeRequest() (request *ModifyHTTPSListenerAttributeRequest)

func (*ModifyHTTPSListenerAttributeRequest) FromJsonString

func (r *ModifyHTTPSListenerAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyHTTPSListenerAttributeRequest) ToJsonString

func (r *ModifyHTTPSListenerAttributeRequest) ToJsonString() string

type ModifyHTTPSListenerAttributeResponse

type ModifyHTTPSListenerAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyHTTPSListenerAttributeResponse

func NewModifyHTTPSListenerAttributeResponse() (response *ModifyHTTPSListenerAttributeResponse)

func (*ModifyHTTPSListenerAttributeResponse) FromJsonString

func (r *ModifyHTTPSListenerAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyHTTPSListenerAttributeResponse) ToJsonString

func (r *ModifyHTTPSListenerAttributeResponse) ToJsonString() string

type ModifyProxiesAttributeRequest

type ModifyProxiesAttributeRequest struct {
	*tchttp.BaseRequest

	// ID of one or multiple connections to be operated; It's an old parameter, please switch to ProxyIds.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Connection name. Up to 30 characters.
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// A string used to ensure the idempotency of the request, which is generated by the user and must be unique to each request. The maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.
	// For more information, please see How to Ensure Idempotence.
	ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`

	// ID of one or multiple connections to be operated; It's a new parameter.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`
}

func NewModifyProxiesAttributeRequest

func NewModifyProxiesAttributeRequest() (request *ModifyProxiesAttributeRequest)

func (*ModifyProxiesAttributeRequest) FromJsonString

func (r *ModifyProxiesAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProxiesAttributeRequest) ToJsonString

func (r *ModifyProxiesAttributeRequest) ToJsonString() string

type ModifyProxiesAttributeResponse

type ModifyProxiesAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyProxiesAttributeResponse

func NewModifyProxiesAttributeResponse() (response *ModifyProxiesAttributeResponse)

func (*ModifyProxiesAttributeResponse) FromJsonString

func (r *ModifyProxiesAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProxiesAttributeResponse) ToJsonString

func (r *ModifyProxiesAttributeResponse) ToJsonString() string

type ModifyProxiesProjectRequest

type ModifyProxiesProjectRequest struct {
	*tchttp.BaseRequest

	// The target project ID.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// ID of one or multiple connections to be operated; It's an old parameter, please switch to ProxyIds.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// A string used to ensure the idempotency of the request, which is generated by the user and must be unique to each request. The maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.
	// For more information, please see How to Ensure Idempotence.
	ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`

	// ID of one or multiple connections to be operated; It's a new parameter.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`
}

func NewModifyProxiesProjectRequest

func NewModifyProxiesProjectRequest() (request *ModifyProxiesProjectRequest)

func (*ModifyProxiesProjectRequest) FromJsonString

func (r *ModifyProxiesProjectRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProxiesProjectRequest) ToJsonString

func (r *ModifyProxiesProjectRequest) ToJsonString() string

type ModifyProxiesProjectResponse

type ModifyProxiesProjectResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyProxiesProjectResponse

func NewModifyProxiesProjectResponse() (response *ModifyProxiesProjectResponse)

func (*ModifyProxiesProjectResponse) FromJsonString

func (r *ModifyProxiesProjectResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProxiesProjectResponse) ToJsonString

func (r *ModifyProxiesProjectResponse) ToJsonString() string

type ModifyProxyConfigurationRequest

type ModifyProxyConfigurationRequest struct {
	*tchttp.BaseRequest

	// Connection instance ID; It's an old parameter, please switch to ProxyId.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Target bandwidth. Unit: Mbps.
	// Bandwidth or Concurrent must be set. Use the DescribeAccessRegionsByDestRegion API to obtain the value range.
	Bandwidth *uint64 `json:"Bandwidth,omitempty" name:"Bandwidth"`

	// Target concurrence value. Unit: 10,000 connections.
	// Bandwidth or Concurrent must be set. Use the DescribeAccessRegionsByDestRegion API to obtain the value range.
	Concurrent *uint64 `json:"Concurrent,omitempty" name:"Concurrent"`

	// A string used to ensure the idempotency of the request, which is generated by the user and must be unique to each request. The maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.
	// For more information, please see How to Ensure Idempotence.
	ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`

	// Connection instance ID; It's a new parameter.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Billing mode (0: bill-by-bandwidth, 1: bill-by-traffic. Default value: bill-by-bandwidth)
	BillingType *int64 `json:"BillingType,omitempty" name:"BillingType"`
}

func NewModifyProxyConfigurationRequest

func NewModifyProxyConfigurationRequest() (request *ModifyProxyConfigurationRequest)

func (*ModifyProxyConfigurationRequest) FromJsonString

func (r *ModifyProxyConfigurationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProxyConfigurationRequest) ToJsonString

func (r *ModifyProxyConfigurationRequest) ToJsonString() string

type ModifyProxyConfigurationResponse

type ModifyProxyConfigurationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyProxyConfigurationResponse

func NewModifyProxyConfigurationResponse() (response *ModifyProxyConfigurationResponse)

func (*ModifyProxyConfigurationResponse) FromJsonString

func (r *ModifyProxyConfigurationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProxyConfigurationResponse) ToJsonString

func (r *ModifyProxyConfigurationResponse) ToJsonString() string

type ModifyProxyGroupAttributeRequest

type ModifyProxyGroupAttributeRequest struct {
	*tchttp.BaseRequest

	// ID of the connection group to be modified.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// New connection group name. Up to 30 characters. The extra characters will be truncated.
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`
}

func NewModifyProxyGroupAttributeRequest

func NewModifyProxyGroupAttributeRequest() (request *ModifyProxyGroupAttributeRequest)

func (*ModifyProxyGroupAttributeRequest) FromJsonString

func (r *ModifyProxyGroupAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProxyGroupAttributeRequest) ToJsonString

func (r *ModifyProxyGroupAttributeRequest) ToJsonString() string

type ModifyProxyGroupAttributeResponse

type ModifyProxyGroupAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyProxyGroupAttributeResponse

func NewModifyProxyGroupAttributeResponse() (response *ModifyProxyGroupAttributeResponse)

func (*ModifyProxyGroupAttributeResponse) FromJsonString

func (r *ModifyProxyGroupAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProxyGroupAttributeResponse) ToJsonString

func (r *ModifyProxyGroupAttributeResponse) ToJsonString() string

type ModifyRealServerNameRequest

type ModifyRealServerNameRequest struct {
	*tchttp.BaseRequest

	// Origin server name
	RealServerName *string `json:"RealServerName,omitempty" name:"RealServerName"`

	// Origin server ID
	RealServerId *string `json:"RealServerId,omitempty" name:"RealServerId"`
}

func NewModifyRealServerNameRequest

func NewModifyRealServerNameRequest() (request *ModifyRealServerNameRequest)

func (*ModifyRealServerNameRequest) FromJsonString

func (r *ModifyRealServerNameRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyRealServerNameRequest) ToJsonString

func (r *ModifyRealServerNameRequest) ToJsonString() string

type ModifyRealServerNameResponse

type ModifyRealServerNameResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyRealServerNameResponse

func NewModifyRealServerNameResponse() (response *ModifyRealServerNameResponse)

func (*ModifyRealServerNameResponse) FromJsonString

func (r *ModifyRealServerNameResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyRealServerNameResponse) ToJsonString

func (r *ModifyRealServerNameResponse) ToJsonString() string

type ModifyRuleAttributeRequest

type ModifyRuleAttributeRequest struct {
	*tchttp.BaseRequest

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Forwarding rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Scheduling policy:
	// rr: round robin;
	// wrr: weighted round robin;
	// lc: least connections.
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`

	// Whether to enable the origin server health check:
	// 1: enable;
	// 0: disable.
	HealthCheck *uint64 `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// Health check configuration parameters
	CheckParams *RuleCheckParams `json:"CheckParams,omitempty" name:"CheckParams"`

	// Forwarding rule path
	Path *string `json:"Path,omitempty" name:"Path"`

	// Protocol types of the forwarding from acceleration connection to origin server, which supports default, HTTP and HTTPS.
	// If `ForwardProtocol=default`, the `ForwardProtocol` of the listener will be used.
	ForwardProtocol *string `json:"ForwardProtocol,omitempty" name:"ForwardProtocol"`

	// The `host` carried in the request forwarded from the acceleration connection to the origin server.
	// If `ForwardHost=default`, the domain name of rule will be used. For other cases, the value set in this field will be used.
	ForwardHost *string `json:"ForwardHost,omitempty" name:"ForwardHost"`
}

func NewModifyRuleAttributeRequest

func NewModifyRuleAttributeRequest() (request *ModifyRuleAttributeRequest)

func (*ModifyRuleAttributeRequest) FromJsonString

func (r *ModifyRuleAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyRuleAttributeRequest) ToJsonString

func (r *ModifyRuleAttributeRequest) ToJsonString() string

type ModifyRuleAttributeResponse

type ModifyRuleAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyRuleAttributeResponse

func NewModifyRuleAttributeResponse() (response *ModifyRuleAttributeResponse)

func (*ModifyRuleAttributeResponse) FromJsonString

func (r *ModifyRuleAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyRuleAttributeResponse) ToJsonString

func (r *ModifyRuleAttributeResponse) ToJsonString() string

type ModifySecurityRuleRequest

type ModifySecurityRuleRequest struct {
	*tchttp.BaseRequest

	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Rule name: up to 30 characters. The extra characters will be truncated.
	AliasName *string `json:"AliasName,omitempty" name:"AliasName"`

	// Security policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

	// Security rule action
	RuleAction *string `json:"RuleAction,omitempty" name:"RuleAction"`

	// A CIDR IP address associated with the rule
	SourceCidr *string `json:"SourceCidr,omitempty" name:"SourceCidr"`

	// Protocol type
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Port range. Valid values:
	// A single port: 80
	// Multiple ports: 80 and 443
	// Consecutive ports: 3306-20000
	// All ports: ALL
	DestPortRange *string `json:"DestPortRange,omitempty" name:"DestPortRange"`
}

func NewModifySecurityRuleRequest

func NewModifySecurityRuleRequest() (request *ModifySecurityRuleRequest)

func (*ModifySecurityRuleRequest) FromJsonString

func (r *ModifySecurityRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySecurityRuleRequest) ToJsonString

func (r *ModifySecurityRuleRequest) ToJsonString() string

type ModifySecurityRuleResponse

type ModifySecurityRuleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifySecurityRuleResponse

func NewModifySecurityRuleResponse() (response *ModifySecurityRuleResponse)

func (*ModifySecurityRuleResponse) FromJsonString

func (r *ModifySecurityRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySecurityRuleResponse) ToJsonString

func (r *ModifySecurityRuleResponse) ToJsonString() string

type ModifyTCPListenerAttributeRequest

type ModifyTCPListenerAttributeRequest struct {
	*tchttp.BaseRequest

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Connection group ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Connection ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Origin server scheduling policy of listeners, which supports round robin (rr), weighted round robin (wrr), and least connections (lc).
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`

	// Time interval of origin server health check (unit: seconds). Value range: [5, 300].
	DelayLoop *uint64 `json:"DelayLoop,omitempty" name:"DelayLoop"`

	// Response timeout of origin server health check (unit: seconds). Value range: [2, 60]. The timeout value shall be less than the time interval for health check DelayLoop.
	ConnectTimeout *uint64 `json:"ConnectTimeout,omitempty" name:"ConnectTimeout"`

	// Whether to enable health check. 1: enable; 0: disable.
	HealthCheck *uint64 `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// Whether to enable the primary/secondary origin server mode. Valid values: 1 (enable) and 0 (disable). It cannot be enabled for domain name origin servers.
	FailoverSwitch *uint64 `json:"FailoverSwitch,omitempty" name:"FailoverSwitch"`

	// Healthy threshold. The number of consecutive successful health checks required before considering an origin server healthy. Value range: 1 - 10.
	HealthyThreshold *uint64 `json:"HealthyThreshold,omitempty" name:"HealthyThreshold"`

	// Unhealthy threshold. The number of consecutive failed health checks required before considering an origin server unhealthy. Value range: 1 -10.
	UnhealthyThreshold *uint64 `json:"UnhealthyThreshold,omitempty" name:"UnhealthyThreshold"`
}

func NewModifyTCPListenerAttributeRequest

func NewModifyTCPListenerAttributeRequest() (request *ModifyTCPListenerAttributeRequest)

func (*ModifyTCPListenerAttributeRequest) FromJsonString

func (r *ModifyTCPListenerAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTCPListenerAttributeRequest) ToJsonString

func (r *ModifyTCPListenerAttributeRequest) ToJsonString() string

type ModifyTCPListenerAttributeResponse

type ModifyTCPListenerAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyTCPListenerAttributeResponse

func NewModifyTCPListenerAttributeResponse() (response *ModifyTCPListenerAttributeResponse)

func (*ModifyTCPListenerAttributeResponse) FromJsonString

func (r *ModifyTCPListenerAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTCPListenerAttributeResponse) ToJsonString

func (r *ModifyTCPListenerAttributeResponse) ToJsonString() string

type ModifyUDPListenerAttributeRequest

type ModifyUDPListenerAttributeRequest struct {
	*tchttp.BaseRequest

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Connection group ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Connection ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Origin server scheduling policy of listeners
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`
}

func NewModifyUDPListenerAttributeRequest

func NewModifyUDPListenerAttributeRequest() (request *ModifyUDPListenerAttributeRequest)

func (*ModifyUDPListenerAttributeRequest) FromJsonString

func (r *ModifyUDPListenerAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyUDPListenerAttributeRequest) ToJsonString

func (r *ModifyUDPListenerAttributeRequest) ToJsonString() string

type ModifyUDPListenerAttributeResponse

type ModifyUDPListenerAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyUDPListenerAttributeResponse

func NewModifyUDPListenerAttributeResponse() (response *ModifyUDPListenerAttributeResponse)

func (*ModifyUDPListenerAttributeResponse) FromJsonString

func (r *ModifyUDPListenerAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyUDPListenerAttributeResponse) ToJsonString

func (r *ModifyUDPListenerAttributeResponse) ToJsonString() string

type NationCountryInnerInfo

type NationCountryInnerInfo struct {

	// Country name
	NationCountryName *string `json:"NationCountryName,omitempty" name:"NationCountryName"`

	// Country internal code
	NationCountryInnerCode *string `json:"NationCountryInnerCode,omitempty" name:"NationCountryInnerCode"`
}

type NewRealServer

type NewRealServer struct {

	// Origin server ID
	RealServerId *string `json:"RealServerId,omitempty" name:"RealServerId"`

	// Origin server IP or domain name
	RealServerIP *string `json:"RealServerIP,omitempty" name:"RealServerIP"`
}

type OpenProxiesRequest

type OpenProxiesRequest struct {
	*tchttp.BaseRequest

	// List of connection instance IDs; It's an old parameter, please switch to ProxyIds.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// A string used to ensure the idempotency of the request, which is generated by the user and must be unique to each request. The maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.
	// For more information, please see How to Ensure Idempotence.
	ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`

	// List of connection instance IDs; It's a new parameter.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`
}

func NewOpenProxiesRequest

func NewOpenProxiesRequest() (request *OpenProxiesRequest)

func (*OpenProxiesRequest) FromJsonString

func (r *OpenProxiesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenProxiesRequest) ToJsonString

func (r *OpenProxiesRequest) ToJsonString() string

type OpenProxiesResponse

type OpenProxiesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The connection instance ID list cannot be enabled if it's not disabled.
		InvalidStatusInstanceSet []*string `json:"InvalidStatusInstanceSet,omitempty" name:"InvalidStatusInstanceSet"`

		// ID list of connection instances failed to be enabled.
		OperationFailedInstanceSet []*string `json:"OperationFailedInstanceSet,omitempty" name:"OperationFailedInstanceSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewOpenProxiesResponse

func NewOpenProxiesResponse() (response *OpenProxiesResponse)

func (*OpenProxiesResponse) FromJsonString

func (r *OpenProxiesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenProxiesResponse) ToJsonString

func (r *OpenProxiesResponse) ToJsonString() string

type OpenProxyGroupRequest

type OpenProxyGroupRequest struct {
	*tchttp.BaseRequest

	// Connection group instance ID
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

func NewOpenProxyGroupRequest

func NewOpenProxyGroupRequest() (request *OpenProxyGroupRequest)

func (*OpenProxyGroupRequest) FromJsonString

func (r *OpenProxyGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenProxyGroupRequest) ToJsonString

func (r *OpenProxyGroupRequest) ToJsonString() string

type OpenProxyGroupResponse

type OpenProxyGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of IDs of the connection instances that are not disabled, which cannot be enabled.
		InvalidStatusInstanceSet []*string `json:"InvalidStatusInstanceSet,omitempty" name:"InvalidStatusInstanceSet"`

		// List of IDs of the connection instances failed to be enabled.
		OperationFailedInstanceSet []*string `json:"OperationFailedInstanceSet,omitempty" name:"OperationFailedInstanceSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewOpenProxyGroupResponse

func NewOpenProxyGroupResponse() (response *OpenProxyGroupResponse)

func (*OpenProxyGroupResponse) FromJsonString

func (r *OpenProxyGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenProxyGroupResponse) ToJsonString

func (r *OpenProxyGroupResponse) ToJsonString() string

type OpenSecurityPolicyRequest

type OpenSecurityPolicyRequest struct {
	*tchttp.BaseRequest

	// ID of the connections requiring enabled security policies.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Security policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
}

func NewOpenSecurityPolicyRequest

func NewOpenSecurityPolicyRequest() (request *OpenSecurityPolicyRequest)

func (*OpenSecurityPolicyRequest) FromJsonString

func (r *OpenSecurityPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenSecurityPolicyRequest) ToJsonString

func (r *OpenSecurityPolicyRequest) ToJsonString() string

type OpenSecurityPolicyResponse

type OpenSecurityPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Async Process ID. Using DescribeAsyncTaskStatus to query process and status.
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewOpenSecurityPolicyResponse

func NewOpenSecurityPolicyResponse() (response *OpenSecurityPolicyResponse)

func (*OpenSecurityPolicyResponse) FromJsonString

func (r *OpenSecurityPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenSecurityPolicyResponse) ToJsonString

func (r *OpenSecurityPolicyResponse) ToJsonString() string

type ProxyGroupDetail

type ProxyGroupDetail struct {

	// Creation time
	CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Number of connections in connection group
	ProxyNum *int64 `json:"ProxyNum,omitempty" name:"ProxyNum"`

	// Connection group status:
	// 0: running normally;
	// 1: creating;
	// 4: terminating;
	// 11: migrating;
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// Owner UIN
	OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"`

	// Creation UIN
	CreateUin *string `json:"CreateUin,omitempty" name:"CreateUin"`

	// Connection name
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// Default IP of domain name resolution for connection groups
	DnsDefaultIp *string `json:"DnsDefaultIp,omitempty" name:"DnsDefaultIp"`

	// Connection group domain name
	// Note: This field may return null, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Target region
	RealServerRegionInfo *RegionDetail `json:"RealServerRegionInfo,omitempty" name:"RealServerRegionInfo"`

	// Whether it is an old connection group, i.e., those created before August 3, 2018.
	IsOldGroup *bool `json:"IsOldGroup,omitempty" name:"IsOldGroup"`

	// Connection group ID
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Tag list
	// Note: This field may return null, indicating that no valid values can be obtained.
	TagSet []*TagPair `json:"TagSet,omitempty" name:"TagSet"`

	// Security policy ID. This field exists if security policies are set.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

	// Connection group version
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Version *string `json:"Version,omitempty" name:"Version"`

	// Describes how the connection obtains client IPs. 0: TOA; 1: Proxy Protocol.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ClientIPMethod []*int64 `json:"ClientIPMethod,omitempty" name:"ClientIPMethod"`

	// IP version. Valid values: `IPv4` (default), `IPv6`.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	IPAddressVersion *string `json:"IPAddressVersion,omitempty" name:"IPAddressVersion"`

	// Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`
}

type ProxyGroupInfo

type ProxyGroupInfo struct {

	// Connection group ID
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Connection group domain name
	// Note: This field may return null, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Connection group name
	// Note: This field may return null, indicating that no valid values can be obtained.
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Target region
	RealServerRegionInfo *RegionDetail `json:"RealServerRegionInfo,omitempty" name:"RealServerRegionInfo"`

	// Connection group status.
	// Where:
	// 0: running;
	// 1: creating;
	// 4: terminating;
	// 11: connection migrating.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Tag list.
	TagSet []*TagPair `json:"TagSet,omitempty" name:"TagSet"`

	// Connection group version
	// Note: this field may return null, indicating that no valid values can be obtained.
	Version *string `json:"Version,omitempty" name:"Version"`

	// Creation time
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`

	// Whether the connection group contains a Microsoft connection
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProxyType *uint64 `json:"ProxyType,omitempty" name:"ProxyType"`
}

type ProxyIdDict

type ProxyIdDict struct {

	// Connection ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}

type ProxyInfo

type ProxyInfo struct {

	// Connection instance ID; It's an old parameter, please switch to ProxyId.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Creation time in the format of UNIX timestamp, indicating the number of seconds that have elapsed since January 1, 1970 (midnight in UTC/GMT).
	CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Connection name.
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// Access region.
	AccessRegion *string `json:"AccessRegion,omitempty" name:"AccessRegion"`

	// Origin server region.
	RealServerRegion *string `json:"RealServerRegion,omitempty" name:"RealServerRegion"`

	// Bandwidth. Unit: Mbps.
	Bandwidth *int64 `json:"Bandwidth,omitempty" name:"Bandwidth"`

	// Concurrence. Unit: requests/second.
	Concurrent *int64 `json:"Concurrent,omitempty" name:"Concurrent"`

	// Connection status:
	// RUNNING: running;
	// CREATING: creating;
	// DESTROYING: terminating;
	// OPENING: enabling;
	// CLOSING: disabling;
	// CLOSED: disabled;
	// ADJUSTING: adjusting configuration
	// ISOLATING: isolating (it's triggered when the account is in arrears);
	// ISOLATED: isolated (it's triggered when the account is in arrears);
	// UNKNOWN: unknown status.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Accessed domain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Accessed IP.
	IP *string `json:"IP,omitempty" name:"IP"`

	// Connection versions: 1.0, 2.0, 3.0.
	Version *string `json:"Version,omitempty" name:"Version"`

	// Connection instance ID; It's a new parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// 1: this connection is expandable; 0: this connection is not expandable.
	Scalarable *int64 `json:"Scalarable,omitempty" name:"Scalarable"`

	// Supported protocol types.
	SupportProtocols []*string `json:"SupportProtocols,omitempty" name:"SupportProtocols"`

	// Connection group ID. This field exists if a connection belongs to a connection group.
	// Note: This field may return null, indicating that no valid values can be obtained.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Security policy ID. This field exists if security policies are configured.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

	// Access region details, including region ID and region name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AccessRegionInfo *RegionDetail `json:"AccessRegionInfo,omitempty" name:"AccessRegionInfo"`

	// Origin server region details, including region ID and region name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RealServerRegionInfo *RegionDetail `json:"RealServerRegionInfo,omitempty" name:"RealServerRegionInfo"`

	// Forwarding IP of the connection
	ForwardIP *string `json:"ForwardIP,omitempty" name:"ForwardIP"`

	// Tag list. This field is an empty list if no tags exist.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TagSet []*TagPair `json:"TagSet,omitempty" name:"TagSet"`

	// Whether security groups are supported.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SupportSecurity *int64 `json:"SupportSecurity,omitempty" name:"SupportSecurity"`

	// Billing mode. 0: bill-by-bandwidth; 1: bill-by-traffic.
	// Note: this field may return null, indicating that no valid values can be obtained.
	BillingType *int64 `json:"BillingType,omitempty" name:"BillingType"`

	// List of domain names associated with resolution record
	// Note: this field may return null, indicating that no valid values can be obtained.
	RelatedGlobalDomains []*string `json:"RelatedGlobalDomains,omitempty" name:"RelatedGlobalDomains"`

	// Configuration change time
	// Note: this field may return null, indicating that no valid values can be obtained.
	ModifyConfigTime *uint64 `json:"ModifyConfigTime,omitempty" name:"ModifyConfigTime"`

	// Connection type. `100`: THUNDER connection; `103`: Microsoft connection.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	ProxyType *uint64 `json:"ProxyType,omitempty" name:"ProxyType"`

	// Describes how the connection obtains client IPs. 0: TOA; 1: Proxy Protocol.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ClientIPMethod []*int64 `json:"ClientIPMethod,omitempty" name:"ClientIPMethod"`

	// IP version. Valid values: `IPv4`, `IPv6`.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	IPAddressVersion *string `json:"IPAddressVersion,omitempty" name:"IPAddressVersion"`

	// Network type. Valid values: `normal`, `cn2`
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"`

	// Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`

	// Blocking-related status of the domain name. `BANNED`: the domain name is blocked; `RECOVER`: the domain name is unblocked or normal; `BANNING`: the domain name is being blocked; `RECOVERING`: the domain name is being unblocked; `BAN_FAILED`: the blocking fails; RECOVER_FAILED: the unblocking fails.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	BanStatus *string `json:"BanStatus,omitempty" name:"BanStatus"`
}

type ProxySimpleInfo

type ProxySimpleInfo struct {

	// Connection ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Connection name
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// Listener list
	ListenerList []*ListenerInfo `json:"ListenerList,omitempty" name:"ListenerList"`
}

type ProxyStatus

type ProxyStatus struct {

	// Connection instance ID.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Connection status.
	// Valid values:
	// RUNNING: running;
	// CREATING: creating;
	// DESTROYING: terminating;
	// OPENING: enabling;
	// CLOSING: disabling;
	// CLOSED: disabled;
	// ADJUSTING: adjusting configuration;
	// ISOLATING: isolating;
	// ISOLATED: isolated;
	// UNKNOWN: unknown status.
	Status *string `json:"Status,omitempty" name:"Status"`
}

type RealServer

type RealServer struct {

	// Origin server IP or domain name
	RealServerIP *string `json:"RealServerIP,omitempty" name:"RealServerIP"`

	// Origin server ID
	RealServerId *string `json:"RealServerId,omitempty" name:"RealServerId"`

	// Origin server name
	RealServerName *string `json:"RealServerName,omitempty" name:"RealServerName"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`
}

type RealServerBindSetReq

type RealServerBindSetReq struct {

	// Origin server ID
	RealServerId *string `json:"RealServerId,omitempty" name:"RealServerId"`

	// Origin server port
	RealServerPort *uint64 `json:"RealServerPort,omitempty" name:"RealServerPort"`

	// Origin server IP
	RealServerIP *string `json:"RealServerIP,omitempty" name:"RealServerIP"`

	// Origin server weight
	RealServerWeight *uint64 `json:"RealServerWeight,omitempty" name:"RealServerWeight"`

	// Origin server role: master (primary origin server); slave (secondary origin server). This parameter is applicable when the primary/secondary origin server mode is enabled for a TCP listener.
	RealServerFailoverRole *string `json:"RealServerFailoverRole,omitempty" name:"RealServerFailoverRole"`
}

type RealServerStatus

type RealServerStatus struct {

	// Origin server ID.
	RealServerId *string `json:"RealServerId,omitempty" name:"RealServerId"`

	// 0: not bound, 1: bound to rule or listener.
	BindStatus *int64 `json:"BindStatus,omitempty" name:"BindStatus"`

	// ID of the connection bound to this origin server. This string is empty if they are not bound.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}

type RegionDetail

type RegionDetail struct {

	// Region ID
	RegionId *string `json:"RegionId,omitempty" name:"RegionId"`

	// Region name in Chinese or English
	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`
}

type RemoveRealServersRequest

type RemoveRealServersRequest struct {
	*tchttp.BaseRequest

	// List of origin server IDs
	RealServerIds []*string `json:"RealServerIds,omitempty" name:"RealServerIds"`
}

func NewRemoveRealServersRequest

func NewRemoveRealServersRequest() (request *RemoveRealServersRequest)

func (*RemoveRealServersRequest) FromJsonString

func (r *RemoveRealServersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveRealServersRequest) ToJsonString

func (r *RemoveRealServersRequest) ToJsonString() string

type RemoveRealServersResponse

type RemoveRealServersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRemoveRealServersResponse

func NewRemoveRealServersResponse() (response *RemoveRealServersResponse)

func (*RemoveRealServersResponse) FromJsonString

func (r *RemoveRealServersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveRealServersResponse) ToJsonString

func (r *RemoveRealServersResponse) ToJsonString() string

type RuleCheckParams

type RuleCheckParams struct {

	// Time interval of health check
	DelayLoop *uint64 `json:"DelayLoop,omitempty" name:"DelayLoop"`

	// Response timeout of health check
	ConnectTimeout *uint64 `json:"ConnectTimeout,omitempty" name:"ConnectTimeout"`

	// Check path of health check
	Path *string `json:"Path,omitempty" name:"Path"`

	// Health check method: GET/HEAD
	Method *string `json:"Method,omitempty" name:"Method"`

	// Return code indicting normal origin servers. Value range: [100, 200, 300, 400, 500]
	StatusCode []*uint64 `json:"StatusCode,omitempty" name:"StatusCode"`

	// Domain name to be performed health check
	// You cannot modify this parameter when calling ModifyRuleAttribute API.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Origin server failure check frequency
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FailedCountInter *uint64 `json:"FailedCountInter,omitempty" name:"FailedCountInter"`

	// Origin server health check threshold. All requests to the origin server will be blocked once the threshold is exceeded.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FailedThreshold *uint64 `json:"FailedThreshold,omitempty" name:"FailedThreshold"`

	// Duration to block requests targeting the origin server after a failed health check
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	BlockInter *uint64 `json:"BlockInter,omitempty" name:"BlockInter"`
}

type RuleInfo

type RuleInfo struct {

	// Rule information
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Listener information
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Rule domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Rule path
	Path *string `json:"Path,omitempty" name:"Path"`

	// Origin server type
	RealServerType *string `json:"RealServerType,omitempty" name:"RealServerType"`

	// Forwarding policy of the origin server
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`

	// Whether health check is enabled. 1: enabled, 0: disabled
	HealthCheck *uint64 `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// Rule status. 0: running, 1: creating, 2: terminating, 3: binding/unbinding origin server, 4: updating configuration
	RuleStatus *uint64 `json:"RuleStatus,omitempty" name:"RuleStatus"`

	// Health check parameters
	CheckParams *RuleCheckParams `json:"CheckParams,omitempty" name:"CheckParams"`

	// Bound origin server information
	RealServerSet []*BindRealServer `json:"RealServerSet,omitempty" name:"RealServerSet"`

	// Origin server service status. 0: exceptional, 1: normal
	// If health check is not enabled, this status will always be normal.
	// As long as one origin server is exceptional, this status will be exceptional. Please view `RealServerSet` for the status of specific origin servers.
	BindStatus *uint64 `json:"BindStatus,omitempty" name:"BindStatus"`

	// The `host` carried in the request forwarded from the connection to the origin server. `default` indicates directly forwarding the received 'host'.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ForwardHost *string `json:"ForwardHost,omitempty" name:"ForwardHost"`
}

type SecurityPolicyRuleIn

type SecurityPolicyRuleIn struct {

	// Source IP or IP range of the request.
	SourceCidr *string `json:"SourceCidr,omitempty" name:"SourceCidr"`

	// Policy: Allow (ACCEPT) or reject (DROP).
	Action *string `json:"Action,omitempty" name:"Action"`

	// Rule alias
	AliasName *string `json:"AliasName,omitempty" name:"AliasName"`

	// Protocol: TCP or UDP. ALL indicates all protocols.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Target port. Formatting examples:
	// Single port: 80
	// Multiple ports: 80, 443
	// Consecutive ports: 3306-20000
	// All ports: ALL
	DestPortRange *string `json:"DestPortRange,omitempty" name:"DestPortRange"`
}

type SecurityPolicyRuleOut

type SecurityPolicyRuleOut struct {

	// Policy: Allow (ACCEPT) or reject (DROP).
	Action *string `json:"Action,omitempty" name:"Action"`

	// Source IP or IP range of the request.
	SourceCidr *string `json:"SourceCidr,omitempty" name:"SourceCidr"`

	// Rule alias
	AliasName *string `json:"AliasName,omitempty" name:"AliasName"`

	// Target port range
	// Note: This field may return null, indicating that no valid values can be obtained.
	DestPortRange *string `json:"DestPortRange,omitempty" name:"DestPortRange"`

	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Protocol type to be matched (TCP/UDP)
	// Note: This field may return null, indicating that no valid values can be obtained.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Security policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
}

type SetAuthenticationRequest

type SetAuthenticationRequest struct {
	*tchttp.BaseRequest

	// Listener ID.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// The domain name requiring advanced configuration, i.e., the domain name of the listener's forwarding rules.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Whether to enable the basic authentication:
	// 0: disable basic authentication;
	// 1: enable basic authentication.
	// The default value is 0.
	BasicAuth *int64 `json:"BasicAuth,omitempty" name:"BasicAuth"`

	// Whether to enable the connection authentication, which is for the origin server to authenticate GAAP.
	// 0: disable;
	// 1: enable.
	// The default value is 0.
	GaapAuth *int64 `json:"GaapAuth,omitempty" name:"GaapAuth"`

	// Whether to enable the origin server authentication, which is for GAAP to authenticate the server.
	// 0: disable;
	// 1: enable.
	// The default value is 0.
	RealServerAuth *int64 `json:"RealServerAuth,omitempty" name:"RealServerAuth"`

	// Basic authentication configuration ID, which is obtained from the certificate management page.
	BasicAuthConfId *string `json:"BasicAuthConfId,omitempty" name:"BasicAuthConfId"`

	// Connection SSL certificate ID, which is obtained from the certificate management page.
	GaapCertificateId *string `json:"GaapCertificateId,omitempty" name:"GaapCertificateId"`

	// CA certificate ID of the origin server, which is obtained from the certificate management page. When authenticating the origin server, enter this parameter or the `RealServerCertificateIds` parameter.
	RealServerCertificateId *string `json:"RealServerCertificateId,omitempty" name:"RealServerCertificateId"`

	// Domain name of the origin server certificate.
	RealServerCertificateDomain *string `json:"RealServerCertificateDomain,omitempty" name:"RealServerCertificateDomain"`

	// CA certificate IDs of multiple origin servers, which are obtained from the certificate management page. When authenticating the origin servers, enter this parameter or the `RealServerCertificateId` parameter.
	PolyRealServerCertificateIds []*string `json:"PolyRealServerCertificateIds,omitempty" name:"PolyRealServerCertificateIds"`
}

func NewSetAuthenticationRequest

func NewSetAuthenticationRequest() (request *SetAuthenticationRequest)

func (*SetAuthenticationRequest) FromJsonString

func (r *SetAuthenticationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SetAuthenticationRequest) ToJsonString

func (r *SetAuthenticationRequest) ToJsonString() string

type SetAuthenticationResponse

type SetAuthenticationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewSetAuthenticationResponse

func NewSetAuthenticationResponse() (response *SetAuthenticationResponse)

func (*SetAuthenticationResponse) FromJsonString

func (r *SetAuthenticationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SetAuthenticationResponse) ToJsonString

func (r *SetAuthenticationResponse) ToJsonString() string

type StatisticsDataInfo

type StatisticsDataInfo struct {

	// Corresponding time point
	Time *uint64 `json:"Time,omitempty" name:"Time"`

	// Statistics value
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *float64 `json:"Data,omitempty" name:"Data"`
}

type TCPListener

type TCPListener struct {

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Listener port
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Origin server port, which is only valid for the connections of version 1.0.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RealServerPort *uint64 `json:"RealServerPort,omitempty" name:"RealServerPort"`

	// Type of the origin server bound to listeners
	RealServerType *string `json:"RealServerType,omitempty" name:"RealServerType"`

	// Listener protocol: TCP.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Listener status. Valid values:
	// 0: running;
	// 1: creating;
	// 2: terminating;
	// 3: adjusting origin server;
	// 4: adjusting configuration.
	ListenerStatus *uint64 `json:"ListenerStatus,omitempty" name:"ListenerStatus"`

	// Origin server access policy of listener. Valid values:
	// rr: round robin;
	// wrr: weighted round robin;
	// lc: least connection.
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`

	// Response timeout of origin server health check (unit: seconds).
	ConnectTimeout *uint64 `json:"ConnectTimeout,omitempty" name:"ConnectTimeout"`

	// Time interval of origin server health check (unit: seconds).
	DelayLoop *uint64 `json:"DelayLoop,omitempty" name:"DelayLoop"`

	// Whether health check is enabled for listener. Valid values:
	// 0: disabled;
	// 1: enabled
	HealthCheck *uint64 `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// Status of origin server bound to listener. Valid values:
	// 0: exceptional;
	// 1: normal.
	BindStatus *uint64 `json:"BindStatus,omitempty" name:"BindStatus"`

	// Information of the origin server bound to listeners
	// Note: This field may return null, indicating that no valid values can be obtained.
	RealServerSet []*BindRealServer `json:"RealServerSet,omitempty" name:"RealServerSet"`

	// Listener creation time; using UNIX timestamp.
	CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`

	// Describes how the listener obtains client IPs. 0: TOA; 1: Proxy Protocol.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ClientIPMethod *uint64 `json:"ClientIPMethod,omitempty" name:"ClientIPMethod"`

	// Healthy threshold. The number of consecutive successful health checks required before considering an origin server healthy. Value range: 1 - 10.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	HealthyThreshold *uint64 `json:"HealthyThreshold,omitempty" name:"HealthyThreshold"`

	// Unhealthy threshold. The number of consecutive failed health checks required before considering an origin server unhealthy. Value range: 1 - 10.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UnhealthyThreshold *uint64 `json:"UnhealthyThreshold,omitempty" name:"UnhealthyThreshold"`

	// Whether to enable the primary/secondary origin server mode for failover. Values: `1` (enabled); `0` (disabled). It’s not available if the origin type is `DOMAIN`.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	FailoverSwitch *uint64 `json:"FailoverSwitch,omitempty" name:"FailoverSwitch"`

	// Specifies whether to enable session persistence. Values: `0` (disable), `1` (enable)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SessionPersist *uint64 `json:"SessionPersist,omitempty" name:"SessionPersist"`
}

type TagPair

type TagPair struct {

	// Tag key
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

type TagResourceInfo

type TagResourceInfo struct {

	// Resource types:
	// `Proxy`: connections;
	// `ProxyGroup`: connection groups;
	// `RealServer`: origin servers.
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

	// Resource ID
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`
}

type UDPListener

type UDPListener struct {

	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Listener port
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Origin server port, which is only valid for the connections or connection groups of version 1.0.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RealServerPort *uint64 `json:"RealServerPort,omitempty" name:"RealServerPort"`

	// Type of the origin server bound to listeners
	RealServerType *string `json:"RealServerType,omitempty" name:"RealServerType"`

	// Listener protocol: UDP.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Listener status. Valid values:
	// 0: running;
	// 1: creating;
	// 2: terminating;
	// 3: adjusting origin server;
	// 4: adjusting configuration.
	ListenerStatus *uint64 `json:"ListenerStatus,omitempty" name:"ListenerStatus"`

	// Origin server access policy of listeners
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`

	// Status of origin server bound to listener. 0: normal, 1: exceptional IP, 2: exceptional domain name resolution
	BindStatus *uint64 `json:"BindStatus,omitempty" name:"BindStatus"`

	// Information of the origin server bound to listeners
	RealServerSet []*BindRealServer `json:"RealServerSet,omitempty" name:"RealServerSet"`

	// Listener creation time; using UNIX timestamp.
	CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`

	// Specifies whether to enable session persistence. Values: `0` (disable), `1` (enable)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SessionPersist *uint64 `json:"SessionPersist,omitempty" name:"SessionPersist"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL