v20180529

package
v3.0.697+incompatible Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM signature/authentication error.
	AUTHFAILURE = "AuthFailure"

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

	// The sub-account is not authorized for this operation.
	AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"

	// 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"

	// The acceleration connection is being upgraded. To change the configuration, please submit a ticket.
	FAILEDOPERATION_MIGRATION = "FailedOperation.Migration"

	// This connection is non-standard and write operations are not allowed.
	FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"

	// 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"

	// There are ongoing operations related to the connection security policy.
	FAILEDOPERATION_PROXYSECURITYPOLICYOPERATING = "FailedOperation.ProxySecurityPolicyOperating"

	// 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"

	// Failed to add the tag to the resource.
	FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed"

	// Failed to unbind the tag.
	FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed"

	// The current account has not completed identity verification.
	FAILEDOPERATION_USERNOTAUTHENTICATED = "FailedOperation.UserNotAuthenticated"

	// Protocol not activated.
	FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Incorrect parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// Incorrect parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// Mismatch between the certificate and the private key
	INVALIDPARAMETERVALUE_CERTIFICATECONTENTNOTMATCHKEY = "InvalidParameterValue.CertificateContentNotMatchKey"

	// The HTTP certificate does not match the domain name.
	INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain"

	// 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 features to be enabled conflict with each other.
	INVALIDPARAMETERVALUE_FEATURECONFLICT = "InvalidParameterValue.FeatureConflict"

	// The resource has been added to the blocklist.
	INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist"

	// 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 domain name has been blocked and cannot be added.
	INVALIDPARAMETERVALUE_L7DOMAINHITBANBLACKLIST = "InvalidParameterValue.L7DomainHitBanBlacklist"

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

	// Cross-MLC-border connection is not supported in this connection group.
	INVALIDPARAMETERVALUE_PROXYANDGROUPFEATURECONFLICT = "InvalidParameterValue.ProxyAndGroupFeatureConflict"

	// The configuration of the cross-MLC-border connection is not supported in this region.
	INVALIDPARAMETERVALUE_PROXYANDREGIONFEATURECONFLICT = "InvalidParameterValue.ProxyAndRegionFeatureConflict"

	// 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"

	// Insufficient tags
	LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota"

	// 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"

	// The CUCC cross-MLC-border connection expired and is isolated.
	UNAUTHORIZEDOPERATION_CROSSBORDERINISOLATING = "UnauthorizedOperation.CrossBorderInIsolating"

	// 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 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"`

	// 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"`

	// Region where the data center locates
	RegionArea *string `json:"RegionArea,omitempty" name:"RegionArea"`

	// Name of the region where the data center locates
	RegionAreaName *string `json:"RegionAreaName,omitempty" name:"RegionAreaName"`

	// Data center type. `dc`: data center; `ec`: edge server.
	IDCType *string `json:"IDCType,omitempty" name:"IDCType"`

	// Feature bitmap. Valid values:
	// `0`: disable the feature;
	// `1`: enable the feature.
	// Each bit in the bitmap represents a feature:
	// 1st bit: layer-4 acceleration;
	// 2nd bit: layer-7 acceleration;
	// 3rd bit: HTTP3 access;
	// 4th bit: IPv6;
	// 5th bit: dedicated BGP access;
	// 6th bit: non-BGP access;
	// 7th bit: QoS acceleration.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FeatureBitmap *int64 `json:"FeatureBitmap,omitempty" name:"FeatureBitmap"`
}

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"`

	// Name of the origin server
	RealServerName *string `json:"RealServerName,omitempty" name:"RealServerName"`

	// List of tags
	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 AddRealServersRequestParams

type AddRealServersRequestParams struct {
	// 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"`

	// Name of the origin server
	RealServerName *string `json:"RealServerName,omitempty" name:"RealServerName"`

	// List of tags
	TagSet []*TagPair `json:"TagSet,omitempty" name:"TagSet"`
}

Predefined struct for user

type AddRealServersResponse

type AddRealServersResponse struct {
	*tchttp.BaseResponse
	Response *AddRealServersResponseParams `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 AddRealServersResponseParams

type AddRealServersResponseParams struct {
	// An information list of origin server
	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"`
}

Predefined struct for user

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 BindListenerRealServersRequestParams

type BindListenerRealServersRequestParams struct {
	// 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"`
}

Predefined struct for user

type BindListenerRealServersResponse

type BindListenerRealServersResponse struct {
	*tchttp.BaseResponse
	Response *BindListenerRealServersResponseParams `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 BindListenerRealServersResponseParams

type BindListenerRealServersResponseParams 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"`
}

Predefined struct for user

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"`

	// Role of the origin server. Values: `master` (primary origin server); `slave` (secondary origin server). This parameter only takes effect when origin failover is enabled for the listener.
	RealServerFailoverRole *string `json:"RealServerFailoverRole,omitempty" name:"RealServerFailoverRole"`
}

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 BindRuleRealServersRequestParams

type BindRuleRealServersRequestParams struct {
	// 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"`
}

Predefined struct for user

type BindRuleRealServersResponse

type BindRuleRealServersResponse struct {
	*tchttp.BaseResponse
	Response *BindRuleRealServersResponseParams `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 BindRuleRealServersResponseParams

type BindRuleRealServersResponseParams 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"`
}

Predefined struct for user

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"`

	// Time that the certificate takes effect. Using the 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. Using the 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), `Accelerator` (game accelerator connection group), and `CrossBorder` (cross-border connection group).
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`

	// (Disused) HTTP3.0 is supported by default when `IPAddressVersion` is `IPv4`.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

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 CheckProxyCreateRequestParams

type CheckProxyCreateRequestParams struct {
	// 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), `Accelerator` (game accelerator connection group), and `CrossBorder` (cross-border connection group).
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`

	// (Disused) HTTP3.0 is supported by default when `IPAddressVersion` is `IPv4`.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

Predefined struct for user

type CheckProxyCreateResponse

type CheckProxyCreateResponse struct {
	*tchttp.BaseResponse
	Response *CheckProxyCreateResponseParams `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 CheckProxyCreateResponseParams

type CheckProxyCreateResponseParams 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"`
}

Predefined struct for user

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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed"
FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATERS = "InvalidParameterValue.DuplicateRS"
INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags"
INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong"
LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) AddRealServersWithContext

func (c *Client) AddRealServersWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed"
FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATERS = "InvalidParameterValue.DuplicateRS"
INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags"
INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong"
LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITREALSERVERNUM = "FailedOperation.LimitRealServerNum"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist"
INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) BindListenerRealServersWithContext

func (c *Client) BindListenerRealServersWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITREALSERVERNUM = "FailedOperation.LimitRealServerNum"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist"
INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) BindRuleRealServersWithContext

func (c *Client) BindRuleRealServersWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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) CheckProxyCreateWithContext

func (c *Client) CheckProxyCreateWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

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

func (*Client) CloseProxiesWithContext

func (c *Client) CloseProxiesWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CloseProxyGroupWithContext

func (c *Client) CloseProxyGroupWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 a security policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing"
FAILEDOPERATION_PROXYSECURITYALREADYCLOSE = "FailedOperation.ProxySecurityAlreadyClose"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CloseSecurityPolicyWithContext

func (c *Client) CloseSecurityPolicyWithContext(ctx context.Context, request *CloseSecurityPolicyRequest) (response *CloseSecurityPolicyResponse, err error)

CloseSecurityPolicy This API is used to disable a security policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing"
FAILEDOPERATION_PROXYSECURITYALREADYCLOSE = "FailedOperation.ProxySecurityAlreadyClose"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CERTIFICATECONTENTNOTMATCHKEY = "InvalidParameterValue.CertificateContentNotMatchKey"
INVALIDPARAMETERVALUE_INVALIDCERTIFICATECONTENT = "InvalidParameterValue.InvalidCertificateContent"
INVALIDPARAMETERVALUE_INVALIDCERTIFICATEKEY = "InvalidParameterValue.InvalidCertificateKey"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateCertificateWithContext

func (c *Client) CreateCertificateWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CERTIFICATECONTENTNOTMATCHKEY = "InvalidParameterValue.CertificateContentNotMatchKey"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HITBLACKLIST = "InvalidParameterValue.HitBlacklist"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) CreateCustomHeaderWithContext

func (c *Client) CreateCustomHeaderWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HITBLACKLIST = "InvalidParameterValue.HitBlacklist"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain"
INVALIDPARAMETERVALUE_DOMAININICPBLACKLIST = "InvalidParameterValue.DomainInIcpBlacklist"
INVALIDPARAMETERVALUE_DOMAINNOTREGISTER = "InvalidParameterValue.DomainNotRegister"
INVALIDPARAMETERVALUE_L7DOMAINHITBANBLACKLIST = "InvalidParameterValue.L7DomainHitBanBlacklist"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateDomainErrorPageInfoWithContext

func (c *Client) CreateDomainErrorPageInfoWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateDomainWithContext

func (c *Client) CreateDomainWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain"
INVALIDPARAMETERVALUE_DOMAININICPBLACKLIST = "InvalidParameterValue.DomainInIcpBlacklist"
INVALIDPARAMETERVALUE_DOMAINNOTREGISTER = "InvalidParameterValue.DomainNotRegister"
INVALIDPARAMETERVALUE_L7DOMAINHITBANBLACKLIST = "InvalidParameterValue.L7DomainHitBanBlacklist"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort"
INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateHTTPListenerWithContext

func (c *Client) CreateHTTPListenerWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort"
INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateHTTPSListenerWithContext

func (c *Client) CreateHTTPSListenerWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateProxy

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

CreateProxy This API is used to create/replicate an acceleration connection with the specified configuration. To replicate a connection, the basic configuration parameters need to be set for the new connection, and `ClonedProxyId` is needed to identify the replicated connection.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_PROXYSELLOUT = "FailedOperation.ProxySellOut"
FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed"
FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed"
FAILEDOPERATION_USERNOTAUTHENTICATED = "FailedOperation.UserNotAuthenticated"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FEATURECONFLICT = "InvalidParameterValue.FeatureConflict"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDCONCURRENCY = "InvalidParameterValue.InvalidConcurrency"
INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags"
INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong"
INVALIDPARAMETERVALUE_PROXYANDGROUPFEATURECONFLICT = "InvalidParameterValue.ProxyAndGroupFeatureConflict"
INVALIDPARAMETERVALUE_PROXYANDREGIONFEATURECONFLICT = "InvalidParameterValue.ProxyAndRegionFeatureConflict"
LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LIMITNUMOFPROXIESINGROUP = "FailedOperation.LimitNumofProxiesInGroup"
FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed"
FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FEATURECONFLICT = "InvalidParameterValue.FeatureConflict"
INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags"
LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota"
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:

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

func (*Client) CreateProxyGroupDomainWithContext

func (c *Client) CreateProxyGroupDomainWithContext(ctx context.Context, 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:

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

func (*Client) CreateProxyGroupWithContext

func (c *Client) CreateProxyGroupWithContext(ctx context.Context, request *CreateProxyGroupRequest) (response *CreateProxyGroupResponse, err error)

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

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LIMITNUMOFPROXIESINGROUP = "FailedOperation.LimitNumofProxiesInGroup"
FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed"
FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FEATURECONFLICT = "InvalidParameterValue.FeatureConflict"
INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags"
LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateProxyWithContext

func (c *Client) CreateProxyWithContext(ctx context.Context, request *CreateProxyRequest) (response *CreateProxyResponse, err error)

CreateProxy This API is used to create/replicate an acceleration connection with the specified configuration. To replicate a connection, the basic configuration parameters need to be set for the new connection, and `ClonedProxyId` is needed to identify the replicated connection.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_PROXYSELLOUT = "FailedOperation.ProxySellOut"
FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed"
FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed"
FAILEDOPERATION_USERNOTAUTHENTICATED = "FailedOperation.UserNotAuthenticated"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FEATURECONFLICT = "InvalidParameterValue.FeatureConflict"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDCONCURRENCY = "InvalidParameterValue.InvalidConcurrency"
INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags"
INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong"
INVALIDPARAMETERVALUE_PROXYANDGROUPFEATURECONFLICT = "InvalidParameterValue.ProxyAndGroupFeatureConflict"
INVALIDPARAMETERVALUE_PROXYANDREGIONFEATURECONFLICT = "InvalidParameterValue.ProxyAndRegionFeatureConflict"
LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACTIONOPERATETOOQUICKLY = "FailedOperation.ActionOperateTooQuickly"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFRULES = "FailedOperation.LimitNumofRules"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_RULEALREADYEXISTED = "FailedOperation.RuleAlreadyExisted"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateRuleWithContext

func (c *Client) CreateRuleWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACTIONOPERATETOOQUICKLY = "FailedOperation.ActionOperateTooQuickly"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFRULES = "FailedOperation.LimitNumofRules"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_RULEALREADYEXISTED = "FailedOperation.RuleAlreadyExisted"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSECURITYPOLICYEXISTED = "FailedOperation.ProxySecurityPolicyExisted"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateSecurityPolicyWithContext

func (c *Client) CreateSecurityPolicyWithContext(ctx context.Context, request *CreateSecurityPolicyRequest) (response *CreateSecurityPolicyResponse, err error)

CreateSecurityPolicy This API is used to create security policies.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSECURITYPOLICYEXISTED = "FailedOperation.ProxySecurityPolicyExisted"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSECURITYPOLICYDEFAULTRULE = "FailedOperation.ProxySecurityPolicyDefaultRule"
FAILEDOPERATION_PROXYSECURITYPOLICYDUPLICATEDRULE = "FailedOperation.ProxySecurityPolicyDuplicatedRule"
FAILEDOPERATION_PROXYSECURITYPOLICYOPERATING = "FailedOperation.ProxySecurityPolicyOperating"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateSecurityRulesWithContext

func (c *Client) CreateSecurityRulesWithContext(ctx context.Context, request *CreateSecurityRulesRequest) (response *CreateSecurityRulesResponse, err error)

CreateSecurityRules This API is used to add security policy rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSECURITYPOLICYDEFAULTRULE = "FailedOperation.ProxySecurityPolicyDefaultRule"
FAILEDOPERATION_PROXYSECURITYPOLICYDUPLICATEDRULE = "FailedOperation.ProxySecurityPolicyDuplicatedRule"
FAILEDOPERATION_PROXYSECURITYPOLICYOPERATING = "FailedOperation.ProxySecurityPolicyOperating"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_OPERATELIMITNUMOFLISTENER = "FailedOperation.OperateLimitNumofListener"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort"
INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateTCPListenersWithContext

func (c *Client) CreateTCPListenersWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_OPERATELIMITNUMOFLISTENER = "FailedOperation.OperateLimitNumofListener"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort"
INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_OPERATELIMITNUMOFLISTENER = "FailedOperation.OperateLimitNumofListener"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort"
INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateUDPListenersWithContext

func (c *Client) CreateUDPListenersWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_OPERATELIMITNUMOFLISTENER = "FailedOperation.OperateLimitNumofListener"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort"
INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCertificate

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

DeleteCertificate This API is used to delete a certificate.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CERTIFICATEISUSING = "FailedOperation.CertificateIsUsing"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCertificateWithContext

func (c *Client) DeleteCertificateWithContext(ctx context.Context, request *DeleteCertificateRequest) (response *DeleteCertificateResponse, err error)

DeleteCertificate This API is used to delete a certificate.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CERTIFICATEISUSING = "FailedOperation.CertificateIsUsing"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DeleteDomainErrorPageInfoWithContext

func (c *Client) DeleteDomainErrorPageInfoWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DeleteDomainWithContext

func (c *Client) DeleteDomainWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteListenersWithContext

func (c *Client) DeleteListenersWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DELETEPROXYGROUPPROXYREMAINED = "FailedOperation.DeleteProxyGroupProxyRemained"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DeleteProxyGroupWithContext

func (c *Client) DeleteProxyGroupWithContext(ctx context.Context, request *DeleteProxyGroupRequest) (response *DeleteProxyGroupResponse, err error)

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

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DELETEPROXYGROUPPROXYREMAINED = "FailedOperation.DeleteProxyGroupProxyRemained"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteRuleWithContext

func (c *Client) DeleteRuleWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 a security policy.

error code that may be returned:

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

func (*Client) DeleteSecurityPolicyWithContext

func (c *Client) DeleteSecurityPolicyWithContext(ctx context.Context, request *DeleteSecurityPolicyRequest) (response *DeleteSecurityPolicyResponse, err error)

DeleteSecurityPolicy This API is used to delete a security policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

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

func (*Client) DeleteSecurityRulesWithContext

func (c *Client) DeleteSecurityRulesWithContext(ctx context.Context, request *DeleteSecurityRulesRequest) (response *DeleteSecurityRulesResponse, err error)

DeleteSecurityRules This API is used to delete security policy rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 is used to query the available accelerator region based on the origin server region.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_UNKNOWNDESTREGION = "InvalidParameterValue.UnknownDestRegion"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeAccessRegionsByDestRegionWithContext

func (c *Client) DescribeAccessRegionsByDestRegionWithContext(ctx context.Context, request *DescribeAccessRegionsByDestRegionRequest) (response *DescribeAccessRegionsByDestRegionResponse, err error)

DescribeAccessRegionsByDestRegion This API is used to query the available accelerator region based on the origin server region.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_UNKNOWNDESTREGION = "InvalidParameterValue.UnknownDestRegion"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeAccessRegionsWithContext

func (c *Client) DescribeAccessRegionsWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeBlackHeaderWithContext

func (c *Client) DescribeBlackHeaderWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCertificateDetailWithContext

func (c *Client) DescribeCertificateDetailWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCertificatesWithContext

func (c *Client) DescribeCertificatesWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeCountryAreaMappingWithContext

func (c *Client) DescribeCountryAreaMappingWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeCustomHeaderWithContext

func (c *Client) DescribeCustomHeaderWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeDestRegionsWithContext

func (c *Client) DescribeDestRegionsWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeDomainErrorPageInfoByIdsWithContext

func (c *Client) DescribeDomainErrorPageInfoByIdsWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeDomainErrorPageInfoWithContext

func (c *Client) DescribeDomainErrorPageInfoWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeGroupAndStatisticsProxyWithContext

func (c *Client) DescribeGroupAndStatisticsProxyWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeGroupDomainConfigWithContext

func (c *Client) DescribeGroupDomainConfigWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

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

func (*Client) DescribeHTTPListenersWithContext

func (c *Client) DescribeHTTPListenersWithContext(ctx context.Context, request *DescribeHTTPListenersRequest) (response *DescribeHTTPListenersResponse, err error)

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

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeHTTPSListenersWithContext

func (c *Client) DescribeHTTPSListenersWithContext(ctx context.Context, request *DescribeHTTPSListenersRequest) (response *DescribeHTTPSListenersResponse, err error)

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

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeListenerRealServersWithContext

func (c *Client) DescribeListenerRealServersWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeListenerStatisticsWithContext

func (c *Client) DescribeListenerStatisticsWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeProxiesStatusWithContext

func (c *Client) DescribeProxiesStatusWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeProxiesWithContext

func (c *Client) DescribeProxiesWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeProxyAndStatisticsListenersWithContext

func (c *Client) DescribeProxyAndStatisticsListenersWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
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) DescribeProxyDetailWithContext

func (c *Client) DescribeProxyDetailWithContext(ctx context.Context, request *DescribeProxyDetailRequest) (response *DescribeProxyDetailResponse, err error)

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

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeProxyGroupDetailsWithContext

func (c *Client) DescribeProxyGroupDetailsWithContext(ctx context.Context, request *DescribeProxyGroupDetailsRequest) (response *DescribeProxyGroupDetailsResponse, err error)

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

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeProxyGroupListWithContext

func (c *Client) DescribeProxyGroupListWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeProxyGroupStatisticsWithContext

func (c *Client) DescribeProxyGroupStatisticsWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeProxyStatisticsWithContext

func (c *Client) DescribeProxyStatisticsWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

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

func (*Client) DescribeRealServerStatisticsWithContext

func (c *Client) DescribeRealServerStatisticsWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REALSERVERNOTINPROJECT = "FailedOperation.RealServerNotInProject"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeRealServersStatusWithContext

func (c *Client) DescribeRealServersStatusWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REALSERVERNOTINPROJECT = "FailedOperation.RealServerNotInProject"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeRealServersWithContext

func (c *Client) DescribeRealServersWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeRegionAndPriceWithContext

func (c *Client) DescribeRegionAndPriceWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeResourcesByTagWithContext

func (c *Client) DescribeResourcesByTagWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) DescribeRuleRealServersWithContext

func (c *Client) DescribeRuleRealServersWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRulesByRuleIdsWithContext

func (c *Client) DescribeRulesByRuleIdsWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRulesWithContext

func (c *Client) DescribeRulesWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeSecurityPolicyDetailWithContext

func (c *Client) DescribeSecurityPolicyDetailWithContext(ctx context.Context, request *DescribeSecurityPolicyDetailRequest) (response *DescribeSecurityPolicyDetailResponse, err error)

DescribeSecurityPolicyDetail This API is used to obtain security policy details.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeSecurityRulesWithContext

func (c *Client) DescribeSecurityRulesWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeTCPListenersWithContext

func (c *Client) DescribeTCPListenersWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeUDPListenersWithContext

func (c *Client) DescribeUDPListenersWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing"
FAILEDOPERATION_BELONGDIFFERENTGROUP = "FailedOperation.BelongDifferentGroup"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DestroyProxiesWithContext

func (c *Client) DestroyProxiesWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing"
FAILEDOPERATION_BELONGDIFFERENTGROUP = "FailedOperation.BelongDifferentGroup"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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) InquiryPriceCreateProxyWithContext

func (c *Client) InquiryPriceCreateProxyWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CERTIFICATEISUSING = "FailedOperation.CertificateIsUsing"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyCertificateAttributesWithContext

func (c *Client) ModifyCertificateAttributesWithContext(ctx context.Context, request *ModifyCertificateAttributesRequest) (response *ModifyCertificateAttributesResponse, err error)

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

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CERTIFICATEISUSING = "FailedOperation.CertificateIsUsing"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyCertificateWithContext

func (c *Client) ModifyCertificateWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain"
INVALIDPARAMETERVALUE_DOMAININICPBLACKLIST = "InvalidParameterValue.DomainInIcpBlacklist"
INVALIDPARAMETERVALUE_DOMAINNOTREGISTER = "InvalidParameterValue.DomainNotRegister"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyDomainWithContext

func (c *Client) ModifyDomainWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted"
FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain"
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:

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

func (*Client) ModifyGroupDomainConfigWithContext

func (c *Client) ModifyGroupDomainConfigWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"

func (*Client) ModifyHTTPListenerAttributeWithContext

func (c *Client) ModifyHTTPListenerAttributeWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyHTTPSListenerAttributeWithContext

func (c *Client) ModifyHTTPSListenerAttributeWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyProxiesAttributeWithContext

func (c *Client) ModifyProxiesAttributeWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

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

func (*Client) ModifyProxiesProjectWithContext

func (c *Client) ModifyProxiesProjectWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_MIGRATION = "FailedOperation.Migration"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_NOTSUPPORTSCALAR = "FailedOperation.NotSupportScalar"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyProxyConfigurationWithContext

func (c *Client) ModifyProxyConfigurationWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_MIGRATION = "FailedOperation.Migration"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_NOTSUPPORTSCALAR = "FailedOperation.NotSupportScalar"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

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

func (*Client) ModifyProxyGroupAttributeWithContext

func (c *Client) ModifyProxyGroupAttributeWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

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

func (*Client) ModifyRealServerNameWithContext

func (c *Client) ModifyRealServerNameWithContext(ctx context.Context, request *ModifyRealServerNameRequest) (response *ModifyRealServerNameResponse, err error)

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

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_RULEALREADYEXISTED = "FailedOperation.RuleAlreadyExisted"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyRuleAttributeWithContext

func (c *Client) ModifyRuleAttributeWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_RULEALREADYEXISTED = "FailedOperation.RuleAlreadyExisted"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSECURITYPOLICYDEFAULTRULE = "FailedOperation.ProxySecurityPolicyDefaultRule"
FAILEDOPERATION_PROXYSECURITYPOLICYDUPLICATEDRULE = "FailedOperation.ProxySecurityPolicyDuplicatedRule"
FAILEDOPERATION_PROXYSECURITYPOLICYOPERATING = "FailedOperation.ProxySecurityPolicyOperating"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifySecurityRuleWithContext

func (c *Client) ModifySecurityRuleWithContext(ctx context.Context, request *ModifySecurityRuleRequest) (response *ModifySecurityRuleResponse, err error)

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

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_PROXYSECURITYPOLICYDEFAULTRULE = "FailedOperation.ProxySecurityPolicyDefaultRule"
FAILEDOPERATION_PROXYSECURITYPOLICYDUPLICATEDRULE = "FailedOperation.ProxySecurityPolicyDuplicatedRule"
FAILEDOPERATION_PROXYSECURITYPOLICYOPERATING = "FailedOperation.ProxySecurityPolicyOperating"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTCPListenerAttributeWithContext

func (c *Client) ModifyTCPListenerAttributeWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyUDPListenerAttributeWithContext

func (c *Client) ModifyUDPListenerAttributeWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning"
FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION_CROSSBORDERINISOLATING = "UnauthorizedOperation.CrossBorderInIsolating"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) OpenProxiesWithContext

func (c *Client) OpenProxiesWithContext(ctx context.Context, 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 = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION_CROSSBORDERINISOLATING = "UnauthorizedOperation.CrossBorderInIsolating"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) OpenProxyGroupWithContext

func (c *Client) OpenProxyGroupWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient"
FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 a security policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing"
FAILEDOPERATION_PROXYSECURITYALREADYOPEN = "FailedOperation.ProxySecurityAlreadyOpen"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) OpenSecurityPolicyWithContext

func (c *Client) OpenSecurityPolicyWithContext(ctx context.Context, request *OpenSecurityPolicyRequest) (response *OpenSecurityPolicyResponse, err error)

OpenSecurityPolicy This API is used to enable a security policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing"
FAILEDOPERATION_PROXYSECURITYALREADYOPEN = "FailedOperation.ProxySecurityAlreadyOpen"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) RemoveRealServersWithContext

func (c *Client) RemoveRealServersWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound"
FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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:

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

func (*Client) SetAuthenticationWithContext

func (c *Client) SetAuthenticationWithContext(ctx context.Context, 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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing"
FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask"
FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError"
FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy"
FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport"
FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol"
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 unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency 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 CloseProxiesRequestParams

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

	// A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency 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"`
}

Predefined struct for user

type CloseProxiesResponse

type CloseProxiesResponse struct {
	*tchttp.BaseResponse
	Response *CloseProxiesResponseParams `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 CloseProxiesResponseParams

type CloseProxiesResponseParams 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"`
}

Predefined struct for user

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 CloseProxyGroupRequestParams

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

Predefined struct for user

type CloseProxyGroupResponse

type CloseProxyGroupResponse struct {
	*tchttp.BaseResponse
	Response *CloseProxyGroupResponseParams `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 CloseProxyGroupResponseParams

type CloseProxyGroupResponseParams 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"`
}

Predefined struct for user

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 CloseSecurityPolicyRequestParams

type CloseSecurityPolicyRequestParams struct {
	// Connection ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

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

Predefined struct for user

type CloseSecurityPolicyResponse

type CloseSecurityPolicyResponse struct {
	*tchttp.BaseResponse
	Response *CloseSecurityPolicyResponseParams `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 CloseSecurityPolicyResponseParams

type CloseSecurityPolicyResponseParams 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"`
}

Predefined struct for user

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"`

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

type CreateCertificateRequest

type CreateCertificateRequest 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.
	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"`

	// URL-encoded key content. This parameter is required only when the certificate type is SSL certificate. Its 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 CreateCertificateRequestParams

type CreateCertificateRequestParams struct {
	// Certificate type. Where:
	// `0`: Basic authentication configuration;
	// `1`: 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"`

	// URL-encoded key content. This parameter is required only when the certificate type is SSL certificate. Its format is `PEM`.
	CertificateKey *string `json:"CertificateKey,omitempty" name:"CertificateKey"`
}

Predefined struct for user

type CreateCertificateResponse

type CreateCertificateResponse struct {
	*tchttp.BaseResponse
	Response *CreateCertificateResponseParams `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 CreateCertificateResponseParams

type CreateCertificateResponseParams 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"`
}

Predefined struct for user

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 CreateCustomHeaderRequestParams

type CreateCustomHeaderRequestParams struct {
	// 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"`
}

Predefined struct for user

type CreateCustomHeaderResponse

type CreateCustomHeaderResponse struct {
	*tchttp.BaseResponse
	Response *CreateCustomHeaderResponseParams `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 CreateCustomHeaderResponseParams

type CreateCustomHeaderResponseParams 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"`
}

Predefined struct for user

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 CreateDomainErrorPageInfoRequestParams

type CreateDomainErrorPageInfoRequestParams struct {
	// 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"`
}

Predefined struct for user

type CreateDomainErrorPageInfoResponse

type CreateDomainErrorPageInfoResponse struct {
	*tchttp.BaseResponse
	Response *CreateDomainErrorPageInfoResponseParams `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 CreateDomainErrorPageInfoResponseParams

type CreateDomainErrorPageInfoResponseParams 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"`
}

Predefined struct for user

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"`

	// Specifies whether to enable HTTP3. Valid values:
	// `0`: disable HTTP3;
	// `1`: enable HTTP3.
	// HTTP3 is not enabled by default. You can enable it with this field SetDomainHttp3.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

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 CreateDomainRequestParams

type CreateDomainRequestParams struct {
	// 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"`

	// Specifies whether to enable HTTP3. Valid values:
	// `0`: disable HTTP3;
	// `1`: enable HTTP3.
	// HTTP3 is not enabled by default. You can enable it with this field SetDomainHttp3.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

Predefined struct for user

type CreateDomainResponse

type CreateDomainResponse struct {
	*tchttp.BaseResponse
	Response *CreateDomainResponseParams `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 CreateDomainResponseParams

type CreateDomainResponseParams 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"`
}

Predefined struct for user

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 CreateHTTPListenerRequestParams

type CreateHTTPListenerRequestParams struct {
	// 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"`
}

Predefined struct for user

type CreateHTTPListenerResponse

type CreateHTTPListenerResponse struct {
	*tchttp.BaseResponse
	Response *CreateHTTPListenerResponseParams `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 CreateHTTPListenerResponseParams

type CreateHTTPListenerResponseParams 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"`
}

Predefined struct for user

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"`

	// Specifies whether to enable HTTP3. Valid values:
	// `0`: disable HTTP3;
	// `1`: enable HTTP3.
	// Note: If HTTP3 is enabled for a connection, the listener will use the port that is originally accessed to UDP, and a UDP listener with the same port cannot be created.
	// After the connection is created, you cannot change your HTTP3 setting.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

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 CreateHTTPSListenerRequestParams

type CreateHTTPSListenerRequestParams struct {
	// 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"`

	// Specifies whether to enable HTTP3. Valid values:
	// `0`: disable HTTP3;
	// `1`: enable HTTP3.
	// Note: If HTTP3 is enabled for a connection, the listener will use the port that is originally accessed to UDP, and a UDP listener with the same port cannot be created.
	// After the connection is created, you cannot change your HTTP3 setting.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

Predefined struct for user

type CreateHTTPSListenerResponse

type CreateHTTPSListenerResponse struct {
	*tchttp.BaseResponse
	Response *CreateHTTPSListenerResponseParams `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 CreateHTTPSListenerResponseParams

type CreateHTTPSListenerResponseParams 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"`
}

Predefined struct for user

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 CreateProxyGroupDomainRequestParams

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

Predefined struct for user

type CreateProxyGroupDomainResponse

type CreateProxyGroupDomainResponse struct {
	*tchttp.BaseResponse
	Response *CreateProxyGroupDomainResponseParams `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 CreateProxyGroupDomainResponseParams

type CreateProxyGroupDomainResponseParams 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"`
}

Predefined struct for user

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"`

	// List of tags
	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"`

	// (Disused) HTTP3.0 is supported by default when `IPAddressVersion` is `IPv4`.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

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 CreateProxyGroupRequestParams

type CreateProxyGroupRequestParams struct {
	// 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"`

	// List of tags
	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"`

	// (Disused) HTTP3.0 is supported by default when `IPAddressVersion` is `IPv4`.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

Predefined struct for user

type CreateProxyGroupResponse

type CreateProxyGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateProxyGroupResponseParams `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 CreateProxyGroupResponseParams

type CreateProxyGroupResponseParams struct {
	// ID of the connection group
	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"`
}

Predefined struct for user

type CreateProxyRequest

type CreateProxyRequest struct {
	*tchttp.BaseRequest

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

	// Name of the connection
	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 unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency 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. `normal`: general BGP; `cn2`: dedicated BGP; `triple`: Non-BGP (provided by the top 3 ISPs in the Chinese mainland).
	NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"`

	// Package type of connection groups. Valid values: `Thunder` (general), `Accelerator` (specific for games), and `CrossBorder` (cross-MLC-border connection).
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`

	// (Disused) HTTP3.0 is supported by default when `IPAddressVersion` is `IPv4`.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

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 CreateProxyRequestParams

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

	// Name of the connection
	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 unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency 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. `normal`: general BGP; `cn2`: dedicated BGP; `triple`: Non-BGP (provided by the top 3 ISPs in the Chinese mainland).
	NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"`

	// Package type of connection groups. Valid values: `Thunder` (general), `Accelerator` (specific for games), and `CrossBorder` (cross-MLC-border connection).
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`

	// (Disused) HTTP3.0 is supported by default when `IPAddressVersion` is `IPv4`.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

Predefined struct for user

type CreateProxyResponse

type CreateProxyResponse struct {
	*tchttp.BaseResponse
	Response *CreateProxyResponseParams `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 CreateProxyResponseParams

type CreateProxyResponseParams 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"`
}

Predefined struct for user

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"`

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy).
	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"`

	// The 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"`

	// Whether to enable SNI. Values: `on` (enable), `off` (disable). For creation of HTTP listener forwarding rules, SNI is disabled by default.
	ServerNameIndicationSwitch *string `json:"ServerNameIndicationSwitch,omitempty" name:"ServerNameIndicationSwitch"`

	// Server Name Indication (SNI). This field is required when `ServerNameIndicationSwitch` is `ON`.
	ServerNameIndication *string `json:"ServerNameIndication,omitempty" name:"ServerNameIndication"`

	// Enables HTTP-to-HTTPS force redirect for a forwarding rule. Enter a hostname and path of the current forwarding rule.
	ForcedRedirect *string `json:"ForcedRedirect,omitempty" name:"ForcedRedirect"`
}

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 CreateRuleRequestParams

type CreateRuleRequestParams struct {
	// 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"`

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy).
	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"`

	// The 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"`

	// Whether to enable SNI. Values: `on` (enable), `off` (disable). For creation of HTTP listener forwarding rules, SNI is disabled by default.
	ServerNameIndicationSwitch *string `json:"ServerNameIndicationSwitch,omitempty" name:"ServerNameIndicationSwitch"`

	// Server Name Indication (SNI). This field is required when `ServerNameIndicationSwitch` is `ON`.
	ServerNameIndication *string `json:"ServerNameIndication,omitempty" name:"ServerNameIndication"`

	// Enables HTTP-to-HTTPS force redirect for a forwarding rule. Enter a hostname and path of the current forwarding rule.
	ForcedRedirect *string `json:"ForcedRedirect,omitempty" name:"ForcedRedirect"`
}

Predefined struct for user

type CreateRuleResponse

type CreateRuleResponse struct {
	*tchttp.BaseResponse
	Response *CreateRuleResponseParams `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 CreateRuleResponseParams

type CreateRuleResponseParams 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"`
}

Predefined struct for user

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 CreateSecurityPolicyRequestParams

type CreateSecurityPolicyRequestParams struct {
	// 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"`
}

Predefined struct for user

type CreateSecurityPolicyResponse

type CreateSecurityPolicyResponse struct {
	*tchttp.BaseResponse
	Response *CreateSecurityPolicyResponseParams `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 CreateSecurityPolicyResponseParams

type CreateSecurityPolicyResponseParams 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"`
}

Predefined struct for user

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 CreateSecurityRulesRequestParams

type CreateSecurityRulesRequestParams struct {
	// Security policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

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

Predefined struct for user

type CreateSecurityRulesResponse

type CreateSecurityRulesResponse struct {
	*tchttp.BaseResponse
	Response *CreateSecurityRulesResponseParams `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 CreateSecurityRulesResponseParams

type CreateSecurityRulesResponseParams 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"`
}

Predefined struct for user

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"`

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).
	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. Values: `IP` (IP address); `DOMAIN` (domain name).
	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 CreateTCPListenersRequestParams

type CreateTCPListenersRequestParams struct {
	// Listener name.
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

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

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).
	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. Values: `IP` (IP address); `DOMAIN` (domain name).
	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"`
}

Predefined struct for user

type CreateTCPListenersResponse

type CreateTCPListenersResponse struct {
	*tchttp.BaseResponse
	Response *CreateTCPListenersResponseParams `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 CreateTCPListenersResponseParams

type CreateTCPListenersResponseParams 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"`
}

Predefined struct for user

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"`

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`

	// The origin server type. Values: `IP` (IP address); `DOMAIN` (domain name).
	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"`

	// 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"`

	// 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"`

	// 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`.
	FailoverSwitch *int64 `json:"FailoverSwitch,omitempty" name:"FailoverSwitch"`

	// Whether the health check is enabled for the origin server. Values: `1` (enabled); `0` (disabled).
	HealthCheck *uint64 `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// The health check type. Values: `PORT` (port); `PING` (ping).
	CheckType *string `json:"CheckType,omitempty" name:"CheckType"`

	// The health probe port.
	CheckPort *int64 `json:"CheckPort,omitempty" name:"CheckPort"`

	// The UDP message type. Values: `TEXT` (text). This parameter is used only when `CheckType = PORT`.
	ContextType *string `json:"ContextType,omitempty" name:"ContextType"`

	// The UDP message sent by the health probe port. This parameter is used only when `CheckType = PORT`.
	SendContext *string `json:"SendContext,omitempty" name:"SendContext"`

	// The UDP message received by the health probe port. This parameter is used only when `CheckType = PORT`.
	RecvContext *string `json:"RecvContext,omitempty" name:"RecvContext"`
}

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 CreateUDPListenersRequestParams

type CreateUDPListenersRequestParams struct {
	// Listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

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

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`

	// The origin server type. Values: `IP` (IP address); `DOMAIN` (domain name).
	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"`

	// 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"`

	// 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"`

	// 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`.
	FailoverSwitch *int64 `json:"FailoverSwitch,omitempty" name:"FailoverSwitch"`

	// Whether the health check is enabled for the origin server. Values: `1` (enabled); `0` (disabled).
	HealthCheck *uint64 `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// The health check type. Values: `PORT` (port); `PING` (ping).
	CheckType *string `json:"CheckType,omitempty" name:"CheckType"`

	// The health probe port.
	CheckPort *int64 `json:"CheckPort,omitempty" name:"CheckPort"`

	// The UDP message type. Values: `TEXT` (text). This parameter is used only when `CheckType = PORT`.
	ContextType *string `json:"ContextType,omitempty" name:"ContextType"`

	// The UDP message sent by the health probe port. This parameter is used only when `CheckType = PORT`.
	SendContext *string `json:"SendContext,omitempty" name:"SendContext"`

	// The UDP message received by the health probe port. This parameter is used only when `CheckType = PORT`.
	RecvContext *string `json:"RecvContext,omitempty" name:"RecvContext"`
}

Predefined struct for user

type CreateUDPListenersResponse

type CreateUDPListenersResponse struct {
	*tchttp.BaseResponse
	Response *CreateUDPListenersResponseParams `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 CreateUDPListenersResponseParams

type CreateUDPListenersResponseParams 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"`
}

Predefined struct for user

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 DeleteCertificateRequestParams

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

Predefined struct for user

type DeleteCertificateResponse

type DeleteCertificateResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCertificateResponseParams `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 DeleteCertificateResponseParams

type DeleteCertificateResponseParams 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"`
}

Predefined struct for user

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 DeleteDomainErrorPageInfoRequestParams

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

Predefined struct for user

type DeleteDomainErrorPageInfoResponse

type DeleteDomainErrorPageInfoResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDomainErrorPageInfoResponseParams `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 DeleteDomainErrorPageInfoResponseParams

type DeleteDomainErrorPageInfoResponseParams 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"`
}

Predefined struct for user

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 DeleteDomainRequestParams

type DeleteDomainRequestParams struct {
	// 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"`
}

Predefined struct for user

type DeleteDomainResponse

type DeleteDomainResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDomainResponseParams `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 DeleteDomainResponseParams

type DeleteDomainResponseParams 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"`
}

Predefined struct for user

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 DeleteListenersRequestParams

type DeleteListenersRequestParams struct {
	// 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"`
}

Predefined struct for user

type DeleteListenersResponse

type DeleteListenersResponse struct {
	*tchttp.BaseResponse
	Response *DeleteListenersResponseParams `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 DeleteListenersResponseParams

type DeleteListenersResponseParams 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"`
}

Predefined struct for user

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 DeleteProxyGroupRequestParams

type DeleteProxyGroupRequestParams struct {
	// 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"`
}

Predefined struct for user

type DeleteProxyGroupResponse

type DeleteProxyGroupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteProxyGroupResponseParams `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 DeleteProxyGroupResponseParams

type DeleteProxyGroupResponseParams 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"`
}

Predefined struct for user

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 DeleteRuleRequestParams

type DeleteRuleRequestParams struct {
	// 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"`
}

Predefined struct for user

type DeleteRuleResponse

type DeleteRuleResponse struct {
	*tchttp.BaseResponse
	Response *DeleteRuleResponseParams `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 DeleteRuleResponseParams

type DeleteRuleResponseParams 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"`
}

Predefined struct for user

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 DeleteSecurityPolicyRequestParams

type DeleteSecurityPolicyRequestParams struct {
	// Policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
}

Predefined struct for user

type DeleteSecurityPolicyResponse

type DeleteSecurityPolicyResponse struct {
	*tchttp.BaseResponse
	Response *DeleteSecurityPolicyResponseParams `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 DeleteSecurityPolicyResponseParams

type DeleteSecurityPolicyResponseParams 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"`
}

Predefined struct for user

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 DeleteSecurityRulesRequestParams

type DeleteSecurityRulesRequestParams struct {
	// Security policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

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

Predefined struct for user

type DeleteSecurityRulesResponse

type DeleteSecurityRulesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteSecurityRulesResponseParams `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 DeleteSecurityRulesResponseParams

type DeleteSecurityRulesResponseParams 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"`
}

Predefined struct for user

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), `Accelerator` (specific for games), and `CrossBorder` (cross-MLC-border connection).
	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 DescribeAccessRegionsByDestRegionRequestParams

type DescribeAccessRegionsByDestRegionRequestParams struct {
	// 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), `Accelerator` (specific for games), and `CrossBorder` (cross-MLC-border connection).
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`
}

Predefined struct for user

type DescribeAccessRegionsByDestRegionResponse

type DescribeAccessRegionsByDestRegionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAccessRegionsByDestRegionResponseParams `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 DescribeAccessRegionsByDestRegionResponseParams

type DescribeAccessRegionsByDestRegionResponseParams 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"`
}

Predefined struct for user

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 DescribeAccessRegionsRequestParams

type DescribeAccessRegionsRequestParams struct {
}

Predefined struct for user

type DescribeAccessRegionsResponse

type DescribeAccessRegionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAccessRegionsResponseParams `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 DescribeAccessRegionsResponseParams

type DescribeAccessRegionsResponseParams 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"`
}

Predefined struct for user

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 DescribeBlackHeaderRequestParams

type DescribeBlackHeaderRequestParams struct {
}

Predefined struct for user

type DescribeBlackHeaderResponse

type DescribeBlackHeaderResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBlackHeaderResponseParams `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 DescribeBlackHeaderResponseParams

type DescribeBlackHeaderResponseParams 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"`
}

Predefined struct for user

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 DescribeCertificateDetailRequestParams

type DescribeCertificateDetailRequestParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

Predefined struct for user

type DescribeCertificateDetailResponse

type DescribeCertificateDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCertificateDetailResponseParams `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 DescribeCertificateDetailResponseParams

type DescribeCertificateDetailResponseParams 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"`
}

Predefined struct for user

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 DescribeCertificatesRequestParams

type DescribeCertificatesRequestParams struct {
	// 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"`
}

Predefined struct for user

type DescribeCertificatesResponse

type DescribeCertificatesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCertificatesResponseParams `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 DescribeCertificatesResponseParams

type DescribeCertificatesResponseParams 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"`
}

Predefined struct for user

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 DescribeCountryAreaMappingRequestParams

type DescribeCountryAreaMappingRequestParams struct {
}

Predefined struct for user

type DescribeCountryAreaMappingResponse

type DescribeCountryAreaMappingResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCountryAreaMappingResponseParams `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 DescribeCountryAreaMappingResponseParams

type DescribeCountryAreaMappingResponseParams 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"`
}

Predefined struct for user

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 DescribeCustomHeaderRequestParams

type DescribeCustomHeaderRequestParams struct {
}

Predefined struct for user

type DescribeCustomHeaderResponse

type DescribeCustomHeaderResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCustomHeaderResponseParams `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 DescribeCustomHeaderResponseParams

type DescribeCustomHeaderResponseParams 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"`
}

Predefined struct for user

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 DescribeDestRegionsRequestParams

type DescribeDestRegionsRequestParams struct {
}

Predefined struct for user

type DescribeDestRegionsResponse

type DescribeDestRegionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDestRegionsResponseParams `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 DescribeDestRegionsResponseParams

type DescribeDestRegionsResponseParams 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"`
}

Predefined struct for user

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 DescribeDomainErrorPageInfoByIdsRequestParams

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

Predefined struct for user

type DescribeDomainErrorPageInfoByIdsResponse

type DescribeDomainErrorPageInfoByIdsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDomainErrorPageInfoByIdsResponseParams `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 DescribeDomainErrorPageInfoByIdsResponseParams

type DescribeDomainErrorPageInfoByIdsResponseParams 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"`
}

Predefined struct for user

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 DescribeDomainErrorPageInfoRequestParams

type DescribeDomainErrorPageInfoRequestParams struct {
	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

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

Predefined struct for user

type DescribeDomainErrorPageInfoResponse

type DescribeDomainErrorPageInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDomainErrorPageInfoResponseParams `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 DescribeDomainErrorPageInfoResponseParams

type DescribeDomainErrorPageInfoResponseParams 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"`
}

Predefined struct for user

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 DescribeGroupAndStatisticsProxyRequestParams

type DescribeGroupAndStatisticsProxyRequestParams struct {
	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`
}

Predefined struct for user

type DescribeGroupAndStatisticsProxyResponse

type DescribeGroupAndStatisticsProxyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeGroupAndStatisticsProxyResponseParams `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 DescribeGroupAndStatisticsProxyResponseParams

type DescribeGroupAndStatisticsProxyResponseParams 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"`
}

Predefined struct for user

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 DescribeGroupDomainConfigRequestParams

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

Predefined struct for user

type DescribeGroupDomainConfigResponse

type DescribeGroupDomainConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeGroupDomainConfigResponseParams `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 DescribeGroupDomainConfigResponseParams

type DescribeGroupDomainConfigResponseParams 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"`
}

Predefined struct for user

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 DescribeHTTPListenersRequestParams

type DescribeHTTPListenersRequestParams struct {
	// 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"`
}

Predefined struct for user

type DescribeHTTPListenersResponse

type DescribeHTTPListenersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHTTPListenersResponseParams `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 DescribeHTTPListenersResponseParams

type DescribeHTTPListenersResponseParams 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"`
}

Predefined struct for user

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"`

	// Specifies whether to enable HTTP3. Valid values:
	// `0`: disable HTTP3;
	// `1`: enable HTTP3.
	// Note: If HTTP3 is enabled for a connection, the listener will use the port that is originally accessed to UDP, and a UDP listener with the same port cannot be created.
	// After the connection is created, you cannot change your HTTP3 setting.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

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 DescribeHTTPSListenersRequestParams

type DescribeHTTPSListenersRequestParams struct {
	// 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"`

	// Specifies whether to enable HTTP3. Valid values:
	// `0`: disable HTTP3;
	// `1`: enable HTTP3.
	// Note: If HTTP3 is enabled for a connection, the listener will use the port that is originally accessed to UDP, and a UDP listener with the same port cannot be created.
	// After the connection is created, you cannot change your HTTP3 setting.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

Predefined struct for user

type DescribeHTTPSListenersResponse

type DescribeHTTPSListenersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHTTPSListenersResponseParams `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 DescribeHTTPSListenersResponseParams

type DescribeHTTPSListenersResponseParams 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"`
}

Predefined struct for user

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 DescribeListenerRealServersRequestParams

type DescribeListenerRealServersRequestParams struct {
	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`
}

Predefined struct for user

type DescribeListenerRealServersResponse

type DescribeListenerRealServersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListenerRealServersResponseParams `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 DescribeListenerRealServersResponseParams

type DescribeListenerRealServersResponseParams 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"`
}

Predefined struct for user

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 DescribeListenerStatisticsRequestParams

type DescribeListenerStatisticsRequestParams struct {
	// 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"`
}

Predefined struct for user

type DescribeListenerStatisticsResponse

type DescribeListenerStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListenerStatisticsResponseParams `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 DescribeListenerStatisticsResponseParams

type DescribeListenerStatisticsResponseParams 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"`
}

Predefined struct for user

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. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Filters
	// The upper limit on Filters for each request is 10, and the upper limit on Filter.Values is 5. This parameter does not support specifying InstanceIds and Filters at the same time.
	// ProjectId - String - Required: No - Filter by a project ID.
	// AccessRegion - String - Required: No - Filter by an access region.
	// RealServerRegion - String - Required: No - Filter by an origin server region.
	// GroupId - String - Required: No - Filter by a connection group ID.
	// IPAddressVersion - String - Required: No - Filter by IP version.
	// PackageType - String - Required: No - Filter by package type of connection groups.
	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"`

	// Specifies how connections are listed. Valid values:
	// `asc`: Ascending order
	// `desc`: Descending order
	// Default: `desc`
	Order *string `json:"Order,omitempty" name:"Order"`

	// Sorting field. Valid values:
	// `create_time`: Sort by creation time
	// `proxy_id`: Sort by connection ID
	// `bandwidth`:Sort by bandwidth limit
	// `concurrent_connections`: Sort by number of concurrent connections
	// Default: `create_time`
	OrderField *string `json:"OrderField,omitempty" name:"OrderField"`
}

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 DescribeProxiesRequestParams

type DescribeProxiesRequestParams struct {
	// 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. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Filters
	// The upper limit on Filters for each request is 10, and the upper limit on Filter.Values is 5. This parameter does not support specifying InstanceIds and Filters at the same time.
	// ProjectId - String - Required: No - Filter by a project ID.
	// AccessRegion - String - Required: No - Filter by an access region.
	// RealServerRegion - String - Required: No - Filter by an origin server region.
	// GroupId - String - Required: No - Filter by a connection group ID.
	// IPAddressVersion - String - Required: No - Filter by IP version.
	// PackageType - String - Required: No - Filter by package type of connection groups.
	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"`

	// Specifies how connections are listed. Valid values:
	// `asc`: Ascending order
	// `desc`: Descending order
	// Default: `desc`
	Order *string `json:"Order,omitempty" name:"Order"`

	// Sorting field. Valid values:
	// `create_time`: Sort by creation time
	// `proxy_id`: Sort by connection ID
	// `bandwidth`:Sort by bandwidth limit
	// `concurrent_connections`: Sort by number of concurrent connections
	// Default: `create_time`
	OrderField *string `json:"OrderField,omitempty" name:"OrderField"`
}

Predefined struct for user

type DescribeProxiesResponse

type DescribeProxiesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProxiesResponseParams `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 DescribeProxiesResponseParams

type DescribeProxiesResponseParams 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"`
}

Predefined struct for user

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 DescribeProxiesStatusRequestParams

type DescribeProxiesStatusRequestParams struct {
	// 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"`
}

Predefined struct for user

type DescribeProxiesStatusResponse

type DescribeProxiesStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProxiesStatusResponseParams `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 DescribeProxiesStatusResponseParams

type DescribeProxiesStatusResponseParams 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"`
}

Predefined struct for user

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 DescribeProxyAndStatisticsListenersRequestParams

type DescribeProxyAndStatisticsListenersRequestParams struct {
	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`
}

Predefined struct for user

type DescribeProxyAndStatisticsListenersResponse

type DescribeProxyAndStatisticsListenersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProxyAndStatisticsListenersResponseParams `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 DescribeProxyAndStatisticsListenersResponseParams

type DescribeProxyAndStatisticsListenersResponseParams 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"`
}

Predefined struct for user

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 DescribeProxyDetailRequestParams

type DescribeProxyDetailRequestParams struct {
	// Connection ID to be queried.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}

Predefined struct for user

type DescribeProxyDetailResponse

type DescribeProxyDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProxyDetailResponseParams `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 DescribeProxyDetailResponseParams

type DescribeProxyDetailResponseParams 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"`
}

Predefined struct for user

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 DescribeProxyGroupDetailsRequestParams

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

Predefined struct for user

type DescribeProxyGroupDetailsResponse

type DescribeProxyGroupDetailsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProxyGroupDetailsResponseParams `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 DescribeProxyGroupDetailsResponseParams

type DescribeProxyGroupDetailsResponseParams 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"`
}

Predefined struct for user

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` (silver 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 DescribeProxyGroupListRequestParams

type DescribeProxyGroupListRequestParams struct {
	// 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` (silver 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"`
}

Predefined struct for user

type DescribeProxyGroupListResponse

type DescribeProxyGroupListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProxyGroupListResponseParams `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 DescribeProxyGroupListResponseParams

type DescribeProxyGroupListResponseParams 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"`
}

Predefined struct for user

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 (in seconds). Valid values: 60s, 300s, 3,600s, 86,400s.
	// 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 DescribeProxyGroupStatisticsRequestParams

type DescribeProxyGroupStatisticsRequestParams struct {
	// 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 (in seconds). Valid values: 60s, 300s, 3,600s, 86,400s.
	// 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"`
}

Predefined struct for user

type DescribeProxyGroupStatisticsResponse

type DescribeProxyGroupStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProxyGroupStatisticsResponseParams `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 DescribeProxyGroupStatisticsResponseParams

type DescribeProxyGroupStatisticsResponseParams 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"`
}

Predefined struct for user

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: ≤ 3 day. Supported minimum granularity: 60 seconds;
	// Time range: ≤ 7 day. Supported minimum granularity: 300 seconds;
	// Time range: ≤ 30 days. Supported minimum granularity: 36,00 seconds;
	Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"`

	// Specifies the ISP. Valid values: `CMCC`, `CUCC`, and `CTCC`. If it is not specified, all ISP data will be returned. Note that this field is valid only when a non-BGP connection is used.
	Isp *string `json:"Isp,omitempty" name:"Isp"`
}

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 DescribeProxyStatisticsRequestParams

type DescribeProxyStatisticsRequestParams struct {
	// 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: ≤ 3 day. Supported minimum granularity: 60 seconds;
	// Time range: ≤ 7 day. Supported minimum granularity: 300 seconds;
	// Time range: ≤ 30 days. Supported minimum granularity: 36,00 seconds;
	Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"`

	// Specifies the ISP. Valid values: `CMCC`, `CUCC`, and `CTCC`. If it is not specified, all ISP data will be returned. Note that this field is valid only when a non-BGP connection is used.
	Isp *string `json:"Isp,omitempty" name:"Isp"`
}

Predefined struct for user

type DescribeProxyStatisticsResponse

type DescribeProxyStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProxyStatisticsResponseParams `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 DescribeProxyStatisticsResponseParams

type DescribeProxyStatisticsResponseParams 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"`
}

Predefined struct for user

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 DescribeRealServerStatisticsRequestParams

type DescribeRealServerStatisticsRequestParams struct {
	// 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"`
}

Predefined struct for user

type DescribeRealServerStatisticsResponse

type DescribeRealServerStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRealServerStatisticsResponseParams `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 DescribeRealServerStatisticsResponseParams

type DescribeRealServerStatisticsResponseParams 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"`
}

Predefined struct for user

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 DescribeRealServersRequestParams

type DescribeRealServersRequestParams struct {
	// 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"`
}

Predefined struct for user

type DescribeRealServersResponse

type DescribeRealServersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRealServersResponseParams `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 DescribeRealServersResponseParams

type DescribeRealServersResponseParams 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"`
}

Predefined struct for user

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 DescribeRealServersStatusRequestParams

type DescribeRealServersStatusRequestParams struct {
	// List of origin server IDs
	RealServerIds []*string `json:"RealServerIds,omitempty" name:"RealServerIds"`
}

Predefined struct for user

type DescribeRealServersStatusResponse

type DescribeRealServersStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRealServersStatusResponseParams `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 DescribeRealServersStatusResponseParams

type DescribeRealServersStatusResponseParams 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"`
}

Predefined struct for user

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), `Accelerator` (specific for games), and `CrossBorder` (cross-MLC-border connection).
	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 DescribeRegionAndPriceRequestParams

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

	// Package type of connection groups. Valid values: `Thunder` (general), `Accelerator` (specific for games), and `CrossBorder` (cross-MLC-border connection).
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`
}

Predefined struct for user

type DescribeRegionAndPriceResponse

type DescribeRegionAndPriceResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRegionAndPriceResponseParams `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 DescribeRegionAndPriceResponseParams

type DescribeRegionAndPriceResponseParams 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"`
}

Predefined struct for user

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 types:
	// 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 DescribeResourcesByTagRequestParams

type DescribeResourcesByTagRequestParams struct {
	// Tag key.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`

	// Resource types:
	// 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"`
}

Predefined struct for user

type DescribeResourcesByTagResponse

type DescribeResourcesByTagResponse struct {
	*tchttp.BaseResponse
	Response *DescribeResourcesByTagResponseParams `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 DescribeResourcesByTagResponseParams

type DescribeResourcesByTagResponseParams 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"`
}

Predefined struct for user

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 returned results. Default value: 20. Maximum value: 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 DescribeRuleRealServersRequestParams

type DescribeRuleRealServersRequestParams struct {
	// Forwarding rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 1000.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeRuleRealServersResponse

type DescribeRuleRealServersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRuleRealServersResponseParams `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 DescribeRuleRealServersResponseParams

type DescribeRuleRealServersResponseParams 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"`
}

Predefined struct for user

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 DescribeRulesByRuleIdsRequestParams

type DescribeRulesByRuleIdsRequestParams struct {
	// List of rule IDs. Up to 10 rules are supported.
	RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"`
}

Predefined struct for user

type DescribeRulesByRuleIdsResponse

type DescribeRulesByRuleIdsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRulesByRuleIdsResponseParams `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 DescribeRulesByRuleIdsResponseParams

type DescribeRulesByRuleIdsResponseParams 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"`
}

Predefined struct for user

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 DescribeRulesRequestParams

type DescribeRulesRequestParams struct {
	// Layer-7 listener ID.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`
}

Predefined struct for user

type DescribeRulesResponse

type DescribeRulesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRulesResponseParams `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 DescribeRulesResponseParams

type DescribeRulesResponseParams 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"`
}

Predefined struct for user

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 DescribeSecurityPolicyDetailRequestParams

type DescribeSecurityPolicyDetailRequestParams struct {
	// Security policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
}

Predefined struct for user

type DescribeSecurityPolicyDetailResponse

type DescribeSecurityPolicyDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSecurityPolicyDetailResponseParams `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 DescribeSecurityPolicyDetailResponseParams

type DescribeSecurityPolicyDetailResponseParams 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"`
}

Predefined struct for user

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 DescribeSecurityRulesRequestParams

type DescribeSecurityRulesRequestParams struct {
	// List of security rule IDs. Up to 20 security rules are supported.
	SecurityRuleIds []*string `json:"SecurityRuleIds,omitempty" name:"SecurityRuleIds"`
}

Predefined struct for user

type DescribeSecurityRulesResponse

type DescribeSecurityRulesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSecurityRulesResponseParams `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 DescribeSecurityRulesResponseParams

type DescribeSecurityRulesResponseParams 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"`
}

Predefined struct for user

type DescribeTCPListenersRequest

type DescribeTCPListenersRequest struct {
	*tchttp.BaseRequest

	// Filter condition that filters by connection ID. You must specify at least one filter condition (ProxyId/GroupId/ListenerId), but ProxyId and GroupId cannot be set at the same time.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Filter condition. Exact query by listener ID.
	// When ProxyId is specified, the listener will be checked whether it belongs to the connection.
	// When GroupId is specified, the listener will be checked whether it belongs to the connection group.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

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

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

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

	// Filter condition that filters by connection group ID. You must specify at least one filter condition (ProxyId/GroupId/ListenerId), but ProxyId and GroupId cannot be set at the same time.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Filter condition. It supports fuzzy query by port or listener name. 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 DescribeTCPListenersRequestParams

type DescribeTCPListenersRequestParams struct {
	// Filter condition that filters by connection ID. You must specify at least one filter condition (ProxyId/GroupId/ListenerId), but ProxyId and GroupId cannot be set at the same time.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Filter condition. Exact query by listener ID.
	// When ProxyId is specified, the listener will be checked whether it belongs to the connection.
	// When GroupId is specified, the listener will be checked whether it belongs to the connection group.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

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

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

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

	// Filter condition that filters by connection group ID. You must specify at least one filter condition (ProxyId/GroupId/ListenerId), but ProxyId and GroupId cannot be set at the same time.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

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

Predefined struct for user

type DescribeTCPListenersResponse

type DescribeTCPListenersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTCPListenersResponseParams `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 DescribeTCPListenersResponseParams

type DescribeTCPListenersResponseParams 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"`
}

Predefined struct for user

type DescribeUDPListenersRequest

type DescribeUDPListenersRequest struct {
	*tchttp.BaseRequest

	// Filter condition that filters by connection ID. You must specify at least one filter condition (ProxyId/GroupId/ListenerId), but ProxyId and GroupId cannot be set at the same time.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Filter condition. Exact query by listener IDs.
	// When ProxyId is specified, the listener will be checked whether it belongs to the connection.
	// When GroupId is specified, the listener will be checked whether it belongs to the connection group.
	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 that filters by connection group ID. You must specify at least one filter condition (ProxyId/GroupId/ListenerId), but ProxyId and GroupId cannot be set at the same time.
	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 DescribeUDPListenersRequestParams

type DescribeUDPListenersRequestParams struct {
	// Filter condition that filters by connection ID. You must specify at least one filter condition (ProxyId/GroupId/ListenerId), but ProxyId and GroupId cannot be set at the same time.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Filter condition. Exact query by listener IDs.
	// When ProxyId is specified, the listener will be checked whether it belongs to the connection.
	// When GroupId is specified, the listener will be checked whether it belongs to the connection group.
	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 that filters by connection group ID. You must specify at least one filter condition (ProxyId/GroupId/ListenerId), but ProxyId and GroupId cannot be set at the same time.
	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"`
}

Predefined struct for user

type DescribeUDPListenersResponse

type DescribeUDPListenersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUDPListenersResponseParams `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 DescribeUDPListenersResponseParams

type DescribeUDPListenersResponseParams 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"`
}

Predefined struct for user

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 DestroyProxiesRequestParams

type DestroyProxiesRequestParams struct {
	// 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"`
}

Predefined struct for user

type DestroyProxiesResponse

type DestroyProxiesResponse struct {
	*tchttp.BaseResponse
	Response *DestroyProxiesResponseParams `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 DestroyProxiesResponseParams

type DestroyProxiesResponseParams 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"`
}

Predefined struct for user

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"`

	// Specifies whether to enable HTTP3. Valid values:
	// `0`: disable HTTP3;
	// `1`: enable HTTP3.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

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"`

	// Connection ID of the listener. A null value is returned if the listener is associated with the connection group.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Connection group ID of the listener. A null value is returned if the listener is associated with a specific connection.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

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"`

	// Whether to support HTTP3. Values:
	// `0`: Do not support HTTP3 access;
	// `1`: Support HTTP3 access.
	// If HTTP3 is supported for a connection, the listener will use the port that is originally accessed to UDP, and a UDP listener with the same port cannot be created.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`

	// Connection ID of the listener. A null value is returned if the listener is associated with the connection group.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Connection group ID of the listener. A null value is returned if the listener is associated with a specific connection.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

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 IPDetail

type IPDetail struct {
	// IP string
	IP *string `json:"IP,omitempty" name:"IP"`

	// Network provider. `BGP`: Tencent Cloud BGP (default); `CMCC`: China Mobile; `CUCC`: China Unicom; `CTCC`: China Telecom.
	Provider *string `json:"Provider,omitempty" name:"Provider"`

	// Max bandwidth
	Bandwidth *int64 `json:"Bandwidth,omitempty" name:"Bandwidth"`
}

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), `Accelerator` (specific for games), and `CrossBorder` (cross-MLC-border connection).
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`

	// (Disused) HTTP3.0 is supported by default when `IPAddressVersion` is `IPv4`.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

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 InquiryPriceCreateProxyRequestParams

type InquiryPriceCreateProxyRequestParams struct {
	// 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), `Accelerator` (specific for games), and `CrossBorder` (cross-MLC-border connection).
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`

	// (Disused) HTTP3.0 is supported by default when `IPAddressVersion` is `IPv4`.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`
}

Predefined struct for user

type InquiryPriceCreateProxyResponse

type InquiryPriceCreateProxyResponse struct {
	*tchttp.BaseResponse
	Response *InquiryPriceCreateProxyResponseParams `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 InquiryPriceCreateProxyResponseParams

type InquiryPriceCreateProxyResponseParams 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"`
}

Predefined struct for user

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 ModifyCertificateAttributesRequestParams

type ModifyCertificateAttributesRequestParams struct {
	// Certificate ID.
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Certificate name. Up to 50 characters.
	CertificateAlias *string `json:"CertificateAlias,omitempty" name:"CertificateAlias"`
}

Predefined struct for user

type ModifyCertificateAttributesResponse

type ModifyCertificateAttributesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCertificateAttributesResponseParams `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 ModifyCertificateAttributesResponseParams

type ModifyCertificateAttributesResponseParams 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"`
}

Predefined struct for user

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 ModifyCertificateRequestParams

type ModifyCertificateRequestParams struct {
	// 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"`
}

Predefined struct for user

type ModifyCertificateResponse

type ModifyCertificateResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCertificateResponseParams `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 ModifyCertificateResponseParams

type ModifyCertificateResponseParams 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"`
}

Predefined struct for user

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 ModifyDomainRequestParams

type ModifyDomainRequestParams struct {
	// 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"`
}

Predefined struct for user

type ModifyDomainResponse

type ModifyDomainResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDomainResponseParams `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 ModifyDomainResponseParams

type ModifyDomainResponseParams 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"`
}

Predefined struct for user

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 ModifyGroupDomainConfigRequestParams

type ModifyGroupDomainConfigRequestParams struct {
	// 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"`
}

Predefined struct for user

type ModifyGroupDomainConfigResponse

type ModifyGroupDomainConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyGroupDomainConfigResponseParams `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 ModifyGroupDomainConfigResponseParams

type ModifyGroupDomainConfigResponseParams 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"`
}

Predefined struct for user

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 ModifyHTTPListenerAttributeRequestParams

type ModifyHTTPListenerAttributeRequestParams struct {
	// 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"`
}

Predefined struct for user

type ModifyHTTPListenerAttributeResponse

type ModifyHTTPListenerAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyHTTPListenerAttributeResponseParams `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 ModifyHTTPListenerAttributeResponseParams

type ModifyHTTPListenerAttributeResponseParams 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"`
}

Predefined struct for user

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 ModifyHTTPSListenerAttributeRequestParams

type ModifyHTTPSListenerAttributeRequestParams struct {
	// 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"`
}

Predefined struct for user

type ModifyHTTPSListenerAttributeResponse

type ModifyHTTPSListenerAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyHTTPSListenerAttributeResponseParams `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 ModifyHTTPSListenerAttributeResponseParams

type ModifyHTTPSListenerAttributeResponseParams 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"`
}

Predefined struct for user

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 ModifyProxiesAttributeRequestParams

type ModifyProxiesAttributeRequestParams struct {
	// 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"`
}

Predefined struct for user

type ModifyProxiesAttributeResponse

type ModifyProxiesAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyProxiesAttributeResponseParams `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 ModifyProxiesAttributeResponseParams

type ModifyProxiesAttributeResponseParams 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"`
}

Predefined struct for user

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 unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency 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 ModifyProxiesProjectRequestParams

type ModifyProxiesProjectRequestParams struct {
	// 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 unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency 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"`
}

Predefined struct for user

type ModifyProxiesProjectResponse

type ModifyProxiesProjectResponse struct {
	*tchttp.BaseResponse
	Response *ModifyProxiesProjectResponseParams `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 ModifyProxiesProjectResponseParams

type ModifyProxiesProjectResponseParams 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"`
}

Predefined struct for user

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 ModifyProxyConfigurationRequestParams

type ModifyProxyConfigurationRequestParams struct {
	// 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"`
}

Predefined struct for user

type ModifyProxyConfigurationResponse

type ModifyProxyConfigurationResponse struct {
	*tchttp.BaseResponse
	Response *ModifyProxyConfigurationResponseParams `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 ModifyProxyConfigurationResponseParams

type ModifyProxyConfigurationResponseParams 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"`
}

Predefined struct for user

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 ModifyProxyGroupAttributeRequestParams

type ModifyProxyGroupAttributeRequestParams struct {
	// 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"`
}

Predefined struct for user

type ModifyProxyGroupAttributeResponse

type ModifyProxyGroupAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyProxyGroupAttributeResponseParams `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 ModifyProxyGroupAttributeResponseParams

type ModifyProxyGroupAttributeResponseParams 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"`
}

Predefined struct for user

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 ModifyRealServerNameRequestParams

type ModifyRealServerNameRequestParams struct {
	// Origin server name
	RealServerName *string `json:"RealServerName,omitempty" name:"RealServerName"`

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

Predefined struct for user

type ModifyRealServerNameResponse

type ModifyRealServerNameResponse struct {
	*tchttp.BaseResponse
	Response *ModifyRealServerNameResponseParams `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 ModifyRealServerNameResponseParams

type ModifyRealServerNameResponseParams 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"`
}

Predefined struct for user

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"`

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).
	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 forwarding host, which is carried in the request forwarded from the acceleration connection to the origin server.
	// If `ForwardHost=default`, the domain name configured with the forwarding rule will be used. For other cases, the value set in this field will be used.
	ForwardHost *string `json:"ForwardHost,omitempty" name:"ForwardHost"`

	// Specifies whether to enable Server Name Indication (SNI). Valid values: `ON` (enable) and `OFF` (disable).
	ServerNameIndicationSwitch *string `json:"ServerNameIndicationSwitch,omitempty" name:"ServerNameIndicationSwitch"`

	// Server Name Indication (SNI). This field is required when `ServerNameIndicationSwitch` is `ON`.
	ServerNameIndication *string `json:"ServerNameIndication,omitempty" name:"ServerNameIndication"`

	// Enables HTTP-to-HTTPS force redirect for a forwarding rule. Enter a hostname and path of the current forwarding rule.
	ForcedRedirect *string `json:"ForcedRedirect,omitempty" name:"ForcedRedirect"`
}

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 ModifyRuleAttributeRequestParams

type ModifyRuleAttributeRequestParams struct {
	// Listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

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

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).
	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 forwarding host, which is carried in the request forwarded from the acceleration connection to the origin server.
	// If `ForwardHost=default`, the domain name configured with the forwarding rule will be used. For other cases, the value set in this field will be used.
	ForwardHost *string `json:"ForwardHost,omitempty" name:"ForwardHost"`

	// Specifies whether to enable Server Name Indication (SNI). Valid values: `ON` (enable) and `OFF` (disable).
	ServerNameIndicationSwitch *string `json:"ServerNameIndicationSwitch,omitempty" name:"ServerNameIndicationSwitch"`

	// Server Name Indication (SNI). This field is required when `ServerNameIndicationSwitch` is `ON`.
	ServerNameIndication *string `json:"ServerNameIndication,omitempty" name:"ServerNameIndication"`

	// Enables HTTP-to-HTTPS force redirect for a forwarding rule. Enter a hostname and path of the current forwarding rule.
	ForcedRedirect *string `json:"ForcedRedirect,omitempty" name:"ForcedRedirect"`
}

Predefined struct for user

type ModifyRuleAttributeResponse

type ModifyRuleAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyRuleAttributeResponseParams `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 ModifyRuleAttributeResponseParams

type ModifyRuleAttributeResponseParams 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"`
}

Predefined struct for user

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 ModifySecurityRuleRequestParams

type ModifySecurityRuleRequestParams struct {
	// 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"`
}

Predefined struct for user

type ModifySecurityRuleResponse

type ModifySecurityRuleResponse struct {
	*tchttp.BaseResponse
	Response *ModifySecurityRuleResponseParams `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 ModifySecurityRuleResponseParams

type ModifySecurityRuleResponseParams 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"`
}

Predefined struct for user

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"`

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).
	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 ModifyTCPListenerAttributeRequestParams

type ModifyTCPListenerAttributeRequestParams struct {
	// 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"`

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).
	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"`
}

Predefined struct for user

type ModifyTCPListenerAttributeResponse

type ModifyTCPListenerAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTCPListenerAttributeResponseParams `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 ModifyTCPListenerAttributeResponseParams

type ModifyTCPListenerAttributeResponseParams 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"`
}

Predefined struct for user

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"`

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).
	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"`

	// 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"`

	// 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`.
	FailoverSwitch *int64 `json:"FailoverSwitch,omitempty" name:"FailoverSwitch"`

	// Whether the health check is enabled for the origin server. Values: `1` (enabled); `0` (disabled).
	HealthCheck *uint64 `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// The health check type. Values: `PORT` (port); `PING` (ping).
	CheckType *string `json:"CheckType,omitempty" name:"CheckType"`

	// The health probe port.
	CheckPort *int64 `json:"CheckPort,omitempty" name:"CheckPort"`

	// The UDP message type. Values: `TEXT` (text). This parameter is used only when `CheckType = PORT`.
	ContextType *string `json:"ContextType,omitempty" name:"ContextType"`

	// The UDP message sent by the health probe port. This parameter is used only when `CheckType = PORT`.
	SendContext *string `json:"SendContext,omitempty" name:"SendContext"`

	// The UDP message received by the health probe port. This parameter is used only when `CheckType = PORT`.
	RecvContext *string `json:"RecvContext,omitempty" name:"RecvContext"`
}

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 ModifyUDPListenerAttributeRequestParams

type ModifyUDPListenerAttributeRequestParams struct {
	// 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"`

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).
	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"`

	// 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"`

	// 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`.
	FailoverSwitch *int64 `json:"FailoverSwitch,omitempty" name:"FailoverSwitch"`

	// Whether the health check is enabled for the origin server. Values: `1` (enabled); `0` (disabled).
	HealthCheck *uint64 `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// The health check type. Values: `PORT` (port); `PING` (ping).
	CheckType *string `json:"CheckType,omitempty" name:"CheckType"`

	// The health probe port.
	CheckPort *int64 `json:"CheckPort,omitempty" name:"CheckPort"`

	// The UDP message type. Values: `TEXT` (text). This parameter is used only when `CheckType = PORT`.
	ContextType *string `json:"ContextType,omitempty" name:"ContextType"`

	// The UDP message sent by the health probe port. This parameter is used only when `CheckType = PORT`.
	SendContext *string `json:"SendContext,omitempty" name:"SendContext"`

	// The UDP message received by the health probe port. This parameter is used only when `CheckType = PORT`.
	RecvContext *string `json:"RecvContext,omitempty" name:"RecvContext"`
}

Predefined struct for user

type ModifyUDPListenerAttributeResponse

type ModifyUDPListenerAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyUDPListenerAttributeResponseParams `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 ModifyUDPListenerAttributeResponseParams

type ModifyUDPListenerAttributeResponseParams 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"`
}

Predefined struct for user

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 OpenProxiesRequestParams

type OpenProxiesRequestParams struct {
	// 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"`
}

Predefined struct for user

type OpenProxiesResponse

type OpenProxiesResponse struct {
	*tchttp.BaseResponse
	Response *OpenProxiesResponseParams `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 OpenProxiesResponseParams

type OpenProxiesResponseParams 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"`
}

Predefined struct for user

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 OpenProxyGroupRequestParams

type OpenProxyGroupRequestParams struct {
	// Connection group instance ID
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

Predefined struct for user

type OpenProxyGroupResponse

type OpenProxyGroupResponse struct {
	*tchttp.BaseResponse
	Response *OpenProxyGroupResponseParams `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 OpenProxyGroupResponseParams

type OpenProxyGroupResponseParams 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"`
}

Predefined struct for user

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 OpenSecurityPolicyRequestParams

type OpenSecurityPolicyRequestParams struct {
	// 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"`
}

Predefined struct for user

type OpenSecurityPolicyResponse

type OpenSecurityPolicyResponse struct {
	*tchttp.BaseResponse
	Response *OpenSecurityPolicyResponseParams `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 OpenSecurityPolicyResponseParams

type OpenSecurityPolicyResponseParams 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"`
}

Predefined struct for user

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
	// `12`: Deploying
	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), `Accelerator` (silver connection group), and `CrossBorder` (cross-MLC-border connection group).
	// Note: This field may return null, indicating that no valid values can be obtained.
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`

	// Specifies whether to enable HTTP3. Valid values:
	// `0`: Disable
	// `1`: Enable
	// Note: This field may return null, indicating that no valid values can be obtained.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`

	// Feature bitmap. Valid values:
	// `0`: Feature not supported
	// `1`: Feature supported
	// Each bit in the bitmap represents a feature:
	// 1st bit: Layer-4 acceleration;
	// 2nd bit: Layer-7 acceleration;
	// 3rd bit: HTTP3 access;
	// 4th bit: IPv6;
	// 5th bit: Dedicated BGP access;
	// 6th bit: Non-BGP access;
	// 7th bit: QoS acceleration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FeatureBitmap *int64 `json:"FeatureBitmap,omitempty" name:"FeatureBitmap"`
}

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:
	// `RUNNING`: Running
	// `CREATING`: Creating
	// `DESTROYING`: Terminating
	// `MOVING`: Migrating
	// `CHANGING`: Deploying
	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"`

	// Specifies whether to enable HTTP3. Valid values:
	// `0`: Disable
	// `1`: Enable
	// Note: This field may return null, indicating that no valid values can be obtained.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`

	// Feature bitmap. Valid values:
	// `0`: Feature not supported
	// `1`: Feature supported
	// Each bit in the bitmap represents a feature:
	// 1st bit: Layer-4 acceleration;
	// 2nd bit: Layer-7 acceleration;
	// 3rd bit: HTTP3 access;
	// 4th bit: IPv6;
	// 5th bit: Dedicated BGP access;
	// 6th bit: Non-BGP access;
	// 7th bit: QoS acceleration.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FeatureBitmap *int64 `json:"FeatureBitmap,omitempty" name:"FeatureBitmap"`
}

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: 10K requests/second.
	Concurrent *int64 `json:"Concurrent,omitempty" name:"Concurrent"`

	// Connection status. Valid values:
	// `RUNNING`: Running
	// `CREATING`: Creating
	// `DESTROYING`: Terminating
	// `OPENING`: Enabling
	// `CLOSING`: Disabling
	// `CLOSED`: Disabled
	// `ADJUSTING`: Adjusting configuration
	// `ISOLATING`: Isolating
	// `ISOLATED`: Isolated
	// `CLONING`: Copying
	// `RECOVERING`: Maintaining
	// `MOVING`: Migrating
	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. `normal`: general BGP; `cn2`: Dedicated BGP; `triple`: Non-BGP (provided by the top 3 ISPs in the Chinese mainland); `secure_eip`: Custom security EIP.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"`

	// Package type of connections. Valid values: `Thunder` (general connection), `Accelerator` (silver connection),
	// and `CrossBorder` (cross-MLC-border connection).
	// 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"`

	IPList []*IPDetail `json:"IPList,omitempty" name:"IPList"`

	// Specifies whether to enable HTTP3. Valid values:
	// `0`: disable HTTP3;
	// `1`: enable HTTP3.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"`

	// Indicates whether the origin server IP or domain name is in the blocklist. Valid values: `0` (no) and `1` (yes).
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	InBanBlacklist *int64 `json:"InBanBlacklist,omitempty" name:"InBanBlacklist"`

	// Feature bitmap. Valid values:
	// `0`: Feature not supported
	// `1`: Feature supported
	// Each bit in the bitmap represents a feature:
	// 1st bit: Layer-4 acceleration;
	// 2nd bit: Layer-7 acceleration;
	// 3rd bit: HTTP3 access;
	// 4th bit: IPv6;
	// 5th bit: Dedicated BGP access;
	// 6th bit: Non-BGP access;
	// 7th bit: QoS acceleration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FeatureBitmap *int64 `json:"FeatureBitmap,omitempty" name:"FeatureBitmap"`
}

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.
	// Where:
	// `RUNNING`: Running
	// `CREATING`: Creating
	// `DESTROYING`: Terminating
	// `OPENING`: Enabling
	// `CLOSING`: Disabling
	// `CLOSED`: Disabled
	// `ADJUSTING`: Adjusting configuration
	// `ISOLATING`: Isolating
	// `ISOLATED`: Isolated
	// `MOVING`: Migrating
	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"`

	// Indicates whether the origin server IP or domain name is in the blocklist. Valid values: `0` (no) and `1` (yes).
	InBanBlacklist *int64 `json:"InBanBlacklist,omitempty" name:"InBanBlacklist"`
}

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"`

	// Role of the origin server. Values: `master` (primary origin server); `slave` (secondary origin server). This parameter only takes effect when origin failover is enabled for the 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"`

	// ID of the connection group bound to this origin server. This string is null if no connection groups are bound.
	// Note: This field may return null, indicating that no valid values can be obtained.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

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"`

	// Region where the data center locates
	RegionArea *string `json:"RegionArea,omitempty" name:"RegionArea"`

	// Name of the region where the data center locates
	RegionAreaName *string `json:"RegionAreaName,omitempty" name:"RegionAreaName"`

	// Data center type. `dc`: data center; `ec`: edge server.
	IDCType *string `json:"IDCType,omitempty" name:"IDCType"`

	// Feature bitmap. Valid values:
	// `0`: the feature is not supported;
	// `1`: the feature is supported.
	// Each bit in the bitmap represents a feature:
	// 1st bit: layer-4 acceleration;
	// 2nd bit: layer-7 acceleration;
	// 3rd bit: HTTP3 access;
	// 4th bit: IPv6;
	// 5th bit: dedicated BGP access;
	// 6th bit: non-BGP access;
	// 7th bit: QoS acceleration.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FeatureBitmap *uint64 `json:"FeatureBitmap,omitempty" name:"FeatureBitmap"`
}

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 RemoveRealServersRequestParams

type RemoveRealServersRequestParams struct {
	// List of origin server IDs
	RealServerIds []*string `json:"RealServerIds,omitempty" name:"RealServerIds"`
}

Predefined struct for user

type RemoveRealServersResponse

type RemoveRealServersResponse struct {
	*tchttp.BaseResponse
	Response *RemoveRealServersResponseParams `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 RemoveRealServersResponseParams

type RemoveRealServersResponseParams 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"`
}

Predefined struct for user

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"`

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).
	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"`

	// Specifies whether to enable Server Name Indication (SNI). Valid values: `ON` (enable) and `OFF` (disable).
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ServerNameIndicationSwitch *string `json:"ServerNameIndicationSwitch,omitempty" name:"ServerNameIndicationSwitch"`

	// Server Name Indication (SNI). This field is required when `ServerNameIndicationSwitch` is `ON`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ServerNameIndication *string `json:"ServerNameIndication,omitempty" name:"ServerNameIndication"`

	// Forces requests to redirect to HTTPS. When `https:` is passed in, all requests are redirected to HTTPS.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ForcedRedirect *string `json:"ForcedRedirect,omitempty" name:"ForcedRedirect"`
}

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
	// Note: This field may return null, indicating that no valid values can be obtained.
	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"`

	// This field has been disused. Use ServerNameIndication instead.
	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 SetAuthenticationRequestParams

type SetAuthenticationRequestParams struct {
	// 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"`

	// This field has been disused. Use ServerNameIndication instead.
	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"`
}

Predefined struct for user

type SetAuthenticationResponse

type SetAuthenticationResponse struct {
	*tchttp.BaseResponse
	Response *SetAuthenticationResponseParams `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 SetAuthenticationResponseParams

type SetAuthenticationResponseParams 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"`
}

Predefined struct for user

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:
	// `0`: Running
	// `1`: Creating
	// `2`: Terminating
	// `3`: Adjusting origin server
	// `4`: Adjusting configuration
	ListenerStatus *uint64 `json:"ListenerStatus,omitempty" name:"ListenerStatus"`

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).
	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 to enable the listener health check:
	// `0`: Disable
	// `1`: Enable
	HealthCheck *uint64 `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// Status of the origin server bound to listeners:
	// `0`: Abnormal
	// `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 in the format of 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 values 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 values can be obtained.
	SessionPersist *uint64 `json:"SessionPersist,omitempty" name:"SessionPersist"`

	// Connection ID of the listener. A null value is returned if the listener is associated with the connection group.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Connection group ID of the listener. A null value is returned if the listener is associated with a specific connection.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

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`: Connection
	// `ProxyGroup`: Connection group
	// `RealServer`: Origin server
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

	// Instance 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:
	// `0`: Running
	// `1`: Creating
	// `2`: Terminating
	// `3`: Adjusting origin server
	// `4`: Adjusting configuration
	ListenerStatus *uint64 `json:"ListenerStatus,omitempty" name:"ListenerStatus"`

	// The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`

	// Origin server binding status of listeners. `0`: Normal; `1`: IP exception; `2`: Domain name resolution exception.
	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 in the format of 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"`

	// Time interval of origin server health check (unit: seconds). Value range: [5, 300].
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	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.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ConnectTimeout *uint64 `json:"ConnectTimeout,omitempty" name:"ConnectTimeout"`

	// 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 value can be obtained.
	FailoverSwitch *int64 `json:"FailoverSwitch,omitempty" name:"FailoverSwitch"`

	// Whether the health check is enabled for the origin server. Values: `1` (enabled); `0` (disabled).
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	HealthCheck *uint64 `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// The health check type. Values: `PORT` (port); `PING` (ping).
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CheckType *string `json:"CheckType,omitempty" name:"CheckType"`

	// The health probe port.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CheckPort *int64 `json:"CheckPort,omitempty" name:"CheckPort"`

	// The UDP message type. Values: `TEXT` (text). This parameter is used only when `CheckType = PORT`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ContextType *string `json:"ContextType,omitempty" name:"ContextType"`

	// The UDP message sent by the health probe port. This parameter is used only when `CheckType = PORT`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SendContext *string `json:"SendContext,omitempty" name:"SendContext"`

	// The UDP message received by the health probe port. This parameter is used only when `CheckType = PORT`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RecvContext *string `json:"RecvContext,omitempty" name:"RecvContext"`

	// Connection ID of the listener. A null value is returned if the listener is associated with the connection group.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Connection group ID of the listener. A null value is returned if the listener is associated with a specific connection.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL