v20180317

package
v3.0.794+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

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

	// DryRun operation, which means the DryRun parameter is passed in yet the request will still be successful.
	DRYRUNOPERATION = "DryRunOperation"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// Exceptional CLB instance status
	FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Parameter error.
	INVALIDPARAMETER = "InvalidParameter"

	// Wrong parameter format.
	INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"

	// Failed to query the parameter
	INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"

	// Wrong CLB instance ID.
	INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"

	// Wrong listener ID.
	INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"

	// Unable to find eligible forwarding rules.
	INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"

	// Listener port checks failed due to port conflicts or other reasons.
	INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"

	// Listener protocol checks failed because the protocol used is incompatible with the corresponding operation.
	INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"

	// Invalid region.
	INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"

	// The forwarding rule has already been bound to a redirection relationship.
	INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist"

	// Some redirection rules do not exist.
	INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound"

	// Incorrect parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// Duplicate parameter value.
	INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"

	// Incorrect `Filter` parameter.
	INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"

	// Wrong parameter length.
	INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"

	// Wrong parameter value range.
	INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"

	// Quota exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// Operation denied.
	OPERATIONDENIED = "OperationDenied"

	// The number of requests exceeds the frequency limit.
	REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

	// The resource is occupied.
	RESOURCEINUSE = "ResourceInUse"

	// Insufficient resources.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// Resources do not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The resources have been sold out.
	RESOURCESSOLDOUT = "ResourcesSoldOut"

	// Unauthorized operation.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2018-03-17"

Variables

This section is empty.

Functions

This section is empty.

Types

type AssociateTargetGroupsRequest

type AssociateTargetGroupsRequest struct {
	*tchttp.BaseRequest

	// Association array
	Associations []*TargetGroupAssociation `json:"Associations,omitnil" name:"Associations"`
}

func NewAssociateTargetGroupsRequest

func NewAssociateTargetGroupsRequest() (request *AssociateTargetGroupsRequest)

func (*AssociateTargetGroupsRequest) FromJsonString

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

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

func (*AssociateTargetGroupsRequest) ToJsonString

func (r *AssociateTargetGroupsRequest) ToJsonString() string

type AssociateTargetGroupsRequestParams

type AssociateTargetGroupsRequestParams struct {
	// Association array
	Associations []*TargetGroupAssociation `json:"Associations,omitnil" name:"Associations"`
}

Predefined struct for user

type AssociateTargetGroupsResponse

type AssociateTargetGroupsResponse struct {
	*tchttp.BaseResponse
	Response *AssociateTargetGroupsResponseParams `json:"Response"`
}

func NewAssociateTargetGroupsResponse

func NewAssociateTargetGroupsResponse() (response *AssociateTargetGroupsResponse)

func (*AssociateTargetGroupsResponse) FromJsonString

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

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

func (*AssociateTargetGroupsResponse) ToJsonString

func (r *AssociateTargetGroupsResponse) ToJsonString() string

type AssociateTargetGroupsResponseParams

type AssociateTargetGroupsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type AssociationItem

type AssociationItem struct {
	// ID of associated CLB instance
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// ID of associated listener
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// ID of associated forwarding rule
	// Note: this field may return null, indicating that no valid values can be obtained.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Protocol type of associated listener, such as HTTP or TCP
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Port of associated listener
	Port *uint64 `json:"Port,omitnil" name:"Port"`

	// Domain name of associated forwarding rule
	// Note: this field may return null, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// URL of associated forwarding rule
	// Note: this field may return null, indicating that no valid values can be obtained.
	Url *string `json:"Url,omitnil" name:"Url"`

	// CLB instance name
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// Listener name
	ListenerName *string `json:"ListenerName,omitnil" name:"ListenerName"`
}

type AutoRewriteRequest

type AutoRewriteRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// `HTTPS:443` listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// The domain name to be redirected under the listener `HTTPS:443`. If it is left empty, all domain names under the listener `HTTPS:443` will be configured with redirects.
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Redirection status code. Valid values: 301, 302, and 307.
	RewriteCodes []*int64 `json:"RewriteCodes,omitnil" name:"RewriteCodes"`

	// Whether the matched URL is carried in redirection.
	TakeUrls []*bool `json:"TakeUrls,omitnil" name:"TakeUrls"`
}

func NewAutoRewriteRequest

func NewAutoRewriteRequest() (request *AutoRewriteRequest)

func (*AutoRewriteRequest) FromJsonString

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

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

func (*AutoRewriteRequest) ToJsonString

func (r *AutoRewriteRequest) ToJsonString() string

type AutoRewriteRequestParams

type AutoRewriteRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// `HTTPS:443` listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// The domain name to be redirected under the listener `HTTPS:443`. If it is left empty, all domain names under the listener `HTTPS:443` will be configured with redirects.
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Redirection status code. Valid values: 301, 302, and 307.
	RewriteCodes []*int64 `json:"RewriteCodes,omitnil" name:"RewriteCodes"`

	// Whether the matched URL is carried in redirection.
	TakeUrls []*bool `json:"TakeUrls,omitnil" name:"TakeUrls"`
}

Predefined struct for user

type AutoRewriteResponse

type AutoRewriteResponse struct {
	*tchttp.BaseResponse
	Response *AutoRewriteResponseParams `json:"Response"`
}

func NewAutoRewriteResponse

func NewAutoRewriteResponse() (response *AutoRewriteResponse)

func (*AutoRewriteResponse) FromJsonString

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

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

func (*AutoRewriteResponse) ToJsonString

func (r *AutoRewriteResponse) ToJsonString() string

type AutoRewriteResponseParams

type AutoRewriteResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type Backend

type Backend struct {
	// Real server type. Valid values: CVM, ENI.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Unique ID of a real server, which can be obtained from the unInstanceId field in the return of the DescribeInstances API
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Listening port of a real server
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Forwarding weight of a real server. Value range: [0, 100]. Default value: 10.
	Weight *int64 `json:"Weight,omitnil" name:"Weight"`

	// Public IP of a real server
	// Note: This field may return null, indicating that no valid values can be obtained.
	PublicIpAddresses []*string `json:"PublicIpAddresses,omitnil" name:"PublicIpAddresses"`

	// Private IP of a real server
	// Note: This field may return null, indicating that no valid values can be obtained.
	PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"`

	// Real server instance names
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Bound time of a real server
	// Note: This field may return null, indicating that no valid values can be obtained.
	RegisteredTime *string `json:"RegisteredTime,omitnil" name:"RegisteredTime"`

	// Unique ENI ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	EniId *string `json:"EniId,omitnil" name:"EniId"`
}

type BasicTargetGroupInfo

type BasicTargetGroupInfo struct {
	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// Target group name
	TargetGroupName *string `json:"TargetGroupName,omitnil" name:"TargetGroupName"`
}

type BatchDeregisterTargetsRequest

type BatchDeregisterTargetsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Unbinding targets
	Targets []*BatchTarget `json:"Targets,omitnil" name:"Targets"`
}

func NewBatchDeregisterTargetsRequest

func NewBatchDeregisterTargetsRequest() (request *BatchDeregisterTargetsRequest)

func (*BatchDeregisterTargetsRequest) FromJsonString

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

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

func (*BatchDeregisterTargetsRequest) ToJsonString

func (r *BatchDeregisterTargetsRequest) ToJsonString() string

type BatchDeregisterTargetsRequestParams

type BatchDeregisterTargetsRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Unbinding targets
	Targets []*BatchTarget `json:"Targets,omitnil" name:"Targets"`
}

Predefined struct for user

type BatchDeregisterTargetsResponse

type BatchDeregisterTargetsResponse struct {
	*tchttp.BaseResponse
	Response *BatchDeregisterTargetsResponseParams `json:"Response"`
}

func NewBatchDeregisterTargetsResponse

func NewBatchDeregisterTargetsResponse() (response *BatchDeregisterTargetsResponse)

func (*BatchDeregisterTargetsResponse) FromJsonString

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

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

func (*BatchDeregisterTargetsResponse) ToJsonString

func (r *BatchDeregisterTargetsResponse) ToJsonString() string

type BatchDeregisterTargetsResponseParams

type BatchDeregisterTargetsResponseParams struct {
	// IDs of the listeners failed to unbind
	FailListenerIdSet []*string `json:"FailListenerIdSet,omitnil" name:"FailListenerIdSet"`

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

Predefined struct for user

type BatchModifyTargetWeightRequest

type BatchModifyTargetWeightRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// List of weights to be modified in batches
	ModifyList []*RsWeightRule `json:"ModifyList,omitnil" name:"ModifyList"`
}

func NewBatchModifyTargetWeightRequest

func NewBatchModifyTargetWeightRequest() (request *BatchModifyTargetWeightRequest)

func (*BatchModifyTargetWeightRequest) FromJsonString

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

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

func (*BatchModifyTargetWeightRequest) ToJsonString

func (r *BatchModifyTargetWeightRequest) ToJsonString() string

type BatchModifyTargetWeightRequestParams

type BatchModifyTargetWeightRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// List of weights to be modified in batches
	ModifyList []*RsWeightRule `json:"ModifyList,omitnil" name:"ModifyList"`
}

Predefined struct for user

type BatchModifyTargetWeightResponse

type BatchModifyTargetWeightResponse struct {
	*tchttp.BaseResponse
	Response *BatchModifyTargetWeightResponseParams `json:"Response"`
}

func NewBatchModifyTargetWeightResponse

func NewBatchModifyTargetWeightResponse() (response *BatchModifyTargetWeightResponse)

func (*BatchModifyTargetWeightResponse) FromJsonString

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

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

func (*BatchModifyTargetWeightResponse) ToJsonString

func (r *BatchModifyTargetWeightResponse) ToJsonString() string

type BatchModifyTargetWeightResponseParams

type BatchModifyTargetWeightResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type BatchRegisterTargetsRequest

type BatchRegisterTargetsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Binding target
	Targets []*BatchTarget `json:"Targets,omitnil" name:"Targets"`
}

func NewBatchRegisterTargetsRequest

func NewBatchRegisterTargetsRequest() (request *BatchRegisterTargetsRequest)

func (*BatchRegisterTargetsRequest) FromJsonString

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

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

func (*BatchRegisterTargetsRequest) ToJsonString

func (r *BatchRegisterTargetsRequest) ToJsonString() string

type BatchRegisterTargetsRequestParams

type BatchRegisterTargetsRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Binding target
	Targets []*BatchTarget `json:"Targets,omitnil" name:"Targets"`
}

Predefined struct for user

type BatchRegisterTargetsResponse

type BatchRegisterTargetsResponse struct {
	*tchttp.BaseResponse
	Response *BatchRegisterTargetsResponseParams `json:"Response"`
}

func NewBatchRegisterTargetsResponse

func NewBatchRegisterTargetsResponse() (response *BatchRegisterTargetsResponse)

func (*BatchRegisterTargetsResponse) FromJsonString

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

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

func (*BatchRegisterTargetsResponse) ToJsonString

func (r *BatchRegisterTargetsResponse) ToJsonString() string

type BatchRegisterTargetsResponseParams

type BatchRegisterTargetsResponseParams struct {
	// IDs of the listeners failed to bind. If this is blank, all listeners are bound successfully.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FailListenerIdSet []*string `json:"FailListenerIdSet,omitnil" name:"FailListenerIdSet"`

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

Predefined struct for user

type BatchTarget

type BatchTarget struct {
	// Listener ID.
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// The port to Bind
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// CVM instance ID. The primary IP of the primary ENI will be bound.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// It is required for binding an IP. It supports an ENI IP or any other private IP. To bind an ENI IP, the ENI should be bound to a CVM instance before being bound to a CLB instance.
	// Note: either `InstanceId` or `EniIp` must be passed in, which is required for binding a dual-stack IPv6 CVM instance.
	EniIp *string `json:"EniIp,omitnil" name:"EniIp"`

	// Weight of the CVM instance. Value range: [0, 100]. If it is not specified for binding the instance, 10 will be used by default.
	Weight *int64 `json:"Weight,omitnil" name:"Weight"`

	// Layer-7 rule ID.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`
}

type BindDetailItem

type BindDetailItem struct {
	// Specifies the ID of CLB to be bound
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Specifies the ID of listener to be bound
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// Specifies the domain name to be bound
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Sets the bound rule.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Listener name.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ListenerName *string `json:"ListenerName,omitnil" name:"ListenerName"`

	// Listener protocol.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Listener port.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Vport *int64 `json:"Vport,omitnil" name:"Vport"`

	// URL of the location.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Url *string `json:"Url,omitnil" name:"Url"`

	// Configuration ID.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	UconfigId *string `json:"UconfigId,omitnil" name:"UconfigId"`
}

type BlockedIP

type BlockedIP struct {
	// Blacklisted IP
	IP *string `json:"IP,omitnil" name:"IP"`

	// Blacklisted time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Expiration time
	ExpireTime *string `json:"ExpireTime,omitnil" name:"ExpireTime"`
}

type CertIdRelatedWithLoadBalancers

type CertIdRelatedWithLoadBalancers struct {
	// Certificate ID
	CertId *string `json:"CertId,omitnil" name:"CertId"`

	// List of CLB instances associated with certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	LoadBalancers []*LoadBalancer `json:"LoadBalancers,omitnil" name:"LoadBalancers"`
}

type CertInfo

type CertInfo struct {
	// ID of the certificate. If it's not specified, `CertContent` and `CertKey` are required. For a server certificate, you also need to specify `CertName`.
	CertId *string `json:"CertId,omitnil" name:"CertId"`

	// Name of the uploaded certificate. It's required if `CertId` is not specified.
	CertName *string `json:"CertName,omitnil" name:"CertName"`

	// Public key of the uploaded certificate. This is required if `CertId` is not specified.
	CertContent *string `json:"CertContent,omitnil" name:"CertContent"`

	// Private key of the uploaded server certificate. This is required if `CertId` is not specified.
	CertKey *string `json:"CertKey,omitnil" name:"CertKey"`
}

type CertificateInput

type CertificateInput struct {
	// Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication)
	SSLMode *string `json:"SSLMode,omitnil" name:"SSLMode"`

	// ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName.
	CertId *string `json:"CertId,omitnil" name:"CertId"`

	// ID of a client certificate. When the listener adopts mutual authentication (i.e., SSLMode = mutual), if you leave this parameter empty, you must upload the client certificate, including CertCaContent and CertCaName.
	CertCaId *string `json:"CertCaId,omitnil" name:"CertCaId"`

	// Name of the uploaded server certificate. If there is no CertId, this parameter is required.
	CertName *string `json:"CertName,omitnil" name:"CertName"`

	// Key of the uploaded server certificate. If there is no CertId, this parameter is required.
	CertKey *string `json:"CertKey,omitnil" name:"CertKey"`

	// Content of the uploaded server certificate. If there is no CertId, this parameter is required.
	CertContent *string `json:"CertContent,omitnil" name:"CertContent"`

	// Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
	CertCaName *string `json:"CertCaName,omitnil" name:"CertCaName"`

	// Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.
	CertCaContent *string `json:"CertCaContent,omitnil" name:"CertCaContent"`
}

type CertificateOutput

type CertificateOutput struct {
	// Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication)
	SSLMode *string `json:"SSLMode,omitnil" name:"SSLMode"`

	// Server certificate ID.
	CertId *string `json:"CertId,omitnil" name:"CertId"`

	// Client certificate ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertCaId *string `json:"CertCaId,omitnil" name:"CertCaId"`

	// IDs of extra server certificates
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	ExtCertIds []*string `json:"ExtCertIds,omitnil" name:"ExtCertIds"`
}

type ClassicalHealth

type ClassicalHealth struct {
	// Private IP of a real server
	IP *string `json:"IP,omitnil" name:"IP"`

	// Real server port
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// CLB listener port
	ListenerPort *int64 `json:"ListenerPort,omitnil" name:"ListenerPort"`

	// Forwarding protocol
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Health check result. Value range: 1 (healthy), 0 (unhealthy)
	HealthStatus *int64 `json:"HealthStatus,omitnil" name:"HealthStatus"`
}

type ClassicalListener

type ClassicalListener struct {
	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// CLB listener port
	ListenerPort *int64 `json:"ListenerPort,omitnil" name:"ListenerPort"`

	// Backend forwarding port of a listener
	InstancePort *int64 `json:"InstancePort,omitnil" name:"InstancePort"`

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

	// Listener protocol type
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Session persistence time
	SessionExpire *int64 `json:"SessionExpire,omitnil" name:"SessionExpire"`

	// Whether health check is enabled. 1: enabled; 0: disabled.
	HealthSwitch *int64 `json:"HealthSwitch,omitnil" name:"HealthSwitch"`

	// Response timeout period
	TimeOut *int64 `json:"TimeOut,omitnil" name:"TimeOut"`

	// Check interval
	IntervalTime *int64 `json:"IntervalTime,omitnil" name:"IntervalTime"`

	// Health threshold
	HealthNum *int64 `json:"HealthNum,omitnil" name:"HealthNum"`

	// Unhealthy threshold
	UnhealthNum *int64 `json:"UnhealthNum,omitnil" name:"UnhealthNum"`

	// A request balancing method for HTTP and HTTPS listeners of a public network classic CLB. wrr means weighted round robin, while ip_hash means consistent hashing based on source IPs of access requests.
	HttpHash *string `json:"HttpHash,omitnil" name:"HttpHash"`

	// Health check return code for HTTP and HTTPS listeners of a public network classic CLB. For more information, see the explanation of the field in the listener creating API.
	HttpCode *int64 `json:"HttpCode,omitnil" name:"HttpCode"`

	// Health check path for HTTP and HTTPS listeners of a public network classic CLB
	HttpCheckPath *string `json:"HttpCheckPath,omitnil" name:"HttpCheckPath"`

	// Authentication method for an HTTPS listener of a public network classic CLB
	SSLMode *string `json:"SSLMode,omitnil" name:"SSLMode"`

	// Server certificate ID for an HTTPS listener of a public network classic CLB
	CertId *string `json:"CertId,omitnil" name:"CertId"`

	// Client certificate ID for an HTTPS listener of a public network classic CLB
	CertCaId *string `json:"CertCaId,omitnil" name:"CertCaId"`

	// Listener status. Value range: 0 (creating), 1 (running)
	Status *int64 `json:"Status,omitnil" name:"Status"`
}

type ClassicalLoadBalancerInfo

type ClassicalLoadBalancerInfo struct {
	// Real server ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// List of CLB instance IDs
	// Note: This field may return null, indicating that no valid values can be obtained.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`
}

type ClassicalTarget

type ClassicalTarget struct {
	// Real server type. Value range: CVM, ENI (coming soon)
	Type *string `json:"Type,omitnil" name:"Type"`

	// Unique ID of a real server, which can be obtained from the unInstanceId field in the return of the DescribeInstances API
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Forwarding weight of a real server. Value range: [0, 100]. Default value: 10.
	Weight *int64 `json:"Weight,omitnil" name:"Weight"`

	// Public IP of a real server
	// Note: This field may return null, indicating that no valid values can be obtained.
	PublicIpAddresses []*string `json:"PublicIpAddresses,omitnil" name:"PublicIpAddresses"`

	// Private IP of a real server
	// Note: This field may return null, indicating that no valid values can be obtained.
	PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"`

	// Real server instance names
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Real server status
	// 1: failed; 2: running; 3: creating; 4: shut down; 5: returned; 6: returning; 7: restarting; 8: starting; 9: shutting down; 10: resetting password; 11: formatting; 12: making image; 13: setting bandwidth; 14: reinstalling system; 19: upgrading; 21: hot migrating
	// Note: This field may return null, indicating that no valid values can be obtained.
	RunFlag *int64 `json:"RunFlag,omitnil" name:"RunFlag"`
}

type ClassicalTargetInfo

type ClassicalTargetInfo struct {
	// Real server ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Weight. Value range: [0, 100]
	Weight *int64 `json:"Weight,omitnil" name:"Weight"`
}

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) AssociateTargetGroups

func (c *Client) AssociateTargetGroups(request *AssociateTargetGroupsRequest) (response *AssociateTargetGroupsResponse, err error)

AssociateTargetGroups This API is used to bind target groups to CLB listeners (layer-4 protocol) or forwarding rules (layer-7 protocol).

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) AssociateTargetGroupsWithContext

func (c *Client) AssociateTargetGroupsWithContext(ctx context.Context, request *AssociateTargetGroupsRequest) (response *AssociateTargetGroupsResponse, err error)

AssociateTargetGroups This API is used to bind target groups to CLB listeners (layer-4 protocol) or forwarding rules (layer-7 protocol).

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) AutoRewrite

func (c *Client) AutoRewrite(request *AutoRewriteRequest) (response *AutoRewriteResponse, err error)

AutoRewrite An HTTPS:443 listener needs to be created first, along with a forwarding rule. When this API is called, an HTTP:80 listener will be created automatically if it did not exist and a forwarding rule corresponding to `Domains` (specified in the input parameter) under the HTTPS:443 listener will also be created. After successful creation, access requests to an HTTP:80 address will be redirected to an HTTPS:443 address automatically.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) AutoRewriteWithContext

func (c *Client) AutoRewriteWithContext(ctx context.Context, request *AutoRewriteRequest) (response *AutoRewriteResponse, err error)

AutoRewrite An HTTPS:443 listener needs to be created first, along with a forwarding rule. When this API is called, an HTTP:80 listener will be created automatically if it did not exist and a forwarding rule corresponding to `Domains` (specified in the input parameter) under the HTTPS:443 listener will also be created. After successful creation, access requests to an HTTP:80 address will be redirected to an HTTPS:443 address automatically.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) BatchDeregisterTargets

func (c *Client) BatchDeregisterTargets(request *BatchDeregisterTargetsRequest) (response *BatchDeregisterTargetsResponse, err error)

BatchDeregisterTargets This API is used to batch unbind real servers of the layer-4 and layer-7 VPC-based CLBs. Up to 500 real servers can be unbound in a batch.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) BatchDeregisterTargetsWithContext

func (c *Client) BatchDeregisterTargetsWithContext(ctx context.Context, request *BatchDeregisterTargetsRequest) (response *BatchDeregisterTargetsResponse, err error)

BatchDeregisterTargets This API is used to batch unbind real servers of the layer-4 and layer-7 VPC-based CLBs. Up to 500 real servers can be unbound in a batch.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) BatchModifyTargetWeight

func (c *Client) BatchModifyTargetWeight(request *BatchModifyTargetWeightRequest) (response *BatchModifyTargetWeightResponse, err error)

BatchModifyTargetWeight This API is used to modify forwarding weights of real servers bound to CLB listeners in batches. Up to 500 servers can be unbound in a batch. As this API is async, you should check whether the task is successful by passing the RequestId returned to the API call `DescribeTaskStatus`.<br/> This API is supported by CLB layer-4 and layer-7 listeners, but not Classis CLB counterparts.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) BatchModifyTargetWeightWithContext

func (c *Client) BatchModifyTargetWeightWithContext(ctx context.Context, request *BatchModifyTargetWeightRequest) (response *BatchModifyTargetWeightResponse, err error)

BatchModifyTargetWeight This API is used to modify forwarding weights of real servers bound to CLB listeners in batches. Up to 500 servers can be unbound in a batch. As this API is async, you should check whether the task is successful by passing the RequestId returned to the API call `DescribeTaskStatus`.<br/> This API is supported by CLB layer-4 and layer-7 listeners, but not Classis CLB counterparts.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) BatchRegisterTargets

func (c *Client) BatchRegisterTargets(request *BatchRegisterTargetsRequest) (response *BatchRegisterTargetsResponse, err error)

BatchRegisterTargets This API is used to batch bind CVM instances or ENIs. Up to 500 servers can be bound in a batch. It supports cross-region binding, layer-4 and layer-7 (TCP/UDP/HTTP/HTTPS) protocols, and VPC-based CLBs only.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) BatchRegisterTargetsWithContext

func (c *Client) BatchRegisterTargetsWithContext(ctx context.Context, request *BatchRegisterTargetsRequest) (response *BatchRegisterTargetsResponse, err error)

BatchRegisterTargets This API is used to batch bind CVM instances or ENIs. Up to 500 servers can be bound in a batch. It supports cross-region binding, layer-4 and layer-7 (TCP/UDP/HTTP/HTTPS) protocols, and VPC-based CLBs only.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CloneLoadBalancer

func (c *Client) CloneLoadBalancer(request *CloneLoadBalancerRequest) (response *CloneLoadBalancerResponse, err error)

CloneLoadBalancer This API is used to create a clone of the source CLB instance with the same forwarding rules and binding relations. Note that this API is asynchronous, which means that changes to the source CLB after invocation of the API are not included in the clone.

Limits:

Instance attribute restrictions

Only pay-as-you-go instances can be cloned. Monthly-subscribed instances cannot be cloned.

CLB instances without any billable items cannot be cloned.

Classic CLB instances and CLB u200dinstances created for Anti-DDoS service cannot be cloned.

Classic network-based instances cannot be cloned.

IPv6 instances, IPv6 NAT64 instances, and instances bound with both IPv4 and IPv6 cannot be cloned.

The following settings will not be cloned: **Custom configuration**, **Redirection configurations**, and **Allow Traffic by Default** in security groups.

Before cloning an instance, make sure all certificates used on the instance are valid. Cloning will fail if there are any expired certificates.

Listener restrictions

Instances with QUIC listeners or port range listeners cannot be cloned.

Private network CLB instances with TCP_SSL listeners cannot be cloned.

Instances with layer-7 listeners that have no forwarding rules cannot be cloned.

u200dInstances u200dwith more than 50 listeners cannot be cloned.

Backend service restrictions

Instances with target groups and SCF cloud functions as the backend services cannot be cloned.

Notes:

If you are using a BGP bandwidth package, you need to pass the package ID.

To create a dedicated cluster-based CLB by cloning the source CLB, you need to pass the cluster ID. Otherwise, a normal CLB is created.

This API is only available for beta users. To try it out, [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&step=1).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCESSOLDOUT = "ResourcesSoldOut"

func (*Client) CloneLoadBalancerWithContext

func (c *Client) CloneLoadBalancerWithContext(ctx context.Context, request *CloneLoadBalancerRequest) (response *CloneLoadBalancerResponse, err error)

CloneLoadBalancer This API is used to create a clone of the source CLB instance with the same forwarding rules and binding relations. Note that this API is asynchronous, which means that changes to the source CLB after invocation of the API are not included in the clone.

Limits:

Instance attribute restrictions

Only pay-as-you-go instances can be cloned. Monthly-subscribed instances cannot be cloned.

CLB instances without any billable items cannot be cloned.

Classic CLB instances and CLB u200dinstances created for Anti-DDoS service cannot be cloned.

Classic network-based instances cannot be cloned.

IPv6 instances, IPv6 NAT64 instances, and instances bound with both IPv4 and IPv6 cannot be cloned.

The following settings will not be cloned: **Custom configuration**, **Redirection configurations**, and **Allow Traffic by Default** in security groups.

Before cloning an instance, make sure all certificates used on the instance are valid. Cloning will fail if there are any expired certificates.

Listener restrictions

Instances with QUIC listeners or port range listeners cannot be cloned.

Private network CLB instances with TCP_SSL listeners cannot be cloned.

Instances with layer-7 listeners that have no forwarding rules cannot be cloned.

u200dInstances u200dwith more than 50 listeners cannot be cloned.

Backend service restrictions

Instances with target groups and SCF cloud functions as the backend services cannot be cloned.

Notes:

If you are using a BGP bandwidth package, you need to pass the package ID.

To create a dedicated cluster-based CLB by cloning the source CLB, you need to pass the cluster ID. Otherwise, a normal CLB is created.

This API is only available for beta users. To try it out, [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&step=1).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCESSOLDOUT = "ResourcesSoldOut"

func (*Client) CreateClsLogSet

func (c *Client) CreateClsLogSet(request *CreateClsLogSetRequest) (response *CreateClsLogSetResponse, err error)

CreateClsLogSet This API is used to create a CLB exclusive logset for storing CLB logs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateClsLogSetWithContext

func (c *Client) CreateClsLogSetWithContext(ctx context.Context, request *CreateClsLogSetRequest) (response *CreateClsLogSetResponse, err error)

CreateClsLogSet This API is used to create a CLB exclusive logset for storing CLB logs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateListener

func (c *Client) CreateListener(request *CreateListenerRequest) (response *CreateListenerResponse, err error)

CreateListener This API is used to create a listener for a CLB instance.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestId as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateListenerWithContext

func (c *Client) CreateListenerWithContext(ctx context.Context, request *CreateListenerRequest) (response *CreateListenerResponse, err error)

CreateListener This API is used to create a listener for a CLB instance.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestId as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateLoadBalancer

func (c *Client) CreateLoadBalancer(request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)

CreateLoadBalancer This API (CreateLoadBalancer) is used to create a CLB instance. To use the CLB service, you first need to purchase one or more instances. After this API is called successfully, a unique instance ID will be returned. There are two types of instances: public network and private network. For more information, see the product types in the product documentation.

Note: (1) To apply for a CLB instance in the specified AZ and cross-AZ disaster recovery, please [submit a ticket](https://console.cloud.tencent.com/workorder/category); (2) Currently, IPv6 is supported only in Beijing, Shanghai, and Guangzhou regions.

This is an async API. After it is returned successfully, you can call the DescribeLoadBalancers API to query the status of the instance (such as creating and normal) to check whether it is successfully created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateLoadBalancerSnatIps

func (c *Client) CreateLoadBalancerSnatIps(request *CreateLoadBalancerSnatIpsRequest) (response *CreateLoadBalancerSnatIpsResponse, err error)

CreateLoadBalancerSnatIps This API is used to add an SNAT IP for an SnatPro CLB instance. If SnatPro is not enabled for CLB, it will be automatically enabled after the SNAT IP is added.

This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) CreateLoadBalancerSnatIpsWithContext

func (c *Client) CreateLoadBalancerSnatIpsWithContext(ctx context.Context, request *CreateLoadBalancerSnatIpsRequest) (response *CreateLoadBalancerSnatIpsResponse, err error)

CreateLoadBalancerSnatIps This API is used to add an SNAT IP for an SnatPro CLB instance. If SnatPro is not enabled for CLB, it will be automatically enabled after the SNAT IP is added.

This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) CreateLoadBalancerWithContext

func (c *Client) CreateLoadBalancerWithContext(ctx context.Context, request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)

CreateLoadBalancer This API (CreateLoadBalancer) is used to create a CLB instance. To use the CLB service, you first need to purchase one or more instances. After this API is called successfully, a unique instance ID will be returned. There are two types of instances: public network and private network. For more information, see the product types in the product documentation.

Note: (1) To apply for a CLB instance in the specified AZ and cross-AZ disaster recovery, please [submit a ticket](https://console.cloud.tencent.com/workorder/category); (2) Currently, IPv6 is supported only in Beijing, Shanghai, and Guangzhou regions.

This is an async API. After it is returned successfully, you can call the DescribeLoadBalancers API to query the status of the instance (such as creating and normal) to check whether it is successfully created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateRule

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

CreateRule This API (CreateRule) is used to create a forwarding rule under an existing layer-7 CLB listener, where real servers must be bound to the rule instead of the listener.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
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 a forwarding rule under an existing layer-7 CLB listener, where real servers must be bound to the rule instead of the listener.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateTargetGroup

func (c *Client) CreateTargetGroup(request *CreateTargetGroupRequest) (response *CreateTargetGroupResponse, err error)

CreateTargetGroup This API is used to create a target group. This feature is in beta test, if you want to try it out, please [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20LB&step=1).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateTargetGroupWithContext

func (c *Client) CreateTargetGroupWithContext(ctx context.Context, request *CreateTargetGroupRequest) (response *CreateTargetGroupResponse, err error)

CreateTargetGroup This API is used to create a target group. This feature is in beta test, if you want to try it out, please [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20LB&step=1).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateTopic

func (c *Client) CreateTopic(request *CreateTopicRequest) (response *CreateTopicResponse, err error)

CreateTopic This API is used to create a topic with the full-text index and key-value index enabled by default. The creation will fail if there is no CLB exclusive logset.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateTopicWithContext

func (c *Client) CreateTopicWithContext(ctx context.Context, request *CreateTopicRequest) (response *CreateTopicResponse, err error)

CreateTopic This API is used to create a topic with the full-text index and key-value index enabled by default. The creation will fail if there is no CLB exclusive logset.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteListener

func (c *Client) DeleteListener(request *DeleteListenerRequest) (response *DeleteListenerResponse, err error)

DeleteListener This API is used to delete a listener from a CLB instance (layer-4 or layer-7).

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteListenerWithContext

func (c *Client) DeleteListenerWithContext(ctx context.Context, request *DeleteListenerRequest) (response *DeleteListenerResponse, err error)

DeleteListener This API is used to delete a listener from a CLB instance (layer-4 or layer-7).

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteLoadBalancer

func (c *Client) DeleteLoadBalancer(request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)

DeleteLoadBalancer This API (DeleteLoadBalancer) is used to delete one or more specified CLB instances.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestId as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteLoadBalancerListeners

func (c *Client) DeleteLoadBalancerListeners(request *DeleteLoadBalancerListenersRequest) (response *DeleteLoadBalancerListenersResponse, err error)

DeleteLoadBalancerListeners This API is used to delete multiple listeners of a CLB instance.

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteLoadBalancerListenersWithContext

func (c *Client) DeleteLoadBalancerListenersWithContext(ctx context.Context, request *DeleteLoadBalancerListenersRequest) (response *DeleteLoadBalancerListenersResponse, err error)

DeleteLoadBalancerListeners This API is used to delete multiple listeners of a CLB instance.

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteLoadBalancerSnatIps

func (c *Client) DeleteLoadBalancerSnatIps(request *DeleteLoadBalancerSnatIpsRequest) (response *DeleteLoadBalancerSnatIpsResponse, err error)

DeleteLoadBalancerSnatIps This API is used to delete the SNAT IP for an SnatPro CLB instance.

This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) DeleteLoadBalancerSnatIpsWithContext

func (c *Client) DeleteLoadBalancerSnatIpsWithContext(ctx context.Context, request *DeleteLoadBalancerSnatIpsRequest) (response *DeleteLoadBalancerSnatIpsResponse, err error)

DeleteLoadBalancerSnatIps This API is used to delete the SNAT IP for an SnatPro CLB instance.

This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) DeleteLoadBalancerWithContext

func (c *Client) DeleteLoadBalancerWithContext(ctx context.Context, request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)

DeleteLoadBalancer This API (DeleteLoadBalancer) is used to delete one or more specified CLB instances.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestId as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteRewrite

func (c *Client) DeleteRewrite(request *DeleteRewriteRequest) (response *DeleteRewriteResponse, err error)

DeleteRewrite This API (DeleteRewrite) is used to delete the redirection relationship between the specified forwarding rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteRewriteWithContext

func (c *Client) DeleteRewriteWithContext(ctx context.Context, request *DeleteRewriteRequest) (response *DeleteRewriteResponse, err error)

DeleteRewrite This API (DeleteRewrite) is used to delete the redirection relationship between the specified forwarding rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteRule

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

DeleteRule This API (DeleteRule) is used to delete a forwarding rule under a layer-7 CLB instance listener

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
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 a forwarding rule under a layer-7 CLB instance listener

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteTargetGroups

func (c *Client) DeleteTargetGroups(request *DeleteTargetGroupsRequest) (response *DeleteTargetGroupsResponse, err error)

DeleteTargetGroups This API is used to delete a target group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteTargetGroupsWithContext

func (c *Client) DeleteTargetGroupsWithContext(ctx context.Context, request *DeleteTargetGroupsRequest) (response *DeleteTargetGroupsResponse, err error)

DeleteTargetGroups This API is used to delete a target group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeregisterFunctionTargets

func (c *Client) DeregisterFunctionTargets(request *DeregisterFunctionTargetsRequest) (response *DeregisterFunctionTargetsResponse, err error)

DeregisterFunctionTargets This API is used to unbind a SCF function with a CLB forwarding rule. For L7 listeners, you need to specify the forwarding rule by using `LocationId` or `Domain+Url`.

This is an async API. After it is returned successfully, you can call the [DescribeTaskStatus](https://intl.cloud.tencent.com/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID to check whether this task is successful.

<br/>Limits:

- Binding with SCF is only available in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Mumbai, Tokyo, and Silicon Valley.

- SCF functions can only be bound with CLB instances of bill-by-IP accounts but not with bill-by-CVM accounts. If you are using a bill-by-CVM account, we recommend upgrading it to a bill-by-IP account. For more information, please see [Checking Account Type](https://intl.cloud.tencent.com/document/product/1199/49090?from_cn_redirect=1).

- SCF functions cannot be bound with classic CLB instances.

- SCF functions cannot be bound with classic network-based CLB instances.

- SCF functions in the same region can be bound with CLB instances. SCF functions can only be bound across VPCs but not regions.

- SCF functions can only be bound with IPv4 and IPv6 NAT64 CLB instances, but currently not with IPv6 CLB instances.

- SCF functions can only be bound with layer-7 HTTP and HTTPS listeners, but not with layer-7 QUIC listeners or layer-4 (TCP, UDP, and TCP SSL) listeners.

- Only SCF event-triggered functions can be bound with CLB instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeregisterFunctionTargetsWithContext

func (c *Client) DeregisterFunctionTargetsWithContext(ctx context.Context, request *DeregisterFunctionTargetsRequest) (response *DeregisterFunctionTargetsResponse, err error)

DeregisterFunctionTargets This API is used to unbind a SCF function with a CLB forwarding rule. For L7 listeners, you need to specify the forwarding rule by using `LocationId` or `Domain+Url`.

This is an async API. After it is returned successfully, you can call the [DescribeTaskStatus](https://intl.cloud.tencent.com/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID to check whether this task is successful.

<br/>Limits:

- Binding with SCF is only available in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Mumbai, Tokyo, and Silicon Valley.

- SCF functions can only be bound with CLB instances of bill-by-IP accounts but not with bill-by-CVM accounts. If you are using a bill-by-CVM account, we recommend upgrading it to a bill-by-IP account. For more information, please see [Checking Account Type](https://intl.cloud.tencent.com/document/product/1199/49090?from_cn_redirect=1).

- SCF functions cannot be bound with classic CLB instances.

- SCF functions cannot be bound with classic network-based CLB instances.

- SCF functions in the same region can be bound with CLB instances. SCF functions can only be bound across VPCs but not regions.

- SCF functions can only be bound with IPv4 and IPv6 NAT64 CLB instances, but currently not with IPv6 CLB instances.

- SCF functions can only be bound with layer-7 HTTP and HTTPS listeners, but not with layer-7 QUIC listeners or layer-4 (TCP, UDP, and TCP SSL) listeners.

- Only SCF event-triggered functions can be bound with CLB instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeregisterTargetGroupInstances

func (c *Client) DeregisterTargetGroupInstances(request *DeregisterTargetGroupInstancesRequest) (response *DeregisterTargetGroupInstancesResponse, err error)

DeregisterTargetGroupInstances This API is used to unbind a server from a target group.

This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeregisterTargetGroupInstancesWithContext

func (c *Client) DeregisterTargetGroupInstancesWithContext(ctx context.Context, request *DeregisterTargetGroupInstancesRequest) (response *DeregisterTargetGroupInstancesResponse, err error)

DeregisterTargetGroupInstances This API is used to unbind a server from a target group.

This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeregisterTargets

func (c *Client) DeregisterTargets(request *DeregisterTargetsRequest) (response *DeregisterTargetsResponse, err error)

DeregisterTargets This API (DeregisterTargets) is used to unbind one or more real servers from a CLB listener or forwarding rule. For layer-4 listeners, only the listener ID needs to be specified. For layer-7 listeners, the forwarding rule also needs to be specified through LocationId or Domain+Url.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeregisterTargetsFromClassicalLB

func (c *Client) DeregisterTargetsFromClassicalLB(request *DeregisterTargetsFromClassicalLBRequest) (response *DeregisterTargetsFromClassicalLBResponse, err error)

DeregisterTargetsFromClassicalLB This API is used to unbind a CLB real server. This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeregisterTargetsFromClassicalLBWithContext

func (c *Client) DeregisterTargetsFromClassicalLBWithContext(ctx context.Context, request *DeregisterTargetsFromClassicalLBRequest) (response *DeregisterTargetsFromClassicalLBResponse, err error)

DeregisterTargetsFromClassicalLB This API is used to unbind a CLB real server. This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeregisterTargetsWithContext

func (c *Client) DeregisterTargetsWithContext(ctx context.Context, request *DeregisterTargetsRequest) (response *DeregisterTargetsResponse, err error)

DeregisterTargets This API (DeregisterTargets) is used to unbind one or more real servers from a CLB listener or forwarding rule. For layer-4 listeners, only the listener ID needs to be specified. For layer-7 listeners, the forwarding rule also needs to be specified through LocationId or Domain+Url.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeBlockIPList

func (c *Client) DescribeBlockIPList(request *DescribeBlockIPListRequest) (response *DescribeBlockIPListResponse, err error)

DescribeBlockIPList This API is used to query the list of blocked IPs (blocklist) of a CLB instance. (This API is in beta test. To use it, please submit a ticket.)

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeBlockIPListWithContext

func (c *Client) DescribeBlockIPListWithContext(ctx context.Context, request *DescribeBlockIPListRequest) (response *DescribeBlockIPListResponse, err error)

DescribeBlockIPList This API is used to query the list of blocked IPs (blocklist) of a CLB instance. (This API is in beta test. To use it, please submit a ticket.)

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeBlockIPTask

func (c *Client) DescribeBlockIPTask(request *DescribeBlockIPTaskRequest) (response *DescribeBlockIPTaskResponse, err error)

DescribeBlockIPTask This API is used to query the execution status of an async IP blocking (blocklisting) task by the async task ID returned by the `ModifyBlockIPList` API. (This API is in beta test. To use it, please submit a ticket.)

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeBlockIPTaskWithContext

func (c *Client) DescribeBlockIPTaskWithContext(ctx context.Context, request *DescribeBlockIPTaskRequest) (response *DescribeBlockIPTaskResponse, err error)

DescribeBlockIPTask This API is used to query the execution status of an async IP blocking (blocklisting) task by the async task ID returned by the `ModifyBlockIPList` API. (This API is in beta test. To use it, please submit a ticket.)

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeClassicalLBByInstanceId

func (c *Client) DescribeClassicalLBByInstanceId(request *DescribeClassicalLBByInstanceIdRequest) (response *DescribeClassicalLBByInstanceIdResponse, err error)

DescribeClassicalLBByInstanceId This API is used to get the list of classic CLB instance IDs through a real server ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeClassicalLBByInstanceIdWithContext

func (c *Client) DescribeClassicalLBByInstanceIdWithContext(ctx context.Context, request *DescribeClassicalLBByInstanceIdRequest) (response *DescribeClassicalLBByInstanceIdResponse, err error)

DescribeClassicalLBByInstanceId This API is used to get the list of classic CLB instance IDs through a real server ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeClassicalLBHealthStatus

func (c *Client) DescribeClassicalLBHealthStatus(request *DescribeClassicalLBHealthStatusRequest) (response *DescribeClassicalLBHealthStatusResponse, err error)

DescribeClassicalLBHealthStatus This API (DescribeClassicalLBHealthStatus) is used to get the real server health status of a classic CLB

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeClassicalLBHealthStatusWithContext

func (c *Client) DescribeClassicalLBHealthStatusWithContext(ctx context.Context, request *DescribeClassicalLBHealthStatusRequest) (response *DescribeClassicalLBHealthStatusResponse, err error)

DescribeClassicalLBHealthStatus This API (DescribeClassicalLBHealthStatus) is used to get the real server health status of a classic CLB

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeClassicalLBListeners

func (c *Client) DescribeClassicalLBListeners(request *DescribeClassicalLBListenersRequest) (response *DescribeClassicalLBListenersResponse, err error)

DescribeClassicalLBListeners This API (DescribeClassicalLBListeners) is used to get the listener information of a classic CLB.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClassicalLBListenersWithContext

func (c *Client) DescribeClassicalLBListenersWithContext(ctx context.Context, request *DescribeClassicalLBListenersRequest) (response *DescribeClassicalLBListenersResponse, err error)

DescribeClassicalLBListeners This API (DescribeClassicalLBListeners) is used to get the listener information of a classic CLB.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClassicalLBTargets

func (c *Client) DescribeClassicalLBTargets(request *DescribeClassicalLBTargetsRequest) (response *DescribeClassicalLBTargetsResponse, err error)

DescribeClassicalLBTargets This API is used to get the real servers bound to a classic CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeClassicalLBTargetsWithContext

func (c *Client) DescribeClassicalLBTargetsWithContext(ctx context.Context, request *DescribeClassicalLBTargetsRequest) (response *DescribeClassicalLBTargetsResponse, err error)

DescribeClassicalLBTargets This API is used to get the real servers bound to a classic CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeClsLogSet

func (c *Client) DescribeClsLogSet(request *DescribeClsLogSetRequest) (response *DescribeClsLogSetResponse, err error)

DescribeClsLogSet This API is used to get the CLB exclusive logset.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeClsLogSetWithContext

func (c *Client) DescribeClsLogSetWithContext(ctx context.Context, request *DescribeClsLogSetRequest) (response *DescribeClsLogSetResponse, err error)

DescribeClsLogSet This API is used to get the CLB exclusive logset.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeCrossTargets

func (c *Client) DescribeCrossTargets(request *DescribeCrossTargetsRequest) (response *DescribeCrossTargetsResponse, err error)

DescribeCrossTargets Queries information of CVMs and ENIs that use cross-region binding 2.0

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeCrossTargetsWithContext

func (c *Client) DescribeCrossTargetsWithContext(ctx context.Context, request *DescribeCrossTargetsRequest) (response *DescribeCrossTargetsResponse, err error)

DescribeCrossTargets Queries information of CVMs and ENIs that use cross-region binding 2.0

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeCustomizedConfigAssociateList

func (c *Client) DescribeCustomizedConfigAssociateList(request *DescribeCustomizedConfigAssociateListRequest) (response *DescribeCustomizedConfigAssociateListResponse, err error)

DescribeCustomizedConfigAssociateList This API is used to query the configured location, bound server or bound CLB instance. If there are domain names, the result will be filtered by domain name.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeCustomizedConfigAssociateListWithContext

func (c *Client) DescribeCustomizedConfigAssociateListWithContext(ctx context.Context, request *DescribeCustomizedConfigAssociateListRequest) (response *DescribeCustomizedConfigAssociateListResponse, err error)

DescribeCustomizedConfigAssociateList This API is used to query the configured location, bound server or bound CLB instance. If there are domain names, the result will be filtered by domain name.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeCustomizedConfigList

func (c *Client) DescribeCustomizedConfigList(request *DescribeCustomizedConfigListRequest) (response *DescribeCustomizedConfigListResponse, err error)

DescribeCustomizedConfigList This API is used to pull custom configuration lists to return the user configuration of `AppId`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist"
INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeCustomizedConfigListWithContext

func (c *Client) DescribeCustomizedConfigListWithContext(ctx context.Context, request *DescribeCustomizedConfigListRequest) (response *DescribeCustomizedConfigListResponse, err error)

DescribeCustomizedConfigList This API is used to pull custom configuration lists to return the user configuration of `AppId`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist"
INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeIdleLoadBalancers

func (c *Client) DescribeIdleLoadBalancers(request *DescribeIdleLoadBalancersRequest) (response *DescribeIdleLoadBalancersResponse, err error)

DescribeIdleLoadBalancers Idle CLB instances are pay-as-you-go load balancers that, within seven days after the creation, do not have rules configured or the configured rules are not associated with any servers.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"

func (*Client) DescribeIdleLoadBalancersWithContext

func (c *Client) DescribeIdleLoadBalancersWithContext(ctx context.Context, request *DescribeIdleLoadBalancersRequest) (response *DescribeIdleLoadBalancersResponse, err error)

DescribeIdleLoadBalancers Idle CLB instances are pay-as-you-go load balancers that, within seven days after the creation, do not have rules configured or the configured rules are not associated with any servers.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"

func (*Client) DescribeLBListeners

func (c *Client) DescribeLBListeners(request *DescribeLBListenersRequest) (response *DescribeLBListenersResponse, err error)

DescribeLBListeners This API is used to query CLB instances bound to the CVM or ENI.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeLBListenersWithContext

func (c *Client) DescribeLBListenersWithContext(ctx context.Context, request *DescribeLBListenersRequest) (response *DescribeLBListenersResponse, err error)

DescribeLBListeners This API is used to query CLB instances bound to the CVM or ENI.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeListeners

func (c *Client) DescribeListeners(request *DescribeListenersRequest) (response *DescribeListenersResponse, err error)

DescribeListeners This API is used to get the list of listeners by CLB ID, listener protocol, or listener port. If no filter is specified, all listeners for the CLB instance will be returned.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeListenersWithContext

func (c *Client) DescribeListenersWithContext(ctx context.Context, request *DescribeListenersRequest) (response *DescribeListenersResponse, err error)

DescribeListeners This API is used to get the list of listeners by CLB ID, listener protocol, or listener port. If no filter is specified, all listeners for the CLB instance will be returned.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeLoadBalancerListByCertId

func (c *Client) DescribeLoadBalancerListByCertId(request *DescribeLoadBalancerListByCertIdRequest) (response *DescribeLoadBalancerListByCertIdResponse, err error)

DescribeLoadBalancerListByCertId This API is used to query the list of CLB instances associated with a certificate in a region by certificate ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeLoadBalancerListByCertIdWithContext

func (c *Client) DescribeLoadBalancerListByCertIdWithContext(ctx context.Context, request *DescribeLoadBalancerListByCertIdRequest) (response *DescribeLoadBalancerListByCertIdResponse, err error)

DescribeLoadBalancerListByCertId This API is used to query the list of CLB instances associated with a certificate in a region by certificate ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeLoadBalancerOverview

func (c *Client) DescribeLoadBalancerOverview(request *DescribeLoadBalancerOverviewRequest) (response *DescribeLoadBalancerOverviewResponse, err error)

DescribeLoadBalancerOverview Queries the total number of CLB instances and the number of CLB instances in different status (running, isolated and about to expire).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"

func (*Client) DescribeLoadBalancerOverviewWithContext

func (c *Client) DescribeLoadBalancerOverviewWithContext(ctx context.Context, request *DescribeLoadBalancerOverviewRequest) (response *DescribeLoadBalancerOverviewResponse, err error)

DescribeLoadBalancerOverview Queries the total number of CLB instances and the number of CLB instances in different status (running, isolated and about to expire).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"

func (*Client) DescribeLoadBalancerTraffic

func (c *Client) DescribeLoadBalancerTraffic(request *DescribeLoadBalancerTrafficRequest) (response *DescribeLoadBalancerTrafficResponse, err error)

DescribeLoadBalancerTraffic This API is used to query CLB instances with high traffic under the current account, and return the top 10 results. For queries using a sub-account, only the CLB instances authorized to the sub-account will be returned.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"

func (*Client) DescribeLoadBalancerTrafficWithContext

func (c *Client) DescribeLoadBalancerTrafficWithContext(ctx context.Context, request *DescribeLoadBalancerTrafficRequest) (response *DescribeLoadBalancerTrafficResponse, err error)

DescribeLoadBalancerTraffic This API is used to query CLB instances with high traffic under the current account, and return the top 10 results. For queries using a sub-account, only the CLB instances authorized to the sub-account will be returned.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"

func (*Client) DescribeLoadBalancers

func (c *Client) DescribeLoadBalancers(request *DescribeLoadBalancersRequest) (response *DescribeLoadBalancersResponse, err error)

DescribeLoadBalancers This API is used to query the list of CLB instances in a region.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeLoadBalancersDetail

func (c *Client) DescribeLoadBalancersDetail(request *DescribeLoadBalancersDetailRequest) (response *DescribeLoadBalancersDetailResponse, err error)

DescribeLoadBalancersDetail This API is used to query CLB instance details, including listener, rules, and target real servers.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeLoadBalancersDetailWithContext

func (c *Client) DescribeLoadBalancersDetailWithContext(ctx context.Context, request *DescribeLoadBalancersDetailRequest) (response *DescribeLoadBalancersDetailResponse, err error)

DescribeLoadBalancersDetail This API is used to query CLB instance details, including listener, rules, and target real servers.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeLoadBalancersWithContext

func (c *Client) DescribeLoadBalancersWithContext(ctx context.Context, request *DescribeLoadBalancersRequest) (response *DescribeLoadBalancersResponse, err error)

DescribeLoadBalancers This API is used to query the list of CLB instances in a region.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeQuota

func (c *Client) DescribeQuota(request *DescribeQuotaRequest) (response *DescribeQuotaResponse, err error)

DescribeQuota This API is used to query various quotas in the current region.

error code that may be returned:

INTERNALERROR = "InternalError"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeQuotaWithContext

func (c *Client) DescribeQuotaWithContext(ctx context.Context, request *DescribeQuotaRequest) (response *DescribeQuotaResponse, err error)

DescribeQuota This API is used to query various quotas in the current region.

error code that may be returned:

INTERNALERROR = "InternalError"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeResources

func (c *Client) DescribeResources(request *DescribeResourcesRequest) (response *DescribeResourcesResponse, err error)

DescribeResources This API is used to query the list of AZs and resources supported for the user in the current region.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"

func (*Client) DescribeResourcesWithContext

func (c *Client) DescribeResourcesWithContext(ctx context.Context, request *DescribeResourcesRequest) (response *DescribeResourcesResponse, err error)

DescribeResources This API is used to query the list of AZs and resources supported for the user in the current region.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"

func (*Client) DescribeRewrite

func (c *Client) DescribeRewrite(request *DescribeRewriteRequest) (response *DescribeRewriteResponse, err error)

DescribeRewrite This API (DescribeRewrite) is used to query the redirection relationship between the forwarding rules of a CLB instance by instance ID. If no listener ID or forwarding rule ID is specified, all redirection relationships in the instance will be returned.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeRewriteWithContext

func (c *Client) DescribeRewriteWithContext(ctx context.Context, request *DescribeRewriteRequest) (response *DescribeRewriteResponse, err error)

DescribeRewrite This API (DescribeRewrite) is used to query the redirection relationship between the forwarding rules of a CLB instance by instance ID. If no listener ID or forwarding rule ID is specified, all redirection relationships in the instance will be returned.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTargetGroupInstances

func (c *Client) DescribeTargetGroupInstances(request *DescribeTargetGroupInstancesRequest) (response *DescribeTargetGroupInstancesResponse, err error)

DescribeTargetGroupInstances This API is used to get the information of servers bound to a target group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTargetGroupInstancesWithContext

func (c *Client) DescribeTargetGroupInstancesWithContext(ctx context.Context, request *DescribeTargetGroupInstancesRequest) (response *DescribeTargetGroupInstancesResponse, err error)

DescribeTargetGroupInstances This API is used to get the information of servers bound to a target group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTargetGroupList

func (c *Client) DescribeTargetGroupList(request *DescribeTargetGroupListRequest) (response *DescribeTargetGroupListResponse, err error)

DescribeTargetGroupList This API is used to get the target group list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTargetGroupListWithContext

func (c *Client) DescribeTargetGroupListWithContext(ctx context.Context, request *DescribeTargetGroupListRequest) (response *DescribeTargetGroupListResponse, err error)

DescribeTargetGroupList This API is used to get the target group list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTargetGroups

func (c *Client) DescribeTargetGroups(request *DescribeTargetGroupsRequest) (response *DescribeTargetGroupsResponse, err error)

DescribeTargetGroups This API is used to query the target group information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTargetGroupsWithContext

func (c *Client) DescribeTargetGroupsWithContext(ctx context.Context, request *DescribeTargetGroupsRequest) (response *DescribeTargetGroupsResponse, err error)

DescribeTargetGroups This API is used to query the target group information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTargetHealth

func (c *Client) DescribeTargetHealth(request *DescribeTargetHealthRequest) (response *DescribeTargetHealthResponse, err error)

DescribeTargetHealth This API (DescribeTargetHealth) is used to query the health check result of a real server of a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTargetHealthWithContext

func (c *Client) DescribeTargetHealthWithContext(ctx context.Context, request *DescribeTargetHealthRequest) (response *DescribeTargetHealthResponse, err error)

DescribeTargetHealth This API (DescribeTargetHealth) is used to query the health check result of a real server of a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTargets

func (c *Client) DescribeTargets(request *DescribeTargetsRequest) (response *DescribeTargetsResponse, err error)

DescribeTargets This API (DescribeTargets) is used to query the list of real servers bound to some listeners of a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTargetsWithContext

func (c *Client) DescribeTargetsWithContext(ctx context.Context, request *DescribeTargetsRequest) (response *DescribeTargetsResponse, err error)

DescribeTargets This API (DescribeTargets) is used to query the list of real servers bound to some listeners of a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTaskStatus

func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)

DescribeTaskStatus This API is used to query the execution status of an async task. After non-query APIs (used to create/delete CLB instances, listeners, or rules or to bind/unbind real servers) are called successfully, this API needs to be used to query whether the task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"

func (*Client) DescribeTaskStatusWithContext

func (c *Client) DescribeTaskStatusWithContext(ctx context.Context, request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)

DescribeTaskStatus This API is used to query the execution status of an async task. After non-query APIs (used to create/delete CLB instances, listeners, or rules or to bind/unbind real servers) are called successfully, this API needs to be used to query whether the task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"

func (*Client) DisassociateTargetGroups

func (c *Client) DisassociateTargetGroups(request *DisassociateTargetGroupsRequest) (response *DisassociateTargetGroupsResponse, err error)

DisassociateTargetGroups This API is used to unbind target groups from a rule.

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DisassociateTargetGroupsWithContext

func (c *Client) DisassociateTargetGroupsWithContext(ctx context.Context, request *DisassociateTargetGroupsRequest) (response *DisassociateTargetGroupsResponse, err error)

DisassociateTargetGroups This API is used to unbind target groups from a rule.

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ManualRewrite

func (c *Client) ManualRewrite(request *ManualRewriteRequest) (response *ManualRewriteResponse, err error)

ManualRewrite After the original access address and the address to be redirected are configured manually, the system will automatically redirect requests made to the original access address to the target address of the corresponding path. Multiple paths can be configured as a redirection policy under one domain name to achieve automatic redirection between HTTP and HTTPS. A redirection policy should meet the following rules: if A has already been redirected to B, then it cannot be redirected to C (unless the original redirection relationship is deleted and a new one is created), and B cannot be redirected to any other addresses.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist"
INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ManualRewriteWithContext

func (c *Client) ManualRewriteWithContext(ctx context.Context, request *ManualRewriteRequest) (response *ManualRewriteResponse, err error)

ManualRewrite After the original access address and the address to be redirected are configured manually, the system will automatically redirect requests made to the original access address to the target address of the corresponding path. Multiple paths can be configured as a redirection policy under one domain name to achieve automatic redirection between HTTP and HTTPS. A redirection policy should meet the following rules: if A has already been redirected to B, then it cannot be redirected to C (unless the original redirection relationship is deleted and a new one is created), and B cannot be redirected to any other addresses.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist"
INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) MigrateClassicalLoadBalancers

func (c *Client) MigrateClassicalLoadBalancers(request *MigrateClassicalLoadBalancersRequest) (response *MigrateClassicalLoadBalancersResponse, err error)

MigrateClassicalLoadBalancers This API is used to upgrade classic CLB instances to application CLB instances.

This is an async API. After it is returned successfully, you can check the action result by calling `DescribeLoadBalancers`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) MigrateClassicalLoadBalancersWithContext

func (c *Client) MigrateClassicalLoadBalancersWithContext(ctx context.Context, request *MigrateClassicalLoadBalancersRequest) (response *MigrateClassicalLoadBalancersResponse, err error)

MigrateClassicalLoadBalancers This API is used to upgrade classic CLB instances to application CLB instances.

This is an async API. After it is returned successfully, you can check the action result by calling `DescribeLoadBalancers`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyBlockIPList

func (c *Client) ModifyBlockIPList(request *ModifyBlockIPListRequest) (response *ModifyBlockIPListResponse, err error)

ModifyBlockIPList This API is used to modify the client IP blocklist of a CLB instance. One forwarding rule supports blocking up to 2,000,000 IPs. One blocklist can contain up to 2,000,000 entries.

(This API is in beta test. To use it, please submit a ticket.)

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyBlockIPListWithContext

func (c *Client) ModifyBlockIPListWithContext(ctx context.Context, request *ModifyBlockIPListRequest) (response *ModifyBlockIPListResponse, err error)

ModifyBlockIPList This API is used to modify the client IP blocklist of a CLB instance. One forwarding rule supports blocking up to 2,000,000 IPs. One blocklist can contain up to 2,000,000 entries.

(This API is in beta test. To use it, please submit a ticket.)

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyDomain

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

ModifyDomain This API (ModifyDomain) is used to modify a domain name under a layer-7 CLB listener.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyDomainAttributes

func (c *Client) ModifyDomainAttributes(request *ModifyDomainAttributesRequest) (response *ModifyDomainAttributesResponse, err error)

ModifyDomainAttributes This API is used to modify the domain name-level attributes of a layer-7 listener's forwarding rule, such as modifying the domain name, changing the DefaultServer, enabling/disabling HTTP/2, and modifying certificates.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestId as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyDomainAttributesWithContext

func (c *Client) ModifyDomainAttributesWithContext(ctx context.Context, request *ModifyDomainAttributesRequest) (response *ModifyDomainAttributesResponse, err error)

ModifyDomainAttributes This API is used to modify the domain name-level attributes of a layer-7 listener's forwarding rule, such as modifying the domain name, changing the DefaultServer, enabling/disabling HTTP/2, and modifying certificates.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestId as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
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 a domain name under a layer-7 CLB listener.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyFunctionTargets

func (c *Client) ModifyFunctionTargets(request *ModifyFunctionTargetsRequest) (response *ModifyFunctionTargetsResponse, err error)

ModifyFunctionTargets This API is used to modify the cloud functions associated with a load balancing forwarding rule.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyFunctionTargetsWithContext

func (c *Client) ModifyFunctionTargetsWithContext(ctx context.Context, request *ModifyFunctionTargetsRequest) (response *ModifyFunctionTargetsResponse, err error)

ModifyFunctionTargets This API is used to modify the cloud functions associated with a load balancing forwarding rule.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyListener

func (c *Client) ModifyListener(request *ModifyListenerRequest) (response *ModifyListenerResponse, err error)

ModifyListener This API (ModifyListener) is used to modify the attributes of a CLB listener, such as listener name, health check parameter, certificate information, and forwarding policy.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyListenerWithContext

func (c *Client) ModifyListenerWithContext(ctx context.Context, request *ModifyListenerRequest) (response *ModifyListenerResponse, err error)

ModifyListener This API (ModifyListener) is used to modify the attributes of a CLB listener, such as listener name, health check parameter, certificate information, and forwarding policy.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyLoadBalancerAttributes

func (c *Client) ModifyLoadBalancerAttributes(request *ModifyLoadBalancerAttributesRequest) (response *ModifyLoadBalancerAttributesResponse, err error)

ModifyLoadBalancerAttributes This API is used to modify the attributes of a CLB instance such as name and cross-region attributes.

This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyLoadBalancerAttributesWithContext

func (c *Client) ModifyLoadBalancerAttributesWithContext(ctx context.Context, request *ModifyLoadBalancerAttributesRequest) (response *ModifyLoadBalancerAttributesResponse, err error)

ModifyLoadBalancerAttributes This API is used to modify the attributes of a CLB instance such as name and cross-region attributes.

This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyLoadBalancerSla

func (c *Client) ModifyLoadBalancerSla(request *ModifyLoadBalancerSlaRequest) (response *ModifyLoadBalancerSlaResponse, err error)

ModifyLoadBalancerSla This API is used to upgrade a pay-as-you-go shared CLB instance to an LCU-supported CLB instance. <br/>

Limits

- This API can only be used to upgrade pay-as-you-go shared instances. To upgrade monthly-subscribed shared instances, please go to the CLB console.

- An LCU-supported instance cannot be changed back to a shared instance.

- Classic CLB instances cannot be upgraded to LCU-supported instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyLoadBalancerSlaWithContext

func (c *Client) ModifyLoadBalancerSlaWithContext(ctx context.Context, request *ModifyLoadBalancerSlaRequest) (response *ModifyLoadBalancerSlaResponse, err error)

ModifyLoadBalancerSla This API is used to upgrade a pay-as-you-go shared CLB instance to an LCU-supported CLB instance. <br/>

Limits

- This API can only be used to upgrade pay-as-you-go shared instances. To upgrade monthly-subscribed shared instances, please go to the CLB console.

- An LCU-supported instance cannot be changed back to a shared instance.

- Classic CLB instances cannot be upgraded to LCU-supported instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyRule

func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)

ModifyRule This API (ModifyRule) is used to modify the attributes of a forwarding rule under a layer-7 CLB listener, such as forwarding path, health check attribute, and forwarding policy.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyRuleWithContext

func (c *Client) ModifyRuleWithContext(ctx context.Context, request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)

ModifyRule This API (ModifyRule) is used to modify the attributes of a forwarding rule under a layer-7 CLB listener, such as forwarding path, health check attribute, and forwarding policy.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTargetGroupAttribute

func (c *Client) ModifyTargetGroupAttribute(request *ModifyTargetGroupAttributeRequest) (response *ModifyTargetGroupAttributeResponse, err error)

ModifyTargetGroupAttribute This API is used to rename a target group or modify its default port attribute.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTargetGroupAttributeWithContext

func (c *Client) ModifyTargetGroupAttributeWithContext(ctx context.Context, request *ModifyTargetGroupAttributeRequest) (response *ModifyTargetGroupAttributeResponse, err error)

ModifyTargetGroupAttribute This API is used to rename a target group or modify its default port attribute.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTargetGroupInstancesPort

func (c *Client) ModifyTargetGroupInstancesPort(request *ModifyTargetGroupInstancesPortRequest) (response *ModifyTargetGroupInstancesPortResponse, err error)

ModifyTargetGroupInstancesPort This API is used to modify server ports of a target group in batches.

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTargetGroupInstancesPortWithContext

func (c *Client) ModifyTargetGroupInstancesPortWithContext(ctx context.Context, request *ModifyTargetGroupInstancesPortRequest) (response *ModifyTargetGroupInstancesPortResponse, err error)

ModifyTargetGroupInstancesPort This API is used to modify server ports of a target group in batches.

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTargetGroupInstancesWeight

func (c *Client) ModifyTargetGroupInstancesWeight(request *ModifyTargetGroupInstancesWeightRequest) (response *ModifyTargetGroupInstancesWeightResponse, err error)

ModifyTargetGroupInstancesWeight This API is used to modify server weights of a target group in batches.

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTargetGroupInstancesWeightWithContext

func (c *Client) ModifyTargetGroupInstancesWeightWithContext(ctx context.Context, request *ModifyTargetGroupInstancesWeightRequest) (response *ModifyTargetGroupInstancesWeightResponse, err error)

ModifyTargetGroupInstancesWeight This API is used to modify server weights of a target group in batches.

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTargetPort

func (c *Client) ModifyTargetPort(request *ModifyTargetPortRequest) (response *ModifyTargetPortResponse, err error)

ModifyTargetPort This API (ModifyTargetPort) is used to modify the port of a real server bound to a listener.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTargetPortWithContext

func (c *Client) ModifyTargetPortWithContext(ctx context.Context, request *ModifyTargetPortRequest) (response *ModifyTargetPortResponse, err error)

ModifyTargetPort This API (ModifyTargetPort) is used to modify the port of a real server bound to a listener.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTargetWeight

func (c *Client) ModifyTargetWeight(request *ModifyTargetWeightRequest) (response *ModifyTargetWeightResponse, err error)

ModifyTargetWeight This API (ModifyTargetWeight) is used to modify the forwarding weight of a real server bound to a CLB instance.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTargetWeightWithContext

func (c *Client) ModifyTargetWeightWithContext(ctx context.Context, request *ModifyTargetWeightRequest) (response *ModifyTargetWeightResponse, err error)

ModifyTargetWeight This API (ModifyTargetWeight) is used to modify the forwarding weight of a real server bound to a CLB instance.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) RegisterFunctionTargets

func (c *Client) RegisterFunctionTargets(request *RegisterFunctionTargetsRequest) (response *RegisterFunctionTargetsResponse, err error)

RegisterFunctionTargets This API is used to bind an SCF function with the L7 forwarding rule of a CLB instance. Note that you need to create an L7 listener (HTTP, HTTPS) and forwarding rule first.

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.<br/>

**Limits:**

- Binding with SCF is only available in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Mumbai, Tokyo, and Silicon Valley.

- SCF functions can only be bound with CLB instances of bill-by-IP accounts but not with bill-by-CVM accounts. If you are using a bill-by-CVM account, we recommend upgrading it to a bill-by-IP account. For more information, please see [Checking Account Type](https://intl.cloud.tencent.com/document/product/1199/49090?from_cn_redirect=1).

- SCF functions cannot be bound with classic CLB instances.

- SCF functions cannot be bound with classic network-based CLB instances.

- SCF functions in the same region can be bound with CLB instances. SCF functions can only be bound across VPCs but not regions.

- SCF functions can only be bound with IPv4 and IPv6 NAT64 CLB instances, but currently not with IPv6 CLB instances.

- SCF functions can only be bound with layer-7 HTTP and HTTPS listeners, but not with layer-7 QUIC listeners or layer-4 (TCP, UDP, and TCP SSL) listeners.

- Only SCF event-triggered functions can be bound with CLB instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) RegisterFunctionTargetsWithContext

func (c *Client) RegisterFunctionTargetsWithContext(ctx context.Context, request *RegisterFunctionTargetsRequest) (response *RegisterFunctionTargetsResponse, err error)

RegisterFunctionTargets This API is used to bind an SCF function with the L7 forwarding rule of a CLB instance. Note that you need to create an L7 listener (HTTP, HTTPS) and forwarding rule first.

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.<br/>

**Limits:**

- Binding with SCF is only available in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Mumbai, Tokyo, and Silicon Valley.

- SCF functions can only be bound with CLB instances of bill-by-IP accounts but not with bill-by-CVM accounts. If you are using a bill-by-CVM account, we recommend upgrading it to a bill-by-IP account. For more information, please see [Checking Account Type](https://intl.cloud.tencent.com/document/product/1199/49090?from_cn_redirect=1).

- SCF functions cannot be bound with classic CLB instances.

- SCF functions cannot be bound with classic network-based CLB instances.

- SCF functions in the same region can be bound with CLB instances. SCF functions can only be bound across VPCs but not regions.

- SCF functions can only be bound with IPv4 and IPv6 NAT64 CLB instances, but currently not with IPv6 CLB instances.

- SCF functions can only be bound with layer-7 HTTP and HTTPS listeners, but not with layer-7 QUIC listeners or layer-4 (TCP, UDP, and TCP SSL) listeners.

- Only SCF event-triggered functions can be bound with CLB instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) RegisterTargetGroupInstances

func (c *Client) RegisterTargetGroupInstances(request *RegisterTargetGroupInstancesRequest) (response *RegisterTargetGroupInstancesResponse, err error)

RegisterTargetGroupInstances This API is used to register servers to a target group.

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) RegisterTargetGroupInstancesWithContext

func (c *Client) RegisterTargetGroupInstancesWithContext(ctx context.Context, request *RegisterTargetGroupInstancesRequest) (response *RegisterTargetGroupInstancesResponse, err error)

RegisterTargetGroupInstances This API is used to register servers to a target group.

This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) RegisterTargets

func (c *Client) RegisterTargets(request *RegisterTargetsRequest) (response *RegisterTargetsResponse, err error)

RegisterTargets This API (RegisterTargets) is used to bind one or more real servers to a CLB listener or layer-7 forwarding rule. Before using this API, you need to create relevant layer-4 listeners or layer-7 forwarding rules. For the former (TCP/UDP), only the listener ID needs to be specified, while for the latter (HTTP/HTTPS), the forwarding rule also needs to be specified through LocationId or Domain+Url.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) RegisterTargetsWithClassicalLB

func (c *Client) RegisterTargetsWithClassicalLB(request *RegisterTargetsWithClassicalLBRequest) (response *RegisterTargetsWithClassicalLBResponse, err error)

RegisterTargetsWithClassicalLB This API is used to bind a real server with a classic CLB instance. This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) RegisterTargetsWithClassicalLBWithContext

func (c *Client) RegisterTargetsWithClassicalLBWithContext(ctx context.Context, request *RegisterTargetsWithClassicalLBRequest) (response *RegisterTargetsWithClassicalLBResponse, err error)

RegisterTargetsWithClassicalLB This API is used to bind a real server with a classic CLB instance. This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) RegisterTargetsWithContext

func (c *Client) RegisterTargetsWithContext(ctx context.Context, request *RegisterTargetsRequest) (response *RegisterTargetsResponse, err error)

RegisterTargets This API (RegisterTargets) is used to bind one or more real servers to a CLB listener or layer-7 forwarding rule. Before using this API, you need to create relevant layer-4 listeners or layer-7 forwarding rules. For the former (TCP/UDP), only the listener ID needs to be specified, while for the latter (HTTP/HTTPS), the forwarding rule also needs to be specified through LocationId or Domain+Url.

This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ReplaceCertForLoadBalancers

func (c *Client) ReplaceCertForLoadBalancers(request *ReplaceCertForLoadBalancersRequest) (response *ReplaceCertForLoadBalancersResponse, err error)

ReplaceCertForLoadBalancers This API (ReplaceCertForLoadBalancers) is used to replace the certificate associated with a CLB instance. A new certificates can be associated with a CLB only after the original certificate is disassociated from it.

This API supports replacing server certificates and client certificates.

The new certificate to be used can be specified by passing in the certificate ID. If no certificate ID is specified, relevant information such as certificate content must be passed in to create a new certificate and bind it to the CLB.

Note: This API can only be called in the Guangzhou region; for other regions, an error will occur due to domain name resolution problems.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"

func (*Client) ReplaceCertForLoadBalancersWithContext

func (c *Client) ReplaceCertForLoadBalancersWithContext(ctx context.Context, request *ReplaceCertForLoadBalancersRequest) (response *ReplaceCertForLoadBalancersResponse, err error)

ReplaceCertForLoadBalancers This API (ReplaceCertForLoadBalancers) is used to replace the certificate associated with a CLB instance. A new certificates can be associated with a CLB only after the original certificate is disassociated from it.

This API supports replacing server certificates and client certificates.

The new certificate to be used can be specified by passing in the certificate ID. If no certificate ID is specified, relevant information such as certificate content must be passed in to create a new certificate and bind it to the CLB.

Note: This API can only be called in the Guangzhou region; for other regions, an error will occur due to domain name resolution problems.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"

func (*Client) SetCustomizedConfigForLoadBalancer

func (c *Client) SetCustomizedConfigForLoadBalancer(request *SetCustomizedConfigForLoadBalancerRequest) (response *SetCustomizedConfigForLoadBalancerResponse, err error)

SetCustomizedConfigForLoadBalancer This API is used to create or manage a user-defined CLB configuration template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SetCustomizedConfigForLoadBalancerWithContext

func (c *Client) SetCustomizedConfigForLoadBalancerWithContext(ctx context.Context, request *SetCustomizedConfigForLoadBalancerRequest) (response *SetCustomizedConfigForLoadBalancerResponse, err error)

SetCustomizedConfigForLoadBalancer This API is used to create or manage a user-defined CLB configuration template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SetLoadBalancerClsLog

func (c *Client) SetLoadBalancerClsLog(request *SetLoadBalancerClsLogRequest) (response *SetLoadBalancerClsLogResponse, err error)

SetLoadBalancerClsLog This API is used to add, delete, and update the CLS topic of a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SetLoadBalancerClsLogWithContext

func (c *Client) SetLoadBalancerClsLogWithContext(ctx context.Context, request *SetLoadBalancerClsLogRequest) (response *SetLoadBalancerClsLogResponse, err error)

SetLoadBalancerClsLog This API is used to add, delete, and update the CLS topic of a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SetLoadBalancerSecurityGroups

func (c *Client) SetLoadBalancerSecurityGroups(request *SetLoadBalancerSecurityGroupsRequest) (response *SetLoadBalancerSecurityGroupsResponse, err error)

SetLoadBalancerSecurityGroups This API (SetLoadBalancerSecurityGroups) is used to bind/unbind security groups for a public network CLB instance. You can use the DescribeLoadBalancers API to query the security groups bound to a CLB instance. This API uses `set` semantics.

During a binding operation, the input parameters need to be all security groups to be bound to the CLB instance (including those already bound ones and new ones).

During an unbinding operation, the input parameters need to be all the security groups still bound to the CLB instance after the unbinding operation. To unbind all security groups, you can leave this parameter empty or pass in an empty array. Note: Private network CLB do not support binding security groups.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SetLoadBalancerSecurityGroupsWithContext

func (c *Client) SetLoadBalancerSecurityGroupsWithContext(ctx context.Context, request *SetLoadBalancerSecurityGroupsRequest) (response *SetLoadBalancerSecurityGroupsResponse, err error)

SetLoadBalancerSecurityGroups This API (SetLoadBalancerSecurityGroups) is used to bind/unbind security groups for a public network CLB instance. You can use the DescribeLoadBalancers API to query the security groups bound to a CLB instance. This API uses `set` semantics.

During a binding operation, the input parameters need to be all security groups to be bound to the CLB instance (including those already bound ones and new ones).

During an unbinding operation, the input parameters need to be all the security groups still bound to the CLB instance after the unbinding operation. To unbind all security groups, you can leave this parameter empty or pass in an empty array. Note: Private network CLB do not support binding security groups.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SetSecurityGroupForLoadbalancers

func (c *Client) SetSecurityGroupForLoadbalancers(request *SetSecurityGroupForLoadbalancersRequest) (response *SetSecurityGroupForLoadbalancersResponse, err error)

SetSecurityGroupForLoadbalancers This API is used to bind or unbind a security group for multiple public network CLB instances. Note: Private network CLB do not support binding security groups.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SetSecurityGroupForLoadbalancersWithContext

func (c *Client) SetSecurityGroupForLoadbalancersWithContext(ctx context.Context, request *SetSecurityGroupForLoadbalancersRequest) (response *SetSecurityGroupForLoadbalancersResponse, err error)

SetSecurityGroupForLoadbalancers This API is used to bind or unbind a security group for multiple public network CLB instances. Note: Private network CLB do not support binding security groups.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

type CloneLoadBalancerRequest

type CloneLoadBalancerRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Clones the name of the CLB instance. The name must be 1-60 characters containing letters, numbers, "-" or "_".
	// Note: if the name of a new CLB instance already exists, a default name will be generated automatically.
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// ID of the project to which a CLB instance belongs, which can be obtained through the `DescribeProject` API. If this parameter is not passed in, the default project will be used.
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Sets the primary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`, which is applicable only to public network CLB.
	// Note: A primary AZ loads traffic, while a secondary AZ does not load traffic by default and will be used only if the primary AZ becomes unavailable. The platform will automatically select the optimal secondary AZ. You can use the `DescribeResource` API to query the primary AZ list of a region.
	MasterZoneId *string `json:"MasterZoneId,omitnil" name:"MasterZoneId"`

	// Specifies the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`. It is applicable only to public network CLB.
	// Note: A secondary AZ will load traffic if the primary AZ is faulty. You can use the `DescribeMasterZones` API to query the primary and secondary AZ list of a region.
	SlaveZoneId *string `json:"SlaveZoneId,omitnil" name:"SlaveZoneId"`

	// Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances.
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// CLB network billing mode. This parameter is applicable only to public network CLB instances.
	InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil" name:"InternetAccessible"`

	// It's only applicable to public network CLB instances. u200dValues: `CMCC` (China Mobile), `CTCC`·(China Telecom) and `CUCC` (China Unicom). If it is not specified, BGP line is used by default. To query ISPs available in a region, use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). If this parameter is specified, the network billing mode must be `BANDWIDTH_PACKAGE`.
	VipIsp *string `json:"VipIsp,omitnil" name:"VipIsp"`

	// Applies for CLB instances for a specified VIP
	Vip *string `json:"Vip,omitnil" name:"Vip"`

	// Tags a CLB instance when purchasing it
	Tags []*TagInfo `json:"Tags,omitnil" name:"Tags"`

	// Dedicated cluster information
	ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil" name:"ExclusiveCluster"`

	// Bandwidth package ID. If this parameter is specified, the network billing mode (`InternetAccessible.InternetChargeType`) will only support bill-by-bandwidth package (`BANDWIDTH_PACKAGE`).
	BandwidthPackageId *string `json:"BandwidthPackageId,omitnil" name:"BandwidthPackageId"`

	// Whether to support binding cross-VPC IPs or cross-region IPs
	SnatPro *bool `json:"SnatPro,omitnil" name:"SnatPro"`

	// Creates `SnatIp` when the binding IPs of other VPCs feature is enabled
	SnatIps []*SnatIp `json:"SnatIps,omitnil" name:"SnatIps"`

	// ID of the public network CLB dedicated cluster
	ClusterIds []*string `json:"ClusterIds,omitnil" name:"ClusterIds"`

	// Specification of the LCU-supported instance.
	SlaType *string `json:"SlaType,omitnil" name:"SlaType"`

	// Tag of the STGW dedicated cluster
	ClusterTag *string `json:"ClusterTag,omitnil" name:"ClusterTag"`

	// Availability zones for nearby access of private network CLB instances to distribute traffic
	Zones []*string `json:"Zones,omitnil" name:"Zones"`

	// Unique ID of an EIP, which can only be used when binding the EIP of a private network CLB instance (e.g., `eip-11112222`)
	EipAddressId *string `json:"EipAddressId,omitnil" name:"EipAddressId"`
}

func NewCloneLoadBalancerRequest

func NewCloneLoadBalancerRequest() (request *CloneLoadBalancerRequest)

func (*CloneLoadBalancerRequest) FromJsonString

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

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

func (*CloneLoadBalancerRequest) ToJsonString

func (r *CloneLoadBalancerRequest) ToJsonString() string

type CloneLoadBalancerRequestParams

type CloneLoadBalancerRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Clones the name of the CLB instance. The name must be 1-60 characters containing letters, numbers, "-" or "_".
	// Note: if the name of a new CLB instance already exists, a default name will be generated automatically.
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// ID of the project to which a CLB instance belongs, which can be obtained through the `DescribeProject` API. If this parameter is not passed in, the default project will be used.
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Sets the primary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`, which is applicable only to public network CLB.
	// Note: A primary AZ loads traffic, while a secondary AZ does not load traffic by default and will be used only if the primary AZ becomes unavailable. The platform will automatically select the optimal secondary AZ. You can use the `DescribeResource` API to query the primary AZ list of a region.
	MasterZoneId *string `json:"MasterZoneId,omitnil" name:"MasterZoneId"`

	// Specifies the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`. It is applicable only to public network CLB.
	// Note: A secondary AZ will load traffic if the primary AZ is faulty. You can use the `DescribeMasterZones` API to query the primary and secondary AZ list of a region.
	SlaveZoneId *string `json:"SlaveZoneId,omitnil" name:"SlaveZoneId"`

	// Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances.
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// CLB network billing mode. This parameter is applicable only to public network CLB instances.
	InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil" name:"InternetAccessible"`

	// It's only applicable to public network CLB instances. u200dValues: `CMCC` (China Mobile), `CTCC`·(China Telecom) and `CUCC` (China Unicom). If it is not specified, BGP line is used by default. To query ISPs available in a region, use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). If this parameter is specified, the network billing mode must be `BANDWIDTH_PACKAGE`.
	VipIsp *string `json:"VipIsp,omitnil" name:"VipIsp"`

	// Applies for CLB instances for a specified VIP
	Vip *string `json:"Vip,omitnil" name:"Vip"`

	// Tags a CLB instance when purchasing it
	Tags []*TagInfo `json:"Tags,omitnil" name:"Tags"`

	// Dedicated cluster information
	ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil" name:"ExclusiveCluster"`

	// Bandwidth package ID. If this parameter is specified, the network billing mode (`InternetAccessible.InternetChargeType`) will only support bill-by-bandwidth package (`BANDWIDTH_PACKAGE`).
	BandwidthPackageId *string `json:"BandwidthPackageId,omitnil" name:"BandwidthPackageId"`

	// Whether to support binding cross-VPC IPs or cross-region IPs
	SnatPro *bool `json:"SnatPro,omitnil" name:"SnatPro"`

	// Creates `SnatIp` when the binding IPs of other VPCs feature is enabled
	SnatIps []*SnatIp `json:"SnatIps,omitnil" name:"SnatIps"`

	// ID of the public network CLB dedicated cluster
	ClusterIds []*string `json:"ClusterIds,omitnil" name:"ClusterIds"`

	// Specification of the LCU-supported instance.
	SlaType *string `json:"SlaType,omitnil" name:"SlaType"`

	// Tag of the STGW dedicated cluster
	ClusterTag *string `json:"ClusterTag,omitnil" name:"ClusterTag"`

	// Availability zones for nearby access of private network CLB instances to distribute traffic
	Zones []*string `json:"Zones,omitnil" name:"Zones"`

	// Unique ID of an EIP, which can only be used when binding the EIP of a private network CLB instance (e.g., `eip-11112222`)
	EipAddressId *string `json:"EipAddressId,omitnil" name:"EipAddressId"`
}

Predefined struct for user

type CloneLoadBalancerResponse

type CloneLoadBalancerResponse struct {
	*tchttp.BaseResponse
	Response *CloneLoadBalancerResponseParams `json:"Response"`
}

func NewCloneLoadBalancerResponse

func NewCloneLoadBalancerResponse() (response *CloneLoadBalancerResponse)

func (*CloneLoadBalancerResponse) FromJsonString

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

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

func (*CloneLoadBalancerResponse) ToJsonString

func (r *CloneLoadBalancerResponse) ToJsonString() string

type CloneLoadBalancerResponseParams

type CloneLoadBalancerResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ClusterItem

type ClusterItem struct {
	// Unique cluster ID
	ClusterId *string `json:"ClusterId,omitnil" name:"ClusterId"`

	// Cluster name
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClusterName *string `json:"ClusterName,omitnil" name:"ClusterName"`

	// Cluster AZ, such as ap-guangzhou-1
	// Note: this field may return null, indicating that no valid values can be obtained.
	Zone *string `json:"Zone,omitnil" name:"Zone"`
}

type ConfigListItem

type ConfigListItem struct {
	// Configuration ID.
	UconfigId *string `json:"UconfigId,omitnil" name:"UconfigId"`

	// Configuration type.
	ConfigType *string `json:"ConfigType,omitnil" name:"ConfigType"`

	// Configuration name.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ConfigName *string `json:"ConfigName,omitnil" name:"ConfigName"`

	// Configuration content.
	ConfigContent *string `json:"ConfigContent,omitnil" name:"ConfigContent"`

	// Creates configuration time.
	CreateTimestamp *string `json:"CreateTimestamp,omitnil" name:"CreateTimestamp"`

	// Modifies configuration time.
	UpdateTimestamp *string `json:"UpdateTimestamp,omitnil" name:"UpdateTimestamp"`
}

type CreateClsLogSetRequest

type CreateClsLogSetRequest struct {
	*tchttp.BaseRequest

	// Logset name, which must be unique among all CLS logsets; default value: clb_logset
	LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"`

	// Logset retention period (in days)
	Period *uint64 `json:"Period,omitnil" name:"Period"`

	// Logset type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs).
	LogsetType *string `json:"LogsetType,omitnil" name:"LogsetType"`
}

func NewCreateClsLogSetRequest

func NewCreateClsLogSetRequest() (request *CreateClsLogSetRequest)

func (*CreateClsLogSetRequest) FromJsonString

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

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

func (*CreateClsLogSetRequest) ToJsonString

func (r *CreateClsLogSetRequest) ToJsonString() string

type CreateClsLogSetRequestParams

type CreateClsLogSetRequestParams struct {
	// Logset name, which must be unique among all CLS logsets; default value: clb_logset
	LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"`

	// Logset retention period (in days)
	Period *uint64 `json:"Period,omitnil" name:"Period"`

	// Logset type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs).
	LogsetType *string `json:"LogsetType,omitnil" name:"LogsetType"`
}

Predefined struct for user

type CreateClsLogSetResponse

type CreateClsLogSetResponse struct {
	*tchttp.BaseResponse
	Response *CreateClsLogSetResponseParams `json:"Response"`
}

func NewCreateClsLogSetResponse

func NewCreateClsLogSetResponse() (response *CreateClsLogSetResponse)

func (*CreateClsLogSetResponse) FromJsonString

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

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

func (*CreateClsLogSetResponse) ToJsonString

func (r *CreateClsLogSetResponse) ToJsonString() string

type CreateClsLogSetResponseParams

type CreateClsLogSetResponseParams struct {
	// Logset ID.
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

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

Predefined struct for user

type CreateListenerRequest

type CreateListenerRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Specifies for which ports to create listeners. Each port corresponds to a new listener.
	Ports []*int64 `json:"Ports,omitnil" name:"Ports"`

	// Listener protocol. Values: TCP | UDP | HTTP | HTTPS | TCP_SSL | QUIC
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// List of names of the listeners to be created. The array of names and array of ports are in one-to-one correspondence. If you do not want to name them now, you do not need to provide this parameter.
	ListenerNames []*string `json:"ListenerNames,omitnil" name:"ListenerNames"`

	// Health check parameter. It is only applicable only to TCP, UDP, TCP_SSL and QUIC listeners.
	HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"`

	// Certificate information. This parameter is only applicable to TCP_SSL listeners and HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
	Certificate *CertificateInput `json:"Certificate,omitnil" name:"Certificate"`

	// Session persistence time in seconds. Value range: 30-3,600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners.
	SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"`

	// Listener forwarding mode. u200dValues: `WRR` (weighted round robin) and `LEAST_CONN` (least connections).
	// Default value: `WRR`. This parameter is only applicable to TCP, UDP, TCP_SSL and QUIC listeners.
	Scheduler *string `json:"Scheduler,omitnil" name:"Scheduler"`

	// Whether to enable the SNI feature. This parameter is applicable only to HTTPS listeners
	SniSwitch *int64 `json:"SniSwitch,omitnil" name:"SniSwitch"`

	// Target real server type. `NODE`: binding a general node; `TARGETGROUP`: binding a target group.
	TargetType *string `json:"TargetType,omitnil" name:"TargetType"`

	// Session persistence type. Valid values: Normal: the default session persistence type; QUIC_CID: session persistence by QUIC connection ID. The `QUIC_CID` value can only be configured in UDP listeners. If this field is not specified, the default session persistence type will be used.
	SessionType *string `json:"SessionType,omitnil" name:"SessionType"`

	// Whether to enable a persistent connection. This parameter is applicable only to HTTP and HTTPS listeners. Valid values: 0 (disable; default value) and 1 (enable).
	KeepaliveEnable *int64 `json:"KeepaliveEnable,omitnil" name:"KeepaliveEnable"`

	// This parameter is used to specify the end port and is required when creating a port range listener. Only one member can be passed in when inputting the `Ports` parameter, which is used to specify the start port. If you want to try the port range feature, please [submit a ticket](https://console.cloud.tencent.com/workorder/category).
	EndPort *uint64 `json:"EndPort,omitnil" name:"EndPort"`

	// Whether to send the TCP RST packet to the client when unbinding a real server. This parameter is applicable to TCP listeners only.
	DeregisterTargetRst *bool `json:"DeregisterTargetRst,omitnil" name:"DeregisterTargetRst"`

	// Certificate information. You can specify multiple server-side certificates with different algorithm types. This parameter is only applicable to HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
	MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil" name:"MultiCertInfo"`

	// Maximum number of concurrent listener connections. It’s available for TCP/UDP/TCP_SSL/QUIC listeners. If it’s set to `-1` or not specified, the listener speed is not limited.
	MaxConn *int64 `json:"MaxConn,omitnil" name:"MaxConn"`

	// Maximum number of new listener connections. It’s available for TCP/UDP/TCP_SSL/QUIC listeners. If it’s set to `-1` or not specified, the listener speed is not limited.
	MaxCps *int64 `json:"MaxCps,omitnil" name:"MaxCps"`

	// Connection idle timeout period (in seconds). It’s only available to TCP listeners. Value range: 300-900 for shared and dedicated instances; 300-2000 for LCU-supported CLB instances. It defaults to 900. To set a period longer than 2000 seconds (up to 3600 seconds), please submit a [submit](https://console.cloud.tencent.com/workorder/category).
	IdleConnectTimeout *int64 `json:"IdleConnectTimeout,omitnil" name:"IdleConnectTimeout"`
}

func NewCreateListenerRequest

func NewCreateListenerRequest() (request *CreateListenerRequest)

func (*CreateListenerRequest) FromJsonString

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

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

func (*CreateListenerRequest) ToJsonString

func (r *CreateListenerRequest) ToJsonString() string

type CreateListenerRequestParams

type CreateListenerRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Specifies for which ports to create listeners. Each port corresponds to a new listener.
	Ports []*int64 `json:"Ports,omitnil" name:"Ports"`

	// Listener protocol. Values: TCP | UDP | HTTP | HTTPS | TCP_SSL | QUIC
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// List of names of the listeners to be created. The array of names and array of ports are in one-to-one correspondence. If you do not want to name them now, you do not need to provide this parameter.
	ListenerNames []*string `json:"ListenerNames,omitnil" name:"ListenerNames"`

	// Health check parameter. It is only applicable only to TCP, UDP, TCP_SSL and QUIC listeners.
	HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"`

	// Certificate information. This parameter is only applicable to TCP_SSL listeners and HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
	Certificate *CertificateInput `json:"Certificate,omitnil" name:"Certificate"`

	// Session persistence time in seconds. Value range: 30-3,600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners.
	SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"`

	// Listener forwarding mode. u200dValues: `WRR` (weighted round robin) and `LEAST_CONN` (least connections).
	// Default value: `WRR`. This parameter is only applicable to TCP, UDP, TCP_SSL and QUIC listeners.
	Scheduler *string `json:"Scheduler,omitnil" name:"Scheduler"`

	// Whether to enable the SNI feature. This parameter is applicable only to HTTPS listeners
	SniSwitch *int64 `json:"SniSwitch,omitnil" name:"SniSwitch"`

	// Target real server type. `NODE`: binding a general node; `TARGETGROUP`: binding a target group.
	TargetType *string `json:"TargetType,omitnil" name:"TargetType"`

	// Session persistence type. Valid values: Normal: the default session persistence type; QUIC_CID: session persistence by QUIC connection ID. The `QUIC_CID` value can only be configured in UDP listeners. If this field is not specified, the default session persistence type will be used.
	SessionType *string `json:"SessionType,omitnil" name:"SessionType"`

	// Whether to enable a persistent connection. This parameter is applicable only to HTTP and HTTPS listeners. Valid values: 0 (disable; default value) and 1 (enable).
	KeepaliveEnable *int64 `json:"KeepaliveEnable,omitnil" name:"KeepaliveEnable"`

	// This parameter is used to specify the end port and is required when creating a port range listener. Only one member can be passed in when inputting the `Ports` parameter, which is used to specify the start port. If you want to try the port range feature, please [submit a ticket](https://console.cloud.tencent.com/workorder/category).
	EndPort *uint64 `json:"EndPort,omitnil" name:"EndPort"`

	// Whether to send the TCP RST packet to the client when unbinding a real server. This parameter is applicable to TCP listeners only.
	DeregisterTargetRst *bool `json:"DeregisterTargetRst,omitnil" name:"DeregisterTargetRst"`

	// Certificate information. You can specify multiple server-side certificates with different algorithm types. This parameter is only applicable to HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
	MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil" name:"MultiCertInfo"`

	// Maximum number of concurrent listener connections. It’s available for TCP/UDP/TCP_SSL/QUIC listeners. If it’s set to `-1` or not specified, the listener speed is not limited.
	MaxConn *int64 `json:"MaxConn,omitnil" name:"MaxConn"`

	// Maximum number of new listener connections. It’s available for TCP/UDP/TCP_SSL/QUIC listeners. If it’s set to `-1` or not specified, the listener speed is not limited.
	MaxCps *int64 `json:"MaxCps,omitnil" name:"MaxCps"`

	// Connection idle timeout period (in seconds). It’s only available to TCP listeners. Value range: 300-900 for shared and dedicated instances; 300-2000 for LCU-supported CLB instances. It defaults to 900. To set a period longer than 2000 seconds (up to 3600 seconds), please submit a [submit](https://console.cloud.tencent.com/workorder/category).
	IdleConnectTimeout *int64 `json:"IdleConnectTimeout,omitnil" name:"IdleConnectTimeout"`
}

Predefined struct for user

type CreateListenerResponse

type CreateListenerResponse struct {
	*tchttp.BaseResponse
	Response *CreateListenerResponseParams `json:"Response"`
}

func NewCreateListenerResponse

func NewCreateListenerResponse() (response *CreateListenerResponse)

func (*CreateListenerResponse) FromJsonString

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

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

func (*CreateListenerResponse) ToJsonString

func (r *CreateListenerResponse) ToJsonString() string

type CreateListenerResponseParams

type CreateListenerResponseParams struct {
	// Array of unique IDs of the created listeners
	ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"`

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

Predefined struct for user

type CreateLoadBalancerRequest

type CreateLoadBalancerRequest struct {
	*tchttp.BaseRequest

	// CLB instance network type:
	// OPEN: public network; INTERNAL: private network.
	LoadBalancerType *string `json:"LoadBalancerType,omitnil" name:"LoadBalancerType"`

	// CLB instance type. Valid value: 1 (generic CLB instance).
	Forward *int64 `json:"Forward,omitnil" name:"Forward"`

	// CLB instance name, which takes effect only when only one instance is to be created in the request. It can consist 1 to 60 letters, digits, hyphens (-), or underscores (_).
	// Note: if the name of the new CLB instance already exists, a default name will be generated automatically.
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// Network ID of the target device on the CLB backend, such as `vpc-12345678`, which can be obtained through the `DescribeVpcEx` API. If this parameter is not entered, `DefaultVPC` is used by default. This parameter is required when creating a private network instance.
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// A subnet ID must be specified when you purchase a private network CLB instance in a VPC, and the VIP of this instance will be generated in this subnet. This parameter is required for creating a CLB instance.
	SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"`

	// ID of the project to which a CLB instance belongs, which can be obtained through the `DescribeProject` API. If this parameter is not entered, the default project will be used.
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// It's only applicable to public network CLB instances. IP version. Values: `IPV4`, `IPV6` and `IPv6FullChain` (case-insensitive). Default: `IPV4`. Note: `IPV6` indicates IPv6 NAT64, while `IPv6FullChain` indicates IPv6.
	AddressIPVersion *string `json:"AddressIPVersion,omitnil" name:"AddressIPVersion"`

	// Number of CLBs to be created. Default value: 1.
	Number *uint64 `json:"Number,omitnil" name:"Number"`

	// Sets the primary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`, which is applicable only to public network CLB.
	// Note: By default, the traffic goes to the primary AZ. The secondary AZs only carry traffic when the primary AZ is unavailable. The optimal secondary AZ is chosen automatically. You can query the primary and secondary AZ of a region by calling [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1).
	MasterZoneId *string `json:"MasterZoneId,omitnil" name:"MasterZoneId"`

	// Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances.
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// It only works on LCU-supported instances on private networks and all instances on public networks.
	InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil" name:"InternetAccessible"`

	// It's only applicable to public network CLB instances. u200dValues: `CMCC` (China Mobile), `CTCC`·(China Telecom) and `CUCC` (China Unicom). If it is not specified, BGP line is used by default. To query ISPs available in a region, use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). If this parameter is specified, the network billing mode must be `BANDWIDTH_PACKAGE`.
	VipIsp *string `json:"VipIsp,omitnil" name:"VipIsp"`

	// Tags the CLB instance when purchasing it. Up to 20 tag key value pairs are supported.
	Tags []*TagInfo `json:"Tags,omitnil" name:"Tags"`

	// Specifies the VIP for the application of a CLB instance. This parameter is optional. If you do not specify this parameter, the system automatically assigns a value for the parameter. IPv4 and IPv6 CLB instances support this parameter, but IPv6 NAT64 CLB instances do not.
	// Note: If the specified VIP is occupied or is not within the IP range of the specified VPC subnet, you cannot use the VIP to create a CLB instance in a private network or an IPv6 BGP CLB instance in a public network.
	Vip *string `json:"Vip,omitnil" name:"Vip"`

	// Bandwidth package ID. If this parameter is specified, the network billing mode (`InternetAccessible.InternetChargeType`) will only support bill-by-bandwidth package (`BANDWIDTH_PACKAGE`).
	BandwidthPackageId *string `json:"BandwidthPackageId,omitnil" name:"BandwidthPackageId"`

	// Information about the dedicated CLB instance. You must specify this parameter when you create a dedicated CLB instance in a private network.
	ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil" name:"ExclusiveCluster"`

	// Creates an LCU-supported instance.
	// <ul><li>To create an LCU-supported instance, this parameter must be set to `SLA`, which indicates the Super Large 1 specification.
	// <ul><li>If you have activated Super Large LCU-supported instances, `SLA` indicates the Super Large 4 specification. Super u200dLarge LCU-supported specification is in beta now. u200cu200dTo join the beta, [submit a ticket](https://console.cloud.tencent.com/workorder/category). </li></ul></li><li>It’s not required for a shared CLB instance. </li></ul>
	SlaType *string `json:"SlaType,omitnil" name:"SlaType"`

	// 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 idempotency of the request cannot be guaranteed.
	ClientToken *string `json:"ClientToken,omitnil" name:"ClientToken"`

	// Whether Binding IPs of other VPCs feature switch
	SnatPro *bool `json:"SnatPro,omitnil" name:"SnatPro"`

	// Creates `SnatIp` when the binding IPs of other VPCs feature is enabled
	SnatIps []*SnatIp `json:"SnatIps,omitnil" name:"SnatIps"`

	// Tag for the STGW exclusive cluster.
	ClusterTag *string `json:"ClusterTag,omitnil" name:"ClusterTag"`

	// Specifies the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`. It is applicable only to public network CLB.
	// Note: The traffic only goes to the secondary AZ when the primary AZ is unavailable. You can query the list of primary and secondary AZ of a region by calling [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1).
	SlaveZoneId *string `json:"SlaveZoneId,omitnil" name:"SlaveZoneId"`

	// Unique ID of an EIP, which can only be used when binding the EIP of a private network CLB instance. E.g., `eip-11112222`.
	EipAddressId *string `json:"EipAddressId,omitnil" name:"EipAddressId"`

	// Whether to allow CLB traffic to the target group. `true`: allows CLB traffic to the target group and verifies security groups only on CLB; `false`: denies CLB traffic to the target group and verifies security groups on both CLB and backend instances.
	LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitnil" name:"LoadBalancerPassToTarget"`

	// Upgrades to domain name-based CLB
	DynamicVip *bool `json:"DynamicVip,omitnil" name:"DynamicVip"`
}

func NewCreateLoadBalancerRequest

func NewCreateLoadBalancerRequest() (request *CreateLoadBalancerRequest)

func (*CreateLoadBalancerRequest) FromJsonString

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

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

func (*CreateLoadBalancerRequest) ToJsonString

func (r *CreateLoadBalancerRequest) ToJsonString() string

type CreateLoadBalancerRequestParams

type CreateLoadBalancerRequestParams struct {
	// CLB instance network type:
	// OPEN: public network; INTERNAL: private network.
	LoadBalancerType *string `json:"LoadBalancerType,omitnil" name:"LoadBalancerType"`

	// CLB instance type. Valid value: 1 (generic CLB instance).
	Forward *int64 `json:"Forward,omitnil" name:"Forward"`

	// CLB instance name, which takes effect only when only one instance is to be created in the request. It can consist 1 to 60 letters, digits, hyphens (-), or underscores (_).
	// Note: if the name of the new CLB instance already exists, a default name will be generated automatically.
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// Network ID of the target device on the CLB backend, such as `vpc-12345678`, which can be obtained through the `DescribeVpcEx` API. If this parameter is not entered, `DefaultVPC` is used by default. This parameter is required when creating a private network instance.
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// A subnet ID must be specified when you purchase a private network CLB instance in a VPC, and the VIP of this instance will be generated in this subnet. This parameter is required for creating a CLB instance.
	SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"`

	// ID of the project to which a CLB instance belongs, which can be obtained through the `DescribeProject` API. If this parameter is not entered, the default project will be used.
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// It's only applicable to public network CLB instances. IP version. Values: `IPV4`, `IPV6` and `IPv6FullChain` (case-insensitive). Default: `IPV4`. Note: `IPV6` indicates IPv6 NAT64, while `IPv6FullChain` indicates IPv6.
	AddressIPVersion *string `json:"AddressIPVersion,omitnil" name:"AddressIPVersion"`

	// Number of CLBs to be created. Default value: 1.
	Number *uint64 `json:"Number,omitnil" name:"Number"`

	// Sets the primary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`, which is applicable only to public network CLB.
	// Note: By default, the traffic goes to the primary AZ. The secondary AZs only carry traffic when the primary AZ is unavailable. The optimal secondary AZ is chosen automatically. You can query the primary and secondary AZ of a region by calling [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1).
	MasterZoneId *string `json:"MasterZoneId,omitnil" name:"MasterZoneId"`

	// Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances.
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// It only works on LCU-supported instances on private networks and all instances on public networks.
	InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil" name:"InternetAccessible"`

	// It's only applicable to public network CLB instances. u200dValues: `CMCC` (China Mobile), `CTCC`·(China Telecom) and `CUCC` (China Unicom). If it is not specified, BGP line is used by default. To query ISPs available in a region, use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). If this parameter is specified, the network billing mode must be `BANDWIDTH_PACKAGE`.
	VipIsp *string `json:"VipIsp,omitnil" name:"VipIsp"`

	// Tags the CLB instance when purchasing it. Up to 20 tag key value pairs are supported.
	Tags []*TagInfo `json:"Tags,omitnil" name:"Tags"`

	// Specifies the VIP for the application of a CLB instance. This parameter is optional. If you do not specify this parameter, the system automatically assigns a value for the parameter. IPv4 and IPv6 CLB instances support this parameter, but IPv6 NAT64 CLB instances do not.
	// Note: If the specified VIP is occupied or is not within the IP range of the specified VPC subnet, you cannot use the VIP to create a CLB instance in a private network or an IPv6 BGP CLB instance in a public network.
	Vip *string `json:"Vip,omitnil" name:"Vip"`

	// Bandwidth package ID. If this parameter is specified, the network billing mode (`InternetAccessible.InternetChargeType`) will only support bill-by-bandwidth package (`BANDWIDTH_PACKAGE`).
	BandwidthPackageId *string `json:"BandwidthPackageId,omitnil" name:"BandwidthPackageId"`

	// Information about the dedicated CLB instance. You must specify this parameter when you create a dedicated CLB instance in a private network.
	ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil" name:"ExclusiveCluster"`

	// Creates an LCU-supported instance.
	// <ul><li>To create an LCU-supported instance, this parameter must be set to `SLA`, which indicates the Super Large 1 specification.
	// <ul><li>If you have activated Super Large LCU-supported instances, `SLA` indicates the Super Large 4 specification. Super u200dLarge LCU-supported specification is in beta now. u200cu200dTo join the beta, [submit a ticket](https://console.cloud.tencent.com/workorder/category). </li></ul></li><li>It’s not required for a shared CLB instance. </li></ul>
	SlaType *string `json:"SlaType,omitnil" name:"SlaType"`

	// 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 idempotency of the request cannot be guaranteed.
	ClientToken *string `json:"ClientToken,omitnil" name:"ClientToken"`

	// Whether Binding IPs of other VPCs feature switch
	SnatPro *bool `json:"SnatPro,omitnil" name:"SnatPro"`

	// Creates `SnatIp` when the binding IPs of other VPCs feature is enabled
	SnatIps []*SnatIp `json:"SnatIps,omitnil" name:"SnatIps"`

	// Tag for the STGW exclusive cluster.
	ClusterTag *string `json:"ClusterTag,omitnil" name:"ClusterTag"`

	// Specifies the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`. It is applicable only to public network CLB.
	// Note: The traffic only goes to the secondary AZ when the primary AZ is unavailable. You can query the list of primary and secondary AZ of a region by calling [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1).
	SlaveZoneId *string `json:"SlaveZoneId,omitnil" name:"SlaveZoneId"`

	// Unique ID of an EIP, which can only be used when binding the EIP of a private network CLB instance. E.g., `eip-11112222`.
	EipAddressId *string `json:"EipAddressId,omitnil" name:"EipAddressId"`

	// Whether to allow CLB traffic to the target group. `true`: allows CLB traffic to the target group and verifies security groups only on CLB; `false`: denies CLB traffic to the target group and verifies security groups on both CLB and backend instances.
	LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitnil" name:"LoadBalancerPassToTarget"`

	// Upgrades to domain name-based CLB
	DynamicVip *bool `json:"DynamicVip,omitnil" name:"DynamicVip"`
}

Predefined struct for user

type CreateLoadBalancerResponse

type CreateLoadBalancerResponse struct {
	*tchttp.BaseResponse
	Response *CreateLoadBalancerResponseParams `json:"Response"`
}

func NewCreateLoadBalancerResponse

func NewCreateLoadBalancerResponse() (response *CreateLoadBalancerResponse)

func (*CreateLoadBalancerResponse) FromJsonString

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

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

func (*CreateLoadBalancerResponse) ToJsonString

func (r *CreateLoadBalancerResponse) ToJsonString() string

type CreateLoadBalancerResponseParams

type CreateLoadBalancerResponseParams struct {
	// Array of unique CLB instance IDs.
	// This field may return `null` in some cases, such as there is delay during instance creation. You can query the IDs of the created instances by invoking `DescribeTaskStatus` with the `RequestId` or `DealName` returned by this API.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`

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

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

Predefined struct for user

type CreateLoadBalancerSnatIpsRequest

type CreateLoadBalancerSnatIpsRequest struct {
	*tchttp.BaseRequest

	// Unique ID of a CLB instance, e.g., lb-12345678.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Information of the SNAT IP to be added. You can specify a SNAT IP or use the one automatically assigned by a subnet.
	SnatIps []*SnatIp `json:"SnatIps,omitnil" name:"SnatIps"`

	// Number of SNAT IPs to be added. This parameter is used in conjunction with `SnatIps`. Note that if `Ip` is specified in `SnapIps`, this parameter is not available. It defaults to `1` and the upper limit is `10`.
	Number *uint64 `json:"Number,omitnil" name:"Number"`
}

func NewCreateLoadBalancerSnatIpsRequest

func NewCreateLoadBalancerSnatIpsRequest() (request *CreateLoadBalancerSnatIpsRequest)

func (*CreateLoadBalancerSnatIpsRequest) FromJsonString

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

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

func (*CreateLoadBalancerSnatIpsRequest) ToJsonString

func (r *CreateLoadBalancerSnatIpsRequest) ToJsonString() string

type CreateLoadBalancerSnatIpsRequestParams

type CreateLoadBalancerSnatIpsRequestParams struct {
	// Unique ID of a CLB instance, e.g., lb-12345678.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Information of the SNAT IP to be added. You can specify a SNAT IP or use the one automatically assigned by a subnet.
	SnatIps []*SnatIp `json:"SnatIps,omitnil" name:"SnatIps"`

	// Number of SNAT IPs to be added. This parameter is used in conjunction with `SnatIps`. Note that if `Ip` is specified in `SnapIps`, this parameter is not available. It defaults to `1` and the upper limit is `10`.
	Number *uint64 `json:"Number,omitnil" name:"Number"`
}

Predefined struct for user

type CreateLoadBalancerSnatIpsResponse

type CreateLoadBalancerSnatIpsResponse struct {
	*tchttp.BaseResponse
	Response *CreateLoadBalancerSnatIpsResponseParams `json:"Response"`
}

func NewCreateLoadBalancerSnatIpsResponse

func NewCreateLoadBalancerSnatIpsResponse() (response *CreateLoadBalancerSnatIpsResponse)

func (*CreateLoadBalancerSnatIpsResponse) FromJsonString

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

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

func (*CreateLoadBalancerSnatIpsResponse) ToJsonString

func (r *CreateLoadBalancerSnatIpsResponse) ToJsonString() string

type CreateLoadBalancerSnatIpsResponseParams

type CreateLoadBalancerSnatIpsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateRuleRequest

type CreateRuleRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

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

	// Information of the new forwarding rule
	Rules []*RuleInput `json:"Rules,omitnil" name:"Rules"`
}

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 {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

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

	// Information of the new forwarding rule
	Rules []*RuleInput `json:"Rules,omitnil" name:"Rules"`
}

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 {
	// Array of unique IDs of created forwarding rules
	LocationIds []*string `json:"LocationIds,omitnil" name:"LocationIds"`

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

Predefined struct for user

type CreateTargetGroupRequest

type CreateTargetGroupRequest struct {
	*tchttp.BaseRequest

	// Target group name (up to 50 characters)
	TargetGroupName *string `json:"TargetGroupName,omitnil" name:"TargetGroupName"`

	// `vpcid` attribute of a target group. If this parameter is left empty, the default VPC will be used.
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// Default port of a target group, which can be used for subsequently added servers.
	Port *uint64 `json:"Port,omitnil" name:"Port"`

	// Real server bound to a target group
	TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil" name:"TargetGroupInstances"`
}

func NewCreateTargetGroupRequest

func NewCreateTargetGroupRequest() (request *CreateTargetGroupRequest)

func (*CreateTargetGroupRequest) FromJsonString

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

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

func (*CreateTargetGroupRequest) ToJsonString

func (r *CreateTargetGroupRequest) ToJsonString() string

type CreateTargetGroupRequestParams

type CreateTargetGroupRequestParams struct {
	// Target group name (up to 50 characters)
	TargetGroupName *string `json:"TargetGroupName,omitnil" name:"TargetGroupName"`

	// `vpcid` attribute of a target group. If this parameter is left empty, the default VPC will be used.
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// Default port of a target group, which can be used for subsequently added servers.
	Port *uint64 `json:"Port,omitnil" name:"Port"`

	// Real server bound to a target group
	TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil" name:"TargetGroupInstances"`
}

Predefined struct for user

type CreateTargetGroupResponse

type CreateTargetGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateTargetGroupResponseParams `json:"Response"`
}

func NewCreateTargetGroupResponse

func NewCreateTargetGroupResponse() (response *CreateTargetGroupResponse)

func (*CreateTargetGroupResponse) FromJsonString

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

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

func (*CreateTargetGroupResponse) ToJsonString

func (r *CreateTargetGroupResponse) ToJsonString() string

type CreateTargetGroupResponseParams

type CreateTargetGroupResponseParams struct {
	// ID generated after target group creation
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

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

Predefined struct for user

type CreateTopicRequest

type CreateTopicRequest struct {
	*tchttp.BaseRequest

	// Log topic name
	TopicName *string `json:"TopicName,omitnil" name:"TopicName"`

	// The number of topic partitions, which changes as partitions are split or merged. Each log topic can have up to 50 partitions. If this parameter is not passed in, 1 partition will be created by default and up to 10 partitions are allowed to be created.
	PartitionCount *uint64 `json:"PartitionCount,omitnil" name:"PartitionCount"`

	// Log type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs).
	TopicType *string `json:"TopicType,omitnil" name:"TopicType"`

	// Logset retention period (in days). Default: 30 days.
	Period *uint64 `json:"Period,omitnil" name:"Period"`

	// Log topic storage type. Valid values: `hot` (STANDARD storage); `cold` (IA storage). Default value: `hot`.
	StorageType *string `json:"StorageType,omitnil" name:"StorageType"`
}

func NewCreateTopicRequest

func NewCreateTopicRequest() (request *CreateTopicRequest)

func (*CreateTopicRequest) FromJsonString

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

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

func (*CreateTopicRequest) ToJsonString

func (r *CreateTopicRequest) ToJsonString() string

type CreateTopicRequestParams

type CreateTopicRequestParams struct {
	// Log topic name
	TopicName *string `json:"TopicName,omitnil" name:"TopicName"`

	// The number of topic partitions, which changes as partitions are split or merged. Each log topic can have up to 50 partitions. If this parameter is not passed in, 1 partition will be created by default and up to 10 partitions are allowed to be created.
	PartitionCount *uint64 `json:"PartitionCount,omitnil" name:"PartitionCount"`

	// Log type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs).
	TopicType *string `json:"TopicType,omitnil" name:"TopicType"`

	// Logset retention period (in days). Default: 30 days.
	Period *uint64 `json:"Period,omitnil" name:"Period"`

	// Log topic storage type. Valid values: `hot` (STANDARD storage); `cold` (IA storage). Default value: `hot`.
	StorageType *string `json:"StorageType,omitnil" name:"StorageType"`
}

Predefined struct for user

type CreateTopicResponse

type CreateTopicResponse struct {
	*tchttp.BaseResponse
	Response *CreateTopicResponseParams `json:"Response"`
}

func NewCreateTopicResponse

func NewCreateTopicResponse() (response *CreateTopicResponse)

func (*CreateTopicResponse) FromJsonString

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

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

func (*CreateTopicResponse) ToJsonString

func (r *CreateTopicResponse) ToJsonString() string

type CreateTopicResponseParams

type CreateTopicResponseParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil" name:"TopicId"`

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

Predefined struct for user

type CrossTargets

type CrossTargets struct {
	// VPC ID of the CLB instance
	LocalVpcId *string `json:"LocalVpcId,omitnil" name:"LocalVpcId"`

	// VPC ID of the CVM or ENI instance
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// IP address of the CVM or ENI instance
	IP *string `json:"IP,omitnil" name:"IP"`

	// VPC name of the CVM or ENI instance
	VpcName *string `json:"VpcName,omitnil" name:"VpcName"`

	// ENI ID of the CVM instance
	EniId *string `json:"EniId,omitnil" name:"EniId"`

	// ID of the CVM instance
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Name of the CVM instance
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Region of the CVM or ENI instance
	Region *string `json:"Region,omitnil" name:"Region"`
}

type DeleteListenerRequest

type DeleteListenerRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// ID of the listener to be deleted
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`
}

func NewDeleteListenerRequest

func NewDeleteListenerRequest() (request *DeleteListenerRequest)

func (*DeleteListenerRequest) FromJsonString

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

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

func (*DeleteListenerRequest) ToJsonString

func (r *DeleteListenerRequest) ToJsonString() string

type DeleteListenerRequestParams

type DeleteListenerRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// ID of the listener to be deleted
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`
}

Predefined struct for user

type DeleteListenerResponse

type DeleteListenerResponse struct {
	*tchttp.BaseResponse
	Response *DeleteListenerResponseParams `json:"Response"`
}

func NewDeleteListenerResponse

func NewDeleteListenerResponse() (response *DeleteListenerResponse)

func (*DeleteListenerResponse) FromJsonString

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

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

func (*DeleteListenerResponse) ToJsonString

func (r *DeleteListenerResponse) ToJsonString() string

type DeleteListenerResponseParams

type DeleteListenerResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteLoadBalancerListenersRequest

type DeleteLoadBalancerListenersRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Array of listener IDs to delete (20 IDs at most). If this parameter is left empty, all listeners of the CLB instance will be deleted.
	ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"`
}

func NewDeleteLoadBalancerListenersRequest

func NewDeleteLoadBalancerListenersRequest() (request *DeleteLoadBalancerListenersRequest)

func (*DeleteLoadBalancerListenersRequest) FromJsonString

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

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

func (*DeleteLoadBalancerListenersRequest) ToJsonString

func (r *DeleteLoadBalancerListenersRequest) ToJsonString() string

type DeleteLoadBalancerListenersRequestParams

type DeleteLoadBalancerListenersRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Array of listener IDs to delete (20 IDs at most). If this parameter is left empty, all listeners of the CLB instance will be deleted.
	ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"`
}

Predefined struct for user

type DeleteLoadBalancerListenersResponse

type DeleteLoadBalancerListenersResponse struct {
	*tchttp.BaseResponse
	Response *DeleteLoadBalancerListenersResponseParams `json:"Response"`
}

func NewDeleteLoadBalancerListenersResponse

func NewDeleteLoadBalancerListenersResponse() (response *DeleteLoadBalancerListenersResponse)

func (*DeleteLoadBalancerListenersResponse) FromJsonString

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

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

func (*DeleteLoadBalancerListenersResponse) ToJsonString

func (r *DeleteLoadBalancerListenersResponse) ToJsonString() string

type DeleteLoadBalancerListenersResponseParams

type DeleteLoadBalancerListenersResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteLoadBalancerRequest

type DeleteLoadBalancerRequest struct {
	*tchttp.BaseRequest

	// Array of IDs of the CLB instances to be deleted. Array length limit: 20.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`
}

func NewDeleteLoadBalancerRequest

func NewDeleteLoadBalancerRequest() (request *DeleteLoadBalancerRequest)

func (*DeleteLoadBalancerRequest) FromJsonString

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

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

func (*DeleteLoadBalancerRequest) ToJsonString

func (r *DeleteLoadBalancerRequest) ToJsonString() string

type DeleteLoadBalancerRequestParams

type DeleteLoadBalancerRequestParams struct {
	// Array of IDs of the CLB instances to be deleted. Array length limit: 20.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`
}

Predefined struct for user

type DeleteLoadBalancerResponse

type DeleteLoadBalancerResponse struct {
	*tchttp.BaseResponse
	Response *DeleteLoadBalancerResponseParams `json:"Response"`
}

func NewDeleteLoadBalancerResponse

func NewDeleteLoadBalancerResponse() (response *DeleteLoadBalancerResponse)

func (*DeleteLoadBalancerResponse) FromJsonString

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

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

func (*DeleteLoadBalancerResponse) ToJsonString

func (r *DeleteLoadBalancerResponse) ToJsonString() string

type DeleteLoadBalancerResponseParams

type DeleteLoadBalancerResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteLoadBalancerSnatIpsRequest

type DeleteLoadBalancerSnatIpsRequest struct {
	*tchttp.BaseRequest

	// Unique ID of a CLB instance, e.g., lb-12345678.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Array of the SNAT IP addresses to be deleted
	Ips []*string `json:"Ips,omitnil" name:"Ips"`
}

func NewDeleteLoadBalancerSnatIpsRequest

func NewDeleteLoadBalancerSnatIpsRequest() (request *DeleteLoadBalancerSnatIpsRequest)

func (*DeleteLoadBalancerSnatIpsRequest) FromJsonString

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

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

func (*DeleteLoadBalancerSnatIpsRequest) ToJsonString

func (r *DeleteLoadBalancerSnatIpsRequest) ToJsonString() string

type DeleteLoadBalancerSnatIpsRequestParams

type DeleteLoadBalancerSnatIpsRequestParams struct {
	// Unique ID of a CLB instance, e.g., lb-12345678.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Array of the SNAT IP addresses to be deleted
	Ips []*string `json:"Ips,omitnil" name:"Ips"`
}

Predefined struct for user

type DeleteLoadBalancerSnatIpsResponse

type DeleteLoadBalancerSnatIpsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteLoadBalancerSnatIpsResponseParams `json:"Response"`
}

func NewDeleteLoadBalancerSnatIpsResponse

func NewDeleteLoadBalancerSnatIpsResponse() (response *DeleteLoadBalancerSnatIpsResponse)

func (*DeleteLoadBalancerSnatIpsResponse) FromJsonString

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

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

func (*DeleteLoadBalancerSnatIpsResponse) ToJsonString

func (r *DeleteLoadBalancerSnatIpsResponse) ToJsonString() string

type DeleteLoadBalancerSnatIpsResponseParams

type DeleteLoadBalancerSnatIpsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteRewriteRequest

type DeleteRewriteRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Source listener ID
	SourceListenerId *string `json:"SourceListenerId,omitnil" name:"SourceListenerId"`

	// Target listener ID
	TargetListenerId *string `json:"TargetListenerId,omitnil" name:"TargetListenerId"`

	// Redirection relationship between forwarding rules
	RewriteInfos []*RewriteLocationMap `json:"RewriteInfos,omitnil" name:"RewriteInfos"`
}

func NewDeleteRewriteRequest

func NewDeleteRewriteRequest() (request *DeleteRewriteRequest)

func (*DeleteRewriteRequest) FromJsonString

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

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

func (*DeleteRewriteRequest) ToJsonString

func (r *DeleteRewriteRequest) ToJsonString() string

type DeleteRewriteRequestParams

type DeleteRewriteRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Source listener ID
	SourceListenerId *string `json:"SourceListenerId,omitnil" name:"SourceListenerId"`

	// Target listener ID
	TargetListenerId *string `json:"TargetListenerId,omitnil" name:"TargetListenerId"`

	// Redirection relationship between forwarding rules
	RewriteInfos []*RewriteLocationMap `json:"RewriteInfos,omitnil" name:"RewriteInfos"`
}

Predefined struct for user

type DeleteRewriteResponse

type DeleteRewriteResponse struct {
	*tchttp.BaseResponse
	Response *DeleteRewriteResponseParams `json:"Response"`
}

func NewDeleteRewriteResponse

func NewDeleteRewriteResponse() (response *DeleteRewriteResponse)

func (*DeleteRewriteResponse) FromJsonString

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

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

func (*DeleteRewriteResponse) ToJsonString

func (r *DeleteRewriteResponse) ToJsonString() string

type DeleteRewriteResponseParams

type DeleteRewriteResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteRuleRequest

type DeleteRuleRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// Array of IDs of the forwarding rules to be deleted
	LocationIds []*string `json:"LocationIds,omitnil" name:"LocationIds"`

	// The domain name associated with the forwarding rule to delete. If the rule is associated with multiple domain names, specify any one of them.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// The forwarding path of the forwarding rule to delete.
	Url *string `json:"Url,omitnil" name:"Url"`

	// Specifies a new default domain name for the listener. This field is used when the original default domain name is disabled. If there are multiple domain names, specify one of them.
	NewDefaultServerDomain *string `json:"NewDefaultServerDomain,omitnil" name:"NewDefaultServerDomain"`
}

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 {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// Array of IDs of the forwarding rules to be deleted
	LocationIds []*string `json:"LocationIds,omitnil" name:"LocationIds"`

	// The domain name associated with the forwarding rule to delete. If the rule is associated with multiple domain names, specify any one of them.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// The forwarding path of the forwarding rule to delete.
	Url *string `json:"Url,omitnil" name:"Url"`

	// Specifies a new default domain name for the listener. This field is used when the original default domain name is disabled. If there are multiple domain names, specify one of them.
	NewDefaultServerDomain *string `json:"NewDefaultServerDomain,omitnil" name:"NewDefaultServerDomain"`
}

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,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteTargetGroupsRequest

type DeleteTargetGroupsRequest struct {
	*tchttp.BaseRequest

	// Target group ID array
	TargetGroupIds []*string `json:"TargetGroupIds,omitnil" name:"TargetGroupIds"`
}

func NewDeleteTargetGroupsRequest

func NewDeleteTargetGroupsRequest() (request *DeleteTargetGroupsRequest)

func (*DeleteTargetGroupsRequest) FromJsonString

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

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

func (*DeleteTargetGroupsRequest) ToJsonString

func (r *DeleteTargetGroupsRequest) ToJsonString() string

type DeleteTargetGroupsRequestParams

type DeleteTargetGroupsRequestParams struct {
	// Target group ID array
	TargetGroupIds []*string `json:"TargetGroupIds,omitnil" name:"TargetGroupIds"`
}

Predefined struct for user

type DeleteTargetGroupsResponse

type DeleteTargetGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTargetGroupsResponseParams `json:"Response"`
}

func NewDeleteTargetGroupsResponse

func NewDeleteTargetGroupsResponse() (response *DeleteTargetGroupsResponse)

func (*DeleteTargetGroupsResponse) FromJsonString

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

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

func (*DeleteTargetGroupsResponse) ToJsonString

func (r *DeleteTargetGroupsResponse) ToJsonString() string

type DeleteTargetGroupsResponseParams

type DeleteTargetGroupsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeregisterFunctionTargetsRequest

type DeregisterFunctionTargetsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID.
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// List of functions to be unbound
	FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil" name:"FunctionTargets"`

	// The ID of target forwarding rule. To unbind a function from an L7 forwarding rule, either `LocationId` or `Domain+Url` is required.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Domain name of the target forwarding rule. It is ignored if `LocationId` is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// URL of the target forwarding rule. It is ignored if `LocationId` is specified.
	Url *string `json:"Url,omitnil" name:"Url"`
}

func NewDeregisterFunctionTargetsRequest

func NewDeregisterFunctionTargetsRequest() (request *DeregisterFunctionTargetsRequest)

func (*DeregisterFunctionTargetsRequest) FromJsonString

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

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

func (*DeregisterFunctionTargetsRequest) ToJsonString

func (r *DeregisterFunctionTargetsRequest) ToJsonString() string

type DeregisterFunctionTargetsRequestParams

type DeregisterFunctionTargetsRequestParams struct {
	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID.
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// List of functions to be unbound
	FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil" name:"FunctionTargets"`

	// The ID of target forwarding rule. To unbind a function from an L7 forwarding rule, either `LocationId` or `Domain+Url` is required.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Domain name of the target forwarding rule. It is ignored if `LocationId` is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// URL of the target forwarding rule. It is ignored if `LocationId` is specified.
	Url *string `json:"Url,omitnil" name:"Url"`
}

Predefined struct for user

type DeregisterFunctionTargetsResponse

type DeregisterFunctionTargetsResponse struct {
	*tchttp.BaseResponse
	Response *DeregisterFunctionTargetsResponseParams `json:"Response"`
}

func NewDeregisterFunctionTargetsResponse

func NewDeregisterFunctionTargetsResponse() (response *DeregisterFunctionTargetsResponse)

func (*DeregisterFunctionTargetsResponse) FromJsonString

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

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

func (*DeregisterFunctionTargetsResponse) ToJsonString

func (r *DeregisterFunctionTargetsResponse) ToJsonString() string

type DeregisterFunctionTargetsResponseParams

type DeregisterFunctionTargetsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeregisterTargetGroupInstancesRequest

type DeregisterTargetGroupInstancesRequest struct {
	*tchttp.BaseRequest

	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// Information of server to be unbound
	TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil" name:"TargetGroupInstances"`
}

func NewDeregisterTargetGroupInstancesRequest

func NewDeregisterTargetGroupInstancesRequest() (request *DeregisterTargetGroupInstancesRequest)

func (*DeregisterTargetGroupInstancesRequest) FromJsonString

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

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

func (*DeregisterTargetGroupInstancesRequest) ToJsonString

type DeregisterTargetGroupInstancesRequestParams

type DeregisterTargetGroupInstancesRequestParams struct {
	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// Information of server to be unbound
	TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil" name:"TargetGroupInstances"`
}

Predefined struct for user

type DeregisterTargetGroupInstancesResponse

type DeregisterTargetGroupInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DeregisterTargetGroupInstancesResponseParams `json:"Response"`
}

func NewDeregisterTargetGroupInstancesResponse

func NewDeregisterTargetGroupInstancesResponse() (response *DeregisterTargetGroupInstancesResponse)

func (*DeregisterTargetGroupInstancesResponse) FromJsonString

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

func (*DeregisterTargetGroupInstancesResponse) ToJsonString

type DeregisterTargetGroupInstancesResponseParams

type DeregisterTargetGroupInstancesResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeregisterTargetsFromClassicalLBRequest

type DeregisterTargetsFromClassicalLBRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// List of real server IDs
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`
}

func NewDeregisterTargetsFromClassicalLBRequest

func NewDeregisterTargetsFromClassicalLBRequest() (request *DeregisterTargetsFromClassicalLBRequest)

func (*DeregisterTargetsFromClassicalLBRequest) FromJsonString

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

func (*DeregisterTargetsFromClassicalLBRequest) ToJsonString

type DeregisterTargetsFromClassicalLBRequestParams

type DeregisterTargetsFromClassicalLBRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// List of real server IDs
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`
}

Predefined struct for user

type DeregisterTargetsFromClassicalLBResponse

type DeregisterTargetsFromClassicalLBResponse struct {
	*tchttp.BaseResponse
	Response *DeregisterTargetsFromClassicalLBResponseParams `json:"Response"`
}

func NewDeregisterTargetsFromClassicalLBResponse

func NewDeregisterTargetsFromClassicalLBResponse() (response *DeregisterTargetsFromClassicalLBResponse)

func (*DeregisterTargetsFromClassicalLBResponse) FromJsonString

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

func (*DeregisterTargetsFromClassicalLBResponse) ToJsonString

type DeregisterTargetsFromClassicalLBResponseParams

type DeregisterTargetsFromClassicalLBResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeregisterTargetsRequest

type DeregisterTargetsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID in the format of "lb-12345678"
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Listener ID in the format of "lbl-12345678"
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// List of real servers to be unbound. Array length limit: 20.
	Targets []*Target `json:"Targets,omitnil" name:"Targets"`

	// Forwarding rule ID in the format of "loc-12345678". When unbinding a server from a layer-7 forwarding rule, you must provide either this parameter or Domain+Url.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Target rule domain name. This parameter does not take effect if LocationId is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Target rule URL. This parameter does not take effect if LocationId is specified.
	Url *string `json:"Url,omitnil" name:"Url"`
}

func NewDeregisterTargetsRequest

func NewDeregisterTargetsRequest() (request *DeregisterTargetsRequest)

func (*DeregisterTargetsRequest) FromJsonString

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

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

func (*DeregisterTargetsRequest) ToJsonString

func (r *DeregisterTargetsRequest) ToJsonString() string

type DeregisterTargetsRequestParams

type DeregisterTargetsRequestParams struct {
	// CLB instance ID in the format of "lb-12345678"
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Listener ID in the format of "lbl-12345678"
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// List of real servers to be unbound. Array length limit: 20.
	Targets []*Target `json:"Targets,omitnil" name:"Targets"`

	// Forwarding rule ID in the format of "loc-12345678". When unbinding a server from a layer-7 forwarding rule, you must provide either this parameter or Domain+Url.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Target rule domain name. This parameter does not take effect if LocationId is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Target rule URL. This parameter does not take effect if LocationId is specified.
	Url *string `json:"Url,omitnil" name:"Url"`
}

Predefined struct for user

type DeregisterTargetsResponse

type DeregisterTargetsResponse struct {
	*tchttp.BaseResponse
	Response *DeregisterTargetsResponseParams `json:"Response"`
}

func NewDeregisterTargetsResponse

func NewDeregisterTargetsResponse() (response *DeregisterTargetsResponse)

func (*DeregisterTargetsResponse) FromJsonString

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

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

func (*DeregisterTargetsResponse) ToJsonString

func (r *DeregisterTargetsResponse) ToJsonString() string

type DeregisterTargetsResponseParams

type DeregisterTargetsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeBlockIPListRequest

type DescribeBlockIPListRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Data offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of IPs to be returned. Default value: 100,000.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeBlockIPListRequest

func NewDescribeBlockIPListRequest() (request *DescribeBlockIPListRequest)

func (*DescribeBlockIPListRequest) FromJsonString

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

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

func (*DescribeBlockIPListRequest) ToJsonString

func (r *DescribeBlockIPListRequest) ToJsonString() string

type DescribeBlockIPListRequestParams

type DescribeBlockIPListRequestParams struct {
	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Data offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of IPs to be returned. Default value: 100,000.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeBlockIPListResponse

type DescribeBlockIPListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBlockIPListResponseParams `json:"Response"`
}

func NewDescribeBlockIPListResponse

func NewDescribeBlockIPListResponse() (response *DescribeBlockIPListResponse)

func (*DescribeBlockIPListResponse) FromJsonString

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

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

func (*DescribeBlockIPListResponse) ToJsonString

func (r *DescribeBlockIPListResponse) ToJsonString() string

type DescribeBlockIPListResponseParams

type DescribeBlockIPListResponseParams struct {
	// Number of returned IPs
	BlockedIPCount *uint64 `json:"BlockedIPCount,omitnil" name:"BlockedIPCount"`

	// Field for getting real client IP
	ClientIPField *string `json:"ClientIPField,omitnil" name:"ClientIPField"`

	// List of IPs added to blocklist 12360
	BlockedIPList []*BlockedIP `json:"BlockedIPList,omitnil" name:"BlockedIPList"`

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

Predefined struct for user

type DescribeBlockIPTaskRequest

type DescribeBlockIPTaskRequest struct {
	*tchttp.BaseRequest

	// Async task ID returned by the `ModifyBlockIPList` API
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`
}

func NewDescribeBlockIPTaskRequest

func NewDescribeBlockIPTaskRequest() (request *DescribeBlockIPTaskRequest)

func (*DescribeBlockIPTaskRequest) FromJsonString

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

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

func (*DescribeBlockIPTaskRequest) ToJsonString

func (r *DescribeBlockIPTaskRequest) ToJsonString() string

type DescribeBlockIPTaskRequestParams

type DescribeBlockIPTaskRequestParams struct {
	// Async task ID returned by the `ModifyBlockIPList` API
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`
}

Predefined struct for user

type DescribeBlockIPTaskResponse

type DescribeBlockIPTaskResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBlockIPTaskResponseParams `json:"Response"`
}

func NewDescribeBlockIPTaskResponse

func NewDescribeBlockIPTaskResponse() (response *DescribeBlockIPTaskResponse)

func (*DescribeBlockIPTaskResponse) FromJsonString

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

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

func (*DescribeBlockIPTaskResponse) ToJsonString

func (r *DescribeBlockIPTaskResponse) ToJsonString() string

type DescribeBlockIPTaskResponseParams

type DescribeBlockIPTaskResponseParams struct {
	// 1: running; 2: failed; 6: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

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

Predefined struct for user

type DescribeClassicalLBByInstanceIdRequest

type DescribeClassicalLBByInstanceIdRequest struct {
	*tchttp.BaseRequest

	// List of real server IDs
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`
}

func NewDescribeClassicalLBByInstanceIdRequest

func NewDescribeClassicalLBByInstanceIdRequest() (request *DescribeClassicalLBByInstanceIdRequest)

func (*DescribeClassicalLBByInstanceIdRequest) FromJsonString

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

func (*DescribeClassicalLBByInstanceIdRequest) ToJsonString

type DescribeClassicalLBByInstanceIdRequestParams

type DescribeClassicalLBByInstanceIdRequestParams struct {
	// List of real server IDs
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`
}

Predefined struct for user

type DescribeClassicalLBByInstanceIdResponse

type DescribeClassicalLBByInstanceIdResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClassicalLBByInstanceIdResponseParams `json:"Response"`
}

func NewDescribeClassicalLBByInstanceIdResponse

func NewDescribeClassicalLBByInstanceIdResponse() (response *DescribeClassicalLBByInstanceIdResponse)

func (*DescribeClassicalLBByInstanceIdResponse) FromJsonString

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

func (*DescribeClassicalLBByInstanceIdResponse) ToJsonString

type DescribeClassicalLBByInstanceIdResponseParams

type DescribeClassicalLBByInstanceIdResponseParams struct {
	// CLB information list
	LoadBalancerInfoList []*ClassicalLoadBalancerInfo `json:"LoadBalancerInfoList,omitnil" name:"LoadBalancerInfoList"`

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

Predefined struct for user

type DescribeClassicalLBHealthStatusRequest

type DescribeClassicalLBHealthStatusRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`
}

func NewDescribeClassicalLBHealthStatusRequest

func NewDescribeClassicalLBHealthStatusRequest() (request *DescribeClassicalLBHealthStatusRequest)

func (*DescribeClassicalLBHealthStatusRequest) FromJsonString

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

func (*DescribeClassicalLBHealthStatusRequest) ToJsonString

type DescribeClassicalLBHealthStatusRequestParams

type DescribeClassicalLBHealthStatusRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`
}

Predefined struct for user

type DescribeClassicalLBHealthStatusResponse

type DescribeClassicalLBHealthStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClassicalLBHealthStatusResponseParams `json:"Response"`
}

func NewDescribeClassicalLBHealthStatusResponse

func NewDescribeClassicalLBHealthStatusResponse() (response *DescribeClassicalLBHealthStatusResponse)

func (*DescribeClassicalLBHealthStatusResponse) FromJsonString

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

func (*DescribeClassicalLBHealthStatusResponse) ToJsonString

type DescribeClassicalLBHealthStatusResponseParams

type DescribeClassicalLBHealthStatusResponseParams struct {
	// List of real server health statuses
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	HealthList []*ClassicalHealth `json:"HealthList,omitnil" name:"HealthList"`

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

Predefined struct for user

type DescribeClassicalLBListenersRequest

type DescribeClassicalLBListenersRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// List of CLB listener IDs
	ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"`

	// CLB listening protocol. Valid values: TCP, UDP, HTTP, and HTTPS.
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// CLB listening port. Value range: 1 - 65535.
	ListenerPort *int64 `json:"ListenerPort,omitnil" name:"ListenerPort"`

	// Listener status. Valid values: 0 (creating) and 1 (running).
	Status *int64 `json:"Status,omitnil" name:"Status"`
}

func NewDescribeClassicalLBListenersRequest

func NewDescribeClassicalLBListenersRequest() (request *DescribeClassicalLBListenersRequest)

func (*DescribeClassicalLBListenersRequest) FromJsonString

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

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

func (*DescribeClassicalLBListenersRequest) ToJsonString

func (r *DescribeClassicalLBListenersRequest) ToJsonString() string

type DescribeClassicalLBListenersRequestParams

type DescribeClassicalLBListenersRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// List of CLB listener IDs
	ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"`

	// CLB listening protocol. Valid values: TCP, UDP, HTTP, and HTTPS.
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// CLB listening port. Value range: 1 - 65535.
	ListenerPort *int64 `json:"ListenerPort,omitnil" name:"ListenerPort"`

	// Listener status. Valid values: 0 (creating) and 1 (running).
	Status *int64 `json:"Status,omitnil" name:"Status"`
}

Predefined struct for user

type DescribeClassicalLBListenersResponse

type DescribeClassicalLBListenersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClassicalLBListenersResponseParams `json:"Response"`
}

func NewDescribeClassicalLBListenersResponse

func NewDescribeClassicalLBListenersResponse() (response *DescribeClassicalLBListenersResponse)

func (*DescribeClassicalLBListenersResponse) FromJsonString

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

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

func (*DescribeClassicalLBListenersResponse) ToJsonString

func (r *DescribeClassicalLBListenersResponse) ToJsonString() string

type DescribeClassicalLBListenersResponseParams

type DescribeClassicalLBListenersResponseParams struct {
	// Listener list
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Listeners []*ClassicalListener `json:"Listeners,omitnil" name:"Listeners"`

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

Predefined struct for user

type DescribeClassicalLBTargetsRequest

type DescribeClassicalLBTargetsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`
}

func NewDescribeClassicalLBTargetsRequest

func NewDescribeClassicalLBTargetsRequest() (request *DescribeClassicalLBTargetsRequest)

func (*DescribeClassicalLBTargetsRequest) FromJsonString

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

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

func (*DescribeClassicalLBTargetsRequest) ToJsonString

func (r *DescribeClassicalLBTargetsRequest) ToJsonString() string

type DescribeClassicalLBTargetsRequestParams

type DescribeClassicalLBTargetsRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`
}

Predefined struct for user

type DescribeClassicalLBTargetsResponse

type DescribeClassicalLBTargetsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClassicalLBTargetsResponseParams `json:"Response"`
}

func NewDescribeClassicalLBTargetsResponse

func NewDescribeClassicalLBTargetsResponse() (response *DescribeClassicalLBTargetsResponse)

func (*DescribeClassicalLBTargetsResponse) FromJsonString

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

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

func (*DescribeClassicalLBTargetsResponse) ToJsonString

func (r *DescribeClassicalLBTargetsResponse) ToJsonString() string

type DescribeClassicalLBTargetsResponseParams

type DescribeClassicalLBTargetsResponseParams struct {
	// Real server list
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Targets []*ClassicalTarget `json:"Targets,omitnil" name:"Targets"`

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

Predefined struct for user

type DescribeClsLogSetRequest

type DescribeClsLogSetRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeClsLogSetRequest

func NewDescribeClsLogSetRequest() (request *DescribeClsLogSetRequest)

func (*DescribeClsLogSetRequest) FromJsonString

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

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

func (*DescribeClsLogSetRequest) ToJsonString

func (r *DescribeClsLogSetRequest) ToJsonString() string

type DescribeClsLogSetRequestParams

type DescribeClsLogSetRequestParams struct {
}

Predefined struct for user

type DescribeClsLogSetResponse

type DescribeClsLogSetResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClsLogSetResponseParams `json:"Response"`
}

func NewDescribeClsLogSetResponse

func NewDescribeClsLogSetResponse() (response *DescribeClsLogSetResponse)

func (*DescribeClsLogSetResponse) FromJsonString

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

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

func (*DescribeClsLogSetResponse) ToJsonString

func (r *DescribeClsLogSetResponse) ToJsonString() string

type DescribeClsLogSetResponseParams

type DescribeClsLogSetResponseParams struct {
	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"`

	// Health check logset ID
	HealthLogsetId *string `json:"HealthLogsetId,omitnil" name:"HealthLogsetId"`

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

Predefined struct for user

type DescribeCrossTargetsRequest

type DescribeCrossTargetsRequest struct {
	*tchttp.BaseRequest

	// Number of real server lists returned. Default value: 20; maximum value: 100.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Starting offset of the real server list returned. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Filter conditions to query CVMs and ENIs
	// <li> `vpc-id` - String - Required: No - (Filter condition) Filter by VPC ID, such as "vpc-12345678".</li>
	// <li> `ip` - String - Required: No - (Filter condition) Filter by real server IP, such as "192.168.0.1".</li>
	// <li> `listener-id` - String - Required: No - (Filter condition) Filter by listener ID, such as "lbl-12345678".</li>
	// <li> `location-id` - String - Required: No - (Filter condition) Filter by forwarding rule ID of the layer-7 listener, such as "loc-12345678".</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

func NewDescribeCrossTargetsRequest

func NewDescribeCrossTargetsRequest() (request *DescribeCrossTargetsRequest)

func (*DescribeCrossTargetsRequest) FromJsonString

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

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

func (*DescribeCrossTargetsRequest) ToJsonString

func (r *DescribeCrossTargetsRequest) ToJsonString() string

type DescribeCrossTargetsRequestParams

type DescribeCrossTargetsRequestParams struct {
	// Number of real server lists returned. Default value: 20; maximum value: 100.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Starting offset of the real server list returned. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Filter conditions to query CVMs and ENIs
	// <li> `vpc-id` - String - Required: No - (Filter condition) Filter by VPC ID, such as "vpc-12345678".</li>
	// <li> `ip` - String - Required: No - (Filter condition) Filter by real server IP, such as "192.168.0.1".</li>
	// <li> `listener-id` - String - Required: No - (Filter condition) Filter by listener ID, such as "lbl-12345678".</li>
	// <li> `location-id` - String - Required: No - (Filter condition) Filter by forwarding rule ID of the layer-7 listener, such as "loc-12345678".</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

Predefined struct for user

type DescribeCrossTargetsResponse

type DescribeCrossTargetsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCrossTargetsResponseParams `json:"Response"`
}

func NewDescribeCrossTargetsResponse

func NewDescribeCrossTargetsResponse() (response *DescribeCrossTargetsResponse)

func (*DescribeCrossTargetsResponse) FromJsonString

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

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

func (*DescribeCrossTargetsResponse) ToJsonString

func (r *DescribeCrossTargetsResponse) ToJsonString() string

type DescribeCrossTargetsResponseParams

type DescribeCrossTargetsResponseParams struct {
	// Total number of real server lists
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Real server list
	CrossTargetSet []*CrossTargets `json:"CrossTargetSet,omitnil" name:"CrossTargetSet"`

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

Predefined struct for user

type DescribeCustomizedConfigAssociateListRequest

type DescribeCustomizedConfigAssociateListRequest struct {
	*tchttp.BaseRequest

	// Configuration ID.
	UconfigId *string `json:"UconfigId,omitnil" name:"UconfigId"`

	// Start position of the binding list. Default: 0.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Number of binding lists to pull. Default: 20.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Searches for the domain name.
	Domain *string `json:"Domain,omitnil" name:"Domain"`
}

func NewDescribeCustomizedConfigAssociateListRequest

func NewDescribeCustomizedConfigAssociateListRequest() (request *DescribeCustomizedConfigAssociateListRequest)

func (*DescribeCustomizedConfigAssociateListRequest) FromJsonString

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

func (*DescribeCustomizedConfigAssociateListRequest) ToJsonString

type DescribeCustomizedConfigAssociateListRequestParams

type DescribeCustomizedConfigAssociateListRequestParams struct {
	// Configuration ID.
	UconfigId *string `json:"UconfigId,omitnil" name:"UconfigId"`

	// Start position of the binding list. Default: 0.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Number of binding lists to pull. Default: 20.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Searches for the domain name.
	Domain *string `json:"Domain,omitnil" name:"Domain"`
}

Predefined struct for user

type DescribeCustomizedConfigAssociateListResponse

type DescribeCustomizedConfigAssociateListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCustomizedConfigAssociateListResponseParams `json:"Response"`
}

func NewDescribeCustomizedConfigAssociateListResponse

func NewDescribeCustomizedConfigAssociateListResponse() (response *DescribeCustomizedConfigAssociateListResponse)

func (*DescribeCustomizedConfigAssociateListResponse) FromJsonString

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

func (*DescribeCustomizedConfigAssociateListResponse) ToJsonString

type DescribeCustomizedConfigAssociateListResponseParams

type DescribeCustomizedConfigAssociateListResponseParams struct {
	// List of bound resources
	BindList []*BindDetailItem `json:"BindList,omitnil" name:"BindList"`

	// Total number of bound resources
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

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

Predefined struct for user

type DescribeCustomizedConfigListRequest

type DescribeCustomizedConfigListRequest struct {
	*tchttp.BaseRequest

	// Configuration type. Valid values: `CLB` (CLB-specific configs), `SERVER` (domain name-specific configs), and `LOCATION` (forwarding rule-specific configs).
	ConfigType *string `json:"ConfigType,omitnil" name:"ConfigType"`

	// Pagination offset. Default: 0.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Number of results per page. Default: 20.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Specifies the name of configs to query. Fuzzy match is supported.
	ConfigName *string `json:"ConfigName,omitnil" name:"ConfigName"`

	// Configuration ID.
	UconfigIds []*string `json:"UconfigIds,omitnil" name:"UconfigIds"`

	// The filters are:
	// <li> loadbalancer-id - String - Required: no - (filter) CLB instance ID, such as "lb-12345678". </li>
	// <li> vip - String - Required: no - (filter) CLB instance VIP, such as "1.1.1.1" and "2204::22:3". </li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

func NewDescribeCustomizedConfigListRequest

func NewDescribeCustomizedConfigListRequest() (request *DescribeCustomizedConfigListRequest)

func (*DescribeCustomizedConfigListRequest) FromJsonString

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

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

func (*DescribeCustomizedConfigListRequest) ToJsonString

func (r *DescribeCustomizedConfigListRequest) ToJsonString() string

type DescribeCustomizedConfigListRequestParams

type DescribeCustomizedConfigListRequestParams struct {
	// Configuration type. Valid values: `CLB` (CLB-specific configs), `SERVER` (domain name-specific configs), and `LOCATION` (forwarding rule-specific configs).
	ConfigType *string `json:"ConfigType,omitnil" name:"ConfigType"`

	// Pagination offset. Default: 0.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Number of results per page. Default: 20.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Specifies the name of configs to query. Fuzzy match is supported.
	ConfigName *string `json:"ConfigName,omitnil" name:"ConfigName"`

	// Configuration ID.
	UconfigIds []*string `json:"UconfigIds,omitnil" name:"UconfigIds"`

	// The filters are:
	// <li> loadbalancer-id - String - Required: no - (filter) CLB instance ID, such as "lb-12345678". </li>
	// <li> vip - String - Required: no - (filter) CLB instance VIP, such as "1.1.1.1" and "2204::22:3". </li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

Predefined struct for user

type DescribeCustomizedConfigListResponse

type DescribeCustomizedConfigListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCustomizedConfigListResponseParams `json:"Response"`
}

func NewDescribeCustomizedConfigListResponse

func NewDescribeCustomizedConfigListResponse() (response *DescribeCustomizedConfigListResponse)

func (*DescribeCustomizedConfigListResponse) FromJsonString

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

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

func (*DescribeCustomizedConfigListResponse) ToJsonString

func (r *DescribeCustomizedConfigListResponse) ToJsonString() string

type DescribeCustomizedConfigListResponseParams

type DescribeCustomizedConfigListResponseParams struct {
	// Configuration list.
	ConfigList []*ConfigListItem `json:"ConfigList,omitnil" name:"ConfigList"`

	// Number of configurations.
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

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

Predefined struct for user

type DescribeIdleLoadBalancersRequest

type DescribeIdleLoadBalancersRequest struct {
	*tchttp.BaseRequest

	// Data offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Number of returned CLB instances. Default value: 20. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// CLB instance region
	LoadBalancerRegion *string `json:"LoadBalancerRegion,omitnil" name:"LoadBalancerRegion"`
}

func NewDescribeIdleLoadBalancersRequest

func NewDescribeIdleLoadBalancersRequest() (request *DescribeIdleLoadBalancersRequest)

func (*DescribeIdleLoadBalancersRequest) FromJsonString

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

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

func (*DescribeIdleLoadBalancersRequest) ToJsonString

func (r *DescribeIdleLoadBalancersRequest) ToJsonString() string

type DescribeIdleLoadBalancersRequestParams

type DescribeIdleLoadBalancersRequestParams struct {
	// Data offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Number of returned CLB instances. Default value: 20. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// CLB instance region
	LoadBalancerRegion *string `json:"LoadBalancerRegion,omitnil" name:"LoadBalancerRegion"`
}

Predefined struct for user

type DescribeIdleLoadBalancersResponse

type DescribeIdleLoadBalancersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIdleLoadBalancersResponseParams `json:"Response"`
}

func NewDescribeIdleLoadBalancersResponse

func NewDescribeIdleLoadBalancersResponse() (response *DescribeIdleLoadBalancersResponse)

func (*DescribeIdleLoadBalancersResponse) FromJsonString

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

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

func (*DescribeIdleLoadBalancersResponse) ToJsonString

func (r *DescribeIdleLoadBalancersResponse) ToJsonString() string

type DescribeIdleLoadBalancersResponseParams

type DescribeIdleLoadBalancersResponseParams struct {
	// List of idle CLBs
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	IdleLoadBalancers []*IdleLoadBalancer `json:"IdleLoadBalancers,omitnil" name:"IdleLoadBalancers"`

	// Total number of idle CLB instances
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

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

Predefined struct for user

type DescribeLBListenersRequest

type DescribeLBListenersRequest struct {
	*tchttp.BaseRequest

	// List of private network IPs to be queried.
	Backends []*LbRsItem `json:"Backends,omitnil" name:"Backends"`
}

func NewDescribeLBListenersRequest

func NewDescribeLBListenersRequest() (request *DescribeLBListenersRequest)

func (*DescribeLBListenersRequest) FromJsonString

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

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

func (*DescribeLBListenersRequest) ToJsonString

func (r *DescribeLBListenersRequest) ToJsonString() string

type DescribeLBListenersRequestParams

type DescribeLBListenersRequestParams struct {
	// List of private network IPs to be queried.
	Backends []*LbRsItem `json:"Backends,omitnil" name:"Backends"`
}

Predefined struct for user

type DescribeLBListenersResponse

type DescribeLBListenersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLBListenersResponseParams `json:"Response"`
}

func NewDescribeLBListenersResponse

func NewDescribeLBListenersResponse() (response *DescribeLBListenersResponse)

func (*DescribeLBListenersResponse) FromJsonString

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

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

func (*DescribeLBListenersResponse) ToJsonString

func (r *DescribeLBListenersResponse) ToJsonString() string

type DescribeLBListenersResponseParams

type DescribeLBListenersResponseParams struct {
	// Listener rule associated with the real server.
	LoadBalancers []*LBItem `json:"LoadBalancers,omitnil" name:"LoadBalancers"`

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

Predefined struct for user

type DescribeListenersRequest

type DescribeListenersRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Array of CLB listener IDs to query (100 IDs at most).
	ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"`

	// Type of the listener protocols to be queried. Values: TCP`, `UDP`, `HTTP`, `HTTPS`, `TCP_SSL` and `QUIC`.
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Port of the listeners to be queried
	Port *int64 `json:"Port,omitnil" name:"Port"`
}

func NewDescribeListenersRequest

func NewDescribeListenersRequest() (request *DescribeListenersRequest)

func (*DescribeListenersRequest) FromJsonString

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

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

func (*DescribeListenersRequest) ToJsonString

func (r *DescribeListenersRequest) ToJsonString() string

type DescribeListenersRequestParams

type DescribeListenersRequestParams struct {
	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Array of CLB listener IDs to query (100 IDs at most).
	ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"`

	// Type of the listener protocols to be queried. Values: TCP`, `UDP`, `HTTP`, `HTTPS`, `TCP_SSL` and `QUIC`.
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Port of the listeners to be queried
	Port *int64 `json:"Port,omitnil" name:"Port"`
}

Predefined struct for user

type DescribeListenersResponse

type DescribeListenersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListenersResponseParams `json:"Response"`
}

func NewDescribeListenersResponse

func NewDescribeListenersResponse() (response *DescribeListenersResponse)

func (*DescribeListenersResponse) FromJsonString

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

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

func (*DescribeListenersResponse) ToJsonString

func (r *DescribeListenersResponse) ToJsonString() string

type DescribeListenersResponseParams

type DescribeListenersResponseParams struct {
	// Listener list
	Listeners []*Listener `json:"Listeners,omitnil" name:"Listeners"`

	// Total number of listeners (with filters of port, protocol, and listener ID applied).
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

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

Predefined struct for user

type DescribeLoadBalancerListByCertIdRequest

type DescribeLoadBalancerListByCertIdRequest struct {
	*tchttp.BaseRequest

	// Server or client certificate ID
	CertIds []*string `json:"CertIds,omitnil" name:"CertIds"`
}

func NewDescribeLoadBalancerListByCertIdRequest

func NewDescribeLoadBalancerListByCertIdRequest() (request *DescribeLoadBalancerListByCertIdRequest)

func (*DescribeLoadBalancerListByCertIdRequest) FromJsonString

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

func (*DescribeLoadBalancerListByCertIdRequest) ToJsonString

type DescribeLoadBalancerListByCertIdRequestParams

type DescribeLoadBalancerListByCertIdRequestParams struct {
	// Server or client certificate ID
	CertIds []*string `json:"CertIds,omitnil" name:"CertIds"`
}

Predefined struct for user

type DescribeLoadBalancerListByCertIdResponse

type DescribeLoadBalancerListByCertIdResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLoadBalancerListByCertIdResponseParams `json:"Response"`
}

func NewDescribeLoadBalancerListByCertIdResponse

func NewDescribeLoadBalancerListByCertIdResponse() (response *DescribeLoadBalancerListByCertIdResponse)

func (*DescribeLoadBalancerListByCertIdResponse) FromJsonString

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

func (*DescribeLoadBalancerListByCertIdResponse) ToJsonString

type DescribeLoadBalancerListByCertIdResponseParams

type DescribeLoadBalancerListByCertIdResponseParams struct {
	// Certificate ID and list of CLB instances associated with it
	CertSet []*CertIdRelatedWithLoadBalancers `json:"CertSet,omitnil" name:"CertSet"`

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

Predefined struct for user

type DescribeLoadBalancerOverviewRequest

type DescribeLoadBalancerOverviewRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeLoadBalancerOverviewRequest

func NewDescribeLoadBalancerOverviewRequest() (request *DescribeLoadBalancerOverviewRequest)

func (*DescribeLoadBalancerOverviewRequest) FromJsonString

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

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

func (*DescribeLoadBalancerOverviewRequest) ToJsonString

func (r *DescribeLoadBalancerOverviewRequest) ToJsonString() string

type DescribeLoadBalancerOverviewRequestParams

type DescribeLoadBalancerOverviewRequestParams struct {
}

Predefined struct for user

type DescribeLoadBalancerOverviewResponse

type DescribeLoadBalancerOverviewResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLoadBalancerOverviewResponseParams `json:"Response"`
}

func NewDescribeLoadBalancerOverviewResponse

func NewDescribeLoadBalancerOverviewResponse() (response *DescribeLoadBalancerOverviewResponse)

func (*DescribeLoadBalancerOverviewResponse) FromJsonString

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

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

func (*DescribeLoadBalancerOverviewResponse) ToJsonString

func (r *DescribeLoadBalancerOverviewResponse) ToJsonString() string

type DescribeLoadBalancerOverviewResponseParams

type DescribeLoadBalancerOverviewResponseParams struct {
	// Total number of CLB instances
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Number of CLB instances that are running
	RunningCount *int64 `json:"RunningCount,omitnil" name:"RunningCount"`

	// Number of CLB instances that are isolated
	IsolationCount *int64 `json:"IsolationCount,omitnil" name:"IsolationCount"`

	// Number of CLB instances that are about to expire
	WillExpireCount *int64 `json:"WillExpireCount,omitnil" name:"WillExpireCount"`

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

Predefined struct for user

type DescribeLoadBalancerTrafficRequest

type DescribeLoadBalancerTrafficRequest struct {
	*tchttp.BaseRequest

	// CLB instance region. If this parameter is not passed in, CLB instances in all regions will be returned.
	LoadBalancerRegion *string `json:"LoadBalancerRegion,omitnil" name:"LoadBalancerRegion"`
}

func NewDescribeLoadBalancerTrafficRequest

func NewDescribeLoadBalancerTrafficRequest() (request *DescribeLoadBalancerTrafficRequest)

func (*DescribeLoadBalancerTrafficRequest) FromJsonString

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

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

func (*DescribeLoadBalancerTrafficRequest) ToJsonString

func (r *DescribeLoadBalancerTrafficRequest) ToJsonString() string

type DescribeLoadBalancerTrafficRequestParams

type DescribeLoadBalancerTrafficRequestParams struct {
	// CLB instance region. If this parameter is not passed in, CLB instances in all regions will be returned.
	LoadBalancerRegion *string `json:"LoadBalancerRegion,omitnil" name:"LoadBalancerRegion"`
}

Predefined struct for user

type DescribeLoadBalancerTrafficResponse

type DescribeLoadBalancerTrafficResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLoadBalancerTrafficResponseParams `json:"Response"`
}

func NewDescribeLoadBalancerTrafficResponse

func NewDescribeLoadBalancerTrafficResponse() (response *DescribeLoadBalancerTrafficResponse)

func (*DescribeLoadBalancerTrafficResponse) FromJsonString

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

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

func (*DescribeLoadBalancerTrafficResponse) ToJsonString

func (r *DescribeLoadBalancerTrafficResponse) ToJsonString() string

type DescribeLoadBalancerTrafficResponseParams

type DescribeLoadBalancerTrafficResponseParams struct {
	// Information of CLB instances sorted by outbound bandwidth from highest to lowest
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	LoadBalancerTraffic []*LoadBalancerTraffic `json:"LoadBalancerTraffic,omitnil" name:"LoadBalancerTraffic"`

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

Predefined struct for user

type DescribeLoadBalancersDetailRequest

type DescribeLoadBalancersDetailRequest struct {
	*tchttp.BaseRequest

	// Number of CLB instance lists returned. Default value: 20; maximum value: 100.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Starting offset of the CLB instance list returned. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// List of fields. Only fields specified will be returned. If it’s left blank, `null` is returned. The fields `LoadBalancerId` and `LoadBalancerName` are added by default. For details about fields, see <a href="https://intl.cloud.tencent.com/document/api/214/30694?from_cn_redirect=1#LoadBalancerDetail">LoadBalancerDetail</a>.
	Fields []*string `json:"Fields,omitnil" name:"Fields"`

	// Target type. Valid values: NODE and GROUP. If the list of fields contains `TargetId`, `TargetAddress`, `TargetPort`, `TargetWeight` and other fields, `Target` of the target group or non-target group must be exported.
	TargetType *string `json:"TargetType,omitnil" name:"TargetType"`

	// Filter condition of querying lists describing CLB instance details:
	// <li> loadbalancer-id - String - Required: no - (Filter condition) CLB instance ID, such as "lb-12345678". </li>
	// <li> project-id - String - Required: no - (Filter condition) Project ID, such as "0" and "123".</li>
	// <li> network - String - Required: no - (Filter condition) Network type of the CLB instance, such as "Public" and "Private".</li>
	// <li> vip - String - Required: no - (Filter condition) CLB instance VIP, such as "1.1.1.1" and "2204::22:3". </li>
	// <li> target-ip - String - Required: no - (Filter condition) Private IP of the target real servers, such as"1.1.1.1" and "2203::214:4".</li>
	// <li> vpcid - String - Required: no - (Filter condition) Identifier of the VPC instance to which the CLB instance belongs, such as "vpc-12345678".</li>
	// <li> zone - String - Required: no - (Filter condition) Availability zone where the CLB instance resides, such as "ap-guangzhou-1".</li>
	// <li> tag-key - String - Required: no - (Filter condition) Tag key of the CLB instance, such as "name".</li>
	// <li> tag:* - String - Required: no - (Filter condition) CLB instance tag, followed by tag key after the colon ':'. For example, use {"Name": "tag:name","Values": ["zhangsan", "lisi"]} to filter the tag key “name” with the tag value “zhangsan” and “lisi”.</li>
	// <li> fuzzy-search - String - Required: no - (Filter condition) Fuzzy search for CLB instance VIP and CLB instance name, such as "1.1".</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

func NewDescribeLoadBalancersDetailRequest

func NewDescribeLoadBalancersDetailRequest() (request *DescribeLoadBalancersDetailRequest)

func (*DescribeLoadBalancersDetailRequest) FromJsonString

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

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

func (*DescribeLoadBalancersDetailRequest) ToJsonString

func (r *DescribeLoadBalancersDetailRequest) ToJsonString() string

type DescribeLoadBalancersDetailRequestParams

type DescribeLoadBalancersDetailRequestParams struct {
	// Number of CLB instance lists returned. Default value: 20; maximum value: 100.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Starting offset of the CLB instance list returned. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// List of fields. Only fields specified will be returned. If it’s left blank, `null` is returned. The fields `LoadBalancerId` and `LoadBalancerName` are added by default. For details about fields, see <a href="https://intl.cloud.tencent.com/document/api/214/30694?from_cn_redirect=1#LoadBalancerDetail">LoadBalancerDetail</a>.
	Fields []*string `json:"Fields,omitnil" name:"Fields"`

	// Target type. Valid values: NODE and GROUP. If the list of fields contains `TargetId`, `TargetAddress`, `TargetPort`, `TargetWeight` and other fields, `Target` of the target group or non-target group must be exported.
	TargetType *string `json:"TargetType,omitnil" name:"TargetType"`

	// Filter condition of querying lists describing CLB instance details:
	// <li> loadbalancer-id - String - Required: no - (Filter condition) CLB instance ID, such as "lb-12345678". </li>
	// <li> project-id - String - Required: no - (Filter condition) Project ID, such as "0" and "123".</li>
	// <li> network - String - Required: no - (Filter condition) Network type of the CLB instance, such as "Public" and "Private".</li>
	// <li> vip - String - Required: no - (Filter condition) CLB instance VIP, such as "1.1.1.1" and "2204::22:3". </li>
	// <li> target-ip - String - Required: no - (Filter condition) Private IP of the target real servers, such as"1.1.1.1" and "2203::214:4".</li>
	// <li> vpcid - String - Required: no - (Filter condition) Identifier of the VPC instance to which the CLB instance belongs, such as "vpc-12345678".</li>
	// <li> zone - String - Required: no - (Filter condition) Availability zone where the CLB instance resides, such as "ap-guangzhou-1".</li>
	// <li> tag-key - String - Required: no - (Filter condition) Tag key of the CLB instance, such as "name".</li>
	// <li> tag:* - String - Required: no - (Filter condition) CLB instance tag, followed by tag key after the colon ':'. For example, use {"Name": "tag:name","Values": ["zhangsan", "lisi"]} to filter the tag key “name” with the tag value “zhangsan” and “lisi”.</li>
	// <li> fuzzy-search - String - Required: no - (Filter condition) Fuzzy search for CLB instance VIP and CLB instance name, such as "1.1".</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

Predefined struct for user

type DescribeLoadBalancersDetailResponse

type DescribeLoadBalancersDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLoadBalancersDetailResponseParams `json:"Response"`
}

func NewDescribeLoadBalancersDetailResponse

func NewDescribeLoadBalancersDetailResponse() (response *DescribeLoadBalancersDetailResponse)

func (*DescribeLoadBalancersDetailResponse) FromJsonString

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

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

func (*DescribeLoadBalancersDetailResponse) ToJsonString

func (r *DescribeLoadBalancersDetailResponse) ToJsonString() string

type DescribeLoadBalancersDetailResponseParams

type DescribeLoadBalancersDetailResponseParams struct {
	// Total number of lists describing CLB instance details.
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// List of CLB instance details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LoadBalancerDetailSet []*LoadBalancerDetail `json:"LoadBalancerDetailSet,omitnil" name:"LoadBalancerDetailSet"`

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

Predefined struct for user

type DescribeLoadBalancersRequest

type DescribeLoadBalancersRequest struct {
	*tchttp.BaseRequest

	// CLB instance IDs. There can be up to 20 IDs.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`

	// CLB instance network type:
	// OPEN: public network; INTERNAL: private network.
	LoadBalancerType *string `json:"LoadBalancerType,omitnil" name:"LoadBalancerType"`

	// CLB instance type. 1: generic CLB instance; 0: classic CLB instance
	Forward *int64 `json:"Forward,omitnil" name:"Forward"`

	// CLB instance name.
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// The domain name that Tencent Cloud assigned for the CLB instance.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// VIP address of a CLB instance (there can be multiple addresses)
	LoadBalancerVips []*string `json:"LoadBalancerVips,omitnil" name:"LoadBalancerVips"`

	// Public IPs of the backend services bound with the load balancer. Only the public IPs of CVMs are supported now.
	BackendPublicIps []*string `json:"BackendPublicIps,omitnil" name:"BackendPublicIps"`

	// Private IPs of the backend services bound with the load balancer. Only the private IPs of CVMs are supported now.
	BackendPrivateIps []*string `json:"BackendPrivateIps,omitnil" name:"BackendPrivateIps"`

	// Data offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Number of returned CLB instances. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Sort by parameter. Value range: LoadBalancerName, CreateTime, Domain, LoadBalancerType.
	OrderBy *string `json:"OrderBy,omitnil" name:"OrderBy"`

	// 1: reverse; 0: sequential. Default value: reverse by creation time |
	OrderType *int64 `json:"OrderType,omitnil" name:"OrderType"`

	// Search field which fuzzy matches name, domain name, or VIP.
	SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"`

	// ID of the project to which a CLB instance belongs, which can be obtained through the DescribeProject API.
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Whether a CLB instance is bound to a real server. 0: no; 1: yes; -1: query all.
	WithRs *int64 `json:"WithRs,omitnil" name:"WithRs"`

	// VPC where a CLB instance resides, such as vpc-bhqkbhdx.
	// Basic network does not support queries by VpcId.
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// Security group ID, e.g., `sg-m1cc****`.
	SecurityGroup *string `json:"SecurityGroup,omitnil" name:"SecurityGroup"`

	// Primary AZ ID, e.g., `100001` (Guangzhou Zone 1).
	MasterZone *string `json:"MasterZone,omitnil" name:"MasterZone"`

	// Each request can have up to 10 `Filters` and 100 `Filter.Values`. Detailed filter conditions:
	// <li> internet-charge-type - Type: String - Required: No - Filter by CLB network billing mode, including `TRAFFIC_POSTPAID_BY_HOUR`</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

func NewDescribeLoadBalancersRequest

func NewDescribeLoadBalancersRequest() (request *DescribeLoadBalancersRequest)

func (*DescribeLoadBalancersRequest) FromJsonString

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

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

func (*DescribeLoadBalancersRequest) ToJsonString

func (r *DescribeLoadBalancersRequest) ToJsonString() string

type DescribeLoadBalancersRequestParams

type DescribeLoadBalancersRequestParams struct {
	// CLB instance IDs. There can be up to 20 IDs.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`

	// CLB instance network type:
	// OPEN: public network; INTERNAL: private network.
	LoadBalancerType *string `json:"LoadBalancerType,omitnil" name:"LoadBalancerType"`

	// CLB instance type. 1: generic CLB instance; 0: classic CLB instance
	Forward *int64 `json:"Forward,omitnil" name:"Forward"`

	// CLB instance name.
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// The domain name that Tencent Cloud assigned for the CLB instance.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// VIP address of a CLB instance (there can be multiple addresses)
	LoadBalancerVips []*string `json:"LoadBalancerVips,omitnil" name:"LoadBalancerVips"`

	// Public IPs of the backend services bound with the load balancer. Only the public IPs of CVMs are supported now.
	BackendPublicIps []*string `json:"BackendPublicIps,omitnil" name:"BackendPublicIps"`

	// Private IPs of the backend services bound with the load balancer. Only the private IPs of CVMs are supported now.
	BackendPrivateIps []*string `json:"BackendPrivateIps,omitnil" name:"BackendPrivateIps"`

	// Data offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Number of returned CLB instances. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Sort by parameter. Value range: LoadBalancerName, CreateTime, Domain, LoadBalancerType.
	OrderBy *string `json:"OrderBy,omitnil" name:"OrderBy"`

	// 1: reverse; 0: sequential. Default value: reverse by creation time |
	OrderType *int64 `json:"OrderType,omitnil" name:"OrderType"`

	// Search field which fuzzy matches name, domain name, or VIP.
	SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"`

	// ID of the project to which a CLB instance belongs, which can be obtained through the DescribeProject API.
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Whether a CLB instance is bound to a real server. 0: no; 1: yes; -1: query all.
	WithRs *int64 `json:"WithRs,omitnil" name:"WithRs"`

	// VPC where a CLB instance resides, such as vpc-bhqkbhdx.
	// Basic network does not support queries by VpcId.
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// Security group ID, e.g., `sg-m1cc****`.
	SecurityGroup *string `json:"SecurityGroup,omitnil" name:"SecurityGroup"`

	// Primary AZ ID, e.g., `100001` (Guangzhou Zone 1).
	MasterZone *string `json:"MasterZone,omitnil" name:"MasterZone"`

	// Each request can have up to 10 `Filters` and 100 `Filter.Values`. Detailed filter conditions:
	// <li> internet-charge-type - Type: String - Required: No - Filter by CLB network billing mode, including `TRAFFIC_POSTPAID_BY_HOUR`</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

Predefined struct for user

type DescribeLoadBalancersResponse

type DescribeLoadBalancersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLoadBalancersResponseParams `json:"Response"`
}

func NewDescribeLoadBalancersResponse

func NewDescribeLoadBalancersResponse() (response *DescribeLoadBalancersResponse)

func (*DescribeLoadBalancersResponse) FromJsonString

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

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

func (*DescribeLoadBalancersResponse) ToJsonString

func (r *DescribeLoadBalancersResponse) ToJsonString() string

type DescribeLoadBalancersResponseParams

type DescribeLoadBalancersResponseParams struct {
	// Total number of CLB instances that meet the filter criteria. This value is independent of the Limit in the input parameter.
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Array of returned CLB instances.
	LoadBalancerSet []*LoadBalancer `json:"LoadBalancerSet,omitnil" name:"LoadBalancerSet"`

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

Predefined struct for user

type DescribeQuotaRequest

type DescribeQuotaRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeQuotaRequest

func NewDescribeQuotaRequest() (request *DescribeQuotaRequest)

func (*DescribeQuotaRequest) FromJsonString

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

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

func (*DescribeQuotaRequest) ToJsonString

func (r *DescribeQuotaRequest) ToJsonString() string

type DescribeQuotaRequestParams

type DescribeQuotaRequestParams struct {
}

Predefined struct for user

type DescribeQuotaResponse

type DescribeQuotaResponse struct {
	*tchttp.BaseResponse
	Response *DescribeQuotaResponseParams `json:"Response"`
}

func NewDescribeQuotaResponse

func NewDescribeQuotaResponse() (response *DescribeQuotaResponse)

func (*DescribeQuotaResponse) FromJsonString

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

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

func (*DescribeQuotaResponse) ToJsonString

func (r *DescribeQuotaResponse) ToJsonString() string

type DescribeQuotaResponseParams

type DescribeQuotaResponseParams struct {
	// Quota list
	QuotaSet []*Quota `json:"QuotaSet,omitnil" name:"QuotaSet"`

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

Predefined struct for user

type DescribeResourcesRequest

type DescribeResourcesRequest struct {
	*tchttp.BaseRequest

	// Number of returned AZ resources. Default value: 20. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Starting offset of the returned AZ resource list. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Filter to query the list of AZ resources as detailed below:
	// <li> `zone` - String - Optional - Filter by AZ, such as "ap-guangzhou-1".</li>
	// <li> `isp` -- String - Optional - Filter by the ISP. Values: `BGP`, `CMCC`, `CUCC` and `CTCC`.</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

func NewDescribeResourcesRequest

func NewDescribeResourcesRequest() (request *DescribeResourcesRequest)

func (*DescribeResourcesRequest) FromJsonString

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

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

func (*DescribeResourcesRequest) ToJsonString

func (r *DescribeResourcesRequest) ToJsonString() string

type DescribeResourcesRequestParams

type DescribeResourcesRequestParams struct {
	// Number of returned AZ resources. Default value: 20. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Starting offset of the returned AZ resource list. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Filter to query the list of AZ resources as detailed below:
	// <li> `zone` - String - Optional - Filter by AZ, such as "ap-guangzhou-1".</li>
	// <li> `isp` -- String - Optional - Filter by the ISP. Values: `BGP`, `CMCC`, `CUCC` and `CTCC`.</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

Predefined struct for user

type DescribeResourcesResponse

type DescribeResourcesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeResourcesResponseParams `json:"Response"`
}

func NewDescribeResourcesResponse

func NewDescribeResourcesResponse() (response *DescribeResourcesResponse)

func (*DescribeResourcesResponse) FromJsonString

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

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

func (*DescribeResourcesResponse) ToJsonString

func (r *DescribeResourcesResponse) ToJsonString() string

type DescribeResourcesResponseParams

type DescribeResourcesResponseParams struct {
	// List of resources supported by the AZ
	ZoneResourceSet []*ZoneResource `json:"ZoneResourceSet,omitnil" name:"ZoneResourceSet"`

	// Number of entries in the AZ resource list.
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

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

Predefined struct for user

type DescribeRewriteRequest

type DescribeRewriteRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Array of CLB listener IDs
	SourceListenerIds []*string `json:"SourceListenerIds,omitnil" name:"SourceListenerIds"`

	// Array of CLB forwarding rule IDs
	SourceLocationIds []*string `json:"SourceLocationIds,omitnil" name:"SourceLocationIds"`
}

func NewDescribeRewriteRequest

func NewDescribeRewriteRequest() (request *DescribeRewriteRequest)

func (*DescribeRewriteRequest) FromJsonString

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

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

func (*DescribeRewriteRequest) ToJsonString

func (r *DescribeRewriteRequest) ToJsonString() string

type DescribeRewriteRequestParams

type DescribeRewriteRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Array of CLB listener IDs
	SourceListenerIds []*string `json:"SourceListenerIds,omitnil" name:"SourceListenerIds"`

	// Array of CLB forwarding rule IDs
	SourceLocationIds []*string `json:"SourceLocationIds,omitnil" name:"SourceLocationIds"`
}

Predefined struct for user

type DescribeRewriteResponse

type DescribeRewriteResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRewriteResponseParams `json:"Response"`
}

func NewDescribeRewriteResponse

func NewDescribeRewriteResponse() (response *DescribeRewriteResponse)

func (*DescribeRewriteResponse) FromJsonString

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

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

func (*DescribeRewriteResponse) ToJsonString

func (r *DescribeRewriteResponse) ToJsonString() string

type DescribeRewriteResponseParams

type DescribeRewriteResponseParams struct {
	// Array of redirection forwarding rules. If there are no redirection rules, an empty array will be returned.
	RewriteSet []*RuleOutput `json:"RewriteSet,omitnil" name:"RewriteSet"`

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

Predefined struct for user

type DescribeTargetGroupInstancesRequest

type DescribeTargetGroupInstancesRequest struct {
	*tchttp.BaseRequest

	// Filter. Currently, only filtering by `TargetGroupId`, `BindIP`, or `InstanceId` is supported.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Number of displayed results. Default value: 20
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Display offset. Default value: 0
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`
}

func NewDescribeTargetGroupInstancesRequest

func NewDescribeTargetGroupInstancesRequest() (request *DescribeTargetGroupInstancesRequest)

func (*DescribeTargetGroupInstancesRequest) FromJsonString

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

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

func (*DescribeTargetGroupInstancesRequest) ToJsonString

func (r *DescribeTargetGroupInstancesRequest) ToJsonString() string

type DescribeTargetGroupInstancesRequestParams

type DescribeTargetGroupInstancesRequestParams struct {
	// Filter. Currently, only filtering by `TargetGroupId`, `BindIP`, or `InstanceId` is supported.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Number of displayed results. Default value: 20
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Display offset. Default value: 0
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`
}

Predefined struct for user

type DescribeTargetGroupInstancesResponse

type DescribeTargetGroupInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTargetGroupInstancesResponseParams `json:"Response"`
}

func NewDescribeTargetGroupInstancesResponse

func NewDescribeTargetGroupInstancesResponse() (response *DescribeTargetGroupInstancesResponse)

func (*DescribeTargetGroupInstancesResponse) FromJsonString

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

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

func (*DescribeTargetGroupInstancesResponse) ToJsonString

func (r *DescribeTargetGroupInstancesResponse) ToJsonString() string

type DescribeTargetGroupInstancesResponseParams

type DescribeTargetGroupInstancesResponseParams struct {
	// Number of results returned for the current query
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Information of the bound server
	TargetGroupInstanceSet []*TargetGroupBackend `json:"TargetGroupInstanceSet,omitnil" name:"TargetGroupInstanceSet"`

	// The actual total number of bound instances, which is not affected by the setting of `Limit`, `Offset` and the CAM permissions.
	RealCount *uint64 `json:"RealCount,omitnil" name:"RealCount"`

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

Predefined struct for user

type DescribeTargetGroupListRequest

type DescribeTargetGroupListRequest struct {
	*tchttp.BaseRequest

	// Target group ID array
	TargetGroupIds []*string `json:"TargetGroupIds,omitnil" name:"TargetGroupIds"`

	// Filter array, which is exclusive of `TargetGroupIds`. Valid values: `TargetGroupVpcId` and `TargetGroupName`. Target group ID will be used first.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Starting display offset
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Limit of the number of displayed results. Default value: 20.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeTargetGroupListRequest

func NewDescribeTargetGroupListRequest() (request *DescribeTargetGroupListRequest)

func (*DescribeTargetGroupListRequest) FromJsonString

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

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

func (*DescribeTargetGroupListRequest) ToJsonString

func (r *DescribeTargetGroupListRequest) ToJsonString() string

type DescribeTargetGroupListRequestParams

type DescribeTargetGroupListRequestParams struct {
	// Target group ID array
	TargetGroupIds []*string `json:"TargetGroupIds,omitnil" name:"TargetGroupIds"`

	// Filter array, which is exclusive of `TargetGroupIds`. Valid values: `TargetGroupVpcId` and `TargetGroupName`. Target group ID will be used first.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Starting display offset
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Limit of the number of displayed results. Default value: 20.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeTargetGroupListResponse

type DescribeTargetGroupListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTargetGroupListResponseParams `json:"Response"`
}

func NewDescribeTargetGroupListResponse

func NewDescribeTargetGroupListResponse() (response *DescribeTargetGroupListResponse)

func (*DescribeTargetGroupListResponse) FromJsonString

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

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

func (*DescribeTargetGroupListResponse) ToJsonString

func (r *DescribeTargetGroupListResponse) ToJsonString() string

type DescribeTargetGroupListResponseParams

type DescribeTargetGroupListResponseParams struct {
	// Number of displayed results
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Information set of displayed target groups
	TargetGroupSet []*TargetGroupInfo `json:"TargetGroupSet,omitnil" name:"TargetGroupSet"`

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

Predefined struct for user

type DescribeTargetGroupsRequest

type DescribeTargetGroupsRequest struct {
	*tchttp.BaseRequest

	// Target group ID, which is exclusive of `Filters`.
	TargetGroupIds []*string `json:"TargetGroupIds,omitnil" name:"TargetGroupIds"`

	// Limit of the number of displayed results. Default value: 20.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Starting display offset
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Filter array, which is exclusive of `TargetGroupIds`. Valid values: `TargetGroupVpcId` and `TargetGroupName`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

func NewDescribeTargetGroupsRequest

func NewDescribeTargetGroupsRequest() (request *DescribeTargetGroupsRequest)

func (*DescribeTargetGroupsRequest) FromJsonString

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

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

func (*DescribeTargetGroupsRequest) ToJsonString

func (r *DescribeTargetGroupsRequest) ToJsonString() string

type DescribeTargetGroupsRequestParams

type DescribeTargetGroupsRequestParams struct {
	// Target group ID, which is exclusive of `Filters`.
	TargetGroupIds []*string `json:"TargetGroupIds,omitnil" name:"TargetGroupIds"`

	// Limit of the number of displayed results. Default value: 20.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Starting display offset
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Filter array, which is exclusive of `TargetGroupIds`. Valid values: `TargetGroupVpcId` and `TargetGroupName`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

Predefined struct for user

type DescribeTargetGroupsResponse

type DescribeTargetGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTargetGroupsResponseParams `json:"Response"`
}

func NewDescribeTargetGroupsResponse

func NewDescribeTargetGroupsResponse() (response *DescribeTargetGroupsResponse)

func (*DescribeTargetGroupsResponse) FromJsonString

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

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

func (*DescribeTargetGroupsResponse) ToJsonString

func (r *DescribeTargetGroupsResponse) ToJsonString() string

type DescribeTargetGroupsResponseParams

type DescribeTargetGroupsResponseParams struct {
	// Number of displayed results
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Information set of displayed target groups
	TargetGroupSet []*TargetGroupInfo `json:"TargetGroupSet,omitnil" name:"TargetGroupSet"`

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

Predefined struct for user

type DescribeTargetHealthRequest

type DescribeTargetHealthRequest struct {
	*tchttp.BaseRequest

	// List of IDs of CLB instances to be queried
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`
}

func NewDescribeTargetHealthRequest

func NewDescribeTargetHealthRequest() (request *DescribeTargetHealthRequest)

func (*DescribeTargetHealthRequest) FromJsonString

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

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

func (*DescribeTargetHealthRequest) ToJsonString

func (r *DescribeTargetHealthRequest) ToJsonString() string

type DescribeTargetHealthRequestParams

type DescribeTargetHealthRequestParams struct {
	// List of IDs of CLB instances to be queried
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`
}

Predefined struct for user

type DescribeTargetHealthResponse

type DescribeTargetHealthResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTargetHealthResponseParams `json:"Response"`
}

func NewDescribeTargetHealthResponse

func NewDescribeTargetHealthResponse() (response *DescribeTargetHealthResponse)

func (*DescribeTargetHealthResponse) FromJsonString

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

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

func (*DescribeTargetHealthResponse) ToJsonString

func (r *DescribeTargetHealthResponse) ToJsonString() string

type DescribeTargetHealthResponseParams

type DescribeTargetHealthResponseParams struct {
	// CLB instance list
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	LoadBalancers []*LoadBalancerHealth `json:"LoadBalancers,omitnil" name:"LoadBalancers"`

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

Predefined struct for user

type DescribeTargetsRequest

type DescribeTargetsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// List of listener IDs (20 IDs at most).
	ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"`

	// Listener protocol type
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Listener port
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Query the list of backend services associated with a load balancer
	// <li> `location-id` - String - Optional - Rule ID, such as "loc-12345678".</li>
	// <li> `private-ip-address` - String - Optional - Backend service private IP, such as `172.16.1.1`</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

func NewDescribeTargetsRequest

func NewDescribeTargetsRequest() (request *DescribeTargetsRequest)

func (*DescribeTargetsRequest) FromJsonString

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

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

func (*DescribeTargetsRequest) ToJsonString

func (r *DescribeTargetsRequest) ToJsonString() string

type DescribeTargetsRequestParams

type DescribeTargetsRequestParams struct {
	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// List of listener IDs (20 IDs at most).
	ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"`

	// Listener protocol type
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Listener port
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Query the list of backend services associated with a load balancer
	// <li> `location-id` - String - Optional - Rule ID, such as "loc-12345678".</li>
	// <li> `private-ip-address` - String - Optional - Backend service private IP, such as `172.16.1.1`</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

Predefined struct for user

type DescribeTargetsResponse

type DescribeTargetsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTargetsResponseParams `json:"Response"`
}

func NewDescribeTargetsResponse

func NewDescribeTargetsResponse() (response *DescribeTargetsResponse)

func (*DescribeTargetsResponse) FromJsonString

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

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

func (*DescribeTargetsResponse) ToJsonString

func (r *DescribeTargetsResponse) ToJsonString() string

type DescribeTargetsResponseParams

type DescribeTargetsResponseParams struct {
	// Information of real servers bound to the listener
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Listeners []*ListenerBackend `json:"Listeners,omitnil" name:"Listeners"`

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

Predefined struct for user

type DescribeTaskStatusRequest

type DescribeTaskStatusRequest struct {
	*tchttp.BaseRequest

	// Request ID, i.e., the RequestId parameter returned by the API.
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`

	// Order ID.
	// Note: Either `TaskId` or `DealName` is required.
	DealName *string `json:"DealName,omitnil" name:"DealName"`
}

func NewDescribeTaskStatusRequest

func NewDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest)

func (*DescribeTaskStatusRequest) FromJsonString

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

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

func (*DescribeTaskStatusRequest) ToJsonString

func (r *DescribeTaskStatusRequest) ToJsonString() string

type DescribeTaskStatusRequestParams

type DescribeTaskStatusRequestParams struct {
	// Request ID, i.e., the RequestId parameter returned by the API.
	TaskId *string `json:"TaskId,omitnil" name:"TaskId"`

	// Order ID.
	// Note: Either `TaskId` or `DealName` is required.
	DealName *string `json:"DealName,omitnil" name:"DealName"`
}

Predefined struct for user

type DescribeTaskStatusResponse

type DescribeTaskStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTaskStatusResponseParams `json:"Response"`
}

func NewDescribeTaskStatusResponse

func NewDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse)

func (*DescribeTaskStatusResponse) FromJsonString

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

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

func (*DescribeTaskStatusResponse) ToJsonString

func (r *DescribeTaskStatusResponse) ToJsonString() string

type DescribeTaskStatusResponseParams

type DescribeTaskStatusResponseParams struct {
	// Current status of a task. Value range: 0 (succeeded), 1 (failed), 2 (in progress).
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Array of unique CLB instance IDs.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`

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

Predefined struct for user

type DisassociateTargetGroupsRequest

type DisassociateTargetGroupsRequest struct {
	*tchttp.BaseRequest

	// Array of rules to be unbound
	Associations []*TargetGroupAssociation `json:"Associations,omitnil" name:"Associations"`
}

func NewDisassociateTargetGroupsRequest

func NewDisassociateTargetGroupsRequest() (request *DisassociateTargetGroupsRequest)

func (*DisassociateTargetGroupsRequest) FromJsonString

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

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

func (*DisassociateTargetGroupsRequest) ToJsonString

func (r *DisassociateTargetGroupsRequest) ToJsonString() string

type DisassociateTargetGroupsRequestParams

type DisassociateTargetGroupsRequestParams struct {
	// Array of rules to be unbound
	Associations []*TargetGroupAssociation `json:"Associations,omitnil" name:"Associations"`
}

Predefined struct for user

type DisassociateTargetGroupsResponse

type DisassociateTargetGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DisassociateTargetGroupsResponseParams `json:"Response"`
}

func NewDisassociateTargetGroupsResponse

func NewDisassociateTargetGroupsResponse() (response *DisassociateTargetGroupsResponse)

func (*DisassociateTargetGroupsResponse) FromJsonString

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

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

func (*DisassociateTargetGroupsResponse) ToJsonString

func (r *DisassociateTargetGroupsResponse) ToJsonString() string

type DisassociateTargetGroupsResponseParams

type DisassociateTargetGroupsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ExclusiveCluster

type ExclusiveCluster struct {
	// Layer-4 dedicated cluster list
	// Note: this field may return null, indicating that no valid values can be obtained.
	L4Clusters []*ClusterItem `json:"L4Clusters,omitnil" name:"L4Clusters"`

	// Layer-7 dedicated cluster list
	// Note: this field may return null, indicating that no valid values can be obtained.
	L7Clusters []*ClusterItem `json:"L7Clusters,omitnil" name:"L7Clusters"`

	// vpcgw cluster
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClassicalCluster *ClusterItem `json:"ClassicalCluster,omitnil" name:"ClassicalCluster"`
}

type ExtraInfo

type ExtraInfo struct {
	// Whether to enable VIP direct connection
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZhiTong *bool `json:"ZhiTong,omitnil" name:"ZhiTong"`

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

type Filter

type Filter struct {
	// Filter name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Filter value array
	Values []*string `json:"Values,omitnil" name:"Values"`
}

type FunctionInfo

type FunctionInfo struct {
	// Function namespace
	FunctionNamespace *string `json:"FunctionNamespace,omitnil" name:"FunctionNamespace"`

	// Function name
	FunctionName *string `json:"FunctionName,omitnil" name:"FunctionName"`

	// Function version name or alias
	FunctionQualifier *string `json:"FunctionQualifier,omitnil" name:"FunctionQualifier"`

	// Function qualifier type. Values: `VERSION`, `ALIAS`.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	FunctionQualifierType *string `json:"FunctionQualifierType,omitnil" name:"FunctionQualifierType"`
}

type FunctionTarget

type FunctionTarget struct {
	// SCF related information
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Function *FunctionInfo `json:"Function,omitnil" name:"Function"`

	// Weight
	Weight *uint64 `json:"Weight,omitnil" name:"Weight"`
}

type HealthCheck

type HealthCheck struct {
	// Whether to enable health check. 1: enable; 0: disable.
	HealthSwitch *int64 `json:"HealthSwitch,omitnil" name:"HealthSwitch"`

	// Health check response timeout period in seconds (applicable only to layer-4 listeners). Value range: 2-60. Default value: 2. This parameter should be less than the check interval.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TimeOut *int64 `json:"TimeOut,omitnil" name:"TimeOut"`

	// Health check probing interval period. It defaults to `5`. For IPv4 CLB instances, the range is 2-300. For IPv6 CLB instances, the range is 5-300. Unit: second
	// Note: For some IPv4 CLB instances created long ago, the range is 5-300.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IntervalTime *int64 `json:"IntervalTime,omitnil" name:"IntervalTime"`

	// Health threshold. Default value: 3, indicating that if a forward is found healthy three consecutive times, it is considered to be normal. Value range: 2-10
	// Note: This field may return null, indicating that no valid values can be obtained.
	HealthNum *int64 `json:"HealthNum,omitnil" name:"HealthNum"`

	// Unhealthy threshold. Default value: 3, indicating that if a forward is found unhealthy three consecutive times, it is considered to be exceptional. Value range: 2-10
	// Note: This field may return null, indicating that no valid values can be obtained.
	UnHealthNum *int64 `json:"UnHealthNum,omitnil" name:"UnHealthNum"`

	// Health check status code (applicable only to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners). Value range: 1-31. Default value: 31.
	// `1`: Returns code 1xx for healthy status. `2`: Returns code 2xx for healthy status. `4`: Returns code 3xx for healthy status. `8`: Returns code 4xx for healthy status. `16`: Returns code 5xx for healthy status. If you want multiple return codes to represent healthy, sum up the corresponding values.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	HttpCode *int64 `json:"HttpCode,omitnil" name:"HttpCode"`

	// Health check path (applicable only to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners).
	// Note: This field may return null, indicating that no valid values can be obtained.
	HttpCheckPath *string `json:"HttpCheckPath,omitnil" name:"HttpCheckPath"`

	// Health check domain name. It is only applicable to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners. For HTTP health checks of TCP listeners, this parameter is required.
	// Note: u200dThis field may return null, indicating that no valid values can be obtained.
	HttpCheckDomain *string `json:"HttpCheckDomain,omitnil" name:"HttpCheckDomain"`

	// Health check method (applicable only to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners). Value range: HEAD, GET. Default value: HEAD.
	// Note: This field may return null, indicating that no valid values can be obtained.
	HttpCheckMethod *string `json:"HttpCheckMethod,omitnil" name:"HttpCheckMethod"`

	// Health check port (a custom check parameter), which is the port of the real server by default. Unless you want to specify a port, it is recommended to leave it empty. (Applicable only to TCP/UDP listeners.)
	// Note: This field may return null, indicating that no valid values can be obtained.
	CheckPort *int64 `json:"CheckPort,omitnil" name:"CheckPort"`

	// Health check protocol (a custom check parameter), which is required if the value of CheckType is CUSTOM. This parameter represents the input format of the health check. Value range: HEX, TEXT. If the value is HEX, the characters of SendContext and RecvContext can only be selected from 0123456789ABCDEF and the length must be an even number. (Applicable only to TCP/UDP listeners.)
	// Note: This field may return null, indicating that no valid values can be obtained.
	ContextType *string `json:"ContextType,omitnil" name:"ContextType"`

	// Health check protocol (a custom check parameter), which is required if the value of CheckType is CUSTOM. This parameter represents the content of the request sent by the health check. Only ASCII visible characters are allowed, and the maximum length is 500. (Applicable only to TCP/UDP listeners.)
	// Note: This field may return null, indicating that no valid values can be obtained.
	SendContext *string `json:"SendContext,omitnil" name:"SendContext"`

	// Health check protocol (a custom check parameter), which is required if the value of CheckType is CUSTOM. This parameter represents the result returned by the health check. Only ASCII visible characters are allowed, and the maximum length is 500. (Applicable only to TCP/UDP listeners.)
	// Note: This field may return null, indicating that no valid values can be obtained.
	RecvContext *string `json:"RecvContext,omitnil" name:"RecvContext"`

	// u200dHealth check protocol. Values: `TCP`, `HTTP`, `HTTPS`, `GRPC`, `PING`, and `CUSTOM`. UDP listeners support `PING`/`CUSTOM`. TCP listener support `TCP`/`HTTP`/`CUSTOM`. TCP_SSL and QUIC listeners support `TCP`/`HTTP`. HTTP rules support `HTTP`/`GRPC. HTTPS rules support `HTTP`/`HTTPS`/`GRPC`.
	// Note: u200dThis field may return null, indicating that no valid values can be obtained.
	CheckType *string `json:"CheckType,omitnil" name:"CheckType"`

	// HTTP version. HTTP version of the backend service. Values: `HTTP/1.0`, HTTP/1.1`. It is only applicable to TCP listeners, and is required when `CheckType`=`HTTP`.
	// Note: u200dThis field may return null, indicating that no valid values can be obtained.
	HttpVersion *string `json:"HttpVersion,omitnil" name:"HttpVersion"`

	// Specifies the type of health check source IP. `0` (default): CLB VIP. `1`: 100.64 IP range.
	// Note: u200dThis field may return null, indicating that no valid values can be obtained.
	SourceIpType *int64 `json:"SourceIpType,omitnil" name:"SourceIpType"`

	// GRPC health check status code, which is only applicable to rules with GRPC as the backend forwarding protocol. It can be a single number (such as `20`), multiple numbers (such as `20,25`) or a range (such as `0-99`). The default value is `12`.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	ExtendedCode *string `json:"ExtendedCode,omitnil" name:"ExtendedCode"`
}

type IdleLoadBalancer

type IdleLoadBalancer struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB instance name
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// CLB instance region
	Region *string `json:"Region,omitnil" name:"Region"`

	// CLB instance VIP
	Vip *string `json:"Vip,omitnil" name:"Vip"`

	// The reason why the load balancer is considered idle. `NO_RULES`: No rules configured. `NO_RS`: The rules are not associated with servers.
	IdleReason *string `json:"IdleReason,omitnil" name:"IdleReason"`

	// CLB instance status, including:
	// `0`: Creating; `1`: Running.
	Status *uint64 `json:"Status,omitnil" name:"Status"`

	// CLB type. Value range: `1` (CLB); `0` (classic CLB).
	Forward *uint64 `json:"Forward,omitnil" name:"Forward"`

	// The load balancing hostname.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitnil" name:"Domain"`
}

type InternetAccessible

type InternetAccessible struct {
	// TRAFFIC_POSTPAID_BY_HOUR: hourly pay-as-you-go by traffic; BANDWIDTH_POSTPAID_BY_HOUR: hourly pay-as-you-go by bandwidth;
	// BANDWIDTH_PACKAGE: billed by bandwidth package (currently, this method is supported only if the ISP is specified)
	InternetChargeType *string `json:"InternetChargeType,omitnil" name:"InternetChargeType"`

	// Maximum outgoing bandwidth in Mbps. It works on LCU-supported instances on private networks and all instances on public networks.
	// - For shared and dedicated CLB instances on public networks, the range is 1Mbps-2048Mbps.
	// - For all LCU-supported CLB instances:
	//   - It defaults to General LCU-supported instance. SLA corresponds to Super Large 1, and the range of maximum outgoing bandwidth is 1 Mbps - 10240 Mbps.
	//   - If you have enabled Super Large specification, the range of maximum outgoing bandwidth is 1 Mbps - 61440 Mbps Super Large LCU-supported specification is in beta now. To join the beta, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
	// Note: This field may return null, indicating that no valid values can be obtained.
	InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitnil" name:"InternetMaxBandwidthOut"`

	// Bandwidth package type, such as SINGLEISP
	// Note: This field may return null, indicating that no valid values can be obtained.
	BandwidthpkgSubType *string `json:"BandwidthpkgSubType,omitnil" name:"BandwidthpkgSubType"`
}

type LBChargePrepaid

type LBChargePrepaid struct {
	// Renewal type. AUTO_RENEW: automatic renewal; MANUAL_RENEW: manual renewal
	// Note: This field may return null, indicating that no valid values can be obtained.
	RenewFlag *string `json:"RenewFlag,omitnil" name:"RenewFlag"`

	// Cycle, indicating the number of months (reserved field)
	// Note: This field may return null, indicating that no valid values can be obtained.
	Period *int64 `json:"Period,omitnil" name:"Period"`
}

type LBItem

type LBItem struct {
	// String ID of the CLB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// VIP of the CLB instance.
	Vip *string `json:"Vip,omitnil" name:"Vip"`

	// Listener rule.
	Listeners []*ListenerItem `json:"Listeners,omitnil" name:"Listeners"`

	// Region of the CLB instance
	Region *string `json:"Region,omitnil" name:"Region"`
}

type LbRsItem

type LbRsItem struct {
	// VPC ID
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// Private network IP to be queried, which can be of the CVM or ENI.
	PrivateIp *string `json:"PrivateIp,omitnil" name:"PrivateIp"`
}

type LbRsTargets

type LbRsTargets struct {
	// Private network IP type, which can be `cvm` or `eni`.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Private network IP of the real server.
	PrivateIp *string `json:"PrivateIp,omitnil" name:"PrivateIp"`

	// Port bound to the real server.
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// VPC ID of the real server.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	VpcId *int64 `json:"VpcId,omitnil" name:"VpcId"`

	// Weight of the real server.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Weight *int64 `json:"Weight,omitnil" name:"Weight"`
}

type Listener

type Listener struct {
	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// Listener protocol
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Listener port
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Information of certificates bound to the listener
	// Note: This field may return null, indicating that no valid values can be obtained.
	Certificate *CertificateOutput `json:"Certificate,omitnil" name:"Certificate"`

	// Health check information of the listener
	// Note: This field may return null, indicating that no valid values can be obtained.
	HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"`

	// Request scheduling method
	// Note: This field may return null, indicating that no valid values can be obtained.
	Scheduler *string `json:"Scheduler,omitnil" name:"Scheduler"`

	// Session persistence time
	// Note: This field may return null, indicating that no valid values can be obtained.
	SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"`

	// Whether to enable the SNI feature (this parameter is only meaningful for HTTPS listeners)
	// Note: This field may return null, indicating that no valid values can be obtained.
	SniSwitch *int64 `json:"SniSwitch,omitnil" name:"SniSwitch"`

	// All forwarding rules under a listener (this parameter is meaningful only for HTTP/HTTPS listeners)
	// Note: This field may return null, indicating that no valid values can be obtained.
	Rules []*RuleOutput `json:"Rules,omitnil" name:"Rules"`

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

	// Listener creation time
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// End port of a port range
	// Note: This field may return null, indicating that no valid values can be obtained.
	EndPort *int64 `json:"EndPort,omitnil" name:"EndPort"`

	// Real server type
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetType *string `json:"TargetType,omitnil" name:"TargetType"`

	// Basic information of a bound target group. This field will be returned when a target group is bound to a listener.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetGroup *BasicTargetGroupInfo `json:"TargetGroup,omitnil" name:"TargetGroup"`

	// Session persistence type. Valid values: Normal: the default session persistence type; QUIC_CID: session persistence by QUIC connection ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SessionType *string `json:"SessionType,omitnil" name:"SessionType"`

	// Whether a persistent connection is enabled (1: enabled; 0: disabled). This parameter can only be configured in HTTP/HTTPS listeners.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	KeepaliveEnable *int64 `json:"KeepaliveEnable,omitnil" name:"KeepaliveEnable"`

	// Only the NAT64 CLB TCP listeners are supported.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Toa *bool `json:"Toa,omitnil" name:"Toa"`

	// Whether to send the TCP RST packet to the client when unbinding a real server. This parameter is applicable to TCP listeners only.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DeregisterTargetRst *bool `json:"DeregisterTargetRst,omitnil" name:"DeregisterTargetRst"`

	// Attribute of listener
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	AttrFlags []*string `json:"AttrFlags,omitnil" name:"AttrFlags"`

	// List of bound target groups
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	TargetGroupList []*BasicTargetGroupInfo `json:"TargetGroupList,omitnil" name:"TargetGroupList"`

	// Maximum number of concurrent listener connections. If it’s set to `-1`, the listener speed is not limited.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	MaxConn *int64 `json:"MaxConn,omitnil" name:"MaxConn"`

	// Maximum number of new listener connections. If it’s set to `-1`, the listener speed is not limited.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	MaxCps *int64 `json:"MaxCps,omitnil" name:"MaxCps"`

	// Connection idle timeout period (in seconds). It’s only available to TCP listeners. Value range: 300-900 for shared and dedicated instances; 300-2000 for LCU-supported CLB instances. It defaults to 900.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	IdleConnectTimeout *int64 `json:"IdleConnectTimeout,omitnil" name:"IdleConnectTimeout"`
}

type ListenerBackend

type ListenerBackend struct {
	// Listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// Listener protocol
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Listener port
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Information of rules under a listener (applicable only to HTTP/HTTPS listeners)
	// Note: This field may return null, indicating that no valid values can be obtained.
	Rules []*RuleTargets `json:"Rules,omitnil" name:"Rules"`

	// List of real servers bound to a listener (applicable only to TCP/UDP/TCP_SSL listeners)
	// Note: This field may return null, indicating that no valid values can be obtained.
	Targets []*Backend `json:"Targets,omitnil" name:"Targets"`

	// Ending port in port range if port range is supported; 0 if port range is not supported
	// Note: this field may return null, indicating that no valid values can be obtained.
	EndPort *int64 `json:"EndPort,omitnil" name:"EndPort"`
}

type ListenerHealth

type ListenerHealth struct {
	// Listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

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

	// Listener protocol
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Listener port
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// List of forwarding rules of the listener
	// Note: This field may return null, indicating that no valid values can be obtained.
	Rules []*RuleHealth `json:"Rules,omitnil" name:"Rules"`
}

type ListenerItem

type ListenerItem struct {
	// Listener ID.
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// Listener protocol.
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Listener port.
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Bound rule.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Rules []*RulesItems `json:"Rules,omitnil" name:"Rules"`

	// Object bound to the layer-4 listener.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Targets []*LbRsTargets `json:"Targets,omitnil" name:"Targets"`

	// End port of the listener.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	EndPort *int64 `json:"EndPort,omitnil" name:"EndPort"`
}

type LoadBalancer

type LoadBalancer struct {
	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB instance name.
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// CLB instance network type:
	// OPEN: public network; INTERNAL: private network.
	LoadBalancerType *string `json:"LoadBalancerType,omitnil" name:"LoadBalancerType"`

	// CLB type identifier. Value range: 1 (CLB); 0 (classic CLB).
	Forward *uint64 `json:"Forward,omitnil" name:"Forward"`

	// Domain name of the CLB instance. It is only available for public classic CLBs. This parameter will be discontinued soon. Please use `LoadBalancerDomain` instead.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// List of VIPs of a CLB instance.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LoadBalancerVips []*string `json:"LoadBalancerVips,omitnil" name:"LoadBalancerVips"`

	// CLB instance status, including:
	// 0: creating; 1: running.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *uint64 `json:"Status,omitnil" name:"Status"`

	// CLB instance creation time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Last status change time of a CLB instance.
	// Note: This field may return null, indicating that no valid values can be obtained.
	StatusTime *string `json:"StatusTime,omitnil" name:"StatusTime"`

	// ID of the project to which a CLB instance belongs. 0: default project.
	ProjectId *uint64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// VPC ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// Protective CLB identifier. Value range: 1 (protective), 0 (non-protective).
	// Note: This field may return null, indicating that no valid values can be obtained.
	OpenBgp *uint64 `json:"OpenBgp,omitnil" name:"OpenBgp"`

	// SNAT is enabled for all private network classic CLB created before December 2016.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Snat *bool `json:"Snat,omitnil" name:"Snat"`

	// 0: not isolated; 1: isolated.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Isolation *uint64 `json:"Isolation,omitnil" name:"Isolation"`

	// Log information. Only the public network CLB that have HTTP or HTTPS listeners can generate logs.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Log *string `json:"Log,omitnil" name:"Log"`

	// Subnet where a CLB instance resides (meaningful only for private network VPC CLB)
	// Note: This field may return null, indicating that no valid values can be obtained.
	SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"`

	// CLB instance tag information
	// Note: This field may return null, indicating that no valid values can be obtained.
	Tags []*TagInfo `json:"Tags,omitnil" name:"Tags"`

	// Security group of a CLB instance
	// Note: This field may return null, indicating that no valid values can be obtained.
	SecureGroups []*string `json:"SecureGroups,omitnil" name:"SecureGroups"`

	// Basic information of a backend server bound to a CLB instance
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetRegionInfo *TargetRegionInfo `json:"TargetRegionInfo,omitnil" name:"TargetRegionInfo"`

	// Anycast CLB publishing region. For non-anycast CLB, this field returns an empty string.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AnycastZone *string `json:"AnycastZone,omitnil" name:"AnycastZone"`

	// IP version. Valid values: ipv4, ipv6
	// Note: this field may return null, indicating that no valid values can be obtained.
	AddressIPVersion *string `json:"AddressIPVersion,omitnil" name:"AddressIPVersion"`

	// VPC ID in a numeric form
	// Note: This field may return null, indicating that no valid values can be obtained.
	NumericalVpcId *uint64 `json:"NumericalVpcId,omitnil" name:"NumericalVpcId"`

	// ISP to which a CLB IP address belongs
	// Note: This field may return null, indicating that no valid values can be obtained.
	VipIsp *string `json:"VipIsp,omitnil" name:"VipIsp"`

	// Primary AZ
	// Note: This field may return null, indicating that no valid values can be obtained.
	MasterZone *ZoneInfo `json:"MasterZone,omitnil" name:"MasterZone"`

	// Secondary AZ
	// Note: This field may return null, indicating that no valid values can be obtained.
	BackupZoneSet []*ZoneInfo `json:"BackupZoneSet,omitnil" name:"BackupZoneSet"`

	// CLB instance isolation time
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsolatedTime *string `json:"IsolatedTime,omitnil" name:"IsolatedTime"`

	// CLB instance expiration time, which takes effect only for prepaid instances
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExpireTime *string `json:"ExpireTime,omitnil" name:"ExpireTime"`

	// Billing mode of CLB instance. Valid values: PREPAID (monthly subscription), POSTPAID_BY_HOUR (pay as you go).
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ChargeType *string `json:"ChargeType,omitnil" name:"ChargeType"`

	// CLB instance network attributes
	// Note: This field may return null, indicating that no valid values can be obtained.
	NetworkAttributes *InternetAccessible `json:"NetworkAttributes,omitnil" name:"NetworkAttributes"`

	// Prepaid billing attributes of a CLB instance
	// Note: This field may return null, indicating that no valid values can be obtained.
	PrepaidAttributes *LBChargePrepaid `json:"PrepaidAttributes,omitnil" name:"PrepaidAttributes"`

	// Logset ID of CLB Log Service (CLS)
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogSetId *string `json:"LogSetId,omitnil" name:"LogSetId"`

	// Log topic ID of CLB Log Service (CLS)
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogTopicId *string `json:"LogTopicId,omitnil" name:"LogTopicId"`

	// IPv6 address of a CLB instance
	// Note: This field may return null, indicating that no valid values can be obtained.
	AddressIPv6 *string `json:"AddressIPv6,omitnil" name:"AddressIPv6"`

	// Reserved field which can be ignored generally.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExtraInfo *ExtraInfo `json:"ExtraInfo,omitnil" name:"ExtraInfo"`

	// Whether an Anti-DDoS Pro instance can be bound
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsDDos *bool `json:"IsDDos,omitnil" name:"IsDDos"`

	// Custom configuration ID at the CLB instance level
	// Note: This field may return null, indicating that no valid values can be obtained.
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`

	// Whether a real server opens the traffic from a CLB instance to the internet
	// Note: this field may return null, indicating that no valid values can be obtained.
	LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitnil" name:"LoadBalancerPassToTarget"`

	// Private network dedicated cluster
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil" name:"ExclusiveCluster"`

	// This field is meaningful only when the IP address version is `ipv6`. Valid values: IPv6Nat64, IPv6FullChain
	// Note: this field may return null, indicating that no valid values can be obtained.
	IPv6Mode *string `json:"IPv6Mode,omitnil" name:"IPv6Mode"`

	// Whether to enable SnatPro.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SnatPro *bool `json:"SnatPro,omitnil" name:"SnatPro"`

	// `SnatIp` list after SnatPro load balancing is enabled.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SnatIps []*SnatIp `json:"SnatIps,omitnil" name:"SnatIps"`

	// Specification of the LCU-supported instance.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SlaType *string `json:"SlaType,omitnil" name:"SlaType"`

	// Whether VIP is blocked
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsBlock *bool `json:"IsBlock,omitnil" name:"IsBlock"`

	// Time blocked or unblocked
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsBlockTime *string `json:"IsBlockTime,omitnil" name:"IsBlockTime"`

	// Whether the IP type is the local BGP
	LocalBgp *bool `json:"LocalBgp,omitnil" name:"LocalBgp"`

	// Dedicated layer-7 tag.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClusterTag *string `json:"ClusterTag,omitnil" name:"ClusterTag"`

	// If the layer-7 listener of an IPv6FullChain CLB instance is enabled, the CLB instance can be bound with an IPv4 and an IPv6 CVM instance simultaneously.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MixIpTarget *bool `json:"MixIpTarget,omitnil" name:"MixIpTarget"`

	// Availability zone of a VPC-based private network CLB instance
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Zones []*string `json:"Zones,omitnil" name:"Zones"`

	// Whether it is an NFV CLB instance. No returned information: no; l7nfv: yes.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	NfvInfo *string `json:"NfvInfo,omitnil" name:"NfvInfo"`

	// Health check logset ID of CLB CLS
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	HealthLogSetId *string `json:"HealthLogSetId,omitnil" name:"HealthLogSetId"`

	// Health check log topic ID of CLB CLS
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	HealthLogTopicId *string `json:"HealthLogTopicId,omitnil" name:"HealthLogTopicId"`

	// Cluster ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ClusterIds []*string `json:"ClusterIds,omitnil" name:"ClusterIds"`

	// CLB attribute
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AttributeFlags []*string `json:"AttributeFlags,omitnil" name:"AttributeFlags"`

	// Domain name of the CLB instance.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LoadBalancerDomain *string `json:"LoadBalancerDomain,omitnil" name:"LoadBalancerDomain"`
}

type LoadBalancerDetail

type LoadBalancerDetail struct {
	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB instance name.
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// CLB instance network type:
	// Public: public network; Private: private network.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LoadBalancerType *string `json:"LoadBalancerType,omitnil" name:"LoadBalancerType"`

	// CLB instance status, including:
	// 0: creating; 1: running.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *uint64 `json:"Status,omitnil" name:"Status"`

	// CLB instance VIP.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Address *string `json:"Address,omitnil" name:"Address"`

	// IPv6 VIP address of the CLB instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AddressIPv6 *string `json:"AddressIPv6,omitnil" name:"AddressIPv6"`

	// IP version of the CLB instance. Valid values: IPv4, IPv6.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AddressIPVersion *string `json:"AddressIPVersion,omitnil" name:"AddressIPVersion"`

	// IPv6 address type of the CLB instance. Valid values: IPv6Nat64, IPv6FullChain.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IPv6Mode *string `json:"IPv6Mode,omitnil" name:"IPv6Mode"`

	// Availability zone where the CLB instance resides.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Zone *string `json:"Zone,omitnil" name:"Zone"`

	// ISP to which the CLB IP address belongs.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AddressIsp *string `json:"AddressIsp,omitnil" name:"AddressIsp"`

	// ID of the VPC instance to which the CLB instance belongs.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// ID of the project to which the CLB instance belongs. 0: default project.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectId *uint64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// CLB instance creation time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// CLB instance billing mode.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ChargeType *string `json:"ChargeType,omitnil" name:"ChargeType"`

	// CLB instance network attribute.
	// Note: this field may return null, indicating that no valid values can be obtained.
	NetworkAttributes *InternetAccessible `json:"NetworkAttributes,omitnil" name:"NetworkAttributes"`

	// Pay-as-you-go attribute of the CLB instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PrepaidAttributes *LBChargePrepaid `json:"PrepaidAttributes,omitnil" name:"PrepaidAttributes"`

	// Reserved field, which can be ignored generally.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExtraInfo *ExtraInfo `json:"ExtraInfo,omitnil" name:"ExtraInfo"`

	// Custom configuration IDs of CLB instances. Multiple IDs must be separated by commas (,).
	// Note: This field may return null, indicating that no valid values can be obtained.
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`

	// CLB instance tag information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Tags []*TagInfo `json:"Tags,omitnil" name:"Tags"`

	// CLB listener ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// Listener protocol.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Listener port.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Port *uint64 `json:"Port,omitnil" name:"Port"`

	// Forwarding rule ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Domain name of the forwarding rule.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Forwarding rule path.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Url *string `json:"Url,omitnil" name:"Url"`

	// ID of target real servers.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TargetId *string `json:"TargetId,omitnil" name:"TargetId"`

	// Address of target real servers.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TargetAddress *string `json:"TargetAddress,omitnil" name:"TargetAddress"`

	// Listening port of target real servers.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TargetPort *uint64 `json:"TargetPort,omitnil" name:"TargetPort"`

	// Forwarding weight of target real servers.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TargetWeight *uint64 `json:"TargetWeight,omitnil" name:"TargetWeight"`

	// 0: not isolated; 1: isolated.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Isolation *uint64 `json:"Isolation,omitnil" name:"Isolation"`

	// List of the security groups bound to the CLB instance.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SecurityGroup []*string `json:"SecurityGroup,omitnil" name:"SecurityGroup"`

	// Whether the CLB instance is billed by IP.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LoadBalancerPassToTarget *uint64 `json:"LoadBalancerPassToTarget,omitnil" name:"LoadBalancerPassToTarget"`

	// Health status of the target real server.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TargetHealth *string `json:"TargetHealth,omitnil" name:"TargetHealth"`

	// List o domain names associated with the forwarding rule
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Domains *string `json:"Domains,omitnil" name:"Domains"`

	// The secondary zone of multi-AZ CLB instance
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	SlaveZone []*string `json:"SlaveZone,omitnil" name:"SlaveZone"`

	// The AZ of private CLB instance. This is only available for beta users.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Zones []*string `json:"Zones,omitnil" name:"Zones"`

	// Whether SNI is enabled. This parameter is only meaningful for HTTPS listeners.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	SniSwitch *int64 `json:"SniSwitch,omitnil" name:"SniSwitch"`

	// Domain name of the CLB instance.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LoadBalancerDomain *string `json:"LoadBalancerDomain,omitnil" name:"LoadBalancerDomain"`
}

type LoadBalancerHealth

type LoadBalancerHealth struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB instance name
	// Note: This field may return null, indicating that no valid values can be obtained.
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// List of listeners
	// Note: This field may return null, indicating that no valid values can be obtained.
	Listeners []*ListenerHealth `json:"Listeners,omitnil" name:"Listeners"`
}

type LoadBalancerTraffic

type LoadBalancerTraffic struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB instance name
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// CLB instance region
	Region *string `json:"Region,omitnil" name:"Region"`

	// CLB instance VIP
	Vip *string `json:"Vip,omitnil" name:"Vip"`

	// Maximum outbound bandwidth in Mbps
	OutBandwidth *float64 `json:"OutBandwidth,omitnil" name:"OutBandwidth"`

	// CLB domain name
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitnil" name:"Domain"`
}

type ManualRewriteRequest

type ManualRewriteRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Source listener ID
	SourceListenerId *string `json:"SourceListenerId,omitnil" name:"SourceListenerId"`

	// Target listener ID
	TargetListenerId *string `json:"TargetListenerId,omitnil" name:"TargetListenerId"`

	// Redirection relationship between forwarding rules
	RewriteInfos []*RewriteLocationMap `json:"RewriteInfos,omitnil" name:"RewriteInfos"`
}

func NewManualRewriteRequest

func NewManualRewriteRequest() (request *ManualRewriteRequest)

func (*ManualRewriteRequest) FromJsonString

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

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

func (*ManualRewriteRequest) ToJsonString

func (r *ManualRewriteRequest) ToJsonString() string

type ManualRewriteRequestParams

type ManualRewriteRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Source listener ID
	SourceListenerId *string `json:"SourceListenerId,omitnil" name:"SourceListenerId"`

	// Target listener ID
	TargetListenerId *string `json:"TargetListenerId,omitnil" name:"TargetListenerId"`

	// Redirection relationship between forwarding rules
	RewriteInfos []*RewriteLocationMap `json:"RewriteInfos,omitnil" name:"RewriteInfos"`
}

Predefined struct for user

type ManualRewriteResponse

type ManualRewriteResponse struct {
	*tchttp.BaseResponse
	Response *ManualRewriteResponseParams `json:"Response"`
}

func NewManualRewriteResponse

func NewManualRewriteResponse() (response *ManualRewriteResponse)

func (*ManualRewriteResponse) FromJsonString

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

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

func (*ManualRewriteResponse) ToJsonString

func (r *ManualRewriteResponse) ToJsonString() string

type ManualRewriteResponseParams

type ManualRewriteResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type MigrateClassicalLoadBalancersRequest

type MigrateClassicalLoadBalancersRequest struct {
	*tchttp.BaseRequest

	// Array of classic CLB instance IDs
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`

	// Exclusive cluster information
	ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil" name:"ExclusiveCluster"`
}

func NewMigrateClassicalLoadBalancersRequest

func NewMigrateClassicalLoadBalancersRequest() (request *MigrateClassicalLoadBalancersRequest)

func (*MigrateClassicalLoadBalancersRequest) FromJsonString

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

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

func (*MigrateClassicalLoadBalancersRequest) ToJsonString

func (r *MigrateClassicalLoadBalancersRequest) ToJsonString() string

type MigrateClassicalLoadBalancersRequestParams

type MigrateClassicalLoadBalancersRequestParams struct {
	// Array of classic CLB instance IDs
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`

	// Exclusive cluster information
	ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil" name:"ExclusiveCluster"`
}

Predefined struct for user

type MigrateClassicalLoadBalancersResponse

type MigrateClassicalLoadBalancersResponse struct {
	*tchttp.BaseResponse
	Response *MigrateClassicalLoadBalancersResponseParams `json:"Response"`
}

func NewMigrateClassicalLoadBalancersResponse

func NewMigrateClassicalLoadBalancersResponse() (response *MigrateClassicalLoadBalancersResponse)

func (*MigrateClassicalLoadBalancersResponse) FromJsonString

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

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

func (*MigrateClassicalLoadBalancersResponse) ToJsonString

type MigrateClassicalLoadBalancersResponseParams

type MigrateClassicalLoadBalancersResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyBlockIPListRequest

type ModifyBlockIPListRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`

	// Operation type. Valid values:
	// <li> add_customized_field (sets header initially to enable the blocklist feature)</li>
	// <li> set_customized_field (modifies header)</li>
	// <li> del_customized_field (deletes header)</li>
	// <li> add_blocked (adds IPs to blocklist)</li>
	// <li> del_blocked (deletes IPs from blocklist)</li>
	// <li> flush_blocked (clears blocklist)</li>
	Type *string `json:"Type,omitnil" name:"Type"`

	// Header field that stores real client IPs
	ClientIPField *string `json:"ClientIPField,omitnil" name:"ClientIPField"`

	// List of blocked IPs. The array can contain up to 200,000 entries in one operation.
	BlockIPList []*string `json:"BlockIPList,omitnil" name:"BlockIPList"`

	// Expiration time in seconds. Default value: 3600
	ExpireTime *uint64 `json:"ExpireTime,omitnil" name:"ExpireTime"`

	// IP adding policy. Valid value: fifo (if a blocklist is full, new IPs added to the blocklist will adopt the first-in first-out policy)
	AddStrategy *string `json:"AddStrategy,omitnil" name:"AddStrategy"`
}

func NewModifyBlockIPListRequest

func NewModifyBlockIPListRequest() (request *ModifyBlockIPListRequest)

func (*ModifyBlockIPListRequest) FromJsonString

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

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

func (*ModifyBlockIPListRequest) ToJsonString

func (r *ModifyBlockIPListRequest) ToJsonString() string

type ModifyBlockIPListRequestParams

type ModifyBlockIPListRequestParams struct {
	// CLB instance ID
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`

	// Operation type. Valid values:
	// <li> add_customized_field (sets header initially to enable the blocklist feature)</li>
	// <li> set_customized_field (modifies header)</li>
	// <li> del_customized_field (deletes header)</li>
	// <li> add_blocked (adds IPs to blocklist)</li>
	// <li> del_blocked (deletes IPs from blocklist)</li>
	// <li> flush_blocked (clears blocklist)</li>
	Type *string `json:"Type,omitnil" name:"Type"`

	// Header field that stores real client IPs
	ClientIPField *string `json:"ClientIPField,omitnil" name:"ClientIPField"`

	// List of blocked IPs. The array can contain up to 200,000 entries in one operation.
	BlockIPList []*string `json:"BlockIPList,omitnil" name:"BlockIPList"`

	// Expiration time in seconds. Default value: 3600
	ExpireTime *uint64 `json:"ExpireTime,omitnil" name:"ExpireTime"`

	// IP adding policy. Valid value: fifo (if a blocklist is full, new IPs added to the blocklist will adopt the first-in first-out policy)
	AddStrategy *string `json:"AddStrategy,omitnil" name:"AddStrategy"`
}

Predefined struct for user

type ModifyBlockIPListResponse

type ModifyBlockIPListResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBlockIPListResponseParams `json:"Response"`
}

func NewModifyBlockIPListResponse

func NewModifyBlockIPListResponse() (response *ModifyBlockIPListResponse)

func (*ModifyBlockIPListResponse) FromJsonString

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

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

func (*ModifyBlockIPListResponse) ToJsonString

func (r *ModifyBlockIPListResponse) ToJsonString() string

type ModifyBlockIPListResponseParams

type ModifyBlockIPListResponseParams struct {
	// Async task ID
	JodId *string `json:"JodId,omitnil" name:"JodId"`

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

Predefined struct for user

type ModifyDomainAttributesRequest

type ModifyDomainAttributesRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// The domain name, which must be associated with an existing forwarding rule. If there are multiple domain names, you only need to specify one.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// The one domain name to modify. `NewDomain` and `NewDomains` can not be both specified.
	NewDomain *string `json:"NewDomain,omitnil" name:"NewDomain"`

	// Certificate information of the domain name. It is only applicable to listeners with SNI enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
	Certificate *CertificateInput `json:"Certificate,omitnil" name:"Certificate"`

	// Whether to enable HTTP/2. Note: HTTP/2 can be enabled only for HTTPS domain names.
	Http2 *bool `json:"Http2,omitnil" name:"Http2"`

	// Whether to set this domain name as the default domain name. Note: Only one default domain name can be set under one listener.
	DefaultServer *bool `json:"DefaultServer,omitnil" name:"DefaultServer"`

	// Whether to enable QUIC. Note: QUIC can be enabled only for HTTPS domain names.
	Quic *bool `json:"Quic,omitnil" name:"Quic"`

	// Specifies a new default domain name for the listener. This field is used when the original default domain name is disabled. If there are multiple domain names, specify one of them.
	NewDefaultServerDomain *string `json:"NewDefaultServerDomain,omitnil" name:"NewDefaultServerDomain"`

	// The new domain names to modify. `NewDomain` and `NewDomains` can not be both specified.
	NewDomains []*string `json:"NewDomains,omitnil" name:"NewDomains"`

	// Certificate information of the domain name. It is only applicable to listeners with SNI enabled. You can specify multiple server-side certificates with different algorithm types. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
	MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil" name:"MultiCertInfo"`
}

func NewModifyDomainAttributesRequest

func NewModifyDomainAttributesRequest() (request *ModifyDomainAttributesRequest)

func (*ModifyDomainAttributesRequest) FromJsonString

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

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

func (*ModifyDomainAttributesRequest) ToJsonString

func (r *ModifyDomainAttributesRequest) ToJsonString() string

type ModifyDomainAttributesRequestParams

type ModifyDomainAttributesRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// The domain name, which must be associated with an existing forwarding rule. If there are multiple domain names, you only need to specify one.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// The one domain name to modify. `NewDomain` and `NewDomains` can not be both specified.
	NewDomain *string `json:"NewDomain,omitnil" name:"NewDomain"`

	// Certificate information of the domain name. It is only applicable to listeners with SNI enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
	Certificate *CertificateInput `json:"Certificate,omitnil" name:"Certificate"`

	// Whether to enable HTTP/2. Note: HTTP/2 can be enabled only for HTTPS domain names.
	Http2 *bool `json:"Http2,omitnil" name:"Http2"`

	// Whether to set this domain name as the default domain name. Note: Only one default domain name can be set under one listener.
	DefaultServer *bool `json:"DefaultServer,omitnil" name:"DefaultServer"`

	// Whether to enable QUIC. Note: QUIC can be enabled only for HTTPS domain names.
	Quic *bool `json:"Quic,omitnil" name:"Quic"`

	// Specifies a new default domain name for the listener. This field is used when the original default domain name is disabled. If there are multiple domain names, specify one of them.
	NewDefaultServerDomain *string `json:"NewDefaultServerDomain,omitnil" name:"NewDefaultServerDomain"`

	// The new domain names to modify. `NewDomain` and `NewDomains` can not be both specified.
	NewDomains []*string `json:"NewDomains,omitnil" name:"NewDomains"`

	// Certificate information of the domain name. It is only applicable to listeners with SNI enabled. You can specify multiple server-side certificates with different algorithm types. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
	MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil" name:"MultiCertInfo"`
}

Predefined struct for user

type ModifyDomainAttributesResponse

type ModifyDomainAttributesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDomainAttributesResponseParams `json:"Response"`
}

func NewModifyDomainAttributesResponse

func NewModifyDomainAttributesResponse() (response *ModifyDomainAttributesResponse)

func (*ModifyDomainAttributesResponse) FromJsonString

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

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

func (*ModifyDomainAttributesResponse) ToJsonString

func (r *ModifyDomainAttributesResponse) ToJsonString() string

type ModifyDomainAttributesResponseParams

type ModifyDomainAttributesResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyDomainRequest

type ModifyDomainRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID.
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// Legacy domain name under a listener.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// New domain name. 	Length limit: 1-120. There are three usage formats: non-regular expression, wildcard, and regular expression. A non-regular expression can only contain letters, digits, "-", and ".". In a wildcard, "*" can only be at the beginning or the end. A regular expressions must begin with a "~".
	NewDomain *string `json:"NewDomain,omitnil" name:"NewDomain"`
}

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 {
	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID.
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// Legacy domain name under a listener.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// New domain name. 	Length limit: 1-120. There are three usage formats: non-regular expression, wildcard, and regular expression. A non-regular expression can only contain letters, digits, "-", and ".". In a wildcard, "*" can only be at the beginning or the end. A regular expressions must begin with a "~".
	NewDomain *string `json:"NewDomain,omitnil" name:"NewDomain"`
}

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,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyFunctionTargetsRequest

type ModifyFunctionTargetsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// The backend cloud functions to modify
	FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil" name:"FunctionTargets"`

	// Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or `Domain`+`Url`.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Target rule domain name. This parameter does not take effect if `LocationId` is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Target rule URL. This parameter does not take effect if `LocationId` is specified.
	Url *string `json:"Url,omitnil" name:"Url"`
}

func NewModifyFunctionTargetsRequest

func NewModifyFunctionTargetsRequest() (request *ModifyFunctionTargetsRequest)

func (*ModifyFunctionTargetsRequest) FromJsonString

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

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

func (*ModifyFunctionTargetsRequest) ToJsonString

func (r *ModifyFunctionTargetsRequest) ToJsonString() string

type ModifyFunctionTargetsRequestParams

type ModifyFunctionTargetsRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// The backend cloud functions to modify
	FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil" name:"FunctionTargets"`

	// Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or `Domain`+`Url`.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Target rule domain name. This parameter does not take effect if `LocationId` is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Target rule URL. This parameter does not take effect if `LocationId` is specified.
	Url *string `json:"Url,omitnil" name:"Url"`
}

Predefined struct for user

type ModifyFunctionTargetsResponse

type ModifyFunctionTargetsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyFunctionTargetsResponseParams `json:"Response"`
}

func NewModifyFunctionTargetsResponse

func NewModifyFunctionTargetsResponse() (response *ModifyFunctionTargetsResponse)

func (*ModifyFunctionTargetsResponse) FromJsonString

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

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

func (*ModifyFunctionTargetsResponse) ToJsonString

func (r *ModifyFunctionTargetsResponse) ToJsonString() string

type ModifyFunctionTargetsResponseParams

type ModifyFunctionTargetsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyListenerRequest

type ModifyListenerRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// New listener name
	ListenerName *string `json:"ListenerName,omitnil" name:"ListenerName"`

	// Session persistence time in seconds. Value range: 30-3,600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners.
	SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"`

	// Health check parameter. It is only applicable only to TCP, UDP, TCP_SSL and QUIC listeners.
	HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"`

	// Certificate information. This parameter is only applicable to HTTPS/TCP_SSL/QUIC listeners. `Certificate` and `MultiCertInfo` cannot be both specified.
	Certificate *CertificateInput `json:"Certificate,omitnil" name:"Certificate"`

	// Forwarding method of a listener. Value range: WRR, LEAST_CONN.
	// They represent weighted round robin and least connections, respectively. Default value: WRR.
	Scheduler *string `json:"Scheduler,omitnil" name:"Scheduler"`

	// Whether to enable the SNI feature. This parameter is applicable only to HTTPS listeners. Note: The SNI feature can be enabled but cannot be disabled once enabled.
	SniSwitch *int64 `json:"SniSwitch,omitnil" name:"SniSwitch"`

	// Target backend type. `NODE`: A single node; `TARGETGROUP`: A target group.
	TargetType *string `json:"TargetType,omitnil" name:"TargetType"`

	// Whether to enable a persistent connection. This parameter is applicable only to HTTP and HTTPS listeners.
	KeepaliveEnable *int64 `json:"KeepaliveEnable,omitnil" name:"KeepaliveEnable"`

	// Whether to send the TCP RST packet to the client when unbinding a real server. This parameter is applicable to TCP listeners only.
	DeregisterTargetRst *bool `json:"DeregisterTargetRst,omitnil" name:"DeregisterTargetRst"`

	// Session persistence type. `NORMAL`: default session persistence type (L4/L7 session persistence); `QUIC_CID`: session persistence by QUIC connection ID. The `QUIC_CID` value can only be configured in UDP listeners.
	SessionType *string `json:"SessionType,omitnil" name:"SessionType"`

	// Certificate information. You can specify multiple server-side certificates with different algorithm types. This parameter is only applicable to HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
	MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil" name:"MultiCertInfo"`

	// The maximum number of concurrent connections at the listener level. This parameter takes effect only on LCU-supported instances and TCP/UDP/TCP_SSL/QUIC listeners. Value range: 1 to the maximum concurrency of the instance. -1 indicates that no limit is set on concurrent connections.
	MaxConn *int64 `json:"MaxConn,omitnil" name:"MaxConn"`

	// The maximum number of new connections at the listener level. This parameter takes effect only on LCU-supported instances and TCP/UDP/TCP_SSL/QUIC listeners. Value range: 1 to the maximum number of new connections of the instance. -1 indicates that no limit is set on concurrent connections.
	MaxCps *int64 `json:"MaxCps,omitnil" name:"MaxCps"`

	// Connection idle timeout period (in seconds). It’s only available to TCP listeners. Value range: 300-900 for shared and dedicated instances; 300-2000 for LCU-supported CLB instances. It defaults to 900. To set a period longer than 2000 seconds (up to 3600 seconds), please submit a [submit](https://console.cloud.tencent.com/workorder/category).
	IdleConnectTimeout *int64 `json:"IdleConnectTimeout,omitnil" name:"IdleConnectTimeout"`
}

func NewModifyListenerRequest

func NewModifyListenerRequest() (request *ModifyListenerRequest)

func (*ModifyListenerRequest) FromJsonString

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

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

func (*ModifyListenerRequest) ToJsonString

func (r *ModifyListenerRequest) ToJsonString() string

type ModifyListenerRequestParams

type ModifyListenerRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// New listener name
	ListenerName *string `json:"ListenerName,omitnil" name:"ListenerName"`

	// Session persistence time in seconds. Value range: 30-3,600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners.
	SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"`

	// Health check parameter. It is only applicable only to TCP, UDP, TCP_SSL and QUIC listeners.
	HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"`

	// Certificate information. This parameter is only applicable to HTTPS/TCP_SSL/QUIC listeners. `Certificate` and `MultiCertInfo` cannot be both specified.
	Certificate *CertificateInput `json:"Certificate,omitnil" name:"Certificate"`

	// Forwarding method of a listener. Value range: WRR, LEAST_CONN.
	// They represent weighted round robin and least connections, respectively. Default value: WRR.
	Scheduler *string `json:"Scheduler,omitnil" name:"Scheduler"`

	// Whether to enable the SNI feature. This parameter is applicable only to HTTPS listeners. Note: The SNI feature can be enabled but cannot be disabled once enabled.
	SniSwitch *int64 `json:"SniSwitch,omitnil" name:"SniSwitch"`

	// Target backend type. `NODE`: A single node; `TARGETGROUP`: A target group.
	TargetType *string `json:"TargetType,omitnil" name:"TargetType"`

	// Whether to enable a persistent connection. This parameter is applicable only to HTTP and HTTPS listeners.
	KeepaliveEnable *int64 `json:"KeepaliveEnable,omitnil" name:"KeepaliveEnable"`

	// Whether to send the TCP RST packet to the client when unbinding a real server. This parameter is applicable to TCP listeners only.
	DeregisterTargetRst *bool `json:"DeregisterTargetRst,omitnil" name:"DeregisterTargetRst"`

	// Session persistence type. `NORMAL`: default session persistence type (L4/L7 session persistence); `QUIC_CID`: session persistence by QUIC connection ID. The `QUIC_CID` value can only be configured in UDP listeners.
	SessionType *string `json:"SessionType,omitnil" name:"SessionType"`

	// Certificate information. You can specify multiple server-side certificates with different algorithm types. This parameter is only applicable to HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
	MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil" name:"MultiCertInfo"`

	// The maximum number of concurrent connections at the listener level. This parameter takes effect only on LCU-supported instances and TCP/UDP/TCP_SSL/QUIC listeners. Value range: 1 to the maximum concurrency of the instance. -1 indicates that no limit is set on concurrent connections.
	MaxConn *int64 `json:"MaxConn,omitnil" name:"MaxConn"`

	// The maximum number of new connections at the listener level. This parameter takes effect only on LCU-supported instances and TCP/UDP/TCP_SSL/QUIC listeners. Value range: 1 to the maximum number of new connections of the instance. -1 indicates that no limit is set on concurrent connections.
	MaxCps *int64 `json:"MaxCps,omitnil" name:"MaxCps"`

	// Connection idle timeout period (in seconds). It’s only available to TCP listeners. Value range: 300-900 for shared and dedicated instances; 300-2000 for LCU-supported CLB instances. It defaults to 900. To set a period longer than 2000 seconds (up to 3600 seconds), please submit a [submit](https://console.cloud.tencent.com/workorder/category).
	IdleConnectTimeout *int64 `json:"IdleConnectTimeout,omitnil" name:"IdleConnectTimeout"`
}

Predefined struct for user

type ModifyListenerResponse

type ModifyListenerResponse struct {
	*tchttp.BaseResponse
	Response *ModifyListenerResponseParams `json:"Response"`
}

func NewModifyListenerResponse

func NewModifyListenerResponse() (response *ModifyListenerResponse)

func (*ModifyListenerResponse) FromJsonString

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

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

func (*ModifyListenerResponse) ToJsonString

func (r *ModifyListenerResponse) ToJsonString() string

type ModifyListenerResponseParams

type ModifyListenerResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyLoadBalancerAttributesRequest

type ModifyLoadBalancerAttributesRequest struct {
	*tchttp.BaseRequest

	// Unique CLB ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB instance name
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// The backend service information of cross-region binding 1.0
	TargetRegionInfo *TargetRegionInfo `json:"TargetRegionInfo,omitnil" name:"TargetRegionInfo"`

	// Network billing parameter
	InternetChargeInfo *InternetAccessible `json:"InternetChargeInfo,omitnil" name:"InternetChargeInfo"`

	// Whether the target opens traffic from CLB to the internet. If yes (true), only security groups on CLB will be verified; if no (false), security groups on both CLB and backend instance need to be verified.
	LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitnil" name:"LoadBalancerPassToTarget"`

	// Whether to enable cross-region binding 2.0
	SnatPro *bool `json:"SnatPro,omitnil" name:"SnatPro"`

	// Specifies whether to enable deletion protection.
	DeleteProtect *bool `json:"DeleteProtect,omitnil" name:"DeleteProtect"`

	// Modifies the second-level domain name of CLB from mycloud.com to tencentclb.com. Note that the sub-domain names will be changed as well. After the modification, mycloud.com will be invalidated.
	ModifyClassicDomain *bool `json:"ModifyClassicDomain,omitnil" name:"ModifyClassicDomain"`
}

func NewModifyLoadBalancerAttributesRequest

func NewModifyLoadBalancerAttributesRequest() (request *ModifyLoadBalancerAttributesRequest)

func (*ModifyLoadBalancerAttributesRequest) FromJsonString

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

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

func (*ModifyLoadBalancerAttributesRequest) ToJsonString

func (r *ModifyLoadBalancerAttributesRequest) ToJsonString() string

type ModifyLoadBalancerAttributesRequestParams

type ModifyLoadBalancerAttributesRequestParams struct {
	// Unique CLB ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB instance name
	LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"`

	// The backend service information of cross-region binding 1.0
	TargetRegionInfo *TargetRegionInfo `json:"TargetRegionInfo,omitnil" name:"TargetRegionInfo"`

	// Network billing parameter
	InternetChargeInfo *InternetAccessible `json:"InternetChargeInfo,omitnil" name:"InternetChargeInfo"`

	// Whether the target opens traffic from CLB to the internet. If yes (true), only security groups on CLB will be verified; if no (false), security groups on both CLB and backend instance need to be verified.
	LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitnil" name:"LoadBalancerPassToTarget"`

	// Whether to enable cross-region binding 2.0
	SnatPro *bool `json:"SnatPro,omitnil" name:"SnatPro"`

	// Specifies whether to enable deletion protection.
	DeleteProtect *bool `json:"DeleteProtect,omitnil" name:"DeleteProtect"`

	// Modifies the second-level domain name of CLB from mycloud.com to tencentclb.com. Note that the sub-domain names will be changed as well. After the modification, mycloud.com will be invalidated.
	ModifyClassicDomain *bool `json:"ModifyClassicDomain,omitnil" name:"ModifyClassicDomain"`
}

Predefined struct for user

type ModifyLoadBalancerAttributesResponse

type ModifyLoadBalancerAttributesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyLoadBalancerAttributesResponseParams `json:"Response"`
}

func NewModifyLoadBalancerAttributesResponse

func NewModifyLoadBalancerAttributesResponse() (response *ModifyLoadBalancerAttributesResponse)

func (*ModifyLoadBalancerAttributesResponse) FromJsonString

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

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

func (*ModifyLoadBalancerAttributesResponse) ToJsonString

func (r *ModifyLoadBalancerAttributesResponse) ToJsonString() string

type ModifyLoadBalancerAttributesResponseParams

type ModifyLoadBalancerAttributesResponseParams struct {
	// This parameter can be used to query whether CLB billing mode switch is successful.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DealName *string `json:"DealName,omitnil" name:"DealName"`

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

Predefined struct for user

type ModifyLoadBalancerSlaRequest

type ModifyLoadBalancerSlaRequest struct {
	*tchttp.BaseRequest

	// CLB instance information.
	LoadBalancerSla []*SlaUpdateParam `json:"LoadBalancerSla,omitnil" name:"LoadBalancerSla"`
}

func NewModifyLoadBalancerSlaRequest

func NewModifyLoadBalancerSlaRequest() (request *ModifyLoadBalancerSlaRequest)

func (*ModifyLoadBalancerSlaRequest) FromJsonString

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

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

func (*ModifyLoadBalancerSlaRequest) ToJsonString

func (r *ModifyLoadBalancerSlaRequest) ToJsonString() string

type ModifyLoadBalancerSlaRequestParams

type ModifyLoadBalancerSlaRequestParams struct {
	// CLB instance information.
	LoadBalancerSla []*SlaUpdateParam `json:"LoadBalancerSla,omitnil" name:"LoadBalancerSla"`
}

Predefined struct for user

type ModifyLoadBalancerSlaResponse

type ModifyLoadBalancerSlaResponse struct {
	*tchttp.BaseResponse
	Response *ModifyLoadBalancerSlaResponseParams `json:"Response"`
}

func NewModifyLoadBalancerSlaResponse

func NewModifyLoadBalancerSlaResponse() (response *ModifyLoadBalancerSlaResponse)

func (*ModifyLoadBalancerSlaResponse) FromJsonString

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

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

func (*ModifyLoadBalancerSlaResponse) ToJsonString

func (r *ModifyLoadBalancerSlaResponse) ToJsonString() string

type ModifyLoadBalancerSlaResponseParams

type ModifyLoadBalancerSlaResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyRuleRequest

type ModifyRuleRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// ID of the forwarding rule to be modified.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// New forwarding path of the forwarding rule. This parameter is not required if the URL does not need to be modified.
	Url *string `json:"Url,omitnil" name:"Url"`

	// Health check information
	HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"`

	// Request forwarding method of the rule. Value range: WRR, LEAST_CONN, IP_HASH
	// They represent weighted round robin, least connections, and IP hash, respectively. Default value: WRR.
	Scheduler *string `json:"Scheduler,omitnil" name:"Scheduler"`

	// Session persistence time
	SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"`

	// Forwarding protocol between CLB instance and real server. Default value: HTTP. Valid values: HTTP, HTTPS, and TRPC.
	ForwardType *string `json:"ForwardType,omitnil" name:"ForwardType"`

	// TRPC callee server route, which is required when `ForwardType` is "TRPC". This is now only for internal usage.
	TrpcCallee *string `json:"TrpcCallee,omitnil" name:"TrpcCallee"`

	// TRPC calling service API, which is required when `ForwardType` is "TRPC". This is now only for internal usage.
	TrpcFunc *string `json:"TrpcFunc,omitnil" name:"TrpcFunc"`
}

func NewModifyRuleRequest

func NewModifyRuleRequest() (request *ModifyRuleRequest)

func (*ModifyRuleRequest) FromJsonString

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

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

func (*ModifyRuleRequest) ToJsonString

func (r *ModifyRuleRequest) ToJsonString() string

type ModifyRuleRequestParams

type ModifyRuleRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// ID of the forwarding rule to be modified.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// New forwarding path of the forwarding rule. This parameter is not required if the URL does not need to be modified.
	Url *string `json:"Url,omitnil" name:"Url"`

	// Health check information
	HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"`

	// Request forwarding method of the rule. Value range: WRR, LEAST_CONN, IP_HASH
	// They represent weighted round robin, least connections, and IP hash, respectively. Default value: WRR.
	Scheduler *string `json:"Scheduler,omitnil" name:"Scheduler"`

	// Session persistence time
	SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"`

	// Forwarding protocol between CLB instance and real server. Default value: HTTP. Valid values: HTTP, HTTPS, and TRPC.
	ForwardType *string `json:"ForwardType,omitnil" name:"ForwardType"`

	// TRPC callee server route, which is required when `ForwardType` is "TRPC". This is now only for internal usage.
	TrpcCallee *string `json:"TrpcCallee,omitnil" name:"TrpcCallee"`

	// TRPC calling service API, which is required when `ForwardType` is "TRPC". This is now only for internal usage.
	TrpcFunc *string `json:"TrpcFunc,omitnil" name:"TrpcFunc"`
}

Predefined struct for user

type ModifyRuleResponse

type ModifyRuleResponse struct {
	*tchttp.BaseResponse
	Response *ModifyRuleResponseParams `json:"Response"`
}

func NewModifyRuleResponse

func NewModifyRuleResponse() (response *ModifyRuleResponse)

func (*ModifyRuleResponse) FromJsonString

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

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

func (*ModifyRuleResponse) ToJsonString

func (r *ModifyRuleResponse) ToJsonString() string

type ModifyRuleResponseParams

type ModifyRuleResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyTargetGroupAttributeRequest

type ModifyTargetGroupAttributeRequest struct {
	*tchttp.BaseRequest

	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// New name of target group
	TargetGroupName *string `json:"TargetGroupName,omitnil" name:"TargetGroupName"`

	// New default port of target group
	Port *uint64 `json:"Port,omitnil" name:"Port"`
}

func NewModifyTargetGroupAttributeRequest

func NewModifyTargetGroupAttributeRequest() (request *ModifyTargetGroupAttributeRequest)

func (*ModifyTargetGroupAttributeRequest) FromJsonString

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

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

func (*ModifyTargetGroupAttributeRequest) ToJsonString

func (r *ModifyTargetGroupAttributeRequest) ToJsonString() string

type ModifyTargetGroupAttributeRequestParams

type ModifyTargetGroupAttributeRequestParams struct {
	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// New name of target group
	TargetGroupName *string `json:"TargetGroupName,omitnil" name:"TargetGroupName"`

	// New default port of target group
	Port *uint64 `json:"Port,omitnil" name:"Port"`
}

Predefined struct for user

type ModifyTargetGroupAttributeResponse

type ModifyTargetGroupAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTargetGroupAttributeResponseParams `json:"Response"`
}

func NewModifyTargetGroupAttributeResponse

func NewModifyTargetGroupAttributeResponse() (response *ModifyTargetGroupAttributeResponse)

func (*ModifyTargetGroupAttributeResponse) FromJsonString

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

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

func (*ModifyTargetGroupAttributeResponse) ToJsonString

func (r *ModifyTargetGroupAttributeResponse) ToJsonString() string

type ModifyTargetGroupAttributeResponseParams

type ModifyTargetGroupAttributeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyTargetGroupInstancesPortRequest

type ModifyTargetGroupInstancesPortRequest struct {
	*tchttp.BaseRequest

	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// Array of servers for which to modify ports
	TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil" name:"TargetGroupInstances"`
}

func NewModifyTargetGroupInstancesPortRequest

func NewModifyTargetGroupInstancesPortRequest() (request *ModifyTargetGroupInstancesPortRequest)

func (*ModifyTargetGroupInstancesPortRequest) FromJsonString

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

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

func (*ModifyTargetGroupInstancesPortRequest) ToJsonString

type ModifyTargetGroupInstancesPortRequestParams

type ModifyTargetGroupInstancesPortRequestParams struct {
	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// Array of servers for which to modify ports
	TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil" name:"TargetGroupInstances"`
}

Predefined struct for user

type ModifyTargetGroupInstancesPortResponse

type ModifyTargetGroupInstancesPortResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTargetGroupInstancesPortResponseParams `json:"Response"`
}

func NewModifyTargetGroupInstancesPortResponse

func NewModifyTargetGroupInstancesPortResponse() (response *ModifyTargetGroupInstancesPortResponse)

func (*ModifyTargetGroupInstancesPortResponse) FromJsonString

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

func (*ModifyTargetGroupInstancesPortResponse) ToJsonString

type ModifyTargetGroupInstancesPortResponseParams

type ModifyTargetGroupInstancesPortResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyTargetGroupInstancesWeightRequest

type ModifyTargetGroupInstancesWeightRequest struct {
	*tchttp.BaseRequest

	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// Array of servers for which to modify weights
	TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil" name:"TargetGroupInstances"`
}

func NewModifyTargetGroupInstancesWeightRequest

func NewModifyTargetGroupInstancesWeightRequest() (request *ModifyTargetGroupInstancesWeightRequest)

func (*ModifyTargetGroupInstancesWeightRequest) FromJsonString

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

func (*ModifyTargetGroupInstancesWeightRequest) ToJsonString

type ModifyTargetGroupInstancesWeightRequestParams

type ModifyTargetGroupInstancesWeightRequestParams struct {
	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// Array of servers for which to modify weights
	TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil" name:"TargetGroupInstances"`
}

Predefined struct for user

type ModifyTargetGroupInstancesWeightResponse

type ModifyTargetGroupInstancesWeightResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTargetGroupInstancesWeightResponseParams `json:"Response"`
}

func NewModifyTargetGroupInstancesWeightResponse

func NewModifyTargetGroupInstancesWeightResponse() (response *ModifyTargetGroupInstancesWeightResponse)

func (*ModifyTargetGroupInstancesWeightResponse) FromJsonString

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

func (*ModifyTargetGroupInstancesWeightResponse) ToJsonString

type ModifyTargetGroupInstancesWeightResponseParams

type ModifyTargetGroupInstancesWeightResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyTargetPortRequest

type ModifyTargetPortRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// List of real servers for which to modify the ports
	Targets []*Target `json:"Targets,omitnil" name:"Targets"`

	// New port of the real server bound to a listener or forwarding rule
	NewPort *int64 `json:"NewPort,omitnil" name:"NewPort"`

	// Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or Domain+Url.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Target rule domain name. This parameter does not take effect if LocationId is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Target rule URL. This parameter does not take effect if LocationId is specified.
	Url *string `json:"Url,omitnil" name:"Url"`
}

func NewModifyTargetPortRequest

func NewModifyTargetPortRequest() (request *ModifyTargetPortRequest)

func (*ModifyTargetPortRequest) FromJsonString

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

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

func (*ModifyTargetPortRequest) ToJsonString

func (r *ModifyTargetPortRequest) ToJsonString() string

type ModifyTargetPortRequestParams

type ModifyTargetPortRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// List of real servers for which to modify the ports
	Targets []*Target `json:"Targets,omitnil" name:"Targets"`

	// New port of the real server bound to a listener or forwarding rule
	NewPort *int64 `json:"NewPort,omitnil" name:"NewPort"`

	// Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or Domain+Url.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Target rule domain name. This parameter does not take effect if LocationId is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Target rule URL. This parameter does not take effect if LocationId is specified.
	Url *string `json:"Url,omitnil" name:"Url"`
}

Predefined struct for user

type ModifyTargetPortResponse

type ModifyTargetPortResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTargetPortResponseParams `json:"Response"`
}

func NewModifyTargetPortResponse

func NewModifyTargetPortResponse() (response *ModifyTargetPortResponse)

func (*ModifyTargetPortResponse) FromJsonString

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

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

func (*ModifyTargetPortResponse) ToJsonString

func (r *ModifyTargetPortResponse) ToJsonString() string

type ModifyTargetPortResponseParams

type ModifyTargetPortResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyTargetWeightRequest

type ModifyTargetWeightRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or Domain+Url.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Target rule domain name. This parameter does not take effect if LocationId is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Target rule URL. This parameter does not take effect if LocationId is specified.
	Url *string `json:"Url,omitnil" name:"Url"`

	// List of real servers for which to modify the weights
	Targets []*Target `json:"Targets,omitnil" name:"Targets"`

	// New forwarding weight of a real server. Value range: 0-100. Default value: 10. If the Targets.Weight parameter is set, this parameter will not take effect.
	Weight *int64 `json:"Weight,omitnil" name:"Weight"`
}

func NewModifyTargetWeightRequest

func NewModifyTargetWeightRequest() (request *ModifyTargetWeightRequest)

func (*ModifyTargetWeightRequest) FromJsonString

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

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

func (*ModifyTargetWeightRequest) ToJsonString

func (r *ModifyTargetWeightRequest) ToJsonString() string

type ModifyTargetWeightRequestParams

type ModifyTargetWeightRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or Domain+Url.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Target rule domain name. This parameter does not take effect if LocationId is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Target rule URL. This parameter does not take effect if LocationId is specified.
	Url *string `json:"Url,omitnil" name:"Url"`

	// List of real servers for which to modify the weights
	Targets []*Target `json:"Targets,omitnil" name:"Targets"`

	// New forwarding weight of a real server. Value range: 0-100. Default value: 10. If the Targets.Weight parameter is set, this parameter will not take effect.
	Weight *int64 `json:"Weight,omitnil" name:"Weight"`
}

Predefined struct for user

type ModifyTargetWeightResponse

type ModifyTargetWeightResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTargetWeightResponseParams `json:"Response"`
}

func NewModifyTargetWeightResponse

func NewModifyTargetWeightResponse() (response *ModifyTargetWeightResponse)

func (*ModifyTargetWeightResponse) FromJsonString

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

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

func (*ModifyTargetWeightResponse) ToJsonString

func (r *ModifyTargetWeightResponse) ToJsonString() string

type ModifyTargetWeightResponseParams

type ModifyTargetWeightResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type MultiCertInfo

type MultiCertInfo struct {
	// Authentication type. Values: `UNIDIRECTIONAL` (one-way authentication), `MUTUAL` (two-way authentication)
	SSLMode *string `json:"SSLMode,omitnil" name:"SSLMode"`

	// List of listener or rule certificates. One-way and two-way authentication are supported. Only one certificate can be specified for one algorithm. If `SSLMode` is `MUTUAL` (two-way authentication), at least one CA certificate is required.
	CertList []*CertInfo `json:"CertList,omitnil" name:"CertList"`
}

type Quota

type Quota struct {
	// Quota name. Valid values:
	// <li> `TOTAL_OPEN_CLB_QUOTA`: Quota of public network CLB instances in the current region</li>
	// <li> `TOTAL_INTERNAL_CLB_QUOTA`: Quota of private network CLB instances in the current region</li>
	// <li> `TOTAL_LISTENER_QUOTA`: Quota of listeners under one CLB instance</li>
	// <li> `TOTAL_LISTENER_RULE_QUOTA`: Quota of forwarding rules under one listener</li>
	// <li> `TOTAL_TARGET_BIND_QUOTA`: Quota of CVM instances can be bound under one forwarding rule</li>
	// <li> `TOTAL_SNAP_IP_QUOTA`: Quota of SNAT IPs for cross-region binding 2.0 under one CLB instance </li>
	// <li> `TOTAL_ISP_CLB_QUOTA`: Quota of triple-ISP (CMCC/CUCC/CTCC) CLB instances in the current region</li>
	QuotaId *string `json:"QuotaId,omitnil" name:"QuotaId"`

	// Currently used quantity. If it is `null`, it is meaningless.
	// Note: this field may return null, indicating that no valid values can be obtained.
	QuotaCurrent *int64 `json:"QuotaCurrent,omitnil" name:"QuotaCurrent"`

	// Quota limit.
	QuotaLimit *int64 `json:"QuotaLimit,omitnil" name:"QuotaLimit"`
}

type RegisterFunctionTargetsRequest

type RegisterFunctionTargetsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID.
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// SCF functions to be bound.
	FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil" name:"FunctionTargets"`

	// ID of the target forwarding rule. To bind an SCF function to a L7 forwarding rule, this parameter or `Domain+Url` is required.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Domain name of the target forwarding rule. It is ignored if `LocationId` is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// URL of the target forwarding rule. It is ignored if `LocationId` is specified.
	Url *string `json:"Url,omitnil" name:"Url"`
}

func NewRegisterFunctionTargetsRequest

func NewRegisterFunctionTargetsRequest() (request *RegisterFunctionTargetsRequest)

func (*RegisterFunctionTargetsRequest) FromJsonString

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

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

func (*RegisterFunctionTargetsRequest) ToJsonString

func (r *RegisterFunctionTargetsRequest) ToJsonString() string

type RegisterFunctionTargetsRequestParams

type RegisterFunctionTargetsRequestParams struct {
	// CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID.
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// SCF functions to be bound.
	FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil" name:"FunctionTargets"`

	// ID of the target forwarding rule. To bind an SCF function to a L7 forwarding rule, this parameter or `Domain+Url` is required.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Domain name of the target forwarding rule. It is ignored if `LocationId` is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// URL of the target forwarding rule. It is ignored if `LocationId` is specified.
	Url *string `json:"Url,omitnil" name:"Url"`
}

Predefined struct for user

type RegisterFunctionTargetsResponse

type RegisterFunctionTargetsResponse struct {
	*tchttp.BaseResponse
	Response *RegisterFunctionTargetsResponseParams `json:"Response"`
}

func NewRegisterFunctionTargetsResponse

func NewRegisterFunctionTargetsResponse() (response *RegisterFunctionTargetsResponse)

func (*RegisterFunctionTargetsResponse) FromJsonString

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

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

func (*RegisterFunctionTargetsResponse) ToJsonString

func (r *RegisterFunctionTargetsResponse) ToJsonString() string

type RegisterFunctionTargetsResponseParams

type RegisterFunctionTargetsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type RegisterTargetGroupInstancesRequest

type RegisterTargetGroupInstancesRequest struct {
	*tchttp.BaseRequest

	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// Server instance array
	TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil" name:"TargetGroupInstances"`
}

func NewRegisterTargetGroupInstancesRequest

func NewRegisterTargetGroupInstancesRequest() (request *RegisterTargetGroupInstancesRequest)

func (*RegisterTargetGroupInstancesRequest) FromJsonString

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

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

func (*RegisterTargetGroupInstancesRequest) ToJsonString

func (r *RegisterTargetGroupInstancesRequest) ToJsonString() string

type RegisterTargetGroupInstancesRequestParams

type RegisterTargetGroupInstancesRequestParams struct {
	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// Server instance array
	TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil" name:"TargetGroupInstances"`
}

Predefined struct for user

type RegisterTargetGroupInstancesResponse

type RegisterTargetGroupInstancesResponse struct {
	*tchttp.BaseResponse
	Response *RegisterTargetGroupInstancesResponseParams `json:"Response"`
}

func NewRegisterTargetGroupInstancesResponse

func NewRegisterTargetGroupInstancesResponse() (response *RegisterTargetGroupInstancesResponse)

func (*RegisterTargetGroupInstancesResponse) FromJsonString

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

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

func (*RegisterTargetGroupInstancesResponse) ToJsonString

func (r *RegisterTargetGroupInstancesResponse) ToJsonString() string

type RegisterTargetGroupInstancesResponseParams

type RegisterTargetGroupInstancesResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type RegisterTargetsRequest

type RegisterTargetsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// List of real servers to be bound. Array length limit: 20.
	Targets []*Target `json:"Targets,omitnil" name:"Targets"`

	// Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or Domain+Url.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Target forwarding rule domain name. This parameter does not take effect if LocationId is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Target forwarding rule URL. This parameter does not take effect if LocationId is specified.
	Url *string `json:"Url,omitnil" name:"Url"`
}

func NewRegisterTargetsRequest

func NewRegisterTargetsRequest() (request *RegisterTargetsRequest)

func (*RegisterTargetsRequest) FromJsonString

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

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

func (*RegisterTargetsRequest) ToJsonString

func (r *RegisterTargetsRequest) ToJsonString() string

type RegisterTargetsRequestParams

type RegisterTargetsRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// List of real servers to be bound. Array length limit: 20.
	Targets []*Target `json:"Targets,omitnil" name:"Targets"`

	// Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or Domain+Url.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Target forwarding rule domain name. This parameter does not take effect if LocationId is specified.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Target forwarding rule URL. This parameter does not take effect if LocationId is specified.
	Url *string `json:"Url,omitnil" name:"Url"`
}

Predefined struct for user

type RegisterTargetsResponse

type RegisterTargetsResponse struct {
	*tchttp.BaseResponse
	Response *RegisterTargetsResponseParams `json:"Response"`
}

func NewRegisterTargetsResponse

func NewRegisterTargetsResponse() (response *RegisterTargetsResponse)

func (*RegisterTargetsResponse) FromJsonString

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

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

func (*RegisterTargetsResponse) ToJsonString

func (r *RegisterTargetsResponse) ToJsonString() string

type RegisterTargetsResponseParams

type RegisterTargetsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type RegisterTargetsWithClassicalLBRequest

type RegisterTargetsWithClassicalLBRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Real server information
	Targets []*ClassicalTargetInfo `json:"Targets,omitnil" name:"Targets"`
}

func NewRegisterTargetsWithClassicalLBRequest

func NewRegisterTargetsWithClassicalLBRequest() (request *RegisterTargetsWithClassicalLBRequest)

func (*RegisterTargetsWithClassicalLBRequest) FromJsonString

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

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

func (*RegisterTargetsWithClassicalLBRequest) ToJsonString

type RegisterTargetsWithClassicalLBRequestParams

type RegisterTargetsWithClassicalLBRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Real server information
	Targets []*ClassicalTargetInfo `json:"Targets,omitnil" name:"Targets"`
}

Predefined struct for user

type RegisterTargetsWithClassicalLBResponse

type RegisterTargetsWithClassicalLBResponse struct {
	*tchttp.BaseResponse
	Response *RegisterTargetsWithClassicalLBResponseParams `json:"Response"`
}

func NewRegisterTargetsWithClassicalLBResponse

func NewRegisterTargetsWithClassicalLBResponse() (response *RegisterTargetsWithClassicalLBResponse)

func (*RegisterTargetsWithClassicalLBResponse) FromJsonString

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

func (*RegisterTargetsWithClassicalLBResponse) ToJsonString

type RegisterTargetsWithClassicalLBResponseParams

type RegisterTargetsWithClassicalLBResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ReplaceCertForLoadBalancersRequest

type ReplaceCertForLoadBalancersRequest struct {
	*tchttp.BaseRequest

	// ID of the certificate to be replaced, which can be a server certificate or a client certificate.
	OldCertificateId *string `json:"OldCertificateId,omitnil" name:"OldCertificateId"`

	// Information such as the content of the new certificate
	Certificate *CertificateInput `json:"Certificate,omitnil" name:"Certificate"`
}

func NewReplaceCertForLoadBalancersRequest

func NewReplaceCertForLoadBalancersRequest() (request *ReplaceCertForLoadBalancersRequest)

func (*ReplaceCertForLoadBalancersRequest) FromJsonString

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

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

func (*ReplaceCertForLoadBalancersRequest) ToJsonString

func (r *ReplaceCertForLoadBalancersRequest) ToJsonString() string

type ReplaceCertForLoadBalancersRequestParams

type ReplaceCertForLoadBalancersRequestParams struct {
	// ID of the certificate to be replaced, which can be a server certificate or a client certificate.
	OldCertificateId *string `json:"OldCertificateId,omitnil" name:"OldCertificateId"`

	// Information such as the content of the new certificate
	Certificate *CertificateInput `json:"Certificate,omitnil" name:"Certificate"`
}

Predefined struct for user

type ReplaceCertForLoadBalancersResponse

type ReplaceCertForLoadBalancersResponse struct {
	*tchttp.BaseResponse
	Response *ReplaceCertForLoadBalancersResponseParams `json:"Response"`
}

func NewReplaceCertForLoadBalancersResponse

func NewReplaceCertForLoadBalancersResponse() (response *ReplaceCertForLoadBalancersResponse)

func (*ReplaceCertForLoadBalancersResponse) FromJsonString

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

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

func (*ReplaceCertForLoadBalancersResponse) ToJsonString

func (r *ReplaceCertForLoadBalancersResponse) ToJsonString() string

type ReplaceCertForLoadBalancersResponseParams

type ReplaceCertForLoadBalancersResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type Resource

type Resource struct {
	// Specific ISP resource information, Vaules: `CMCC`, `CUCC`, `CTCC`, `BGP`, and `INTERNAL`.
	Type []*string `json:"Type,omitnil" name:"Type"`

	// ISP information, such as `CMCC`, `CUCC`, `CTCC`, `BGP`, and `INTERNAL`.
	Isp *string `json:"Isp,omitnil" name:"Isp"`

	// Available resources
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	AvailabilitySet []*ResourceAvailability `json:"AvailabilitySet,omitnil" name:"AvailabilitySet"`

	// ISP Type
	// Note: This field may return null, indicating that no valid values can be obtained.
	TypeSet []*TypeInfo `json:"TypeSet,omitnil" name:"TypeSet"`
}

type ResourceAvailability

type ResourceAvailability struct {
	// Specific ISP resource information. Values: `CMCC`, `CUCC`, `CTCC`, `BGP`.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Whether the resource is available. Values: `Available`, `Unavailable`
	Availability *string `json:"Availability,omitnil" name:"Availability"`
}

type RewriteLocationMap

type RewriteLocationMap struct {
	// Source forwarding rule ID
	SourceLocationId *string `json:"SourceLocationId,omitnil" name:"SourceLocationId"`

	// Forwarding rule ID of a redirect target
	TargetLocationId *string `json:"TargetLocationId,omitnil" name:"TargetLocationId"`

	// Redirection status code. Valid values: 301, 302, and 307.
	RewriteCode *int64 `json:"RewriteCode,omitnil" name:"RewriteCode"`

	// Whether the matched URL is carried in redirection. It is required when configuring `RewriteCode`.
	TakeUrl *bool `json:"TakeUrl,omitnil" name:"TakeUrl"`

	// Original domain name of redirection, which must be the corresponding domain name of `SourceLocationId`. It is required when configuring `RewriteCode`.
	SourceDomain *string `json:"SourceDomain,omitnil" name:"SourceDomain"`
}

type RewriteTarget

type RewriteTarget struct {
	// Listener ID of a redirect target
	// Note: This field may return null, indicating that there is no redirection.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetListenerId *string `json:"TargetListenerId,omitnil" name:"TargetListenerId"`

	// Forwarding rule ID of a redirect target
	// Note: This field may return null, indicating that there is no redirection.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetLocationId *string `json:"TargetLocationId,omitnil" name:"TargetLocationId"`

	// Redirection status code
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RewriteCode *int64 `json:"RewriteCode,omitnil" name:"RewriteCode"`

	// Whether the matched URL is carried in redirection.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TakeUrl *bool `json:"TakeUrl,omitnil" name:"TakeUrl"`

	// Redirection type. Manual: manual redirection; Auto: automatic redirection.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RewriteType *string `json:"RewriteType,omitnil" name:"RewriteType"`
}

type RsWeightRule

type RsWeightRule struct {
	// CLB listener ID.
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// List of real servers whose weights to modify.
	Targets []*Target `json:"Targets,omitnil" name:"Targets"`

	// Forwarding rule ID, which is required only for layer-7 rules.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Target rule domain name. This parameter does not take effect if LocationId is specified
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Target rule URL. This parameter does not take effect if LocationId is specified
	Url *string `json:"Url,omitnil" name:"Url"`

	// The new forwarding weight of the real server. Value range: [0, 100]. This parameter takes lower precedence than `Weight` in [`Targets`](https://intl.cloud.tencent.com/document/api/214/30694?from_cn_redirect=1#Target), which means that this parameter only takes effect when the `Weight` in `RsWeightRule` is left empty.
	Weight *int64 `json:"Weight,omitnil" name:"Weight"`
}

type RuleHealth

type RuleHealth struct {
	// Forwarding rule ID
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Domain name of the forwarding rule
	// Note: This field may return null, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Forwarding rule Url
	// Note: This field may return null, indicating that no valid values can be obtained.
	Url *string `json:"Url,omitnil" name:"Url"`

	// Health status of the real server bound to this rule
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Targets []*TargetHealth `json:"Targets,omitnil" name:"Targets"`
}

type RuleInput

type RuleInput struct {
	// Forwarding rule path. Length: 1-200.
	Url *string `json:"Url,omitnil" name:"Url"`

	// The domain name associated with the forwarding rule. It can contain 1-80 characters. Only one domain name can be entered. If you need to enter multiple domain names, use `Domains`.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Session persistence time in seconds. Value range: 30-3,600. Setting it to 0 indicates that session persistence is disabled.
	SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"`

	// Health check information. For more information, please see [Health Check](https://intl.cloud.tencent.com/document/product/214/6097?from_cn_redirect=1)
	HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"`

	// Certificate information. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
	Certificate *CertificateInput `json:"Certificate,omitnil" name:"Certificate"`

	// Request forwarding method of the rule. Value range: WRR, LEAST_CONN, IP_HASH
	// They represent weighted round robin, least connections, and IP hash, respectively. Default value: WRR.
	Scheduler *string `json:"Scheduler,omitnil" name:"Scheduler"`

	// Forwarding protocol between the CLB instance and backend service. Values: `HTTP`, `HTTPS`, `GRPC` and `TRPC` (only for internal usage). It defaults to `HTTP`.
	ForwardType *string `json:"ForwardType,omitnil" name:"ForwardType"`

	// Whether to set this domain name as the default domain name. Note: Only one default domain name can be set under one listener.
	DefaultServer *bool `json:"DefaultServer,omitnil" name:"DefaultServer"`

	// Whether to enable HTTP/2. Note: HTTP/2 can be enabled only for HTTPS domain names.
	Http2 *bool `json:"Http2,omitnil" name:"Http2"`

	// Target real server type. NODE: binding a general node; TARGETGROUP: binding a target group.
	TargetType *string `json:"TargetType,omitnil" name:"TargetType"`

	// TRPC callee server route, which is required when `ForwardType` is "TRPC". This is now only for internal usage.
	TrpcCallee *string `json:"TrpcCallee,omitnil" name:"TrpcCallee"`

	// TRPC calling service API, which is required when `ForwardType` is "TRPC". This is now only for internal usage.
	TrpcFunc *string `json:"TrpcFunc,omitnil" name:"TrpcFunc"`

	// Whether to enable QUIC. Note: QUIC can be enabled only for HTTPS domain names
	Quic *bool `json:"Quic,omitnil" name:"Quic"`

	// The domain name associated with the forwarding rule. Each contain 1-80 characters. If you only need to enter one domain name, use `Domain` instead.
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Certificate information. You can specify multiple server-side certificates with different algorithm types. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
	MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil" name:"MultiCertInfo"`
}

type RuleOutput

type RuleOutput struct {
	// Forwarding rule ID
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Domain name of the forwarding rule.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Forwarding rule path.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Url *string `json:"Url,omitnil" name:"Url"`

	// Session persistence time
	SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"`

	// Health check information
	// Note: This field may return null, indicating that no valid values can be obtained.
	HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"`

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

	// Request forwarding method of the rule
	Scheduler *string `json:"Scheduler,omitnil" name:"Scheduler"`

	// ID of the listener to which the forwarding rule belongs
	ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"`

	// Redirect target information of a forwarding rule
	// Note: This field may return null, indicating that no valid values can be obtained.
	RewriteTarget *RewriteTarget `json:"RewriteTarget,omitnil" name:"RewriteTarget"`

	// Whether to enable gzip
	HttpGzip *bool `json:"HttpGzip,omitnil" name:"HttpGzip"`

	// Whether the forwarding rule is automatically created
	BeAutoCreated *bool `json:"BeAutoCreated,omitnil" name:"BeAutoCreated"`

	// Whether to use as the default domain name
	DefaultServer *bool `json:"DefaultServer,omitnil" name:"DefaultServer"`

	// Whether to enable Http2
	Http2 *bool `json:"Http2,omitnil" name:"Http2"`

	// Forwarding protocol between CLB and real server
	ForwardType *string `json:"ForwardType,omitnil" name:"ForwardType"`

	// Forwarding rule creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Real server type
	TargetType *string `json:"TargetType,omitnil" name:"TargetType"`

	// Basic information of a bound target group. This field will be returned if a target group is bound to a rule.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetGroup *BasicTargetGroupInfo `json:"TargetGroup,omitnil" name:"TargetGroup"`

	// WAF instance ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	WafDomainId *string `json:"WafDomainId,omitnil" name:"WafDomainId"`

	// TRPC callee server route, which is valid when `ForwardType` is `TRPC`. This is now only for internal usage.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TrpcCallee *string `json:"TrpcCallee,omitnil" name:"TrpcCallee"`

	// TRPC calling service API, which is valid when `ForwardType` is `TRPC`. This is now only for internal usage.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TrpcFunc *string `json:"TrpcFunc,omitnil" name:"TrpcFunc"`

	// QUIC status
	// Note: this field may return null, indicating that no valid values can be obtained.
	QuicStatus *string `json:"QuicStatus,omitnil" name:"QuicStatus"`

	// List of domain names associated with the forwarding rule
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// List of bound target groups
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	TargetGroupList []*BasicTargetGroupInfo `json:"TargetGroupList,omitnil" name:"TargetGroupList"`
}

type RuleTargets

type RuleTargets struct {
	// Forwarding rule ID
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

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

	// Forwarding rule path.
	Url *string `json:"Url,omitnil" name:"Url"`

	// Real server information
	// Note: This field may return null, indicating that no valid values can be obtained.
	Targets []*Backend `json:"Targets,omitnil" name:"Targets"`

	// Information about backend SCF functions.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil" name:"FunctionTargets"`
}

type RulesItems

type RulesItems struct {
	// Rule ID.
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`

	// Domain name.
	Domain *string `json:"Domain,omitnil" name:"Domain"`

	// Uri
	Url *string `json:"Url,omitnil" name:"Url"`

	// Object bound to the real server.
	Targets []*LbRsTargets `json:"Targets,omitnil" name:"Targets"`
}

type SetCustomizedConfigForLoadBalancerRequest

type SetCustomizedConfigForLoadBalancerRequest struct {
	*tchttp.BaseRequest

	// Operation type: `ADD`, `DELETE`, `UPDATE`, `BIND`, `UNBIND`
	OperationType *string `json:"OperationType,omitnil" name:"OperationType"`

	// This field is required except for creating custom configurations, such as "pz-1234abcd".
	UconfigId *string `json:"UconfigId,omitnil" name:"UconfigId"`

	// This field is required when creating or modifying custom configurations.
	ConfigContent *string `json:"ConfigContent,omitnil" name:"ConfigContent"`

	// This field is required when creating or renaming custom configurations.
	ConfigName *string `json:"ConfigName,omitnil" name:"ConfigName"`

	// This field is required when binding/unbinding resources.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`
}

func NewSetCustomizedConfigForLoadBalancerRequest

func NewSetCustomizedConfigForLoadBalancerRequest() (request *SetCustomizedConfigForLoadBalancerRequest)

func (*SetCustomizedConfigForLoadBalancerRequest) FromJsonString

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

func (*SetCustomizedConfigForLoadBalancerRequest) ToJsonString

type SetCustomizedConfigForLoadBalancerRequestParams

type SetCustomizedConfigForLoadBalancerRequestParams struct {
	// Operation type: `ADD`, `DELETE`, `UPDATE`, `BIND`, `UNBIND`
	OperationType *string `json:"OperationType,omitnil" name:"OperationType"`

	// This field is required except for creating custom configurations, such as "pz-1234abcd".
	UconfigId *string `json:"UconfigId,omitnil" name:"UconfigId"`

	// This field is required when creating or modifying custom configurations.
	ConfigContent *string `json:"ConfigContent,omitnil" name:"ConfigContent"`

	// This field is required when creating or renaming custom configurations.
	ConfigName *string `json:"ConfigName,omitnil" name:"ConfigName"`

	// This field is required when binding/unbinding resources.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`
}

Predefined struct for user

type SetCustomizedConfigForLoadBalancerResponse

type SetCustomizedConfigForLoadBalancerResponse struct {
	*tchttp.BaseResponse
	Response *SetCustomizedConfigForLoadBalancerResponseParams `json:"Response"`
}

func NewSetCustomizedConfigForLoadBalancerResponse

func NewSetCustomizedConfigForLoadBalancerResponse() (response *SetCustomizedConfigForLoadBalancerResponse)

func (*SetCustomizedConfigForLoadBalancerResponse) FromJsonString

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

func (*SetCustomizedConfigForLoadBalancerResponse) ToJsonString

type SetCustomizedConfigForLoadBalancerResponseParams

type SetCustomizedConfigForLoadBalancerResponseParams struct {
	// Configuration ID, such as "pz-1234abcd"
	ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"`

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

Predefined struct for user

type SetLoadBalancerClsLogRequest

type SetLoadBalancerClsLogRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLS logset ID
	// <li>Enter the ID of logset you need to add or update. You can acquire the ID by invoking [DescribeLogsets](https://intl.cloud.tencent.com/document/product/614/56454?from_cn_redirect=1).</li>
	// <li>To delete the log set, set this parameter to `null`.</li>
	LogSetId *string `json:"LogSetId,omitnil" name:"LogSetId"`

	// CLS log topic ID
	// <li>Enter the ID of log topic you need to add or update. You can acquire the ID by invoking [DescribeTopics](https://intl.cloud.tencent.com/document/product/614/56454?from_cn_redirect=1).</li>
	// <li>To delete the log set, set this parameter to `null`.</li>
	LogTopicId *string `json:"LogTopicId,omitnil" name:"LogTopicId"`

	// Log type:
	// <li>`ACCESS`: access logs</li>
	// <li>`HEALTH`: health check logs</li>
	// Default: `ACCESS`
	LogType *string `json:"LogType,omitnil" name:"LogType"`
}

func NewSetLoadBalancerClsLogRequest

func NewSetLoadBalancerClsLogRequest() (request *SetLoadBalancerClsLogRequest)

func (*SetLoadBalancerClsLogRequest) FromJsonString

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

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

func (*SetLoadBalancerClsLogRequest) ToJsonString

func (r *SetLoadBalancerClsLogRequest) ToJsonString() string

type SetLoadBalancerClsLogRequestParams

type SetLoadBalancerClsLogRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// CLS logset ID
	// <li>Enter the ID of logset you need to add or update. You can acquire the ID by invoking [DescribeLogsets](https://intl.cloud.tencent.com/document/product/614/56454?from_cn_redirect=1).</li>
	// <li>To delete the log set, set this parameter to `null`.</li>
	LogSetId *string `json:"LogSetId,omitnil" name:"LogSetId"`

	// CLS log topic ID
	// <li>Enter the ID of log topic you need to add or update. You can acquire the ID by invoking [DescribeTopics](https://intl.cloud.tencent.com/document/product/614/56454?from_cn_redirect=1).</li>
	// <li>To delete the log set, set this parameter to `null`.</li>
	LogTopicId *string `json:"LogTopicId,omitnil" name:"LogTopicId"`

	// Log type:
	// <li>`ACCESS`: access logs</li>
	// <li>`HEALTH`: health check logs</li>
	// Default: `ACCESS`
	LogType *string `json:"LogType,omitnil" name:"LogType"`
}

Predefined struct for user

type SetLoadBalancerClsLogResponse

type SetLoadBalancerClsLogResponse struct {
	*tchttp.BaseResponse
	Response *SetLoadBalancerClsLogResponseParams `json:"Response"`
}

func NewSetLoadBalancerClsLogResponse

func NewSetLoadBalancerClsLogResponse() (response *SetLoadBalancerClsLogResponse)

func (*SetLoadBalancerClsLogResponse) FromJsonString

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

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

func (*SetLoadBalancerClsLogResponse) ToJsonString

func (r *SetLoadBalancerClsLogResponse) ToJsonString() string

type SetLoadBalancerClsLogResponseParams

type SetLoadBalancerClsLogResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type SetLoadBalancerSecurityGroupsRequest

type SetLoadBalancerSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Array of security group IDs. One CLB instance can be bound to up to 50 security groups. If you want to unbind all security groups, you do not need to pass in this parameter, or you can pass in an empty array.
	SecurityGroups []*string `json:"SecurityGroups,omitnil" name:"SecurityGroups"`
}

func NewSetLoadBalancerSecurityGroupsRequest

func NewSetLoadBalancerSecurityGroupsRequest() (request *SetLoadBalancerSecurityGroupsRequest)

func (*SetLoadBalancerSecurityGroupsRequest) FromJsonString

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

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

func (*SetLoadBalancerSecurityGroupsRequest) ToJsonString

func (r *SetLoadBalancerSecurityGroupsRequest) ToJsonString() string

type SetLoadBalancerSecurityGroupsRequestParams

type SetLoadBalancerSecurityGroupsRequestParams struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// Array of security group IDs. One CLB instance can be bound to up to 50 security groups. If you want to unbind all security groups, you do not need to pass in this parameter, or you can pass in an empty array.
	SecurityGroups []*string `json:"SecurityGroups,omitnil" name:"SecurityGroups"`
}

Predefined struct for user

type SetLoadBalancerSecurityGroupsResponse

type SetLoadBalancerSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *SetLoadBalancerSecurityGroupsResponseParams `json:"Response"`
}

func NewSetLoadBalancerSecurityGroupsResponse

func NewSetLoadBalancerSecurityGroupsResponse() (response *SetLoadBalancerSecurityGroupsResponse)

func (*SetLoadBalancerSecurityGroupsResponse) FromJsonString

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

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

func (*SetLoadBalancerSecurityGroupsResponse) ToJsonString

type SetLoadBalancerSecurityGroupsResponseParams

type SetLoadBalancerSecurityGroupsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type SetSecurityGroupForLoadbalancersRequest

type SetSecurityGroupForLoadbalancersRequest struct {
	*tchttp.BaseRequest

	// Security group ID, such as sg-12345678
	SecurityGroup *string `json:"SecurityGroup,omitnil" name:"SecurityGroup"`

	// ADD: bind a security group;
	// DEL: unbind a security group
	OperationType *string `json:"OperationType,omitnil" name:"OperationType"`

	// Array of CLB instance IDs
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`
}

func NewSetSecurityGroupForLoadbalancersRequest

func NewSetSecurityGroupForLoadbalancersRequest() (request *SetSecurityGroupForLoadbalancersRequest)

func (*SetSecurityGroupForLoadbalancersRequest) FromJsonString

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

func (*SetSecurityGroupForLoadbalancersRequest) ToJsonString

type SetSecurityGroupForLoadbalancersRequestParams

type SetSecurityGroupForLoadbalancersRequestParams struct {
	// Security group ID, such as sg-12345678
	SecurityGroup *string `json:"SecurityGroup,omitnil" name:"SecurityGroup"`

	// ADD: bind a security group;
	// DEL: unbind a security group
	OperationType *string `json:"OperationType,omitnil" name:"OperationType"`

	// Array of CLB instance IDs
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"`
}

Predefined struct for user

type SetSecurityGroupForLoadbalancersResponse

type SetSecurityGroupForLoadbalancersResponse struct {
	*tchttp.BaseResponse
	Response *SetSecurityGroupForLoadbalancersResponseParams `json:"Response"`
}

func NewSetSecurityGroupForLoadbalancersResponse

func NewSetSecurityGroupForLoadbalancersResponse() (response *SetSecurityGroupForLoadbalancersResponse)

func (*SetSecurityGroupForLoadbalancersResponse) FromJsonString

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

func (*SetSecurityGroupForLoadbalancersResponse) ToJsonString

type SetSecurityGroupForLoadbalancersResponseParams

type SetSecurityGroupForLoadbalancersResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type SlaUpdateParam

type SlaUpdateParam struct {
	// ID of the CLB instance
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

	// u200dTo upgrade the instance to an LCU-support instance, set it to `SLA`. `SLA` indicates Super Large 1.
	// If you have activated Super Large LCU-supported instances, `SLA` indicates the Super Large 4 specification. Super u200dLarge LCU-supported specification is in beta now. u200cu200dTo join the beta, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
	SlaType *string `json:"SlaType,omitnil" name:"SlaType"`
}

type SnatIp

type SnatIp struct {
	// Unique VPC subnet ID, such as `subnet-12345678`.
	SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"`

	// IP address, such as 192.168.0.1
	Ip *string `json:"Ip,omitnil" name:"Ip"`
}

type SpecAvailability

type SpecAvailability struct {
	// Specification type
	// Note: This field may return null, indicating that no valid values can be obtained.
	SpecType *string `json:"SpecType,omitnil" name:"SpecType"`

	// Specification availability
	// Note: This field may return null, indicating that no valid values can be obtained.
	Availability *string `json:"Availability,omitnil" name:"Availability"`
}

type TagInfo

type TagInfo struct {
	// Tag key
	TagKey *string `json:"TagKey,omitnil" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitnil" name:"TagValue"`
}

type Target

type Target struct {
	// Listening port of a real server
	// Note: this parameter is required when binding a CVM or ENI.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Real server type. Value range: CVM (Cloud Virtual Machine), ENI (Elastic Network Interface). This parameter does not take effect currently as an input parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Unique ID of a CVM instance, which is required when binding a CVM instance. It can be obtained from the `InstanceId` field in the response of the `DescribeInstances` API. It indicates binding the primary IP of the primary ENI.
	// Note: Either `InstanceId` or `EniIp` can be passed in.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// The new forwarding weight of the real server. Value range: [0, 100]. Default: 10. This parameter takes priority over `Weight` in [`RsWeightRule`](https://intl.cloud.tencent.com/document/api/214/30694?from_cn_redirect=1#RsWeightRule). If it’s left empty, the value of `Weight` in `RsWeightRule` will be used.
	Weight *int64 `json:"Weight,omitnil" name:"Weight"`

	// It is required when binding an IP. ENI IPs and other private IPs are supported. To bind an ENI IP, the ENI should be bound to a CVM instance before being bound to a CLB instance.
	// Note: Either `InstanceId` or `EniIp` can be passed in. `EniIp` is required in a cross-region binding or when the dual-stack IPV6 CVM is bound.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	EniIp *string `json:"EniIp,omitnil" name:"EniIp"`
}

type TargetGroupAssociation

type TargetGroupAssociation struct {
	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"`

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

	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// Forwarding rule ID
	LocationId *string `json:"LocationId,omitnil" name:"LocationId"`
}

type TargetGroupBackend

type TargetGroupBackend struct {
	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// Real server type. Valid values: CVM, ENI (coming soon)
	Type *string `json:"Type,omitnil" name:"Type"`

	// Unique real server ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Listening port of real server
	Port *uint64 `json:"Port,omitnil" name:"Port"`

	// Forwarding weight of real server. Value range: [0, 100]. Default value: 10.
	Weight *uint64 `json:"Weight,omitnil" name:"Weight"`

	// Public IP of real server
	// Note: this field may return null, indicating that no valid values can be obtained.
	PublicIpAddresses []*string `json:"PublicIpAddresses,omitnil" name:"PublicIpAddresses"`

	// Private IP of real server
	// Note: this field may return null, indicating that no valid values can be obtained.
	PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"`

	// Real server instance name
	// Note: this field may return null, indicating that no valid values can be obtained.
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Real server binding time
	// Note: this field may return null, indicating that no valid values can be obtained.
	RegisteredTime *string `json:"RegisteredTime,omitnil" name:"RegisteredTime"`

	// Unique ENI ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	EniId *string `json:"EniId,omitnil" name:"EniId"`

	// AZ ID of the real server
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	ZoneId *uint64 `json:"ZoneId,omitnil" name:"ZoneId"`
}

type TargetGroupInfo

type TargetGroupInfo struct {
	// Target group ID
	TargetGroupId *string `json:"TargetGroupId,omitnil" name:"TargetGroupId"`

	// `vpcid` of target group
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// Target group name
	TargetGroupName *string `json:"TargetGroupName,omitnil" name:"TargetGroupName"`

	// Default port of target group
	// Note: this field may return null, indicating that no valid values can be obtained.
	Port *uint64 `json:"Port,omitnil" name:"Port"`

	// Target group creation time
	CreatedTime *string `json:"CreatedTime,omitnil" name:"CreatedTime"`

	// Target group modification time
	UpdatedTime *string `json:"UpdatedTime,omitnil" name:"UpdatedTime"`

	// Array of associated rules
	// Note: this field may return null, indicating that no valid values can be obtained.
	AssociatedRule []*AssociationItem `json:"AssociatedRule,omitnil" name:"AssociatedRule"`
}

type TargetGroupInstance

type TargetGroupInstance struct {
	// Private IP of target group instance
	BindIP *string `json:"BindIP,omitnil" name:"BindIP"`

	// Port of target group instance
	Port *uint64 `json:"Port,omitnil" name:"Port"`

	// Weight of target group instance
	Weight *uint64 `json:"Weight,omitnil" name:"Weight"`

	// New port of target group instance
	NewPort *uint64 `json:"NewPort,omitnil" name:"NewPort"`
}

type TargetHealth

type TargetHealth struct {
	// Private IP of the target
	IP *string `json:"IP,omitnil" name:"IP"`

	// Port bound to the target
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Current health status. true: healthy; false: unhealthy.
	HealthStatus *bool `json:"HealthStatus,omitnil" name:"HealthStatus"`

	// Instance ID of the target, such as ins-12345678
	TargetId *string `json:"TargetId,omitnil" name:"TargetId"`

	// Detailed information about the current health status. Alive: healthy; Dead: exceptional; Unknown: check not started/checking/unknown status.
	HealthStatusDetail *string `json:"HealthStatusDetail,omitnil" name:"HealthStatusDetail"`

	// (**This parameter will be disused soon. Please use `HealthStatusDetail` instead.**) Details of the current health status. Values: `Alive` (healthy), `Dead` (abnormal), `Unknown` (Health check not started/checking/unknown status)
	//
	// Deprecated: HealthStatusDetial is deprecated.
	HealthStatusDetial *string `json:"HealthStatusDetial,omitnil" name:"HealthStatusDetial"`
}

type TargetRegionInfo

type TargetRegionInfo struct {
	// Region of the target, such as ap-guangzhou
	Region *string `json:"Region,omitnil" name:"Region"`

	// Network of the target, which is in the format of vpc-abcd1234 for VPC or 0 for basic network
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`
}

type TypeInfo

type TypeInfo struct {
	// ISP Type
	// Note: This field may return null, indicating that no valid values can be obtained.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Specification availability
	// Note: This field may return null, indicating that no valid values can be obtained.
	SpecAvailabilitySet []*SpecAvailability `json:"SpecAvailabilitySet,omitnil" name:"SpecAvailabilitySet"`
}

type ZoneInfo

type ZoneInfo struct {
	// Unique AZ ID in a numeric form, such as 100001
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneId *uint64 `json:"ZoneId,omitnil" name:"ZoneId"`

	// Unique AZ ID in a string form, such as ap-guangzhou-1
	// Note: This field may return null, indicating that no valid values can be obtained.
	Zone *string `json:"Zone,omitnil" name:"Zone"`

	// AZ name, such as Guangzhou Zone 1
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

	// AZ region, e.g., ap-guangzhou.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	ZoneRegion *string `json:"ZoneRegion,omitnil" name:"ZoneRegion"`

	// Whether the AZ is the `LocalZone`, e.g., false.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	LocalZone *bool `json:"LocalZone,omitnil" name:"LocalZone"`

	// Whether the AZ is an edge zone. Values: `true`, `false`.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	EdgeZone *bool `json:"EdgeZone,omitnil" name:"EdgeZone"`
}

type ZoneResource

type ZoneResource struct {
	// Primary AZ, such as "ap-guangzhou-1".
	MasterZone *string `json:"MasterZone,omitnil" name:"MasterZone"`

	// List of resources
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceSet []*Resource `json:"ResourceSet,omitnil" name:"ResourceSet"`

	// Secondary AZ, such as "ap-guangzhou-2".
	// Note: This field may return null, indicating that no valid values can be obtained.
	SlaveZone *string `json:"SlaveZone,omitnil" name:"SlaveZone"`

	// IP version. Values: `IPv4`, `IPv6`, and `IPv6_Nat`.
	IPVersion *string `json:"IPVersion,omitnil" name:"IPVersion"`

	// Region of the AZ, such as `ap-guangzhou`.
	ZoneRegion *string `json:"ZoneRegion,omitnil" name:"ZoneRegion"`

	// Whether the AZ is a `LocalZone`. Values: `true`, `false`.
	LocalZone *bool `json:"LocalZone,omitnil" name:"LocalZone"`

	// Type of resources in the zone. Values: `SHARED`, `EXCLUSIVE`
	ZoneResourceType *string `json:"ZoneResourceType,omitnil" name:"ZoneResourceType"`

	// Whether the AZ is an edge zone. Values: `true`, `false`.
	EdgeZone *bool `json:"EdgeZone,omitnil" name:"EdgeZone"`
}

Jump to

Keyboard shortcuts

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