client

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddEntriesToAclRequest

type AddEntriesToAclRequest struct {
	// The IP entries that you want to add. You can add up to 20 IP entries in each call.
	AclEntries []*AddEntriesToAclRequestAclEntries `json:"AclEntries,omitempty" xml:"AclEntries,omitempty" type:"Repeated"`
	// The ACL ID.
	AclId *string `json:"AclId,omitempty" xml:"AclId,omitempty"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
}

func (AddEntriesToAclRequest) GoString

func (s AddEntriesToAclRequest) GoString() string

func (*AddEntriesToAclRequest) SetAclEntries

func (*AddEntriesToAclRequest) SetAclId

func (*AddEntriesToAclRequest) SetClientToken

func (*AddEntriesToAclRequest) SetDryRun

func (AddEntriesToAclRequest) String

func (s AddEntriesToAclRequest) String() string

type AddEntriesToAclRequestAclEntries

type AddEntriesToAclRequestAclEntries struct {
	// The description of the IP entry. The description must be 2 to 256 characters in length, and can contain letters, digits, and the following special characters: , . ; / @ \_ -.
	//
	// You can add up to 20 IP entries in each call.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The CIDR block of the IP entry.
	//
	// You can add up to 20 IP entries in each call.
	Entry *string `json:"Entry,omitempty" xml:"Entry,omitempty"`
}

func (AddEntriesToAclRequestAclEntries) GoString

func (*AddEntriesToAclRequestAclEntries) SetDescription

func (*AddEntriesToAclRequestAclEntries) SetEntry

func (AddEntriesToAclRequestAclEntries) String

type AddEntriesToAclResponse

type AddEntriesToAclResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AddEntriesToAclResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AddEntriesToAclResponse) GoString

func (s AddEntriesToAclResponse) GoString() string

func (*AddEntriesToAclResponse) SetBody

func (*AddEntriesToAclResponse) SetHeaders

func (*AddEntriesToAclResponse) SetStatusCode

func (AddEntriesToAclResponse) String

func (s AddEntriesToAclResponse) String() string

type AddEntriesToAclResponseBody

type AddEntriesToAclResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AddEntriesToAclResponseBody) GoString

func (s AddEntriesToAclResponseBody) GoString() string

func (*AddEntriesToAclResponseBody) SetJobId

func (*AddEntriesToAclResponseBody) SetRequestId

func (AddEntriesToAclResponseBody) String

type AddServersToServerGroupRequest

type AddServersToServerGroupRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: prechecks the request, but does not add a backend server to a server group. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The backend servers that you want to add to the server group. You can specify up to 40 backend servers in each call.
	Servers []*AddServersToServerGroupRequestServers `json:"Servers,omitempty" xml:"Servers,omitempty" type:"Repeated"`
}

func (AddServersToServerGroupRequest) GoString

func (*AddServersToServerGroupRequest) SetClientToken

func (*AddServersToServerGroupRequest) SetDryRun

func (*AddServersToServerGroupRequest) SetServerGroupId

func (*AddServersToServerGroupRequest) SetServers

func (AddServersToServerGroupRequest) String

type AddServersToServerGroupRequestServers

type AddServersToServerGroupRequestServers struct {
	// The description of the backend server. The description must be 2 to 256 characters in length and can contain letters, digits, periods (.), underscores (\_), hyphens (-), commas (,), semicolons (;), forward slashes (/), and at signs (@). You can specify up to 40 servers in each call.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The port used by the backend server. Valid values: **1** to **65535**. You can specify up to 40 server IDs in each call.
	//
	// > This parameter is required if the **ServerType** parameter is set to **Ecs**, **Eni**, **Eci**, or **Ip**. You do not need to set this parameter if **ServerType** is set to **Fc**.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// Specifies whether to enable the remote IP address feature. You can specify up to 40 server IDs in each call. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// Regions that support the remote IP address feature: China (Hangzhou), China (Shenzhen), China (Qingdao), China (Beijing), China (Zhangjiakou), China (Ulanqab), China (Shanghai), China (Chengdu), China (Guangzhou), China (Hong Kong), US (Virginia), Japan (Tokyo), UK (London), US (Silicon Valley), Germany (Frankfurt), Indonesia (Jakarta), Singapore, Malaysia (Kuala Lumpur), Australia (Sydney), and India (Mumbai).
	//
	// > If **ServerType** is set to **Ip**, this parameter is available.
	RemoteIpEnabled *bool `json:"RemoteIpEnabled,omitempty" xml:"RemoteIpEnabled,omitempty"`
	// The backend server ID. You can specify up to 40 server IDs in each call.
	//
	// *   If ServerType is set to **Instance**, set the ServerId parameter to the ID of an Elastic Compute Service (ECS) instance, an elastic network interface (ENI), or an elastic container instance. These backend servers are specified by **Ecs**, **Eni**, or **Eci**.
	// *   If ServerType is set to **Ip**, set the ServerId parameter to an IP address specified in the server group.
	// *   If the backend server group is of the **Fc** type, set this parameter to the Alibaba Cloud Resource Name (ARN) of a function.
	ServerId *string `json:"ServerId,omitempty" xml:"ServerId,omitempty"`
	// The IP address in inclusive ENI mode. You can specify up to 40 server IDs in each call.
	//
	// > You do not need to set this parameter if **ServerType** is set to **Fc**.
	ServerIp *string `json:"ServerIp,omitempty" xml:"ServerIp,omitempty"`
	// The type of the backend server that you want to add to the server group. You can specify up to 40 server IDs in each call. Valid values:
	//
	// *   **Ecs**
	// *   **Eni**
	// *   **Eci**
	// *   **Ip**
	// *   **fc**
	ServerType *string `json:"ServerType,omitempty" xml:"ServerType,omitempty"`
	// The weight of the backend server. Valid values: **0** to **100**. Default value: **100**. If the weight of a backend server is set to **0**, no requests are forwarded to the backend server. You can specify up to 40 server IDs in each call.
	//
	// > You do not need to set this parameter if **ServerType** is set to **Fc**.
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (AddServersToServerGroupRequestServers) GoString

func (*AddServersToServerGroupRequestServers) SetDescription

func (*AddServersToServerGroupRequestServers) SetPort

func (*AddServersToServerGroupRequestServers) SetRemoteIpEnabled

func (*AddServersToServerGroupRequestServers) SetServerId

func (*AddServersToServerGroupRequestServers) SetServerIp

func (*AddServersToServerGroupRequestServers) SetServerType

func (*AddServersToServerGroupRequestServers) SetWeight

func (AddServersToServerGroupRequestServers) String

type AddServersToServerGroupResponse

type AddServersToServerGroupResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AddServersToServerGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AddServersToServerGroupResponse) GoString

func (*AddServersToServerGroupResponse) SetHeaders

func (*AddServersToServerGroupResponse) SetStatusCode

func (AddServersToServerGroupResponse) String

type AddServersToServerGroupResponseBody

type AddServersToServerGroupResponseBody struct {
	// The ID of the asynchronous job.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AddServersToServerGroupResponseBody) GoString

func (*AddServersToServerGroupResponseBody) SetJobId

func (*AddServersToServerGroupResponseBody) SetRequestId

func (AddServersToServerGroupResponseBody) String

type ApplyHealthCheckTemplateToServerGroupRequest

type ApplyHealthCheckTemplateToServerGroupRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The template ID.
	HealthCheckTemplateId *string `json:"HealthCheckTemplateId,omitempty" xml:"HealthCheckTemplateId,omitempty"`
	// The server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (ApplyHealthCheckTemplateToServerGroupRequest) GoString

func (*ApplyHealthCheckTemplateToServerGroupRequest) SetClientToken

func (*ApplyHealthCheckTemplateToServerGroupRequest) SetDryRun

func (*ApplyHealthCheckTemplateToServerGroupRequest) SetHealthCheckTemplateId

func (*ApplyHealthCheckTemplateToServerGroupRequest) SetServerGroupId

func (ApplyHealthCheckTemplateToServerGroupRequest) String

type ApplyHealthCheckTemplateToServerGroupResponse

type ApplyHealthCheckTemplateToServerGroupResponse struct {
	Headers    map[string]*string                                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ApplyHealthCheckTemplateToServerGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ApplyHealthCheckTemplateToServerGroupResponse) GoString

func (*ApplyHealthCheckTemplateToServerGroupResponse) SetHeaders

func (*ApplyHealthCheckTemplateToServerGroupResponse) SetStatusCode

func (ApplyHealthCheckTemplateToServerGroupResponse) String

type ApplyHealthCheckTemplateToServerGroupResponseBody

type ApplyHealthCheckTemplateToServerGroupResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ApplyHealthCheckTemplateToServerGroupResponseBody) GoString

func (*ApplyHealthCheckTemplateToServerGroupResponseBody) SetJobId

func (*ApplyHealthCheckTemplateToServerGroupResponseBody) SetRequestId

func (ApplyHealthCheckTemplateToServerGroupResponseBody) String

type AssociateAclsWithListenerRequest

type AssociateAclsWithListenerRequest struct {
	// The ACL IDs. You can specify up to three IDs in each call.
	AclIds []*string `json:"AclIds,omitempty" xml:"AclIds,omitempty" type:"Repeated"`
	// The type of the ACL. Valid values:
	//
	// *   **White**: a whitelist. Only requests from the IP addresses or CIDR blocks in the ACL are forwarded. The whitelist applies to scenarios in which you want to allow only specific IP addresses to access an application. Your service may be adversely affected if the whitelist is not properly configured. If a whitelist is configured for a listener, only requests from IP addresses that are added to the whitelist are forwarded by the listener. If you enable a whitelist but do not add an IP address to the whitelist, the listener forwards all requests.
	// *   **Black**: a blacklist. All requests from the IP addresses or CIDR blocks in the ACL are blocked. The blacklist applies to scenarios in which you want to block access from specific IP addresses to an application. If a blacklist is configured for a listener but no IP address is added to the blacklist, the listener forwards all requests.
	AclType *string `json:"AclType,omitempty" xml:"AclType,omitempty"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The listener ID.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
}

func (AssociateAclsWithListenerRequest) GoString

func (*AssociateAclsWithListenerRequest) SetAclIds

func (*AssociateAclsWithListenerRequest) SetAclType

func (*AssociateAclsWithListenerRequest) SetClientToken

func (*AssociateAclsWithListenerRequest) SetDryRun

func (*AssociateAclsWithListenerRequest) SetListenerId

func (AssociateAclsWithListenerRequest) String

type AssociateAclsWithListenerResponse

type AssociateAclsWithListenerResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AssociateAclsWithListenerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AssociateAclsWithListenerResponse) GoString

func (*AssociateAclsWithListenerResponse) SetHeaders

func (*AssociateAclsWithListenerResponse) SetStatusCode

func (AssociateAclsWithListenerResponse) String

type AssociateAclsWithListenerResponseBody

type AssociateAclsWithListenerResponseBody struct {
	// The synchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AssociateAclsWithListenerResponseBody) GoString

func (*AssociateAclsWithListenerResponseBody) SetJobId

func (*AssociateAclsWithListenerResponseBody) SetRequestId

func (AssociateAclsWithListenerResponseBody) String

type AssociateAdditionalCertificatesWithListenerRequest

type AssociateAdditionalCertificatesWithListenerRequest struct {
	// The additional certificates.
	Certificates []*AssociateAdditionalCertificatesWithListenerRequestCertificates `json:"Certificates,omitempty" xml:"Certificates,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The listener ID. You must specify the ID of an HTTPS listener or a QUIC listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
}

func (AssociateAdditionalCertificatesWithListenerRequest) GoString

func (*AssociateAdditionalCertificatesWithListenerRequest) SetClientToken

func (*AssociateAdditionalCertificatesWithListenerRequest) SetDryRun

func (*AssociateAdditionalCertificatesWithListenerRequest) SetListenerId

func (AssociateAdditionalCertificatesWithListenerRequest) String

type AssociateAdditionalCertificatesWithListenerRequestCertificates

type AssociateAdditionalCertificatesWithListenerRequestCertificates struct {
	// The certificate ID. Only server certificates are supported.
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
}

func (AssociateAdditionalCertificatesWithListenerRequestCertificates) GoString

func (*AssociateAdditionalCertificatesWithListenerRequestCertificates) SetCertificateId

func (AssociateAdditionalCertificatesWithListenerRequestCertificates) String

type AssociateAdditionalCertificatesWithListenerResponse

type AssociateAdditionalCertificatesWithListenerResponse struct {
	Headers    map[string]*string                                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AssociateAdditionalCertificatesWithListenerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AssociateAdditionalCertificatesWithListenerResponse) GoString

func (*AssociateAdditionalCertificatesWithListenerResponse) SetHeaders

func (*AssociateAdditionalCertificatesWithListenerResponse) SetStatusCode

func (AssociateAdditionalCertificatesWithListenerResponse) String

type AssociateAdditionalCertificatesWithListenerResponseBody

type AssociateAdditionalCertificatesWithListenerResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AssociateAdditionalCertificatesWithListenerResponseBody) GoString

func (*AssociateAdditionalCertificatesWithListenerResponseBody) SetJobId

func (*AssociateAdditionalCertificatesWithListenerResponseBody) SetRequestId

func (AssociateAdditionalCertificatesWithListenerResponseBody) String

type AttachCommonBandwidthPackageToLoadBalancerRequest

type AttachCommonBandwidthPackageToLoadBalancerRequest struct {
	// The EIP bandwidth plan ID.
	BandwidthPackageId *string `json:"BandwidthPackageId,omitempty" xml:"BandwidthPackageId,omitempty"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**(default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ALB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The region ID of the ALB instance.
	//
	// You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (AttachCommonBandwidthPackageToLoadBalancerRequest) GoString

func (*AttachCommonBandwidthPackageToLoadBalancerRequest) SetBandwidthPackageId

func (*AttachCommonBandwidthPackageToLoadBalancerRequest) SetClientToken

func (*AttachCommonBandwidthPackageToLoadBalancerRequest) SetDryRun

func (*AttachCommonBandwidthPackageToLoadBalancerRequest) SetLoadBalancerId

func (*AttachCommonBandwidthPackageToLoadBalancerRequest) SetRegionId

func (AttachCommonBandwidthPackageToLoadBalancerRequest) String

type AttachCommonBandwidthPackageToLoadBalancerResponse

type AttachCommonBandwidthPackageToLoadBalancerResponse struct {
	Headers    map[string]*string                                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AttachCommonBandwidthPackageToLoadBalancerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AttachCommonBandwidthPackageToLoadBalancerResponse) GoString

func (*AttachCommonBandwidthPackageToLoadBalancerResponse) SetHeaders

func (*AttachCommonBandwidthPackageToLoadBalancerResponse) SetStatusCode

func (AttachCommonBandwidthPackageToLoadBalancerResponse) String

type AttachCommonBandwidthPackageToLoadBalancerResponseBody

type AttachCommonBandwidthPackageToLoadBalancerResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AttachCommonBandwidthPackageToLoadBalancerResponseBody) GoString

func (*AttachCommonBandwidthPackageToLoadBalancerResponseBody) SetJobId

func (*AttachCommonBandwidthPackageToLoadBalancerResponseBody) SetRequestId

func (AttachCommonBandwidthPackageToLoadBalancerResponseBody) String

type CancelShiftLoadBalancerZonesRequest added in v2.1.0

type CancelShiftLoadBalancerZonesRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// >  If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the ALB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The mappings between zones and vSwitches.
	//
	// >  You can add only one zone in each call.
	ZoneMappings []*CancelShiftLoadBalancerZonesRequestZoneMappings `json:"ZoneMappings,omitempty" xml:"ZoneMappings,omitempty" type:"Repeated"`
}

func (CancelShiftLoadBalancerZonesRequest) GoString added in v2.1.0

func (*CancelShiftLoadBalancerZonesRequest) SetClientToken added in v2.1.0

func (*CancelShiftLoadBalancerZonesRequest) SetDryRun added in v2.1.0

func (*CancelShiftLoadBalancerZonesRequest) SetLoadBalancerId added in v2.1.0

func (*CancelShiftLoadBalancerZonesRequest) SetZoneMappings added in v2.1.0

func (CancelShiftLoadBalancerZonesRequest) String added in v2.1.0

type CancelShiftLoadBalancerZonesRequestZoneMappings added in v2.1.0

type CancelShiftLoadBalancerZonesRequestZoneMappings struct {
	// The ID of the vSwitch in the zone. By default, each zone uses one vSwitch and one subnet.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID. You can call the [DescribeZones](~~189196~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CancelShiftLoadBalancerZonesRequestZoneMappings) GoString added in v2.1.0

func (*CancelShiftLoadBalancerZonesRequestZoneMappings) SetVSwitchId added in v2.1.0

func (*CancelShiftLoadBalancerZonesRequestZoneMappings) SetZoneId added in v2.1.0

func (CancelShiftLoadBalancerZonesRequestZoneMappings) String added in v2.1.0

type CancelShiftLoadBalancerZonesResponse added in v2.1.0

type CancelShiftLoadBalancerZonesResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CancelShiftLoadBalancerZonesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CancelShiftLoadBalancerZonesResponse) GoString added in v2.1.0

func (*CancelShiftLoadBalancerZonesResponse) SetBody added in v2.1.0

func (*CancelShiftLoadBalancerZonesResponse) SetHeaders added in v2.1.0

func (*CancelShiftLoadBalancerZonesResponse) SetStatusCode added in v2.1.0

func (CancelShiftLoadBalancerZonesResponse) String added in v2.1.0

type CancelShiftLoadBalancerZonesResponseBody added in v2.1.0

type CancelShiftLoadBalancerZonesResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CancelShiftLoadBalancerZonesResponseBody) GoString added in v2.1.0

func (*CancelShiftLoadBalancerZonesResponseBody) SetRequestId added in v2.1.0

func (CancelShiftLoadBalancerZonesResponseBody) String added in v2.1.0

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) AddEntriesToAcl

func (client *Client) AddEntriesToAcl(request *AddEntriesToAclRequest) (_result *AddEntriesToAclResponse, _err error)

*

  • * Each ACL can contain IP addresses or CIDR blocks. Take note of the following limits on ACLs:
  • * The maximum number of IP entries that can be added to an ACL with each Alibaba Cloud account at a time: 20
  • * The maximum number of IP entries that each ACL can contain: 1,000
  • * **AddEntriesToAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclEntries](~~213616~~) operation to query the status of the task.
  • * If the ACL is in the **Adding** state, the IP entries are being added.
  • * If the ACL is in the **Available** state, the IP entries are added. *
  • @param request AddEntriesToAclRequest
  • @return AddEntriesToAclResponse

func (*Client) AddEntriesToAclWithOptions

func (client *Client) AddEntriesToAclWithOptions(request *AddEntriesToAclRequest, runtime *util.RuntimeOptions) (_result *AddEntriesToAclResponse, _err error)

*

  • * Each ACL can contain IP addresses or CIDR blocks. Take note of the following limits on ACLs:
  • * The maximum number of IP entries that can be added to an ACL with each Alibaba Cloud account at a time: 20
  • * The maximum number of IP entries that each ACL can contain: 1,000
  • * **AddEntriesToAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclEntries](~~213616~~) operation to query the status of the task.
  • * If the ACL is in the **Adding** state, the IP entries are being added.
  • * If the ACL is in the **Available** state, the IP entries are added. *
  • @param request AddEntriesToAclRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AddEntriesToAclResponse

func (*Client) AddServersToServerGroup

func (client *Client) AddServersToServerGroup(request *AddServersToServerGroupRequest) (_result *AddServersToServerGroupResponse, _err error)

*

  • **AddServersToServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background.
  • 1. You can call the [ListServerGroups](~~213627~~) operation to query the status of a server group.
  • * If a server group is in the **Configuring** state, it indicates that the server group is being modified.
  • * If a server group is in the **Available** state, it indicates that the server group is running.
  • 2. You can call the [ListServerGroupServers](~~213628~~) operation to query the status of a backend server.
  • * If a backend server is in the **Adding** state, it indicates that the backend server is being added to a server group.
  • * If a backend server is in the **Available** state, it indicates that the server is running. *
  • @param request AddServersToServerGroupRequest
  • @return AddServersToServerGroupResponse

func (*Client) AddServersToServerGroupWithOptions

func (client *Client) AddServersToServerGroupWithOptions(request *AddServersToServerGroupRequest, runtime *util.RuntimeOptions) (_result *AddServersToServerGroupResponse, _err error)

*

  • **AddServersToServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background.
  • 1. You can call the [ListServerGroups](~~213627~~) operation to query the status of a server group.
  • * If a server group is in the **Configuring** state, it indicates that the server group is being modified.
  • * If a server group is in the **Available** state, it indicates that the server group is running.
  • 2. You can call the [ListServerGroupServers](~~213628~~) operation to query the status of a backend server.
  • * If a backend server is in the **Adding** state, it indicates that the backend server is being added to a server group.
  • * If a backend server is in the **Available** state, it indicates that the server is running. *
  • @param request AddServersToServerGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AddServersToServerGroupResponse

func (*Client) ApplyHealthCheckTemplateToServerGroup

func (client *Client) ApplyHealthCheckTemplateToServerGroup(request *ApplyHealthCheckTemplateToServerGroupRequest) (_result *ApplyHealthCheckTemplateToServerGroupResponse, _err error)

func (*Client) ApplyHealthCheckTemplateToServerGroupWithOptions

func (client *Client) ApplyHealthCheckTemplateToServerGroupWithOptions(request *ApplyHealthCheckTemplateToServerGroupRequest, runtime *util.RuntimeOptions) (_result *ApplyHealthCheckTemplateToServerGroupResponse, _err error)

func (*Client) AssociateAclsWithListener

func (client *Client) AssociateAclsWithListener(request *AssociateAclsWithListenerRequest) (_result *AssociateAclsWithListenerResponse, _err error)

*

  • **DeleteDhcpOptionsSet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclRelations](~~213618~~) operation to query the status of the task.
  • * If an ACL is in the **Associating** state, the ACL is being associated with a listener.
  • * If an ACL is in the **Associated** state, the ACL is associated with a listener. *
  • @param request AssociateAclsWithListenerRequest
  • @return AssociateAclsWithListenerResponse

func (*Client) AssociateAclsWithListenerWithOptions

func (client *Client) AssociateAclsWithListenerWithOptions(request *AssociateAclsWithListenerRequest, runtime *util.RuntimeOptions) (_result *AssociateAclsWithListenerResponse, _err error)

*

  • **DeleteDhcpOptionsSet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclRelations](~~213618~~) operation to query the status of the task.
  • * If an ACL is in the **Associating** state, the ACL is being associated with a listener.
  • * If an ACL is in the **Associated** state, the ACL is associated with a listener. *
  • @param request AssociateAclsWithListenerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AssociateAclsWithListenerResponse

func (*Client) AssociateAdditionalCertificatesWithListener

func (client *Client) AssociateAdditionalCertificatesWithListener(request *AssociateAdditionalCertificatesWithListenerRequest) (_result *AssociateAdditionalCertificatesWithListenerResponse, _err error)

*

  • **AssociateAdditionalCertificatesWithListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetListenerAttribute](~~2254865~~) operation to query the status of the task:
  • * If the HTTPS or QUIC listener is in the **Associating** state, the additional certificates are being associated.
  • * If the HTTPS or QUIC listener is in the **Associated** state, the additional certificates are associated. *
  • @param request AssociateAdditionalCertificatesWithListenerRequest
  • @return AssociateAdditionalCertificatesWithListenerResponse

func (*Client) AssociateAdditionalCertificatesWithListenerWithOptions

func (client *Client) AssociateAdditionalCertificatesWithListenerWithOptions(request *AssociateAdditionalCertificatesWithListenerRequest, runtime *util.RuntimeOptions) (_result *AssociateAdditionalCertificatesWithListenerResponse, _err error)

*

  • **AssociateAdditionalCertificatesWithListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetListenerAttribute](~~2254865~~) operation to query the status of the task:
  • * If the HTTPS or QUIC listener is in the **Associating** state, the additional certificates are being associated.
  • * If the HTTPS or QUIC listener is in the **Associated** state, the additional certificates are associated. *
  • @param request AssociateAdditionalCertificatesWithListenerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AssociateAdditionalCertificatesWithListenerResponse

func (*Client) AttachCommonBandwidthPackageToLoadBalancer

func (client *Client) AttachCommonBandwidthPackageToLoadBalancer(request *AttachCommonBandwidthPackageToLoadBalancerRequest) (_result *AttachCommonBandwidthPackageToLoadBalancerResponse, _err error)

*

  • **AttachCommonBandwidthPackageToLoadBalancer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetLoadBalancerAttribute](~~214362~~) to query the status of the task.
  • * If the ALB instance is in the **Configuring** state, the EIP bandwidth plan is being associated with the ALB instance.
  • * If the ALB instance is in the **Active** state, the EIP bandwidth plan is associated with the ALB instance. *
  • @param request AttachCommonBandwidthPackageToLoadBalancerRequest
  • @return AttachCommonBandwidthPackageToLoadBalancerResponse

func (*Client) AttachCommonBandwidthPackageToLoadBalancerWithOptions

func (client *Client) AttachCommonBandwidthPackageToLoadBalancerWithOptions(request *AttachCommonBandwidthPackageToLoadBalancerRequest, runtime *util.RuntimeOptions) (_result *AttachCommonBandwidthPackageToLoadBalancerResponse, _err error)

*

  • **AttachCommonBandwidthPackageToLoadBalancer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetLoadBalancerAttribute](~~214362~~) to query the status of the task.
  • * If the ALB instance is in the **Configuring** state, the EIP bandwidth plan is being associated with the ALB instance.
  • * If the ALB instance is in the **Active** state, the EIP bandwidth plan is associated with the ALB instance. *
  • @param request AttachCommonBandwidthPackageToLoadBalancerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AttachCommonBandwidthPackageToLoadBalancerResponse

func (*Client) CancelShiftLoadBalancerZones added in v2.1.0

func (client *Client) CancelShiftLoadBalancerZones(request *CancelShiftLoadBalancerZonesRequest) (_result *CancelShiftLoadBalancerZonesResponse, _err error)

*

  • This operation is supported only by Application Load Balancer (ALB) instances that use static IP addresses. Before you call this operation, you must call the StartShiftLoadBalancerZones operation to remove the zone from the ALB instance. *
  • @param request CancelShiftLoadBalancerZonesRequest
  • @return CancelShiftLoadBalancerZonesResponse

func (*Client) CancelShiftLoadBalancerZonesWithOptions added in v2.1.0

func (client *Client) CancelShiftLoadBalancerZonesWithOptions(request *CancelShiftLoadBalancerZonesRequest, runtime *util.RuntimeOptions) (_result *CancelShiftLoadBalancerZonesResponse, _err error)

*

  • This operation is supported only by Application Load Balancer (ALB) instances that use static IP addresses. Before you call this operation, you must call the StartShiftLoadBalancerZones operation to remove the zone from the ALB instance. *
  • @param request CancelShiftLoadBalancerZonesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CancelShiftLoadBalancerZonesResponse

func (*Client) CreateAScripts added in v2.0.3

func (client *Client) CreateAScripts(request *CreateAScriptsRequest) (_result *CreateAScriptsResponse, _err error)

*

  • ### Prerequisites
  • * A standard or WAF-enabled Application Load Balancer (ALB) instance is created. For more information, see [CreateLoadBalancer](~~214358~~).
  • * By default, the feature to create and manage AScript rules is unavailable. Log on to the [Quota Center console](https://quotas.console.aliyun.com/white-list-products/alb/quotas?spm=a2c4g.11186623.0.0.6e8834f6IFiF2I). On the **Privileges** page, enter the quota ID `slb_user_visible_gray_label/ascript` and apply for the quota.
  • ### Usage notes
  • * **CreateAScripts** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAScripts](~~472574~~) operation to query the status of the task:
  • * If an AScript rule is in the **Creating** state, the AScript rule is being created.
  • * If an AScript rule is in the **Available** state, the AScript rule is created.
  • * In the following table, the value of **N** is **1**. *
  • @param request CreateAScriptsRequest
  • @return CreateAScriptsResponse

func (*Client) CreateAScriptsWithOptions added in v2.0.3

func (client *Client) CreateAScriptsWithOptions(request *CreateAScriptsRequest, runtime *util.RuntimeOptions) (_result *CreateAScriptsResponse, _err error)

*

  • ### Prerequisites
  • * A standard or WAF-enabled Application Load Balancer (ALB) instance is created. For more information, see [CreateLoadBalancer](~~214358~~).
  • * By default, the feature to create and manage AScript rules is unavailable. Log on to the [Quota Center console](https://quotas.console.aliyun.com/white-list-products/alb/quotas?spm=a2c4g.11186623.0.0.6e8834f6IFiF2I). On the **Privileges** page, enter the quota ID `slb_user_visible_gray_label/ascript` and apply for the quota.
  • ### Usage notes
  • * **CreateAScripts** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAScripts](~~472574~~) operation to query the status of the task:
  • * If an AScript rule is in the **Creating** state, the AScript rule is being created.
  • * If an AScript rule is in the **Available** state, the AScript rule is created.
  • * In the following table, the value of **N** is **1**. *
  • @param request CreateAScriptsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateAScriptsResponse

func (*Client) CreateAcl

func (client *Client) CreateAcl(request *CreateAclRequest) (_result *CreateAclResponse, _err error)

*

  • ## Usage notes
  • The **CreateAcl** operation is asynchronous. After you send a request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [ListAcls](~~213617~~) operation to query the status of an ACL:
  • * If an ACL is in the **Creating** state, the ACL is being created.
  • * If an ACL is in the **Available** state, the ACL is created. *
  • @param request CreateAclRequest
  • @return CreateAclResponse

func (*Client) CreateAclWithOptions

func (client *Client) CreateAclWithOptions(request *CreateAclRequest, runtime *util.RuntimeOptions) (_result *CreateAclResponse, _err error)

*

  • ## Usage notes
  • The **CreateAcl** operation is asynchronous. After you send a request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [ListAcls](~~213617~~) operation to query the status of an ACL:
  • * If an ACL is in the **Creating** state, the ACL is being created.
  • * If an ACL is in the **Available** state, the ACL is created. *
  • @param request CreateAclRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateAclResponse

func (*Client) CreateHealthCheckTemplate

func (client *Client) CreateHealthCheckTemplate(request *CreateHealthCheckTemplateRequest) (_result *CreateHealthCheckTemplateResponse, _err error)

func (*Client) CreateHealthCheckTemplateWithOptions

func (client *Client) CreateHealthCheckTemplateWithOptions(request *CreateHealthCheckTemplateRequest, runtime *util.RuntimeOptions) (_result *CreateHealthCheckTemplateResponse, _err error)

func (*Client) CreateListener

func (client *Client) CreateListener(request *CreateListenerRequest) (_result *CreateListenerResponse, _err error)

*

  • ## Usage notes
  • **CreateListener** is an asynchronous operation. After you call this operation, the system returns a request ID. However, the operation is still being performed in the background. You can call the [GetListenerAttribute](~~214353~~) operation to query the status of the HTTP, HTTPS, or QUIC listener.
  • * If the HTTP, HTTPS, or QUIC listener is in the **Provisioning** state, it indicates that the listener is being created.
  • * If the HTTP, HTTPS, or QUIC listener is in the **Running** state, it indicates that the listener has been created successfully. *
  • @param request CreateListenerRequest
  • @return CreateListenerResponse

func (*Client) CreateListenerWithOptions

func (client *Client) CreateListenerWithOptions(request *CreateListenerRequest, runtime *util.RuntimeOptions) (_result *CreateListenerResponse, _err error)

*

  • ## Usage notes
  • **CreateListener** is an asynchronous operation. After you call this operation, the system returns a request ID. However, the operation is still being performed in the background. You can call the [GetListenerAttribute](~~214353~~) operation to query the status of the HTTP, HTTPS, or QUIC listener.
  • * If the HTTP, HTTPS, or QUIC listener is in the **Provisioning** state, it indicates that the listener is being created.
  • * If the HTTP, HTTPS, or QUIC listener is in the **Running** state, it indicates that the listener has been created successfully. *
  • @param request CreateListenerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateListenerResponse

func (*Client) CreateLoadBalancer

func (client *Client) CreateLoadBalancer(request *CreateLoadBalancerRequest) (_result *CreateLoadBalancerResponse, _err error)

*

  • **CreateLoadBalancer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](~~214362~~) operation to query the status of an ALB instance.
  • * If an ALB instance is in the **Provisioning** state, it indicates that the ALB instance is being created.
  • * If an ALB instance is in the **Active** state, it indicates that the ALB instance is created. *
  • @param request CreateLoadBalancerRequest
  • @return CreateLoadBalancerResponse

func (*Client) CreateLoadBalancerWithOptions

func (client *Client) CreateLoadBalancerWithOptions(request *CreateLoadBalancerRequest, runtime *util.RuntimeOptions) (_result *CreateLoadBalancerResponse, _err error)

*

  • **CreateLoadBalancer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](~~214362~~) operation to query the status of an ALB instance.
  • * If an ALB instance is in the **Provisioning** state, it indicates that the ALB instance is being created.
  • * If an ALB instance is in the **Active** state, it indicates that the ALB instance is created. *
  • @param request CreateLoadBalancerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateLoadBalancerResponse

func (*Client) CreateRule

func (client *Client) CreateRule(request *CreateRuleRequest) (_result *CreateRuleResponse, _err error)

*

  • Take note of the following limits:
  • * When you configure the **Redirect** action, you can use the default value only for the **HttpCode** parameter. Do not use the default values for the other parameters.
  • * If you specify the **Rewrite** action together with other actions in a forwarding rule, make sure that the **ForwardGroup** action is specified.
  • * **CreateRule** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](~~214379~~) operation to query the status of a forwarding rule.
  • * If a forwarding rule is in the **Provisioning** state, the forwarding rule is being created.
  • * If a forwarding rule is in the **Available** state, the forwarding rule is created.
  • * You can set **RuleConditions** and **RuleActions** to add conditions and actions to a forwarding rule. The limits on conditions and actions are:
  • * Limits on conditions: 5 for a basic Application Load Balancer (ALB) instance, 10 for a standard ALB instance, and 10 for a WAF-enabled ALB instance.
  • * Limits on actions: 3 for a basic ALB instance, 5 for a standard ALB instance, and 5 for a WAF-enabled ALB instance. *
  • @param request CreateRuleRequest
  • @return CreateRuleResponse

func (*Client) CreateRuleWithOptions

func (client *Client) CreateRuleWithOptions(request *CreateRuleRequest, runtime *util.RuntimeOptions) (_result *CreateRuleResponse, _err error)

*

  • Take note of the following limits:
  • * When you configure the **Redirect** action, you can use the default value only for the **HttpCode** parameter. Do not use the default values for the other parameters.
  • * If you specify the **Rewrite** action together with other actions in a forwarding rule, make sure that the **ForwardGroup** action is specified.
  • * **CreateRule** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](~~214379~~) operation to query the status of a forwarding rule.
  • * If a forwarding rule is in the **Provisioning** state, the forwarding rule is being created.
  • * If a forwarding rule is in the **Available** state, the forwarding rule is created.
  • * You can set **RuleConditions** and **RuleActions** to add conditions and actions to a forwarding rule. The limits on conditions and actions are:
  • * Limits on conditions: 5 for a basic Application Load Balancer (ALB) instance, 10 for a standard ALB instance, and 10 for a WAF-enabled ALB instance.
  • * Limits on actions: 3 for a basic ALB instance, 5 for a standard ALB instance, and 5 for a WAF-enabled ALB instance. *
  • @param request CreateRuleRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateRuleResponse

func (*Client) CreateRules

func (client *Client) CreateRules(request *CreateRulesRequest) (_result *CreateRulesResponse, _err error)

*

  • When you call this operation, take note of the following limits:
  • * When you configure the **Redirect** action, you can use the default value for the **HttpCode** parameter but you cannot use the default values for all of the other parameters.
  • * If you specify the **Rewrite** action and other actions in a forwarding rule, make sure that one of the actions is **ForwardGroup**.
  • * **CreateRules** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](~~214379~~) operation to query the status of forwarding rules.
  • * If forwarding rules are in the **Provisioning** state, the forwarding rules are being created.
  • * If forwarding rules are in the **Available** state, the forwarding rules have been created.
  • * You can set **RuleConditions** and **RuleActions** to add conditions and actions to a forwarding rule. Take note of the following limits on the number of conditions and the number of actions in each forwarding rule:
  • * Limits on conditions: You can specify at most 5 conditions if you use a basic Application Load Balancer (ALB) instance, at most 10 conditions if you use a standard ALB instance, and at most 10 conditions if you use a WAF-enabled ALB instance.
  • * Limits on actions: You can specify at most 3 actions if you use a basic ALB instance, at most 5 actions if you use a standard ALB instance, and at most 10 actions if you use a WAF-enabled ALB instance. *
  • @param request CreateRulesRequest
  • @return CreateRulesResponse

func (*Client) CreateRulesWithOptions

func (client *Client) CreateRulesWithOptions(request *CreateRulesRequest, runtime *util.RuntimeOptions) (_result *CreateRulesResponse, _err error)

*

  • When you call this operation, take note of the following limits:
  • * When you configure the **Redirect** action, you can use the default value for the **HttpCode** parameter but you cannot use the default values for all of the other parameters.
  • * If you specify the **Rewrite** action and other actions in a forwarding rule, make sure that one of the actions is **ForwardGroup**.
  • * **CreateRules** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](~~214379~~) operation to query the status of forwarding rules.
  • * If forwarding rules are in the **Provisioning** state, the forwarding rules are being created.
  • * If forwarding rules are in the **Available** state, the forwarding rules have been created.
  • * You can set **RuleConditions** and **RuleActions** to add conditions and actions to a forwarding rule. Take note of the following limits on the number of conditions and the number of actions in each forwarding rule:
  • * Limits on conditions: You can specify at most 5 conditions if you use a basic Application Load Balancer (ALB) instance, at most 10 conditions if you use a standard ALB instance, and at most 10 conditions if you use a WAF-enabled ALB instance.
  • * Limits on actions: You can specify at most 3 actions if you use a basic ALB instance, at most 5 actions if you use a standard ALB instance, and at most 10 actions if you use a WAF-enabled ALB instance. *
  • @param request CreateRulesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateRulesResponse

func (*Client) CreateSecurityPolicy

func (client *Client) CreateSecurityPolicy(request *CreateSecurityPolicyRequest) (_result *CreateSecurityPolicyResponse, _err error)

func (*Client) CreateSecurityPolicyWithOptions

func (client *Client) CreateSecurityPolicyWithOptions(request *CreateSecurityPolicyRequest, runtime *util.RuntimeOptions) (_result *CreateSecurityPolicyResponse, _err error)

func (*Client) CreateServerGroup

func (client *Client) CreateServerGroup(request *CreateServerGroupRequest) (_result *CreateServerGroupResponse, _err error)

*

  • **CreateServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [ListServerGroups](~~213627~~) to query the status of a server group.
  • * If a server group is in the **Creating** state, it indicates that the server group is being created.
  • * If a server group is in the **Available** state, it indicates that the server group is created. *
  • @param request CreateServerGroupRequest
  • @return CreateServerGroupResponse

func (*Client) CreateServerGroupWithOptions

func (client *Client) CreateServerGroupWithOptions(request *CreateServerGroupRequest, runtime *util.RuntimeOptions) (_result *CreateServerGroupResponse, _err error)

*

  • **CreateServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [ListServerGroups](~~213627~~) to query the status of a server group.
  • * If a server group is in the **Creating** state, it indicates that the server group is being created.
  • * If a server group is in the **Available** state, it indicates that the server group is created. *
  • @param request CreateServerGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateServerGroupResponse

func (*Client) DeleteAScripts added in v2.0.3

func (client *Client) DeleteAScripts(request *DeleteAScriptsRequest) (_result *DeleteAScriptsResponse, _err error)

*

  • **DeleteAScripts** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAScripts](~~472574~~) operation to query the status of the task:
  • * If an AScript rule is in the **Deleting** state, the AScript rule is being deleted.
  • * If an AScript rule cannot be found, the AScript rule is deleted. *
  • @param request DeleteAScriptsRequest
  • @return DeleteAScriptsResponse

func (*Client) DeleteAScriptsWithOptions added in v2.0.3

func (client *Client) DeleteAScriptsWithOptions(request *DeleteAScriptsRequest, runtime *util.RuntimeOptions) (_result *DeleteAScriptsResponse, _err error)

*

  • **DeleteAScripts** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAScripts](~~472574~~) operation to query the status of the task:
  • * If an AScript rule is in the **Deleting** state, the AScript rule is being deleted.
  • * If an AScript rule cannot be found, the AScript rule is deleted. *
  • @param request DeleteAScriptsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteAScriptsResponse

func (*Client) DeleteAcl

func (client *Client) DeleteAcl(request *DeleteAclRequest) (_result *DeleteAclResponse, _err error)

*

  • **DeleteAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAcls](~~213617~~) operation to query the status of the task.
  • * If the ACL is in the **Deleting** state, the ACL is being deleted.
  • * If the ACL cannot be found, the ACL is deleted. *
  • @param request DeleteAclRequest
  • @return DeleteAclResponse

func (*Client) DeleteAclWithOptions

func (client *Client) DeleteAclWithOptions(request *DeleteAclRequest, runtime *util.RuntimeOptions) (_result *DeleteAclResponse, _err error)

*

  • **DeleteAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAcls](~~213617~~) operation to query the status of the task.
  • * If the ACL is in the **Deleting** state, the ACL is being deleted.
  • * If the ACL cannot be found, the ACL is deleted. *
  • @param request DeleteAclRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteAclResponse

func (*Client) DeleteHealthCheckTemplates

func (client *Client) DeleteHealthCheckTemplates(request *DeleteHealthCheckTemplatesRequest) (_result *DeleteHealthCheckTemplatesResponse, _err error)

func (*Client) DeleteHealthCheckTemplatesWithOptions

func (client *Client) DeleteHealthCheckTemplatesWithOptions(request *DeleteHealthCheckTemplatesRequest, runtime *util.RuntimeOptions) (_result *DeleteHealthCheckTemplatesResponse, _err error)

func (*Client) DeleteListener

func (client *Client) DeleteListener(request *DeleteListenerRequest) (_result *DeleteListenerResponse, _err error)

*

  • **DeleteListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetListenerAttribute](~~2254865~~) to query the status of the task.
  • * If the listener is in the **Deleting** state, the listener is being deleted.
  • * If the listener cannot be found, the listener is deleted. *
  • @param request DeleteListenerRequest
  • @return DeleteListenerResponse

func (*Client) DeleteListenerWithOptions

func (client *Client) DeleteListenerWithOptions(request *DeleteListenerRequest, runtime *util.RuntimeOptions) (_result *DeleteListenerResponse, _err error)

*

  • **DeleteListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetListenerAttribute](~~2254865~~) to query the status of the task.
  • * If the listener is in the **Deleting** state, the listener is being deleted.
  • * If the listener cannot be found, the listener is deleted. *
  • @param request DeleteListenerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteListenerResponse

func (*Client) DeleteLoadBalancer

func (client *Client) DeleteLoadBalancer(request *DeleteLoadBalancerRequest) (_result *DeleteLoadBalancerResponse, _err error)

*

  • **DeleteLoadBalancer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetLoadBalancerAttribute](~~214362~~) to query the status of the task.
  • * If an ALB instance is in the **Deleting** state, the ALB instance is being deleted.
  • * If an ALB instance cannot be found, the ALB instance is deleted. *
  • @param request DeleteLoadBalancerRequest
  • @return DeleteLoadBalancerResponse

func (*Client) DeleteLoadBalancerWithOptions

func (client *Client) DeleteLoadBalancerWithOptions(request *DeleteLoadBalancerRequest, runtime *util.RuntimeOptions) (_result *DeleteLoadBalancerResponse, _err error)

*

  • **DeleteLoadBalancer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetLoadBalancerAttribute](~~214362~~) to query the status of the task.
  • * If an ALB instance is in the **Deleting** state, the ALB instance is being deleted.
  • * If an ALB instance cannot be found, the ALB instance is deleted. *
  • @param request DeleteLoadBalancerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteLoadBalancerResponse

func (*Client) DeleteRule

func (client *Client) DeleteRule(request *DeleteRuleRequest) (_result *DeleteRuleResponse, _err error)

*

  • **DeleteRule** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](~~214379~~) operation to query the status of a forwarding rule:
  • * If the forwarding rule is in the **Deleting** state, the forwarding rule is being deleted.
  • * If the forwarding rule cannot be found, the forwarding rule is deleted. *
  • @param request DeleteRuleRequest
  • @return DeleteRuleResponse

func (*Client) DeleteRuleWithOptions

func (client *Client) DeleteRuleWithOptions(request *DeleteRuleRequest, runtime *util.RuntimeOptions) (_result *DeleteRuleResponse, _err error)

*

  • **DeleteRule** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](~~214379~~) operation to query the status of a forwarding rule:
  • * If the forwarding rule is in the **Deleting** state, the forwarding rule is being deleted.
  • * If the forwarding rule cannot be found, the forwarding rule is deleted. *
  • @param request DeleteRuleRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteRuleResponse

func (*Client) DeleteRules

func (client *Client) DeleteRules(request *DeleteRulesRequest) (_result *DeleteRulesResponse, _err error)

*

  • **DeleteRules** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](~~214379~~) operation to query the status of forwarding rules.
  • * If the forwarding rules are in the **Deleting** state, the forwarding rules are being deleted.
  • * If the forwarding rules cannot be found, the forwarding rules are deleted. *
  • @param request DeleteRulesRequest
  • @return DeleteRulesResponse

func (*Client) DeleteRulesWithOptions

func (client *Client) DeleteRulesWithOptions(request *DeleteRulesRequest, runtime *util.RuntimeOptions) (_result *DeleteRulesResponse, _err error)

*

  • **DeleteRules** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](~~214379~~) operation to query the status of forwarding rules.
  • * If the forwarding rules are in the **Deleting** state, the forwarding rules are being deleted.
  • * If the forwarding rules cannot be found, the forwarding rules are deleted. *
  • @param request DeleteRulesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteRulesResponse

func (*Client) DeleteSecurityPolicy

func (client *Client) DeleteSecurityPolicy(request *DeleteSecurityPolicyRequest) (_result *DeleteSecurityPolicyResponse, _err error)

func (*Client) DeleteSecurityPolicyWithOptions

func (client *Client) DeleteSecurityPolicyWithOptions(request *DeleteSecurityPolicyRequest, runtime *util.RuntimeOptions) (_result *DeleteSecurityPolicyResponse, _err error)

func (*Client) DeleteServerGroup

func (client *Client) DeleteServerGroup(request *DeleteServerGroupRequest) (_result *DeleteServerGroupResponse, _err error)

*

  • **DeleteServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListServerGroups](~~213627~~) operation to query the status of the task.
  • * If a server group is in the **Deleting** state, it indicates that the server group is being deleted.
  • * If a specified server group cannot be found, it indicates that the server group has been deleted. *
  • @param request DeleteServerGroupRequest
  • @return DeleteServerGroupResponse

func (*Client) DeleteServerGroupWithOptions

func (client *Client) DeleteServerGroupWithOptions(request *DeleteServerGroupRequest, runtime *util.RuntimeOptions) (_result *DeleteServerGroupResponse, _err error)

*

  • **DeleteServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListServerGroups](~~213627~~) operation to query the status of the task.
  • * If a server group is in the **Deleting** state, it indicates that the server group is being deleted.
  • * If a specified server group cannot be found, it indicates that the server group has been deleted. *
  • @param request DeleteServerGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteServerGroupResponse

func (*Client) DescribeRegions

func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (_result *DescribeRegionsResponse, _err error)

func (*Client) DescribeRegionsWithOptions

func (client *Client) DescribeRegionsWithOptions(request *DescribeRegionsRequest, runtime *util.RuntimeOptions) (_result *DescribeRegionsResponse, _err error)

func (*Client) DescribeZones

func (client *Client) DescribeZones(request *DescribeZonesRequest) (_result *DescribeZonesResponse, _err error)

func (*Client) DescribeZonesWithOptions

func (client *Client) DescribeZonesWithOptions(request *DescribeZonesRequest, runtime *util.RuntimeOptions) (_result *DescribeZonesResponse, _err error)

func (*Client) DetachCommonBandwidthPackageFromLoadBalancer

func (client *Client) DetachCommonBandwidthPackageFromLoadBalancer(request *DetachCommonBandwidthPackageFromLoadBalancerRequest) (_result *DetachCommonBandwidthPackageFromLoadBalancerResponse, _err error)

*

  • **DetachCommonBandwidthPackageFromLoadBalancer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](~~214359~~) operation to query the status of the task.
  • * If an ALB instance is in the **Configuring** state, the EIP bandwidth plan is being disassociated from the ALB instance.
  • * If an ALB instance is in the **Active** state, the EIP bandwidth plan is disassociated from the ALB instance. *
  • @param request DetachCommonBandwidthPackageFromLoadBalancerRequest
  • @return DetachCommonBandwidthPackageFromLoadBalancerResponse

func (*Client) DetachCommonBandwidthPackageFromLoadBalancerWithOptions

func (client *Client) DetachCommonBandwidthPackageFromLoadBalancerWithOptions(request *DetachCommonBandwidthPackageFromLoadBalancerRequest, runtime *util.RuntimeOptions) (_result *DetachCommonBandwidthPackageFromLoadBalancerResponse, _err error)

*

  • **DetachCommonBandwidthPackageFromLoadBalancer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](~~214359~~) operation to query the status of the task.
  • * If an ALB instance is in the **Configuring** state, the EIP bandwidth plan is being disassociated from the ALB instance.
  • * If an ALB instance is in the **Active** state, the EIP bandwidth plan is disassociated from the ALB instance. *
  • @param request DetachCommonBandwidthPackageFromLoadBalancerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DetachCommonBandwidthPackageFromLoadBalancerResponse

func (*Client) DisableDeletionProtection

func (client *Client) DisableDeletionProtection(request *DisableDeletionProtectionRequest) (_result *DisableDeletionProtectionResponse, _err error)

func (*Client) DisableDeletionProtectionWithOptions

func (client *Client) DisableDeletionProtectionWithOptions(request *DisableDeletionProtectionRequest, runtime *util.RuntimeOptions) (_result *DisableDeletionProtectionResponse, _err error)

func (*Client) DisableLoadBalancerAccessLog

func (client *Client) DisableLoadBalancerAccessLog(request *DisableLoadBalancerAccessLogRequest) (_result *DisableLoadBalancerAccessLogResponse, _err error)

func (*Client) DisableLoadBalancerAccessLogWithOptions

func (client *Client) DisableLoadBalancerAccessLogWithOptions(request *DisableLoadBalancerAccessLogRequest, runtime *util.RuntimeOptions) (_result *DisableLoadBalancerAccessLogResponse, _err error)

func (*Client) DisableLoadBalancerIpv6Internet added in v2.0.3

func (client *Client) DisableLoadBalancerIpv6Internet(request *DisableLoadBalancerIpv6InternetRequest) (_result *DisableLoadBalancerIpv6InternetResponse, _err error)

*

  • ### Prerequisites
  • An ALB instance is created and IPv4/IPv6 dual stack is enabled for the instance. You can call the [CreateLoadBalancer](~~214358~~) operation and set **AddressIpVersion** to **DualStack** to create a dual-stack ALB instance.
  • > If you set **AddressIpVersion** to **DualStack**:
  • * If you set **AddressType** to **Internet**, the ALB instance uses a public IPv4 IP address and a private IPv6 address.
  • * If you set **AddressType** to **Intranet**, the ALB instance uses a private IPv4 IP address and a private IPv6 address.
  • ### Description
  • * After the DisableLoadBalancerIpv6Internet operation is called, the value of **Ipv6AddressType** is changed to **Intranet** and the type of the IPv6 address of the ALB instance is changed from public to private. If you upgrade the instance or the instance scales elastic network interfaces (ENIs) along with workloads, private IPv6 addresses are automatically enabled for the instance and the new ENIs. You can call the [GetLoadBalancerAttribute](~~214362~~) operation to query the value of **Ipv6AddressType**.
  • * **DisableLoadBalancerIpv6Internet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](~~214362~~) operation to query the status of the task.
  • * If the ALB instance is in the **Configuring** state, the network type of the IPv6 address that is used by the ALB instance is being changed.
  • * If the ALB instance is in the **Active** state, the network type of the IPv6 address that is used by the ALB instance is changed. *
  • @param request DisableLoadBalancerIpv6InternetRequest
  • @return DisableLoadBalancerIpv6InternetResponse

func (*Client) DisableLoadBalancerIpv6InternetWithOptions added in v2.0.3

func (client *Client) DisableLoadBalancerIpv6InternetWithOptions(request *DisableLoadBalancerIpv6InternetRequest, runtime *util.RuntimeOptions) (_result *DisableLoadBalancerIpv6InternetResponse, _err error)

*

  • ### Prerequisites
  • An ALB instance is created and IPv4/IPv6 dual stack is enabled for the instance. You can call the [CreateLoadBalancer](~~214358~~) operation and set **AddressIpVersion** to **DualStack** to create a dual-stack ALB instance.
  • > If you set **AddressIpVersion** to **DualStack**:
  • * If you set **AddressType** to **Internet**, the ALB instance uses a public IPv4 IP address and a private IPv6 address.
  • * If you set **AddressType** to **Intranet**, the ALB instance uses a private IPv4 IP address and a private IPv6 address.
  • ### Description
  • * After the DisableLoadBalancerIpv6Internet operation is called, the value of **Ipv6AddressType** is changed to **Intranet** and the type of the IPv6 address of the ALB instance is changed from public to private. If you upgrade the instance or the instance scales elastic network interfaces (ENIs) along with workloads, private IPv6 addresses are automatically enabled for the instance and the new ENIs. You can call the [GetLoadBalancerAttribute](~~214362~~) operation to query the value of **Ipv6AddressType**.
  • * **DisableLoadBalancerIpv6Internet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](~~214362~~) operation to query the status of the task.
  • * If the ALB instance is in the **Configuring** state, the network type of the IPv6 address that is used by the ALB instance is being changed.
  • * If the ALB instance is in the **Active** state, the network type of the IPv6 address that is used by the ALB instance is changed. *
  • @param request DisableLoadBalancerIpv6InternetRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DisableLoadBalancerIpv6InternetResponse

func (*Client) DissociateAclsFromListener

func (client *Client) DissociateAclsFromListener(request *DissociateAclsFromListenerRequest) (_result *DissociateAclsFromListenerResponse, _err error)

*

  • **DeleteDhcpOptionsSet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclRelations](~~213618~~) operation to query the status of the task.
  • * If an ACL is in the **Dissociating** state, the ACL is being disassociated from the listener.
  • * If an ACL is in the **Dissociated** state, the ACL is disassociated from the listener. *
  • @param request DissociateAclsFromListenerRequest
  • @return DissociateAclsFromListenerResponse

func (*Client) DissociateAclsFromListenerWithOptions

func (client *Client) DissociateAclsFromListenerWithOptions(request *DissociateAclsFromListenerRequest, runtime *util.RuntimeOptions) (_result *DissociateAclsFromListenerResponse, _err error)

*

  • **DeleteDhcpOptionsSet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclRelations](~~213618~~) operation to query the status of the task.
  • * If an ACL is in the **Dissociating** state, the ACL is being disassociated from the listener.
  • * If an ACL is in the **Dissociated** state, the ACL is disassociated from the listener. *
  • @param request DissociateAclsFromListenerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DissociateAclsFromListenerResponse

func (*Client) DissociateAdditionalCertificatesFromListener

func (client *Client) DissociateAdditionalCertificatesFromListener(request *DissociateAdditionalCertificatesFromListenerRequest) (_result *DissociateAdditionalCertificatesFromListenerResponse, _err error)

*

  • **DissociateAdditionalCertificatesFromListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListListenerCertificates](~~214354~~) operation to query the status of the task. - If an additional certificate is in the **Dissociating** state, the additional certificate is being disassociated. - If an additional certificate is in the **Dissociated** state, the additional certificate is disassociated. *
  • @param request DissociateAdditionalCertificatesFromListenerRequest
  • @return DissociateAdditionalCertificatesFromListenerResponse

func (*Client) DissociateAdditionalCertificatesFromListenerWithOptions

func (client *Client) DissociateAdditionalCertificatesFromListenerWithOptions(request *DissociateAdditionalCertificatesFromListenerRequest, runtime *util.RuntimeOptions) (_result *DissociateAdditionalCertificatesFromListenerResponse, _err error)

*

  • **DissociateAdditionalCertificatesFromListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListListenerCertificates](~~214354~~) operation to query the status of the task. - If an additional certificate is in the **Dissociating** state, the additional certificate is being disassociated. - If an additional certificate is in the **Dissociated** state, the additional certificate is disassociated. *
  • @param request DissociateAdditionalCertificatesFromListenerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DissociateAdditionalCertificatesFromListenerResponse

func (*Client) EnableDeletionProtection

func (client *Client) EnableDeletionProtection(request *EnableDeletionProtectionRequest) (_result *EnableDeletionProtectionResponse, _err error)

func (*Client) EnableDeletionProtectionWithOptions

func (client *Client) EnableDeletionProtectionWithOptions(request *EnableDeletionProtectionRequest, runtime *util.RuntimeOptions) (_result *EnableDeletionProtectionResponse, _err error)

func (*Client) EnableLoadBalancerAccessLog

func (client *Client) EnableLoadBalancerAccessLog(request *EnableLoadBalancerAccessLogRequest) (_result *EnableLoadBalancerAccessLogResponse, _err error)

func (*Client) EnableLoadBalancerAccessLogWithOptions

func (client *Client) EnableLoadBalancerAccessLogWithOptions(request *EnableLoadBalancerAccessLogRequest, runtime *util.RuntimeOptions) (_result *EnableLoadBalancerAccessLogResponse, _err error)

func (*Client) EnableLoadBalancerIpv6Internet added in v2.0.3

func (client *Client) EnableLoadBalancerIpv6Internet(request *EnableLoadBalancerIpv6InternetRequest) (_result *EnableLoadBalancerIpv6InternetResponse, _err error)

*

  • ### Prerequisites
  • An ALB instance is created and IPv4/IPv6 dual stack is enabled for the instance. You can call the [CreateLoadBalancer](~~214358~~) operation and set **AddressIpVersion** to **DualStack** to create a dual-stack ALB instance.
  • > If you set **AddressIpVersion** to **DualStack**:
  • * If you set **AddressType** to **Internet**, the ALB instance uses a public IPv4 IP address and a private IPv6 address.
  • * If you set **AddressType** to **Intranet**, the ALB instance uses a private IPv4 IP address and a private IPv6 address.
  • ### Description
  • * After the EnableLoadBalancerIpv6Internet operation is called, the value of **Ipv6AddressType** is changed to **Internet** and the type of the IPv6 address of the ALB instance is changed from private to public. If you upgrade the instance or the instance scales elastic network interfaces (ENIs) along with workloads, public IPv6 addresses are automatically enabled for the instance and the new ENIs. You can call the [GetLoadBalancerAttribute](~~214362~~) operation to query the value of **Ipv6AddressType**.
  • * **EnableLoadBalancerIpv6Internet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](~~214362~~) operation to query the status of the task.
  • * If the ALB instance is in the **Configuring** state, the network type of the IPv6 address that is used by the ALB instance is being changed.
  • * If the ALB instance is in the **Active** state, the network type of the IPv6 address that is used by the ALB instance is changed. *
  • @param request EnableLoadBalancerIpv6InternetRequest
  • @return EnableLoadBalancerIpv6InternetResponse

func (*Client) EnableLoadBalancerIpv6InternetWithOptions added in v2.0.3

func (client *Client) EnableLoadBalancerIpv6InternetWithOptions(request *EnableLoadBalancerIpv6InternetRequest, runtime *util.RuntimeOptions) (_result *EnableLoadBalancerIpv6InternetResponse, _err error)

*

  • ### Prerequisites
  • An ALB instance is created and IPv4/IPv6 dual stack is enabled for the instance. You can call the [CreateLoadBalancer](~~214358~~) operation and set **AddressIpVersion** to **DualStack** to create a dual-stack ALB instance.
  • > If you set **AddressIpVersion** to **DualStack**:
  • * If you set **AddressType** to **Internet**, the ALB instance uses a public IPv4 IP address and a private IPv6 address.
  • * If you set **AddressType** to **Intranet**, the ALB instance uses a private IPv4 IP address and a private IPv6 address.
  • ### Description
  • * After the EnableLoadBalancerIpv6Internet operation is called, the value of **Ipv6AddressType** is changed to **Internet** and the type of the IPv6 address of the ALB instance is changed from private to public. If you upgrade the instance or the instance scales elastic network interfaces (ENIs) along with workloads, public IPv6 addresses are automatically enabled for the instance and the new ENIs. You can call the [GetLoadBalancerAttribute](~~214362~~) operation to query the value of **Ipv6AddressType**.
  • * **EnableLoadBalancerIpv6Internet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](~~214362~~) operation to query the status of the task.
  • * If the ALB instance is in the **Configuring** state, the network type of the IPv6 address that is used by the ALB instance is being changed.
  • * If the ALB instance is in the **Active** state, the network type of the IPv6 address that is used by the ALB instance is changed. *
  • @param request EnableLoadBalancerIpv6InternetRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return EnableLoadBalancerIpv6InternetResponse

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetHealthCheckTemplateAttribute

func (client *Client) GetHealthCheckTemplateAttribute(request *GetHealthCheckTemplateAttributeRequest) (_result *GetHealthCheckTemplateAttributeResponse, _err error)

func (*Client) GetHealthCheckTemplateAttributeWithOptions

func (client *Client) GetHealthCheckTemplateAttributeWithOptions(request *GetHealthCheckTemplateAttributeRequest, runtime *util.RuntimeOptions) (_result *GetHealthCheckTemplateAttributeResponse, _err error)

func (*Client) GetListenerAttribute

func (client *Client) GetListenerAttribute(request *GetListenerAttributeRequest) (_result *GetListenerAttributeResponse, _err error)

func (*Client) GetListenerAttributeWithOptions

func (client *Client) GetListenerAttributeWithOptions(request *GetListenerAttributeRequest, runtime *util.RuntimeOptions) (_result *GetListenerAttributeResponse, _err error)

func (*Client) GetListenerHealthStatus

func (client *Client) GetListenerHealthStatus(request *GetListenerHealthStatusRequest) (_result *GetListenerHealthStatusResponse, _err error)

func (*Client) GetListenerHealthStatusWithOptions

func (client *Client) GetListenerHealthStatusWithOptions(request *GetListenerHealthStatusRequest, runtime *util.RuntimeOptions) (_result *GetListenerHealthStatusResponse, _err error)

func (*Client) GetLoadBalancerAttribute

func (client *Client) GetLoadBalancerAttribute(request *GetLoadBalancerAttributeRequest) (_result *GetLoadBalancerAttributeResponse, _err error)

func (*Client) GetLoadBalancerAttributeWithOptions

func (client *Client) GetLoadBalancerAttributeWithOptions(request *GetLoadBalancerAttributeRequest, runtime *util.RuntimeOptions) (_result *GetLoadBalancerAttributeResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListAScripts added in v2.0.3

func (client *Client) ListAScripts(request *ListAScriptsRequest) (_result *ListAScriptsResponse, _err error)

func (*Client) ListAScriptsWithOptions added in v2.0.3

func (client *Client) ListAScriptsWithOptions(request *ListAScriptsRequest, runtime *util.RuntimeOptions) (_result *ListAScriptsResponse, _err error)

func (*Client) ListAclEntries

func (client *Client) ListAclEntries(request *ListAclEntriesRequest) (_result *ListAclEntriesResponse, _err error)

func (*Client) ListAclEntriesWithOptions

func (client *Client) ListAclEntriesWithOptions(request *ListAclEntriesRequest, runtime *util.RuntimeOptions) (_result *ListAclEntriesResponse, _err error)

func (*Client) ListAclRelations

func (client *Client) ListAclRelations(request *ListAclRelationsRequest) (_result *ListAclRelationsResponse, _err error)

func (*Client) ListAclRelationsWithOptions

func (client *Client) ListAclRelationsWithOptions(request *ListAclRelationsRequest, runtime *util.RuntimeOptions) (_result *ListAclRelationsResponse, _err error)

func (*Client) ListAcls

func (client *Client) ListAcls(request *ListAclsRequest) (_result *ListAclsResponse, _err error)

func (*Client) ListAclsWithOptions

func (client *Client) ListAclsWithOptions(request *ListAclsRequest, runtime *util.RuntimeOptions) (_result *ListAclsResponse, _err error)

func (*Client) ListAsynJobs

func (client *Client) ListAsynJobs(request *ListAsynJobsRequest) (_result *ListAsynJobsResponse, _err error)

func (*Client) ListAsynJobsWithOptions

func (client *Client) ListAsynJobsWithOptions(request *ListAsynJobsRequest, runtime *util.RuntimeOptions) (_result *ListAsynJobsResponse, _err error)

func (*Client) ListHealthCheckTemplates

func (client *Client) ListHealthCheckTemplates(request *ListHealthCheckTemplatesRequest) (_result *ListHealthCheckTemplatesResponse, _err error)

func (*Client) ListHealthCheckTemplatesWithOptions

func (client *Client) ListHealthCheckTemplatesWithOptions(request *ListHealthCheckTemplatesRequest, runtime *util.RuntimeOptions) (_result *ListHealthCheckTemplatesResponse, _err error)

func (*Client) ListListenerCertificates

func (client *Client) ListListenerCertificates(request *ListListenerCertificatesRequest) (_result *ListListenerCertificatesResponse, _err error)

func (*Client) ListListenerCertificatesWithOptions

func (client *Client) ListListenerCertificatesWithOptions(request *ListListenerCertificatesRequest, runtime *util.RuntimeOptions) (_result *ListListenerCertificatesResponse, _err error)

func (*Client) ListListeners

func (client *Client) ListListeners(request *ListListenersRequest) (_result *ListListenersResponse, _err error)

func (*Client) ListListenersWithOptions

func (client *Client) ListListenersWithOptions(request *ListListenersRequest, runtime *util.RuntimeOptions) (_result *ListListenersResponse, _err error)

func (*Client) ListLoadBalancers

func (client *Client) ListLoadBalancers(request *ListLoadBalancersRequest) (_result *ListLoadBalancersResponse, _err error)

func (*Client) ListLoadBalancersWithOptions

func (client *Client) ListLoadBalancersWithOptions(request *ListLoadBalancersRequest, runtime *util.RuntimeOptions) (_result *ListLoadBalancersResponse, _err error)

func (*Client) ListRules

func (client *Client) ListRules(request *ListRulesRequest) (_result *ListRulesResponse, _err error)

func (*Client) ListRulesWithOptions

func (client *Client) ListRulesWithOptions(request *ListRulesRequest, runtime *util.RuntimeOptions) (_result *ListRulesResponse, _err error)

func (*Client) ListSecurityPolicies

func (client *Client) ListSecurityPolicies(request *ListSecurityPoliciesRequest) (_result *ListSecurityPoliciesResponse, _err error)

func (*Client) ListSecurityPoliciesWithOptions

func (client *Client) ListSecurityPoliciesWithOptions(request *ListSecurityPoliciesRequest, runtime *util.RuntimeOptions) (_result *ListSecurityPoliciesResponse, _err error)

func (*Client) ListSecurityPolicyRelations

func (client *Client) ListSecurityPolicyRelations(request *ListSecurityPolicyRelationsRequest) (_result *ListSecurityPolicyRelationsResponse, _err error)

func (*Client) ListSecurityPolicyRelationsWithOptions

func (client *Client) ListSecurityPolicyRelationsWithOptions(request *ListSecurityPolicyRelationsRequest, runtime *util.RuntimeOptions) (_result *ListSecurityPolicyRelationsResponse, _err error)

func (*Client) ListServerGroupServers

func (client *Client) ListServerGroupServers(request *ListServerGroupServersRequest) (_result *ListServerGroupServersResponse, _err error)

func (*Client) ListServerGroupServersWithOptions

func (client *Client) ListServerGroupServersWithOptions(request *ListServerGroupServersRequest, runtime *util.RuntimeOptions) (_result *ListServerGroupServersResponse, _err error)

func (*Client) ListServerGroups

func (client *Client) ListServerGroups(request *ListServerGroupsRequest) (_result *ListServerGroupsResponse, _err error)

func (*Client) ListServerGroupsWithOptions

func (client *Client) ListServerGroupsWithOptions(request *ListServerGroupsRequest, runtime *util.RuntimeOptions) (_result *ListServerGroupsResponse, _err error)

func (*Client) ListSystemSecurityPolicies

func (client *Client) ListSystemSecurityPolicies() (_result *ListSystemSecurityPoliciesResponse, _err error)

func (*Client) ListSystemSecurityPoliciesWithOptions

func (client *Client) ListSystemSecurityPoliciesWithOptions(runtime *util.RuntimeOptions) (_result *ListSystemSecurityPoliciesResponse, _err error)

func (*Client) ListTagKeys

func (client *Client) ListTagKeys(request *ListTagKeysRequest) (_result *ListTagKeysResponse, _err error)

func (*Client) ListTagKeysWithOptions

func (client *Client) ListTagKeysWithOptions(request *ListTagKeysRequest, runtime *util.RuntimeOptions) (_result *ListTagKeysResponse, _err error)

func (*Client) ListTagResources

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)

func (*Client) ListTagResourcesWithOptions

func (client *Client) ListTagResourcesWithOptions(request *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)

func (*Client) ListTagValues

func (client *Client) ListTagValues(request *ListTagValuesRequest) (_result *ListTagValuesResponse, _err error)

func (*Client) ListTagValuesWithOptions

func (client *Client) ListTagValuesWithOptions(request *ListTagValuesRequest, runtime *util.RuntimeOptions) (_result *ListTagValuesResponse, _err error)

func (*Client) MoveResourceGroup

func (client *Client) MoveResourceGroup(request *MoveResourceGroupRequest) (_result *MoveResourceGroupResponse, _err error)

func (*Client) MoveResourceGroupWithOptions

func (client *Client) MoveResourceGroupWithOptions(request *MoveResourceGroupRequest, runtime *util.RuntimeOptions) (_result *MoveResourceGroupResponse, _err error)

func (*Client) RemoveEntriesFromAcl

func (client *Client) RemoveEntriesFromAcl(request *RemoveEntriesFromAclRequest) (_result *RemoveEntriesFromAclResponse, _err error)

*

  • **RemoveEntriesFromAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclEntries](~~213616~~) operation to query the status of the task.
  • * If an ACL is in the **Removing** state, the entries are being removed.
  • * If an ACL cannot be found, the entries are removed. *
  • @param request RemoveEntriesFromAclRequest
  • @return RemoveEntriesFromAclResponse

func (*Client) RemoveEntriesFromAclWithOptions

func (client *Client) RemoveEntriesFromAclWithOptions(request *RemoveEntriesFromAclRequest, runtime *util.RuntimeOptions) (_result *RemoveEntriesFromAclResponse, _err error)

*

  • **RemoveEntriesFromAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclEntries](~~213616~~) operation to query the status of the task.
  • * If an ACL is in the **Removing** state, the entries are being removed.
  • * If an ACL cannot be found, the entries are removed. *
  • @param request RemoveEntriesFromAclRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RemoveEntriesFromAclResponse

func (*Client) RemoveServersFromServerGroup

func (client *Client) RemoveServersFromServerGroup(request *RemoveServersFromServerGroupRequest) (_result *RemoveServersFromServerGroupResponse, _err error)

*

  • **RemoveServersFromServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background.
  • 1. You can call the [ListServerGroups](~~213627~~) operation to query the status of a server group.
  • * If a server group is in the **Configuring** state, it indicates that the server group is being modified.
  • * If a server group is in the **Available** state, it indicates that the server group is running.
  • 2. You can call the [ListServerGroupServers](~~213628~~) operation to query the status of a backend server.
  • * If a backend server is in the **Removing** state, the server is being removed from the server group.
  • * If a backend server cannot be found, the server is no longer in the server group. *
  • @param request RemoveServersFromServerGroupRequest
  • @return RemoveServersFromServerGroupResponse

func (*Client) RemoveServersFromServerGroupWithOptions

func (client *Client) RemoveServersFromServerGroupWithOptions(request *RemoveServersFromServerGroupRequest, runtime *util.RuntimeOptions) (_result *RemoveServersFromServerGroupResponse, _err error)

*

  • **RemoveServersFromServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background.
  • 1. You can call the [ListServerGroups](~~213627~~) operation to query the status of a server group.
  • * If a server group is in the **Configuring** state, it indicates that the server group is being modified.
  • * If a server group is in the **Available** state, it indicates that the server group is running.
  • 2. You can call the [ListServerGroupServers](~~213628~~) operation to query the status of a backend server.
  • * If a backend server is in the **Removing** state, the server is being removed from the server group.
  • * If a backend server cannot be found, the server is no longer in the server group. *
  • @param request RemoveServersFromServerGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RemoveServersFromServerGroupResponse

func (*Client) ReplaceServersInServerGroup

func (client *Client) ReplaceServersInServerGroup(request *ReplaceServersInServerGroupRequest) (_result *ReplaceServersInServerGroupResponse, _err error)

*

  • **ReplaceServersInServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background.
  • 1. You can call the [ListServerGroups](~~213627~~) operation to query the status of a server group.
  • * If a server group is in the **Configuring** state, it indicates that the server group is being modified.
  • * If a server group is in the **Available** state, it indicates that the server group is running.
  • 2. You can call the [ListServerGroupServers](~~213628~~) operation to query the status of a backend server.
  • * If a backend server is in the **Replacing** state, it indicates that the server is being removed from the server group and a new server is added to the server group.
  • * If a backend server is in the \\*\\*Available\\*\\* state, it indicates that the server is running. *
  • @param request ReplaceServersInServerGroupRequest
  • @return ReplaceServersInServerGroupResponse

func (*Client) ReplaceServersInServerGroupWithOptions

func (client *Client) ReplaceServersInServerGroupWithOptions(request *ReplaceServersInServerGroupRequest, runtime *util.RuntimeOptions) (_result *ReplaceServersInServerGroupResponse, _err error)

*

  • **ReplaceServersInServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background.
  • 1. You can call the [ListServerGroups](~~213627~~) operation to query the status of a server group.
  • * If a server group is in the **Configuring** state, it indicates that the server group is being modified.
  • * If a server group is in the **Available** state, it indicates that the server group is running.
  • 2. You can call the [ListServerGroupServers](~~213628~~) operation to query the status of a backend server.
  • * If a backend server is in the **Replacing** state, it indicates that the server is being removed from the server group and a new server is added to the server group.
  • * If a backend server is in the \\*\\*Available\\*\\* state, it indicates that the server is running. *
  • @param request ReplaceServersInServerGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ReplaceServersInServerGroupResponse

func (*Client) StartListener

func (client *Client) StartListener(request *StartListenerRequest) (_result *StartListenerResponse, _err error)

*

  • **StartListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetListenerAttribute](~~2254865~~) to query the status of the task.
  • * If a listener is in the **Configuring** state, the listener is being enabled.
  • * If a listener is in the **Running** state, the listener is enabled. *
  • @param request StartListenerRequest
  • @return StartListenerResponse

func (*Client) StartListenerWithOptions

func (client *Client) StartListenerWithOptions(request *StartListenerRequest, runtime *util.RuntimeOptions) (_result *StartListenerResponse, _err error)

*

  • **StartListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetListenerAttribute](~~2254865~~) to query the status of the task.
  • * If a listener is in the **Configuring** state, the listener is being enabled.
  • * If a listener is in the **Running** state, the listener is enabled. *
  • @param request StartListenerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StartListenerResponse

func (*Client) StartShiftLoadBalancerZones added in v2.1.0

func (client *Client) StartShiftLoadBalancerZones(request *StartShiftLoadBalancerZonesRequest) (_result *StartShiftLoadBalancerZonesResponse, _err error)

*

  • This operation is supported by Application Load Balancer (ALB) instances that use static IP addresses. The zone cannot be removed if the ALB instance has only one available zone. *
  • @param request StartShiftLoadBalancerZonesRequest
  • @return StartShiftLoadBalancerZonesResponse

func (*Client) StartShiftLoadBalancerZonesWithOptions added in v2.1.0

func (client *Client) StartShiftLoadBalancerZonesWithOptions(request *StartShiftLoadBalancerZonesRequest, runtime *util.RuntimeOptions) (_result *StartShiftLoadBalancerZonesResponse, _err error)

*

  • This operation is supported by Application Load Balancer (ALB) instances that use static IP addresses. The zone cannot be removed if the ALB instance has only one available zone. *
  • @param request StartShiftLoadBalancerZonesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StartShiftLoadBalancerZonesResponse

func (*Client) StopListener

func (client *Client) StopListener(request *StopListenerRequest) (_result *StopListenerResponse, _err error)

*

  • **StopListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetListenerAttribute](~~2254865~~) operation to query the status of the task:
  • * If a listener is in the **Configuring** state, the listener is being disabled.
  • * If a listener is in the **Stopped** state, the listener is disabled. *
  • @param request StopListenerRequest
  • @return StopListenerResponse

func (*Client) StopListenerWithOptions

func (client *Client) StopListenerWithOptions(request *StopListenerRequest, runtime *util.RuntimeOptions) (_result *StopListenerResponse, _err error)

*

  • **StopListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetListenerAttribute](~~2254865~~) operation to query the status of the task:
  • * If a listener is in the **Configuring** state, the listener is being disabled.
  • * If a listener is in the **Stopped** state, the listener is disabled. *
  • @param request StopListenerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StopListenerResponse

func (*Client) TagResources

func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)

func (*Client) TagResourcesWithOptions

func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)

func (*Client) UnTagResources

func (client *Client) UnTagResources(request *UnTagResourcesRequest) (_result *UnTagResourcesResponse, _err error)

func (*Client) UnTagResourcesWithOptions

func (client *Client) UnTagResourcesWithOptions(request *UnTagResourcesRequest, runtime *util.RuntimeOptions) (_result *UnTagResourcesResponse, _err error)

func (*Client) UpdateAScripts added in v2.0.3

func (client *Client) UpdateAScripts(request *UpdateAScriptsRequest) (_result *UpdateAScriptsResponse, _err error)

*

  • * **UpdateAScripts** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAScripts](~~472574~~) operation to query the status of the task.
  • * If an AScript rule is in the **Configuring** state, the AScript rule is being updated.
  • * If an AScript rule is in the **Available** state, the AScript rule is updated.
  • * In the following table, the maximum value of **N** is **4**. *
  • @param request UpdateAScriptsRequest
  • @return UpdateAScriptsResponse

func (*Client) UpdateAScriptsWithOptions added in v2.0.3

func (client *Client) UpdateAScriptsWithOptions(request *UpdateAScriptsRequest, runtime *util.RuntimeOptions) (_result *UpdateAScriptsResponse, _err error)

*

  • * **UpdateAScripts** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAScripts](~~472574~~) operation to query the status of the task.
  • * If an AScript rule is in the **Configuring** state, the AScript rule is being updated.
  • * If an AScript rule is in the **Available** state, the AScript rule is updated.
  • * In the following table, the maximum value of **N** is **4**. *
  • @param request UpdateAScriptsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateAScriptsResponse

func (*Client) UpdateAclAttribute

func (client *Client) UpdateAclAttribute(request *UpdateAclAttributeRequest) (_result *UpdateAclAttributeResponse, _err error)

func (*Client) UpdateAclAttributeWithOptions

func (client *Client) UpdateAclAttributeWithOptions(request *UpdateAclAttributeRequest, runtime *util.RuntimeOptions) (_result *UpdateAclAttributeResponse, _err error)

func (*Client) UpdateHealthCheckTemplateAttribute

func (client *Client) UpdateHealthCheckTemplateAttribute(request *UpdateHealthCheckTemplateAttributeRequest) (_result *UpdateHealthCheckTemplateAttributeResponse, _err error)

func (*Client) UpdateHealthCheckTemplateAttributeWithOptions

func (client *Client) UpdateHealthCheckTemplateAttributeWithOptions(request *UpdateHealthCheckTemplateAttributeRequest, runtime *util.RuntimeOptions) (_result *UpdateHealthCheckTemplateAttributeResponse, _err error)

func (*Client) UpdateListenerAttribute

func (client *Client) UpdateListenerAttribute(request *UpdateListenerAttributeRequest) (_result *UpdateListenerAttributeResponse, _err error)

*

  • **UpdateListenerAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetListenerAttribute](~~2254865~~) operation to query the status of the task.
  • * If a listener is in the **Configuring** state, the configuration of the listener is being modified.
  • * If a listener is in the **Running** state, the configuration of the listener is modified. *
  • @param request UpdateListenerAttributeRequest
  • @return UpdateListenerAttributeResponse

func (*Client) UpdateListenerAttributeWithOptions

func (client *Client) UpdateListenerAttributeWithOptions(request *UpdateListenerAttributeRequest, runtime *util.RuntimeOptions) (_result *UpdateListenerAttributeResponse, _err error)

*

  • **UpdateListenerAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetListenerAttribute](~~2254865~~) operation to query the status of the task.
  • * If a listener is in the **Configuring** state, the configuration of the listener is being modified.
  • * If a listener is in the **Running** state, the configuration of the listener is modified. *
  • @param request UpdateListenerAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateListenerAttributeResponse

func (*Client) UpdateListenerLogConfig

func (client *Client) UpdateListenerLogConfig(request *UpdateListenerLogConfigRequest) (_result *UpdateListenerLogConfigResponse, _err error)

*

  • **UpdateListenerLogConfig** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetListenerAttribute](~~2254865~~) to query the status of the task:
  • * If a listener is in the **Configuring** state, the log configuration of the listener is being modified.
  • * If a listener is in the **Running** state, the log configuration of the listener is modified.
  • > You can update the log configuration of a listener only after you enable the access log feature. *
  • @param request UpdateListenerLogConfigRequest
  • @return UpdateListenerLogConfigResponse

func (*Client) UpdateListenerLogConfigWithOptions

func (client *Client) UpdateListenerLogConfigWithOptions(request *UpdateListenerLogConfigRequest, runtime *util.RuntimeOptions) (_result *UpdateListenerLogConfigResponse, _err error)

*

  • **UpdateListenerLogConfig** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetListenerAttribute](~~2254865~~) to query the status of the task:
  • * If a listener is in the **Configuring** state, the log configuration of the listener is being modified.
  • * If a listener is in the **Running** state, the log configuration of the listener is modified.
  • > You can update the log configuration of a listener only after you enable the access log feature. *
  • @param request UpdateListenerLogConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateListenerLogConfigResponse

func (*Client) UpdateLoadBalancerAddressTypeConfig

func (client *Client) UpdateLoadBalancerAddressTypeConfig(request *UpdateLoadBalancerAddressTypeConfigRequest) (_result *UpdateLoadBalancerAddressTypeConfigResponse, _err error)

*

  • ## Prerequisites
  • * An ALB instance is created. For more information about how to create an ALB instance, see [CreateLoadBalancer](~~214358~~).
  • * If you want to change the network type from internal-facing to Internet-facing, you must first create an elastic IP address (EIP). For more information, see [AllocateEipAddress](~~120192~~).
  • ## Usage notes
  • **UpdateLoadBalancerAddressTypeConfig** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](~~214362~~) operation to query the status of the task.
  • * If an ALB instance is in the **Configuring** state, the network type is being changed.
  • * If an ALB instance is in the **Active** state, the network type has been changed. *
  • @param request UpdateLoadBalancerAddressTypeConfigRequest
  • @return UpdateLoadBalancerAddressTypeConfigResponse

func (*Client) UpdateLoadBalancerAddressTypeConfigWithOptions

func (client *Client) UpdateLoadBalancerAddressTypeConfigWithOptions(request *UpdateLoadBalancerAddressTypeConfigRequest, runtime *util.RuntimeOptions) (_result *UpdateLoadBalancerAddressTypeConfigResponse, _err error)

*

  • ## Prerequisites
  • * An ALB instance is created. For more information about how to create an ALB instance, see [CreateLoadBalancer](~~214358~~).
  • * If you want to change the network type from internal-facing to Internet-facing, you must first create an elastic IP address (EIP). For more information, see [AllocateEipAddress](~~120192~~).
  • ## Usage notes
  • **UpdateLoadBalancerAddressTypeConfig** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](~~214362~~) operation to query the status of the task.
  • * If an ALB instance is in the **Configuring** state, the network type is being changed.
  • * If an ALB instance is in the **Active** state, the network type has been changed. *
  • @param request UpdateLoadBalancerAddressTypeConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateLoadBalancerAddressTypeConfigResponse

func (*Client) UpdateLoadBalancerAttribute

func (client *Client) UpdateLoadBalancerAttribute(request *UpdateLoadBalancerAttributeRequest) (_result *UpdateLoadBalancerAttributeResponse, _err error)

*

  • **UpdateLoadBalancerAttribute** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call [GetLoadBalancerAttribute](~~214362~~) to query the status of the task.
  • * If the ALB instance is in the **Configuring** state, the ALB instance is being modified.
  • * If the ALB instance is in the **Active** state, the ALB instance is modified. *
  • @param request UpdateLoadBalancerAttributeRequest
  • @return UpdateLoadBalancerAttributeResponse

func (*Client) UpdateLoadBalancerAttributeWithOptions

func (client *Client) UpdateLoadBalancerAttributeWithOptions(request *UpdateLoadBalancerAttributeRequest, runtime *util.RuntimeOptions) (_result *UpdateLoadBalancerAttributeResponse, _err error)

*

  • **UpdateLoadBalancerAttribute** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call [GetLoadBalancerAttribute](~~214362~~) to query the status of the task.
  • * If the ALB instance is in the **Configuring** state, the ALB instance is being modified.
  • * If the ALB instance is in the **Active** state, the ALB instance is modified. *
  • @param request UpdateLoadBalancerAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateLoadBalancerAttributeResponse

func (*Client) UpdateLoadBalancerEdition

func (client *Client) UpdateLoadBalancerEdition(request *UpdateLoadBalancerEditionRequest) (_result *UpdateLoadBalancerEditionResponse, _err error)

*

  • ##
  • * You can upgrade a basic ALB instance to a standard ALB instance or a WAF-enabled ALB instance but you cannot downgrade a standard ALB instance or a WAF-enabled ALB instance to a basic ALB instance. For more information, see [Upgrade an ALB instance](~~214654~~).
  • * **UpdateLoadBalancerEdition** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetLoadBalancerAttribute](~~214362~~) to query the status of the task.
  • * If the ALB instance is in the **Configuring** state, the edition of the ALB instance is being modified.
  • * If the ALB instance is in the **Active** state, the edition of the ALB instance has been modified. *
  • @param request UpdateLoadBalancerEditionRequest
  • @return UpdateLoadBalancerEditionResponse

func (*Client) UpdateLoadBalancerEditionWithOptions

func (client *Client) UpdateLoadBalancerEditionWithOptions(request *UpdateLoadBalancerEditionRequest, runtime *util.RuntimeOptions) (_result *UpdateLoadBalancerEditionResponse, _err error)

*

  • ##
  • * You can upgrade a basic ALB instance to a standard ALB instance or a WAF-enabled ALB instance but you cannot downgrade a standard ALB instance or a WAF-enabled ALB instance to a basic ALB instance. For more information, see [Upgrade an ALB instance](~~214654~~).
  • * **UpdateLoadBalancerEdition** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetLoadBalancerAttribute](~~214362~~) to query the status of the task.
  • * If the ALB instance is in the **Configuring** state, the edition of the ALB instance is being modified.
  • * If the ALB instance is in the **Active** state, the edition of the ALB instance has been modified. *
  • @param request UpdateLoadBalancerEditionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateLoadBalancerEditionResponse

func (*Client) UpdateLoadBalancerZones

func (client *Client) UpdateLoadBalancerZones(request *UpdateLoadBalancerZonesRequest) (_result *UpdateLoadBalancerZonesResponse, _err error)

*

  • **UpdateLoadBalancerZones** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetLoadBalancerAttribute](~~214362~~) to query the status of the task.
  • * If an ALB instance is in the **Configuring** state, the zones are being modified.
  • * If an ALB instance is in the **Active** state, the zones are modified.
  • > You may be charged after you call UpdateLoadBalancerZones. *
  • @param request UpdateLoadBalancerZonesRequest
  • @return UpdateLoadBalancerZonesResponse

func (*Client) UpdateLoadBalancerZonesWithOptions

func (client *Client) UpdateLoadBalancerZonesWithOptions(request *UpdateLoadBalancerZonesRequest, runtime *util.RuntimeOptions) (_result *UpdateLoadBalancerZonesResponse, _err error)

*

  • **UpdateLoadBalancerZones** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetLoadBalancerAttribute](~~214362~~) to query the status of the task.
  • * If an ALB instance is in the **Configuring** state, the zones are being modified.
  • * If an ALB instance is in the **Active** state, the zones are modified.
  • > You may be charged after you call UpdateLoadBalancerZones. *
  • @param request UpdateLoadBalancerZonesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateLoadBalancerZonesResponse

func (*Client) UpdateRuleAttribute

func (client *Client) UpdateRuleAttribute(request *UpdateRuleAttributeRequest) (_result *UpdateRuleAttributeResponse, _err error)

*

  • * **UpdateRuleAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](~~214379~~) operation to query the status of a forwarding rule:
  • * If a forwarding rule is in the **Configuring** state, the forwarding rule is being updated.
  • * If a forwarding rule is in the **Available** state, the forwarding rule is updated.
  • * You can set **RuleConditions** and **RuleActions** to add conditions and actions to a forwarding rule. Take note of the following limits on the number of conditions and the number of actions in each forwarding rule:
  • * Number of conditions: You can specify at most 5 for a basic Application Load Balancer (ALB) instance, at most 10 for a standard ALB instance, and at most 10 for a WAF-enabled ALB instance.
  • * Number of actions: You can specify at most 3 for a basic ALB instance, at most 5 for a standard ALB instance, and at most 5 for a WAF-enabled ALB instance. *
  • @param request UpdateRuleAttributeRequest
  • @return UpdateRuleAttributeResponse

func (*Client) UpdateRuleAttributeWithOptions

func (client *Client) UpdateRuleAttributeWithOptions(request *UpdateRuleAttributeRequest, runtime *util.RuntimeOptions) (_result *UpdateRuleAttributeResponse, _err error)

*

  • * **UpdateRuleAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](~~214379~~) operation to query the status of a forwarding rule:
  • * If a forwarding rule is in the **Configuring** state, the forwarding rule is being updated.
  • * If a forwarding rule is in the **Available** state, the forwarding rule is updated.
  • * You can set **RuleConditions** and **RuleActions** to add conditions and actions to a forwarding rule. Take note of the following limits on the number of conditions and the number of actions in each forwarding rule:
  • * Number of conditions: You can specify at most 5 for a basic Application Load Balancer (ALB) instance, at most 10 for a standard ALB instance, and at most 10 for a WAF-enabled ALB instance.
  • * Number of actions: You can specify at most 3 for a basic ALB instance, at most 5 for a standard ALB instance, and at most 5 for a WAF-enabled ALB instance. *
  • @param request UpdateRuleAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateRuleAttributeResponse

func (*Client) UpdateRulesAttribute

func (client *Client) UpdateRulesAttribute(request *UpdateRulesAttributeRequest) (_result *UpdateRulesAttributeResponse, _err error)

*

  • **UpdateRulesAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](~~214379~~) operation to query the status of the task.
  • * If a forwarding rule is in the **Configuring** state, the forwarding rule is being updated.
  • * If a forwarding rule is in the **Available** state, the forwarding rule is updated.
  • * You can set **RuleConditions** and **RuleActions** to add conditions and actions to a forwarding rule. Take note of the following limits on the maximum number of conditions and the maximum number of actions in each forwarding rule:
  • * Limits on conditions: 5 for a basic Application Load Balancer (ALB) instance, 10 for a standard ALB instance, and 10 for a WAF-enabled ALB instance.
  • * Limits on actions: 3 for a basic ALB instance, 5 for a standard ALB instance, and 5 for a WAF-enabled ALB instance. *
  • @param request UpdateRulesAttributeRequest
  • @return UpdateRulesAttributeResponse

func (*Client) UpdateRulesAttributeWithOptions

func (client *Client) UpdateRulesAttributeWithOptions(request *UpdateRulesAttributeRequest, runtime *util.RuntimeOptions) (_result *UpdateRulesAttributeResponse, _err error)

*

  • **UpdateRulesAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](~~214379~~) operation to query the status of the task.
  • * If a forwarding rule is in the **Configuring** state, the forwarding rule is being updated.
  • * If a forwarding rule is in the **Available** state, the forwarding rule is updated.
  • * You can set **RuleConditions** and **RuleActions** to add conditions and actions to a forwarding rule. Take note of the following limits on the maximum number of conditions and the maximum number of actions in each forwarding rule:
  • * Limits on conditions: 5 for a basic Application Load Balancer (ALB) instance, 10 for a standard ALB instance, and 10 for a WAF-enabled ALB instance.
  • * Limits on actions: 3 for a basic ALB instance, 5 for a standard ALB instance, and 5 for a WAF-enabled ALB instance. *
  • @param request UpdateRulesAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateRulesAttributeResponse

func (*Client) UpdateSecurityPolicyAttribute

func (client *Client) UpdateSecurityPolicyAttribute(request *UpdateSecurityPolicyAttributeRequest) (_result *UpdateSecurityPolicyAttributeResponse, _err error)

*

  • ##
  • **UpdateSecurityPolicyAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [ListSecurityPolicies](~~213609~~) to query the status of the task.
  • * If a security policy is in the **Configuring** state, the security policy is being updated.
  • * If a security policy is in the **Available** state, the security policy is updated. *
  • @param request UpdateSecurityPolicyAttributeRequest
  • @return UpdateSecurityPolicyAttributeResponse

func (*Client) UpdateSecurityPolicyAttributeWithOptions

func (client *Client) UpdateSecurityPolicyAttributeWithOptions(request *UpdateSecurityPolicyAttributeRequest, runtime *util.RuntimeOptions) (_result *UpdateSecurityPolicyAttributeResponse, _err error)

*

  • ##
  • **UpdateSecurityPolicyAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [ListSecurityPolicies](~~213609~~) to query the status of the task.
  • * If a security policy is in the **Configuring** state, the security policy is being updated.
  • * If a security policy is in the **Available** state, the security policy is updated. *
  • @param request UpdateSecurityPolicyAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateSecurityPolicyAttributeResponse

func (*Client) UpdateServerGroupAttribute

func (client *Client) UpdateServerGroupAttribute(request *UpdateServerGroupAttributeRequest) (_result *UpdateServerGroupAttributeResponse, _err error)

*

  • ## Description
  • **UpdateServerGroupAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListServerGroups](~~213627~~) operation to query the status of a server group:
  • * If a server group is in the **Configuring** state, the configuration of the server group is being modified.
  • * If a server group is in the **Available** state, the configuration of the server group is modified. *
  • @param request UpdateServerGroupAttributeRequest
  • @return UpdateServerGroupAttributeResponse

func (*Client) UpdateServerGroupAttributeWithOptions

func (client *Client) UpdateServerGroupAttributeWithOptions(request *UpdateServerGroupAttributeRequest, runtime *util.RuntimeOptions) (_result *UpdateServerGroupAttributeResponse, _err error)

*

  • ## Description
  • **UpdateServerGroupAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListServerGroups](~~213627~~) operation to query the status of a server group:
  • * If a server group is in the **Configuring** state, the configuration of the server group is being modified.
  • * If a server group is in the **Available** state, the configuration of the server group is modified. *
  • @param request UpdateServerGroupAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateServerGroupAttributeResponse

func (*Client) UpdateServerGroupServersAttribute

func (client *Client) UpdateServerGroupServersAttribute(request *UpdateServerGroupServersAttributeRequest) (_result *UpdateServerGroupServersAttributeResponse, _err error)

*

  • **UpdateServerGroupServersAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background.
  • 1. You can call the [ListServerGroups](~~213627~~) operation to query the status of a server group.
  • * If a server group is in the **Configuring** state, it indicates that the server group is being modified.
  • * If a server group is in the **Available** state, it indicates that the server group is running.
  • 2. You can call the [ListServerGroupServers](~~213628~~) operation to query the status of a backend server.
  • * If a backend server is in the **Configuring** state, it indicates that the backend server is being modified.
  • * If a backend server is in the **Available** state, it indicates that the backend server is running. *
  • @param request UpdateServerGroupServersAttributeRequest
  • @return UpdateServerGroupServersAttributeResponse

func (*Client) UpdateServerGroupServersAttributeWithOptions

func (client *Client) UpdateServerGroupServersAttributeWithOptions(request *UpdateServerGroupServersAttributeRequest, runtime *util.RuntimeOptions) (_result *UpdateServerGroupServersAttributeResponse, _err error)

*

  • **UpdateServerGroupServersAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background.
  • 1. You can call the [ListServerGroups](~~213627~~) operation to query the status of a server group.
  • * If a server group is in the **Configuring** state, it indicates that the server group is being modified.
  • * If a server group is in the **Available** state, it indicates that the server group is running.
  • 2. You can call the [ListServerGroupServers](~~213628~~) operation to query the status of a backend server.
  • * If a backend server is in the **Configuring** state, it indicates that the backend server is being modified.
  • * If a backend server is in the **Available** state, it indicates that the backend server is running. *
  • @param request UpdateServerGroupServersAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateServerGroupServersAttributeResponse

type CreateAScriptsRequest added in v2.0.3

type CreateAScriptsRequest struct {
	// The AScript rules.
	AScripts []*CreateAScriptsRequestAScripts `json:"AScripts,omitempty" xml:"AScripts,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**(default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The listener ID.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
}

func (CreateAScriptsRequest) GoString added in v2.0.3

func (s CreateAScriptsRequest) GoString() string

func (*CreateAScriptsRequest) SetAScripts added in v2.0.3

func (*CreateAScriptsRequest) SetClientToken added in v2.0.3

func (s *CreateAScriptsRequest) SetClientToken(v string) *CreateAScriptsRequest

func (*CreateAScriptsRequest) SetDryRun added in v2.0.3

func (*CreateAScriptsRequest) SetListenerId added in v2.0.3

func (s *CreateAScriptsRequest) SetListenerId(v string) *CreateAScriptsRequest

func (CreateAScriptsRequest) String added in v2.0.3

func (s CreateAScriptsRequest) String() string

type CreateAScriptsRequestAScripts added in v2.0.3

type CreateAScriptsRequestAScripts struct {
	// The name of the AScript rule.
	//
	// The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	AScriptName *string `json:"AScriptName,omitempty" xml:"AScriptName,omitempty"`
	// Specifies whether to enable the AScript rule. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The content of the AScript rule.
	ScriptContent *string `json:"ScriptContent,omitempty" xml:"ScriptContent,omitempty"`
}

func (CreateAScriptsRequestAScripts) GoString added in v2.0.3

func (*CreateAScriptsRequestAScripts) SetAScriptName added in v2.0.3

func (*CreateAScriptsRequestAScripts) SetEnabled added in v2.0.3

func (*CreateAScriptsRequestAScripts) SetScriptContent added in v2.0.3

func (CreateAScriptsRequestAScripts) String added in v2.0.3

type CreateAScriptsResponse added in v2.0.3

type CreateAScriptsResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateAScriptsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateAScriptsResponse) GoString added in v2.0.3

func (s CreateAScriptsResponse) GoString() string

func (*CreateAScriptsResponse) SetBody added in v2.0.3

func (*CreateAScriptsResponse) SetHeaders added in v2.0.3

func (*CreateAScriptsResponse) SetStatusCode added in v2.0.3

func (CreateAScriptsResponse) String added in v2.0.3

func (s CreateAScriptsResponse) String() string

type CreateAScriptsResponseBody added in v2.0.3

type CreateAScriptsResponseBody struct {
	// The AScript rule IDs.
	AScriptIds []*CreateAScriptsResponseBodyAScriptIds `json:"AScriptIds,omitempty" xml:"AScriptIds,omitempty" type:"Repeated"`
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateAScriptsResponseBody) GoString added in v2.0.3

func (s CreateAScriptsResponseBody) GoString() string

func (*CreateAScriptsResponseBody) SetAScriptIds added in v2.0.3

func (*CreateAScriptsResponseBody) SetJobId added in v2.0.3

func (*CreateAScriptsResponseBody) SetRequestId added in v2.0.3

func (CreateAScriptsResponseBody) String added in v2.0.3

type CreateAScriptsResponseBodyAScriptIds added in v2.0.3

type CreateAScriptsResponseBodyAScriptIds struct {
	// The AScript rule ID.
	AScriptId *string `json:"AScriptId,omitempty" xml:"AScriptId,omitempty"`
}

func (CreateAScriptsResponseBodyAScriptIds) GoString added in v2.0.3

func (*CreateAScriptsResponseBodyAScriptIds) SetAScriptId added in v2.0.3

func (CreateAScriptsResponseBodyAScriptIds) String added in v2.0.3

type CreateAclRequest

type CreateAclRequest struct {
	// The name of the ACL. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	AclName *string `json:"AclName,omitempty" xml:"AclName,omitempty"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the value, but you must make sure that it is unique among different requests. ClientToken can contain only ASCII characters.
	//
	// >  If you do not set this parameter, the system uses **RequestId** as **ClientToken**. The value of **RequestId** may be different for each API request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to check the request without performing the operation. Valid values:
	//
	// *   **true**: checks the request without performing the operation. The system checks the required parameters, request syntax, and limits. If the request fails the check, an error message is returned. If the request passes the check, the `DryRunOperation` error code is returned.
	// *   **false** (default): sends the request. If the request passes the check, an HTTP 2xx status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The tags.
	Tag []*CreateAclRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (CreateAclRequest) GoString

func (s CreateAclRequest) GoString() string

func (*CreateAclRequest) SetAclName

func (s *CreateAclRequest) SetAclName(v string) *CreateAclRequest

func (*CreateAclRequest) SetClientToken

func (s *CreateAclRequest) SetClientToken(v string) *CreateAclRequest

func (*CreateAclRequest) SetDryRun

func (s *CreateAclRequest) SetDryRun(v bool) *CreateAclRequest

func (*CreateAclRequest) SetResourceGroupId

func (s *CreateAclRequest) SetResourceGroupId(v string) *CreateAclRequest

func (*CreateAclRequest) SetTag added in v2.0.5

func (CreateAclRequest) String

func (s CreateAclRequest) String() string

type CreateAclRequestTag added in v2.0.5

type CreateAclRequestTag struct {
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateAclRequestTag) GoString added in v2.0.5

func (s CreateAclRequestTag) GoString() string

func (*CreateAclRequestTag) SetKey added in v2.0.5

func (*CreateAclRequestTag) SetValue added in v2.0.5

func (CreateAclRequestTag) String added in v2.0.5

func (s CreateAclRequestTag) String() string

type CreateAclResponse

type CreateAclResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateAclResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateAclResponse) GoString

func (s CreateAclResponse) GoString() string

func (*CreateAclResponse) SetBody

func (*CreateAclResponse) SetHeaders

func (s *CreateAclResponse) SetHeaders(v map[string]*string) *CreateAclResponse

func (*CreateAclResponse) SetStatusCode

func (s *CreateAclResponse) SetStatusCode(v int32) *CreateAclResponse

func (CreateAclResponse) String

func (s CreateAclResponse) String() string

type CreateAclResponseBody

type CreateAclResponseBody struct {
	// The ID of the ACL.
	AclId *string `json:"AclId,omitempty" xml:"AclId,omitempty"`
	// The ID of the asynchronous task.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateAclResponseBody) GoString

func (s CreateAclResponseBody) GoString() string

func (*CreateAclResponseBody) SetAclId

func (*CreateAclResponseBody) SetJobId

func (*CreateAclResponseBody) SetRequestId

func (CreateAclResponseBody) String

func (s CreateAclResponseBody) String() string

type CreateHealthCheckTemplateRequest

type CreateHealthCheckTemplateRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// >  If you do not specify this parameter, the system automatically uses the value of RequestId as the value of ClientToken. The request ID may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a **2xx** HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The HTTP status codes that are used to indicate whether the backend server passes the health check.
	HealthCheckCodes []*string `json:"HealthCheckCodes,omitempty" xml:"HealthCheckCodes,omitempty" type:"Repeated"`
	// The port that is used for health checks.
	//
	// Valid values: **0 to 65535**.
	//
	// Default value: **0**. If you set the value to 0, the port of a backend server is used for health checks.
	HealthCheckConnectPort *int32 `json:"HealthCheckConnectPort,omitempty" xml:"HealthCheckConnectPort,omitempty"`
	// The domain name that you want to use for the health check.
	//
	// Default value: **$SERVER_IP**. The domain name must be 1 to 80 characters in length. The domain name must meet the following requirements:
	//
	// *   The domain name can contain lowercase letters, digits, hyphens (-), and periods (.).
	// *   The domain name must contain at least one period (.) but cannot start or end with a period (.).
	// *   The rightmost domain label can contain only letters but cannot contain digits or hyphens (-).
	// *   Other fields cannot start or end with a hyphen (-).
	//
	// This parameter is required only if the **HealthCheckProtocol** parameter is set to **HTTP**.
	HealthCheckHost *string `json:"HealthCheckHost,omitempty" xml:"HealthCheckHost,omitempty"`
	// The HTTP version that is used for health checks.
	//
	// Valid values: **HTTP 1.0** and **HTTP 1.1**.
	//
	// Default value: **HTTP 1.1**.
	//
	// > This parameter is valid only if the `HealthCheckProtocol` parameter is set to **HTTP**.
	HealthCheckHttpVersion *string `json:"HealthCheckHttpVersion,omitempty" xml:"HealthCheckHttpVersion,omitempty"`
	// The interval at which health checks are performed.
	//
	// Valid values: **1 to 50**.
	//
	// Default value: **2**.
	HealthCheckInterval *int32 `json:"HealthCheckInterval,omitempty" xml:"HealthCheckInterval,omitempty"`
	// The method that you want to use for the health check. Valid values:
	//
	// *   **HEAD**: By default, the ALB instance sends HEAD requests to a backend server to perform HTTP health checks.
	// *   **POST**: gRPC health checks automatically use the POST method.
	// *   **GET**: If the length of a response exceeds 8 KB, the response is truncated. However, the health check result is not affected.
	//
	// > This parameter takes effect only when the **HealthCheckProtocol** parameter is set to **HTTP** or **gRPC**.
	HealthCheckMethod *string `json:"HealthCheckMethod,omitempty" xml:"HealthCheckMethod,omitempty"`
	// The URL that is used for health checks.
	//
	// It must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). It can also contain the following extended characters: `_ ; ~ ! ( ) * [ ] @ $ ^ : \" , +`. The URL must start with a forward slash (/).
	//
	// > This parameter is valid only if the `HealthCheckProtocol` parameter is set to **HTTP**.
	HealthCheckPath *string `json:"HealthCheckPath,omitempty" xml:"HealthCheckPath,omitempty"`
	// The protocol that you want to use for health checks. Valid values:
	//
	// *   **HTTP** (default): To perform HTTP health checks, ALB sends HEAD or GET requests to a backend server to check whether the backend server is healthy.
	// *   **TCP**: To perform TCP health checks, ALB sends SYN packets to a backend server to check whether the port of the backend server is available to receive requests.
	// *   **gRPC**: To perform gRPC health checks, ALB sends POST or GET requests to a backend server to check whether the backend server is healthy.
	HealthCheckProtocol *string `json:"HealthCheckProtocol,omitempty" xml:"HealthCheckProtocol,omitempty"`
	// The name of the health check template.
	//
	// The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	HealthCheckTemplateName *string `json:"HealthCheckTemplateName,omitempty" xml:"HealthCheckTemplateName,omitempty"`
	// The timeout period of a health check. If a backend server does not respond within the specified timeout period, the backend server fails the health check.
	//
	// Valid values: **1 to 300**.
	//
	// Default value: **5**.
	//
	// > If the value of the `HealthCheckTimeout` parameter is smaller than that of the `HealthCheckInterval` parameter, the timeout period specified by the `HealthCheckTimeout` parameter is ignored and the value of the `HealthCheckInterval` parameter is used as the timeout period.
	HealthCheckTimeout *int32 `json:"HealthCheckTimeout,omitempty" xml:"HealthCheckTimeout,omitempty"`
	// The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status is changed from **fail** to **success**.
	//
	// Valid values: **2 to 10**.
	//
	// Default value: **3**.
	HealthyThreshold *int32 `json:"HealthyThreshold,omitempty" xml:"HealthyThreshold,omitempty"`
	// The tags.
	Tag []*CreateHealthCheckTemplateRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status is changed from **success** to **fail**.
	//
	// Valid values: **2 to 10**.
	//
	// Default value: **3**.
	UnhealthyThreshold *int32 `json:"UnhealthyThreshold,omitempty" xml:"UnhealthyThreshold,omitempty"`
}

func (CreateHealthCheckTemplateRequest) GoString

func (*CreateHealthCheckTemplateRequest) SetClientToken

func (*CreateHealthCheckTemplateRequest) SetDryRun

func (*CreateHealthCheckTemplateRequest) SetHealthCheckCodes

func (*CreateHealthCheckTemplateRequest) SetHealthCheckConnectPort

func (*CreateHealthCheckTemplateRequest) SetHealthCheckHost

func (*CreateHealthCheckTemplateRequest) SetHealthCheckHttpVersion

func (*CreateHealthCheckTemplateRequest) SetHealthCheckInterval

func (*CreateHealthCheckTemplateRequest) SetHealthCheckMethod

func (*CreateHealthCheckTemplateRequest) SetHealthCheckPath

func (*CreateHealthCheckTemplateRequest) SetHealthCheckProtocol

func (*CreateHealthCheckTemplateRequest) SetHealthCheckTemplateName

func (*CreateHealthCheckTemplateRequest) SetHealthCheckTimeout

func (*CreateHealthCheckTemplateRequest) SetHealthyThreshold

func (*CreateHealthCheckTemplateRequest) SetTag added in v2.0.5

func (*CreateHealthCheckTemplateRequest) SetUnhealthyThreshold

func (CreateHealthCheckTemplateRequest) String

type CreateHealthCheckTemplateRequestTag added in v2.0.5

type CreateHealthCheckTemplateRequestTag struct {
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateHealthCheckTemplateRequestTag) GoString added in v2.0.5

func (*CreateHealthCheckTemplateRequestTag) SetKey added in v2.0.5

func (*CreateHealthCheckTemplateRequestTag) SetValue added in v2.0.5

func (CreateHealthCheckTemplateRequestTag) String added in v2.0.5

type CreateHealthCheckTemplateResponse

type CreateHealthCheckTemplateResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateHealthCheckTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateHealthCheckTemplateResponse) GoString

func (*CreateHealthCheckTemplateResponse) SetHeaders

func (*CreateHealthCheckTemplateResponse) SetStatusCode

func (CreateHealthCheckTemplateResponse) String

type CreateHealthCheckTemplateResponseBody

type CreateHealthCheckTemplateResponseBody struct {
	// The ID of the health check template.
	HealthCheckTemplateId *string `json:"HealthCheckTemplateId,omitempty" xml:"HealthCheckTemplateId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateHealthCheckTemplateResponseBody) GoString

func (*CreateHealthCheckTemplateResponseBody) SetHealthCheckTemplateId

func (*CreateHealthCheckTemplateResponseBody) SetRequestId

func (CreateHealthCheckTemplateResponseBody) String

type CreateListenerRequest

type CreateListenerRequest struct {
	CaCertificates []*CreateListenerRequestCaCertificates `json:"CaCertificates,omitempty" xml:"CaCertificates,omitempty" type:"Repeated"`
	// Specifies whether to enable mutual authentication. Valid values:
	//
	// *   **true**: enables mutual authentication.
	// *   **false** (default): disables mutual authentication.
	CaEnabled    *bool                                `json:"CaEnabled,omitempty" xml:"CaEnabled,omitempty"`
	Certificates []*CreateListenerRequestCertificates `json:"Certificates,omitempty" xml:"Certificates,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the value, but you must make sure that it is unique among all requests. The token can contain only ASCII characters.
	//
	// >  If you do not set this parameter, the system automatically uses the value of **RequestId** as the value of **ClientToken**. **RequestId** may be different for each API request.
	ClientToken    *string                                `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	DefaultActions []*CreateListenerRequestDefaultActions `json:"DefaultActions,omitempty" xml:"DefaultActions,omitempty" type:"Repeated"`
	// Specifies whether to perform only a precheck. Valid values:
	//
	// *   **true**: prechecks the request without creating a listener. The system checks the required parameters, request syntax, and limits. If the request fails the precheck, an error code is returned based on the cause of the failure. If the request passes the precheck, the `DryRunOperation` error code is returned.
	// *   **false** (default): sends the API request. If the request passes the precheck, a 2xx HTTP status code is returned and the system proceeds to create a listener.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// Specifies whether to enable `Gzip` compression to compress specific types of files. Valid values:
	//
	// *   **true** (default): enables Gzip compression.
	// *   **false**: disables Gzip compression.
	GzipEnabled *bool `json:"GzipEnabled,omitempty" xml:"GzipEnabled,omitempty"`
	// Specifies whether to enable `HTTP/2`. Valid values:
	//
	// *   **true** (default): enables HTTP/2.
	// *   **false**: disables HTTP/2.
	//
	// >  Only HTTPS listeners support this parameter.
	Http2Enabled *bool `json:"Http2Enabled,omitempty" xml:"Http2Enabled,omitempty"`
	// The timeout period of an idle connection. Unit: seconds.
	//
	// Valid values: **1 to 60**.
	//
	// Default value: **15**.
	//
	// If no requests are received within the specified timeout period, ALB closes the current connection. When a new request is received, ALB establishes a new connection.
	IdleTimeout *int32 `json:"IdleTimeout,omitempty" xml:"IdleTimeout,omitempty"`
	// The name of the listener.
	//
	// The description must be 2 to 256 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (\_). Regular expressions are supported.
	ListenerDescription *string `json:"ListenerDescription,omitempty" xml:"ListenerDescription,omitempty"`
	// The frontend port that is used by the ALB instance.
	//
	// Valid values: **1 to 65535**.
	ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"`
	// The listener protocol.
	//
	// Valid values: **HTTP**, **HTTPS**, and **QUIC**.
	ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"`
	// The ID of the ALB instance.
	LoadBalancerId *string                          `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	QuicConfig     *CreateListenerRequestQuicConfig `json:"QuicConfig,omitempty" xml:"QuicConfig,omitempty" type:"Struct"`
	// The timeout period of a request. Unit: seconds.
	//
	// Valid values: **1 to 180**.
	//
	// Default value: **60**.
	//
	// If no response is received from the backend server during the request timeout period, ALB sends an `HTTP 504` error code to the client.
	RequestTimeout *int32 `json:"RequestTimeout,omitempty" xml:"RequestTimeout,omitempty"`
	// The ID of the security policy. System security policies and custom security policies are supported.
	//
	// Default value: **tls_cipher_policy\_1\_0** (system security policy).
	//
	// >  Only HTTPS listeners support this parameter.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The tags.
	Tag                 []*CreateListenerRequestTag               `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	XForwardedForConfig *CreateListenerRequestXForwardedForConfig `json:"XForwardedForConfig,omitempty" xml:"XForwardedForConfig,omitempty" type:"Struct"`
}

func (CreateListenerRequest) GoString

func (s CreateListenerRequest) GoString() string

func (*CreateListenerRequest) SetCaCertificates

func (*CreateListenerRequest) SetCaEnabled

func (s *CreateListenerRequest) SetCaEnabled(v bool) *CreateListenerRequest

func (*CreateListenerRequest) SetCertificates

func (*CreateListenerRequest) SetClientToken

func (s *CreateListenerRequest) SetClientToken(v string) *CreateListenerRequest

func (*CreateListenerRequest) SetDefaultActions

func (*CreateListenerRequest) SetDryRun

func (*CreateListenerRequest) SetGzipEnabled

func (s *CreateListenerRequest) SetGzipEnabled(v bool) *CreateListenerRequest

func (*CreateListenerRequest) SetHttp2Enabled

func (s *CreateListenerRequest) SetHttp2Enabled(v bool) *CreateListenerRequest

func (*CreateListenerRequest) SetIdleTimeout

func (s *CreateListenerRequest) SetIdleTimeout(v int32) *CreateListenerRequest

func (*CreateListenerRequest) SetListenerDescription

func (s *CreateListenerRequest) SetListenerDescription(v string) *CreateListenerRequest

func (*CreateListenerRequest) SetListenerPort

func (s *CreateListenerRequest) SetListenerPort(v int32) *CreateListenerRequest

func (*CreateListenerRequest) SetListenerProtocol

func (s *CreateListenerRequest) SetListenerProtocol(v string) *CreateListenerRequest

func (*CreateListenerRequest) SetLoadBalancerId

func (s *CreateListenerRequest) SetLoadBalancerId(v string) *CreateListenerRequest

func (*CreateListenerRequest) SetQuicConfig

func (*CreateListenerRequest) SetRequestTimeout

func (s *CreateListenerRequest) SetRequestTimeout(v int32) *CreateListenerRequest

func (*CreateListenerRequest) SetSecurityPolicyId

func (s *CreateListenerRequest) SetSecurityPolicyId(v string) *CreateListenerRequest

func (*CreateListenerRequest) SetTag added in v2.0.5

func (*CreateListenerRequest) SetXForwardedForConfig

func (CreateListenerRequest) String

func (s CreateListenerRequest) String() string

type CreateListenerRequestCaCertificates

type CreateListenerRequestCaCertificates struct {
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
}

func (CreateListenerRequestCaCertificates) GoString

func (*CreateListenerRequestCaCertificates) SetCertificateId added in v2.1.2

func (CreateListenerRequestCaCertificates) String

type CreateListenerRequestCertificates

type CreateListenerRequestCertificates struct {
	// The ID of the certificate. Only server certificates are supported. You can specify up to 20 certificate IDs.
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
}

func (CreateListenerRequestCertificates) GoString

func (*CreateListenerRequestCertificates) SetCertificateId

func (CreateListenerRequestCertificates) String

type CreateListenerRequestDefaultActions

type CreateListenerRequestDefaultActions struct {
	ForwardGroupConfig *CreateListenerRequestDefaultActionsForwardGroupConfig `json:"ForwardGroupConfig,omitempty" xml:"ForwardGroupConfig,omitempty" type:"Struct"`
	// The action type. You can specify only one action type. Valid value:
	//
	// **ForwardGroup**: forwards requests to multiple vServer groups.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (CreateListenerRequestDefaultActions) GoString

func (*CreateListenerRequestDefaultActions) SetType

func (CreateListenerRequestDefaultActions) String

type CreateListenerRequestDefaultActionsForwardGroupConfig

type CreateListenerRequestDefaultActionsForwardGroupConfig struct {
	ServerGroupTuples []*CreateListenerRequestDefaultActionsForwardGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (CreateListenerRequestDefaultActionsForwardGroupConfig) GoString

func (CreateListenerRequestDefaultActionsForwardGroupConfig) String

type CreateListenerRequestDefaultActionsForwardGroupConfigServerGroupTuples

type CreateListenerRequestDefaultActionsForwardGroupConfigServerGroupTuples struct {
	// The ID of the server group to which requests are forwarded.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (CreateListenerRequestDefaultActionsForwardGroupConfigServerGroupTuples) GoString

func (*CreateListenerRequestDefaultActionsForwardGroupConfigServerGroupTuples) SetServerGroupId

func (CreateListenerRequestDefaultActionsForwardGroupConfigServerGroupTuples) String

type CreateListenerRequestQuicConfig

type CreateListenerRequestQuicConfig struct {
	// The ID of the QUIC listener that you want to associate with the HTTPS listener. Only HTTPS listeners support this parameter. This parameter is required when **QuicUpgradeEnabled** is set to **true**.
	//
	// >  The HTTPS listener and the QUIC listener must be added to the same ALB instance. Make sure that the QUIC listener is not associated with any other listeners.
	QuicListenerId *string `json:"QuicListenerId,omitempty" xml:"QuicListenerId,omitempty"`
	// Specifies whether to enable QUIC upgrade. Valid values:
	//
	// *   **true**: enables QUIC upgrade.
	// *   **false** (default): disables QUIC upgrade.
	//
	// >  Only HTTPS listeners support this parameter.
	QuicUpgradeEnabled *bool `json:"QuicUpgradeEnabled,omitempty" xml:"QuicUpgradeEnabled,omitempty"`
}

func (CreateListenerRequestQuicConfig) GoString

func (*CreateListenerRequestQuicConfig) SetQuicListenerId

func (*CreateListenerRequestQuicConfig) SetQuicUpgradeEnabled

func (CreateListenerRequestQuicConfig) String

type CreateListenerRequestTag added in v2.0.5

type CreateListenerRequestTag struct {
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateListenerRequestTag) GoString added in v2.0.5

func (s CreateListenerRequestTag) GoString() string

func (*CreateListenerRequestTag) SetKey added in v2.0.5

func (*CreateListenerRequestTag) SetValue added in v2.0.5

func (CreateListenerRequestTag) String added in v2.0.5

func (s CreateListenerRequestTag) String() string

type CreateListenerRequestXForwardedForConfig

type CreateListenerRequestXForwardedForConfig struct {
	// The name of the custom header. This parameter takes effect only when **XForwardedForClientCertClientVerifyEnabled** is set to **true**.
	//
	// The name must be 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (\_), and digits.
	//
	// >  Only HTTPS listeners support this parameter.
	XForwardedForClientCertClientVerifyAlias *string `json:"XForwardedForClientCertClientVerifyAlias,omitempty" xml:"XForwardedForClientCertClientVerifyAlias,omitempty"`
	// Specifies whether to use the `X-Forwarded-Clientcert-clientverify` header to retrieve the verification result of the client certificate. Valid values:
	//
	// *   **true**: uses the X-Forwarded-Clientcert-clientverify header.
	// *   **false** (default): does not use the X-Forwarded-Clientcert-clientverify header.
	//
	// >  Only HTTPS listeners support this parameter.
	XForwardedForClientCertClientVerifyEnabled *bool `json:"XForwardedForClientCertClientVerifyEnabled,omitempty" xml:"XForwardedForClientCertClientVerifyEnabled,omitempty"`
	// The name of the custom header. This parameter takes effect only when **XForwardedForClientCertFingerprintEnabled** is set to **true**.
	//
	// The name must be 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (\_), and digits.
	//
	// >  Only HTTPS listeners support this parameter.
	XForwardedForClientCertFingerprintAlias *string `json:"XForwardedForClientCertFingerprintAlias,omitempty" xml:"XForwardedForClientCertFingerprintAlias,omitempty"`
	// Specifies whether to use the `X-Forwarded-Clientcert-fingerprint` header to retrieve the fingerprint of the client certificate. Valid values:
	//
	// *   **true**: uses the X-Forwarded-Clientcert-fingerprint header.
	// *   **false** (default): does not use the X-Forwarded-Clientcert-fingerprint header.
	//
	// >  Only HTTPS listeners support this parameter.
	XForwardedForClientCertFingerprintEnabled *bool `json:"XForwardedForClientCertFingerprintEnabled,omitempty" xml:"XForwardedForClientCertFingerprintEnabled,omitempty"`
	// The name of the custom header. This parameter takes effect only when **XForwardedForClientCertIssuerDNEnabled** is set to **true**.
	//
	// The name must be 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (\_), and digits.
	//
	// >  Only HTTPS listeners support this parameter.
	XForwardedForClientCertIssuerDNAlias *string `json:"XForwardedForClientCertIssuerDNAlias,omitempty" xml:"XForwardedForClientCertIssuerDNAlias,omitempty"`
	// Specifies whether to use the `X-Forwarded-Clientcert-issuerdn` header to retrieve information about the authority that issues the client certificate. Valid values:
	//
	// *   **true**: uses the X-Forwarded-Clientcert-issuerdn header.
	// *   **false** (default): does not use the X-Forwarded-Clientcert-issuerdn header.
	//
	// >  Only HTTPS listeners support this parameter.
	XForwardedForClientCertIssuerDNEnabled *bool `json:"XForwardedForClientCertIssuerDNEnabled,omitempty" xml:"XForwardedForClientCertIssuerDNEnabled,omitempty"`
	// The name of the custom header. This parameter takes effect only when **XForwardedForClientCertSubjectDNEnabled** is set to **true**.
	//
	// The name must be 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (\_), and digits.
	//
	// >  Only HTTPS listeners support this parameter.
	XForwardedForClientCertSubjectDNAlias *string `json:"XForwardedForClientCertSubjectDNAlias,omitempty" xml:"XForwardedForClientCertSubjectDNAlias,omitempty"`
	// Specifies whether to use the `X-Forwarded-Clientcert-subjectdn` header to retrieve information about the owner of the client certificate. Valid values:
	//
	// *   **true**: uses the X-Forwarded-Clientcert-subjectdn header.
	// *   **false** (default): does not use the X-Forwarded-Clientcert-subjectdn header.
	//
	// >  Only HTTPS listeners support this parameter.
	XForwardedForClientCertSubjectDNEnabled *bool `json:"XForwardedForClientCertSubjectDNEnabled,omitempty" xml:"XForwardedForClientCertSubjectDNEnabled,omitempty"`
	// Specifies whether to use the `X-Forwarded-Client-Ip` header to obtain the source IP address of the ALB instance. Valid values:
	//
	// *   **true**: uses the X-Forwarded-Client-Ip header.
	// *   **false** (default): does not use the X-Forwarded-Client-Ip header.
	//
	// >  HTTP, HTTPS, and QUIC listeners support this parameter. The feature corresponding to this parameter is not available by default. If you want to use this feature, submit a ticket.
	XForwardedForClientSourceIpsEnabled *bool `json:"XForwardedForClientSourceIpsEnabled,omitempty" xml:"XForwardedForClientSourceIpsEnabled,omitempty"`
	// The trusted proxy IP address.
	//
	// ALB traverses `X-Forwarded-For` backwards and selects the first IP address that is not in the trusted IP list as the originating IP address of the client, which will be throttled if source IP address throttling is enabled.
	XForwardedForClientSourceIpsTrusted *string `json:"XForwardedForClientSourceIpsTrusted,omitempty" xml:"XForwardedForClientSourceIpsTrusted,omitempty"`
	// Specifies whether to use the `X-Forwarded-Client-Port` header to retrieve the client port. Valid values:
	//
	// *   **true**: uses the X-Forwarded-Client-Port header.
	// *   **false** (default): does not use the X-Forwarded-Client-Port header.
	//
	// >  HTTP and HTTPS listeners support this parameter.
	XForwardedForClientSrcPortEnabled *bool `json:"XForwardedForClientSrcPortEnabled,omitempty" xml:"XForwardedForClientSrcPortEnabled,omitempty"`
	// Specifies whether to use the `X-Forwarded-For` header to retrieve client IP addresses. Valid values:
	//
	// *   **true** (default): uses the X-Forwarded-For header.
	// *   **false**: does not use the X-Forwarded-For header.
	//
	// >  HTTP and HTTPS listeners support this parameter.
	XForwardedForEnabled *bool `json:"XForwardedForEnabled,omitempty" xml:"XForwardedForEnabled,omitempty"`
	// Specifies whether to use the `X-Forwarded-Proto` header to retrieve the listening protocol of the ALB instance. Valid values:
	//
	// *   **true**: uses the X-Forwarded-Proto header.
	// *   **false** (default): does not use the X-Forwarded-Proto header.
	//
	// >  HTTP, HTTPS, and QUIC listeners support this parameter.
	XForwardedForProtoEnabled *bool `json:"XForwardedForProtoEnabled,omitempty" xml:"XForwardedForProtoEnabled,omitempty"`
	// Specifies whether to use the `SLB-ID` header to retrieve the ID of the ALB instance. Valid values:
	//
	// *   **true**: uses the SLB-ID header.
	// *   **false** (default): does not use the SLB-ID header.
	//
	// >  HTTP, HTTPS, and QUIC listeners support this parameter.
	XForwardedForSLBIdEnabled *bool `json:"XForwardedForSLBIdEnabled,omitempty" xml:"XForwardedForSLBIdEnabled,omitempty"`
	// Specifies whether to use the `X-Forwarded-Port` header to retrieve the listening port of the ALB instance. Valid values:
	//
	// *   **true**: uses the X-Forwarded-Port header.
	// *   **false** (default): does not use the X-Forwarded-Port header.
	//
	// >  HTTP, HTTPS, and QUIC listeners support this parameter.
	XForwardedForSLBPortEnabled *bool `json:"XForwardedForSLBPortEnabled,omitempty" xml:"XForwardedForSLBPortEnabled,omitempty"`
}

func (CreateListenerRequestXForwardedForConfig) GoString

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertClientVerifyAlias

func (s *CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertClientVerifyAlias(v string) *CreateListenerRequestXForwardedForConfig

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertClientVerifyEnabled

func (s *CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertClientVerifyEnabled(v bool) *CreateListenerRequestXForwardedForConfig

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertFingerprintAlias

func (s *CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertFingerprintAlias(v string) *CreateListenerRequestXForwardedForConfig

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertFingerprintEnabled

func (s *CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertFingerprintEnabled(v bool) *CreateListenerRequestXForwardedForConfig

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertIssuerDNAlias

func (s *CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertIssuerDNAlias(v string) *CreateListenerRequestXForwardedForConfig

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertIssuerDNEnabled

func (s *CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertIssuerDNEnabled(v bool) *CreateListenerRequestXForwardedForConfig

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertSubjectDNAlias

func (s *CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertSubjectDNAlias(v string) *CreateListenerRequestXForwardedForConfig

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertSubjectDNEnabled

func (s *CreateListenerRequestXForwardedForConfig) SetXForwardedForClientCertSubjectDNEnabled(v bool) *CreateListenerRequestXForwardedForConfig

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForClientSourceIpsEnabled

func (s *CreateListenerRequestXForwardedForConfig) SetXForwardedForClientSourceIpsEnabled(v bool) *CreateListenerRequestXForwardedForConfig

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForClientSourceIpsTrusted

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForClientSrcPortEnabled

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForEnabled

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForProtoEnabled

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForSLBIdEnabled

func (*CreateListenerRequestXForwardedForConfig) SetXForwardedForSLBPortEnabled

func (CreateListenerRequestXForwardedForConfig) String

type CreateListenerResponse

type CreateListenerResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateListenerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateListenerResponse) GoString

func (s CreateListenerResponse) GoString() string

func (*CreateListenerResponse) SetBody

func (*CreateListenerResponse) SetHeaders

func (*CreateListenerResponse) SetStatusCode

func (CreateListenerResponse) String

func (s CreateListenerResponse) String() string

type CreateListenerResponseBody

type CreateListenerResponseBody struct {
	// The ID of the asynchronous task.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The ID of the listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateListenerResponseBody) GoString

func (s CreateListenerResponseBody) GoString() string

func (*CreateListenerResponseBody) SetJobId

func (*CreateListenerResponseBody) SetListenerId

func (*CreateListenerResponseBody) SetRequestId

func (CreateListenerResponseBody) String

type CreateLoadBalancerRequest

type CreateLoadBalancerRequest struct {
	// The mode used to assign IP addresses to zones of the ALB instance. Default value: Dynamic. Valid values:
	//
	// *   **Fixed:** assigns a static IP address to the ALB instance.
	// *   **Dynamic:** dynamically assigns an IP address to each zone of the ALB instance.
	AddressAllocatedMode *string `json:"AddressAllocatedMode,omitempty" xml:"AddressAllocatedMode,omitempty"`
	// The protocol version. Valid values:
	//
	// *   **IPv4:** IPv4.
	// *   **DualStack:** dual stack.
	AddressIpVersion *string `json:"AddressIpVersion,omitempty" xml:"AddressIpVersion,omitempty"`
	// The type of the address of the ALB instance. Valid values:
	//
	// *   **Internet:** The ALB instance uses a public IP address. The domain name of the ALB instance is resolved to the public IP address. In this case, the ALB instance can be accessed over the Internet.
	// *   **Intranet:** The ALB instance uses a private IP address. The domain name of the ALB instance is resolved to the private IP address. In this case, the ALB instance can be accessed over the VPC in which the ALB instance is deployed.
	AddressType *string `json:"AddressType,omitempty" xml:"AddressType,omitempty"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can only contain ASCII characters.
	//
	// >  If you do not specify this parameter, the system uses the value of **RequestId** as the value of **ClientToken**. The value of the **RequestId** parameter may be different for each API request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to enable deletion protection. Default value: false. Valid values:
	//
	// *   **true:** enables deletion protection.
	// *   **false:** disables deletion protection.
	DeletionProtectionEnabled *bool `json:"DeletionProtectionEnabled,omitempty" xml:"DeletionProtectionEnabled,omitempty"`
	// Specifies whether to perform a dry run. Default value: false. Valid values:
	//
	// *   **true:** performs a dry run. The system checks the required parameters, request format, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false:** performs a dry run and sends the request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The configuration of the billing method of the ALB instance.
	LoadBalancerBillingConfig *CreateLoadBalancerRequestLoadBalancerBillingConfig `json:"LoadBalancerBillingConfig,omitempty" xml:"LoadBalancerBillingConfig,omitempty" type:"Struct"`
	// The edition of the ALB instance. The features and billing rules vary based on the edition of the ALB instance. Valid values:
	//
	// *   **Basic:** basic.
	// *   **Standard:** standard.
	// *   **StandardWithWaf:** WAF-enabled.
	LoadBalancerEdition *string `json:"LoadBalancerEdition,omitempty" xml:"LoadBalancerEdition,omitempty"`
	// The name of the ALB instance.
	//
	// The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	LoadBalancerName *string `json:"LoadBalancerName,omitempty" xml:"LoadBalancerName,omitempty"`
	// The configuration of the configuration read-only mode.
	ModificationProtectionConfig *CreateLoadBalancerRequestModificationProtectionConfig `json:"ModificationProtectionConfig,omitempty" xml:"ModificationProtectionConfig,omitempty" type:"Struct"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The tags.
	Tag []*CreateLoadBalancerRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The ID of the virtual private cloud (VPC) in which you want to create the ALB instance.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zones and the vSwitches in the zones. You must specify at least two zones.
	ZoneMappings []*CreateLoadBalancerRequestZoneMappings `json:"ZoneMappings,omitempty" xml:"ZoneMappings,omitempty" type:"Repeated"`
}

func (CreateLoadBalancerRequest) GoString

func (s CreateLoadBalancerRequest) GoString() string

func (*CreateLoadBalancerRequest) SetAddressAllocatedMode

func (s *CreateLoadBalancerRequest) SetAddressAllocatedMode(v string) *CreateLoadBalancerRequest

func (*CreateLoadBalancerRequest) SetAddressIpVersion

func (s *CreateLoadBalancerRequest) SetAddressIpVersion(v string) *CreateLoadBalancerRequest

func (*CreateLoadBalancerRequest) SetAddressType

func (*CreateLoadBalancerRequest) SetClientToken

func (*CreateLoadBalancerRequest) SetDeletionProtectionEnabled

func (s *CreateLoadBalancerRequest) SetDeletionProtectionEnabled(v bool) *CreateLoadBalancerRequest

func (*CreateLoadBalancerRequest) SetDryRun

func (*CreateLoadBalancerRequest) SetLoadBalancerEdition

func (s *CreateLoadBalancerRequest) SetLoadBalancerEdition(v string) *CreateLoadBalancerRequest

func (*CreateLoadBalancerRequest) SetLoadBalancerName

func (s *CreateLoadBalancerRequest) SetLoadBalancerName(v string) *CreateLoadBalancerRequest

func (*CreateLoadBalancerRequest) SetResourceGroupId

func (*CreateLoadBalancerRequest) SetTag added in v2.0.5

func (*CreateLoadBalancerRequest) SetVpcId

func (*CreateLoadBalancerRequest) SetZoneMappings

func (CreateLoadBalancerRequest) String

func (s CreateLoadBalancerRequest) String() string

type CreateLoadBalancerRequestLoadBalancerBillingConfig

type CreateLoadBalancerRequestLoadBalancerBillingConfig struct {
	// The ID of the Elastic IP Address (EIP) bandwidth plan that is associated with the ALB instance if the ALB instance uses a public IP address.
	BandwidthPackageId *string `json:"BandwidthPackageId,omitempty" xml:"BandwidthPackageId,omitempty"`
	// The billing method of the ALB instance.
	//
	// Set the value to **PostPay**, which specifies the pay-as-you-go billing method.
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
}

func (CreateLoadBalancerRequestLoadBalancerBillingConfig) GoString

func (*CreateLoadBalancerRequestLoadBalancerBillingConfig) SetBandwidthPackageId

func (*CreateLoadBalancerRequestLoadBalancerBillingConfig) SetPayType

func (CreateLoadBalancerRequestLoadBalancerBillingConfig) String

type CreateLoadBalancerRequestModificationProtectionConfig

type CreateLoadBalancerRequestModificationProtectionConfig struct {
	// The reason for enabling the configuration read-only mode. The reason must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The reason must start with a letter.
	//
	// > This parameter takes effect only if `Status` is set to **ConsoleProtection**.
	Reason *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
	// Specifies whether to enable the configuration read-only mode. Valid values:
	//
	// *   **NonProtection**: disables the configuration read-only mode. In this case, you cannot specify ModificationProtectionReason. If you specify ModificationProtectionReason, the value of the parameter is cleared.
	// *   **ConsoleProtection**: enables the configuration read-only mode. In this case, you can specify ModificationProtectionReason.
	//
	// > If you set this parameter to **ConsoleProtection**, you cannot use the ALB console to modify instance configurations. However, you can call API operations to modify instance configurations.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (CreateLoadBalancerRequestModificationProtectionConfig) GoString

func (*CreateLoadBalancerRequestModificationProtectionConfig) SetReason

func (*CreateLoadBalancerRequestModificationProtectionConfig) SetStatus

func (CreateLoadBalancerRequestModificationProtectionConfig) String

type CreateLoadBalancerRequestTag added in v2.0.5

type CreateLoadBalancerRequestTag struct {
	// The tag key can be up to 128 characters in length, and cannot start with acs: or aliyun. It cannot contain http:// or https://.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value can be up to 128 characters in length, and cannot start with acs: or aliyun. It cannot contain http:// or https://.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateLoadBalancerRequestTag) GoString added in v2.0.5

func (s CreateLoadBalancerRequestTag) GoString() string

func (*CreateLoadBalancerRequestTag) SetKey added in v2.0.5

func (*CreateLoadBalancerRequestTag) SetValue added in v2.0.5

func (CreateLoadBalancerRequestTag) String added in v2.0.5

type CreateLoadBalancerRequestZoneMappings

type CreateLoadBalancerRequestZoneMappings struct {
	// 公网实例绑定的EIP实例ID。至少需要添加2个可用区,最多支持添加10个可用区。
	AllocationId *string `json:"AllocationId,omitempty" xml:"AllocationId,omitempty"`
	// The private IPv4 address. You must add at least two zones. You can add a maximum of 10 zones.
	IntranetAddress *string `json:"IntranetAddress,omitempty" xml:"IntranetAddress,omitempty"`
	// The vSwitch in the zone. You can specify only one vSwitch (subnet) in each zone of an ALB instance. You can specify up to 10 zones.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID of the ALB instance. You can specify up to 10 zones for an ALB instance.
	//
	// You can call the [DescribeZones](~~36064~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateLoadBalancerRequestZoneMappings) GoString

func (*CreateLoadBalancerRequestZoneMappings) SetAllocationId added in v2.1.1

func (*CreateLoadBalancerRequestZoneMappings) SetIntranetAddress added in v2.1.0

func (*CreateLoadBalancerRequestZoneMappings) SetVSwitchId

func (*CreateLoadBalancerRequestZoneMappings) SetZoneId

func (CreateLoadBalancerRequestZoneMappings) String

type CreateLoadBalancerResponse

type CreateLoadBalancerResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateLoadBalancerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateLoadBalancerResponse) GoString

func (s CreateLoadBalancerResponse) GoString() string

func (*CreateLoadBalancerResponse) SetBody

func (*CreateLoadBalancerResponse) SetHeaders

func (*CreateLoadBalancerResponse) SetStatusCode

func (CreateLoadBalancerResponse) String

type CreateLoadBalancerResponseBody

type CreateLoadBalancerResponseBody struct {
	// The ID of the ALB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateLoadBalancerResponseBody) GoString

func (*CreateLoadBalancerResponseBody) SetLoadBalancerId

func (*CreateLoadBalancerResponseBody) SetRequestId

func (CreateLoadBalancerResponseBody) String

type CreateRuleRequest

type CreateRuleRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The direction to which the forwarding rule is applied. Valid values:
	//
	// *   **Request** (default): The forwarding rule is applied to the requests received by ALB.
	// *   **Response**: The forwarding rule is applied to the responses returned by backend servers.
	//
	// > Basic ALB instances do not support the **Response** value.
	Direction *string `json:"Direction,omitempty" xml:"Direction,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The listener ID of the ALB instance.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The priority of the forwarding rule. Valid values: **1 to 10000**. A smaller value indicates a higher priority.
	//
	// > The priorities of the forwarding rules created for the same listener must be unique.
	Priority *int32 `json:"Priority,omitempty" xml:"Priority,omitempty"`
	// The maximum cache time of dry run requests in the browser. Unit: seconds.
	//
	// Valid values: **-1** to **172800**.
	RuleActions []*CreateRuleRequestRuleActions `json:"RuleActions,omitempty" xml:"RuleActions,omitempty" type:"Repeated"`
	// The configuration of the source IP-based forwarding rule.
	RuleConditions []*CreateRuleRequestRuleConditions `json:"RuleConditions,omitempty" xml:"RuleConditions,omitempty" type:"Repeated"`
	// The name of the forwarding rule.
	//
	// *   The name must be 2 to 128 characters in length.
	// *   It can contain letters, digits, periods (.), underscores (\_), and hyphens (-). It must start with a letter.
	RuleName *string                 `json:"RuleName,omitempty" xml:"RuleName,omitempty"`
	Tag      []*CreateRuleRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (CreateRuleRequest) GoString

func (s CreateRuleRequest) GoString() string

func (*CreateRuleRequest) SetClientToken

func (s *CreateRuleRequest) SetClientToken(v string) *CreateRuleRequest

func (*CreateRuleRequest) SetDirection added in v2.0.2

func (s *CreateRuleRequest) SetDirection(v string) *CreateRuleRequest

func (*CreateRuleRequest) SetDryRun

func (s *CreateRuleRequest) SetDryRun(v bool) *CreateRuleRequest

func (*CreateRuleRequest) SetListenerId

func (s *CreateRuleRequest) SetListenerId(v string) *CreateRuleRequest

func (*CreateRuleRequest) SetPriority

func (s *CreateRuleRequest) SetPriority(v int32) *CreateRuleRequest

func (*CreateRuleRequest) SetRuleActions

func (*CreateRuleRequest) SetRuleConditions

func (*CreateRuleRequest) SetRuleName

func (s *CreateRuleRequest) SetRuleName(v string) *CreateRuleRequest

func (*CreateRuleRequest) SetTag added in v2.0.5

func (CreateRuleRequest) String

func (s CreateRuleRequest) String() string

type CreateRuleRequestRuleActions

type CreateRuleRequestRuleActions struct {
	// The origins allowed.
	CorsConfig *CreateRuleRequestRuleActionsCorsConfig `json:"CorsConfig,omitempty" xml:"CorsConfig,omitempty" type:"Struct"`
	// The configuration of the custom response.
	FixedResponseConfig *CreateRuleRequestRuleActionsFixedResponseConfig `json:"FixedResponseConfig,omitempty" xml:"FixedResponseConfig,omitempty" type:"Struct"`
	// The server groups to which requests are distributed. Each forwarding rule supports at most five server groups.
	ForwardGroupConfig *CreateRuleRequestRuleActionsForwardGroupConfig `json:"ForwardGroupConfig,omitempty" xml:"ForwardGroupConfig,omitempty" type:"Struct"`
	// The configuration of the header to be inserted.
	InsertHeaderConfig *CreateRuleRequestRuleActionsInsertHeaderConfig `json:"InsertHeaderConfig,omitempty" xml:"InsertHeaderConfig,omitempty" type:"Struct"`
	// The priority of the action. Valid values: **1 to 50000**. A smaller value indicates a higher priority. The actions of a forwarding rule are applied in descending order of priority. This parameter is required. The priority of each action within a forwarding rule must be unique.
	Order *int32 `json:"Order,omitempty" xml:"Order,omitempty"`
	// The redirect configuration.
	//
	// > When you configure the **RedirectConfig** action, you can use the default value only for the **httpCode** parameter. Do not use the default values for the other parameters.
	RedirectConfig     *CreateRuleRequestRuleActionsRedirectConfig     `json:"RedirectConfig,omitempty" xml:"RedirectConfig,omitempty" type:"Struct"`
	RemoveHeaderConfig *CreateRuleRequestRuleActionsRemoveHeaderConfig `json:"RemoveHeaderConfig,omitempty" xml:"RemoveHeaderConfig,omitempty" type:"Struct"`
	// The rewrite configuration.
	//
	// > If multiple actions are configured within a forwarding rule, you must set **RewriteConfig** to the value of **ForwardGroup**.
	RewriteConfig *CreateRuleRequestRuleActionsRewriteConfig `json:"RewriteConfig,omitempty" xml:"RewriteConfig,omitempty" type:"Struct"`
	// The action to throttle traffic.
	TrafficLimitConfig *CreateRuleRequestRuleActionsTrafficLimitConfig `json:"TrafficLimitConfig,omitempty" xml:"TrafficLimitConfig,omitempty" type:"Struct"`
	// The action to mirror traffic.
	TrafficMirrorConfig *CreateRuleRequestRuleActionsTrafficMirrorConfig `json:"TrafficMirrorConfig,omitempty" xml:"TrafficMirrorConfig,omitempty" type:"Struct"`
	// The action type. Valid values:
	//
	// *   **ForwardGroup**: forwards a request to multiple vServer groups.
	// *   **Redirect**: redirects a request.
	// *   **FixedResponse**: returns a custom response.
	// *   **Rewrite**: rewrites a request.
	// *   **InsertHeader**: inserts a header.
	// *   **RemoveHeaderConfig**: deletes a header.
	// *   **TrafficLimitConfig**: throttles network traffic.
	// *   **TrafficMirrorConfig**: mirrors traffic.
	// *   **CorsConfig**: forwards requests based on CORS.
	//
	// The following action types are supported:
	//
	// *   **FinalType**: the last action to be performed in a forwarding rule. Each forwarding rule can contain only one FinalType action. You can specify the **ForwardGroup**, **Redirect**, or **FixedResponse** action as the FinalType action.
	// *   **ExtType**: the action or the actions to be performed before the **FinalType** action. A forwarding rule can contain one or more **ExtType** actions. To specify this parameter, you must also specify **FinalType**. You can specify multiple **InsertHeader** actions or one **Rewrite** action.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (CreateRuleRequestRuleActions) GoString

func (s CreateRuleRequestRuleActions) GoString() string

func (*CreateRuleRequestRuleActions) SetCorsConfig added in v2.0.1

func (*CreateRuleRequestRuleActions) SetOrder

func (*CreateRuleRequestRuleActions) SetRemoveHeaderConfig added in v2.1.3

func (*CreateRuleRequestRuleActions) SetType

func (CreateRuleRequestRuleActions) String

type CreateRuleRequestRuleActionsCorsConfig added in v2.0.1

type CreateRuleRequestRuleActionsCorsConfig struct {
	// Specifies whether credentials can be carried in CORS requests. Valid values:
	//
	// *   **on**: yes
	// *   **off**: no
	AllowCredentials *string `json:"AllowCredentials,omitempty" xml:"AllowCredentials,omitempty"`
	// The allowed headers for CORS requests.
	AllowHeaders []*string `json:"AllowHeaders,omitempty" xml:"AllowHeaders,omitempty" type:"Repeated"`
	// The allowed HTTP methods for CORS requests.
	AllowMethods []*string `json:"AllowMethods,omitempty" xml:"AllowMethods,omitempty" type:"Repeated"`
	// The allowed origins of CORS requests.
	AllowOrigin []*string `json:"AllowOrigin,omitempty" xml:"AllowOrigin,omitempty" type:"Repeated"`
	// The headers that can be exposed.
	ExposeHeaders []*string `json:"ExposeHeaders,omitempty" xml:"ExposeHeaders,omitempty" type:"Repeated"`
	// The maximum cache time of dry run requests in the browser. Unit: seconds.
	//
	// Valid values: **-1** to **172800**.
	MaxAge *int64 `json:"MaxAge,omitempty" xml:"MaxAge,omitempty"`
}

func (CreateRuleRequestRuleActionsCorsConfig) GoString added in v2.0.1

func (*CreateRuleRequestRuleActionsCorsConfig) SetAllowCredentials added in v2.0.1

func (*CreateRuleRequestRuleActionsCorsConfig) SetAllowHeaders added in v2.0.1

func (*CreateRuleRequestRuleActionsCorsConfig) SetAllowMethods added in v2.0.1

func (*CreateRuleRequestRuleActionsCorsConfig) SetAllowOrigin added in v2.0.1

func (*CreateRuleRequestRuleActionsCorsConfig) SetExposeHeaders added in v2.0.1

func (*CreateRuleRequestRuleActionsCorsConfig) SetMaxAge added in v2.0.1

func (CreateRuleRequestRuleActionsCorsConfig) String added in v2.0.1

type CreateRuleRequestRuleActionsFixedResponseConfig

type CreateRuleRequestRuleActionsFixedResponseConfig struct {
	// The content of the custom response. The content can be up to 1 KB in size and can contain only ASCII characters.
	Content *string `json:"Content,omitempty" xml:"Content,omitempty"`
	// The format of the response.
	//
	// Valid values: **text/plain**, **text/css**, **text/html**, **application/javascript**, and **application/json**.
	ContentType *string `json:"ContentType,omitempty" xml:"ContentType,omitempty"`
	// The HTTP status code in the response. Valid values: **HTTP\_2xx**, **HTTP\_4xx**, and **HTTP\_5xx**. **x** must be a digit.
	HttpCode *string `json:"HttpCode,omitempty" xml:"HttpCode,omitempty"`
}

func (CreateRuleRequestRuleActionsFixedResponseConfig) GoString

func (*CreateRuleRequestRuleActionsFixedResponseConfig) SetContent

func (*CreateRuleRequestRuleActionsFixedResponseConfig) SetContentType

func (*CreateRuleRequestRuleActionsFixedResponseConfig) SetHttpCode

func (CreateRuleRequestRuleActionsFixedResponseConfig) String

type CreateRuleRequestRuleActionsForwardGroupConfig

type CreateRuleRequestRuleActionsForwardGroupConfig struct {
	// The configuration of session persistence for server groups.
	ServerGroupStickySession *CreateRuleRequestRuleActionsForwardGroupConfigServerGroupStickySession `json:"ServerGroupStickySession,omitempty" xml:"ServerGroupStickySession,omitempty" type:"Struct"`
	// The server groups to which requests are distributed. Each forwarding rule supports at most five server groups.
	ServerGroupTuples []*CreateRuleRequestRuleActionsForwardGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (CreateRuleRequestRuleActionsForwardGroupConfig) GoString

func (CreateRuleRequestRuleActionsForwardGroupConfig) String

type CreateRuleRequestRuleActionsForwardGroupConfigServerGroupStickySession

type CreateRuleRequestRuleActionsForwardGroupConfigServerGroupStickySession struct {
	// Specifies whether to enable session persistence. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The timeout period of sessions. Unit: seconds. Valid values: **1** to **86400**. Default value: **1000**.
	Timeout *int32 `json:"Timeout,omitempty" xml:"Timeout,omitempty"`
}

func (CreateRuleRequestRuleActionsForwardGroupConfigServerGroupStickySession) GoString

func (*CreateRuleRequestRuleActionsForwardGroupConfigServerGroupStickySession) SetEnabled

func (*CreateRuleRequestRuleActionsForwardGroupConfigServerGroupStickySession) SetTimeout

func (CreateRuleRequestRuleActionsForwardGroupConfigServerGroupStickySession) String

type CreateRuleRequestRuleActionsForwardGroupConfigServerGroupTuples

type CreateRuleRequestRuleActionsForwardGroupConfigServerGroupTuples struct {
	// The server group to which requests are distributed.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The weight of the server group. A larger value specifies a higher weight. A server group with a higher weight receives more requests. Valid values: **0** to **100**.
	//
	// *   If only one destination server group exists and you do not specify a weight, the default value **100** is used.
	// *   If more than one destination server group exists, you must specify weights.
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (CreateRuleRequestRuleActionsForwardGroupConfigServerGroupTuples) GoString

func (*CreateRuleRequestRuleActionsForwardGroupConfigServerGroupTuples) SetServerGroupId

func (*CreateRuleRequestRuleActionsForwardGroupConfigServerGroupTuples) SetWeight

func (CreateRuleRequestRuleActionsForwardGroupConfigServerGroupTuples) String

type CreateRuleRequestRuleActionsInsertHeaderConfig

type CreateRuleRequestRuleActionsInsertHeaderConfig struct {
	// The key of the header. The key must be 1 to 40 characters in length, and can contain letters, digits, underscores (\_), and hyphens (-). The header key specified by **InsertHeaderConfig** must be unique.
	//
	// > You cannot specify the following header keys (case-insensitive): `slb-id`, `slb-ip`, `x-forwarded-for`, `x-forwarded-proto`, `x-forwarded-eip`, `x-forwarded-port`, `x-forwarded-client-srcport`, `connection`, `upgrade`, `content-length`, `transfer-encoding`, `keep-alive`, `te`, `host`, `cookie`, `remoteip`, and `authority`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the header to be inserted.
	//
	// *   If **ValueType** is set to **SystemDefined**, you can specify one of the following header values:
	//
	//     *   **ClientSrcPort**: the client port.
	//     *   **ClientSrcIp**: the client IP address.
	//     *   **Protocol**: the request protocol (HTTP or HTTPS).
	//     *   **SLBId**: the ID of the ALB instance.
	//     *   **SLBPort**: the listening port.
	//
	// *   If **ValueType** is set to **UserDefined**, you can specify a custom header value. The header value must be 1 to 128 characters in length, and can contain printable characters whose ASCII values are `greater than or equal to 32 and lower than 127`. You can use asterisks (\*) and question marks (?) as wildcards. The value cannot start or end with a space character.
	//
	// *   If **ValueType** is set to **ReferenceHeader**, you can reference one of the request headers. The header value must be 1 to 128 characters in length, and can contain lowercase letters, digits, underscores (\_), and hyphens (-).
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
	// The type of header. Valid values:
	//
	// *   **UserDefined**: a custom header
	// *   **ReferenceHeader**: a header that references one of the request headers
	// *   **SystemDefined**: a header predefined by the system
	ValueType *string `json:"ValueType,omitempty" xml:"ValueType,omitempty"`
}

func (CreateRuleRequestRuleActionsInsertHeaderConfig) GoString

func (*CreateRuleRequestRuleActionsInsertHeaderConfig) SetKey

func (*CreateRuleRequestRuleActionsInsertHeaderConfig) SetValue

func (*CreateRuleRequestRuleActionsInsertHeaderConfig) SetValueType

func (CreateRuleRequestRuleActionsInsertHeaderConfig) String

type CreateRuleRequestRuleActionsRedirectConfig

type CreateRuleRequestRuleActionsRedirectConfig struct {
	// The hostname to which requests are redirected. Valid values:
	//
	// *   **${host}** (default): If you set the value to ${host}, you cannot append other characters.
	//
	// *   A custom value. Make sure that the custom value meets the following requirements:
	//
	//     *   The hostname must be 3 to 128 characters in length, and can contain lowercase letters, digits, and the following special characters: - . \* = ~ \_ + \ ^ ! $ & | ( ) \[ ] ?.
	//     *   The hostname must contain at least one period (.) but cannot start or end with a period (.).
	//     *   The rightmost domain label can contain only letters and wildcards, and cannot contain digits or hyphens (-). The leftmost `domain label` can be an asterisk (\*).
	//     *   The domain labels cannot start or end with a hyphen (-).
	//     *   You can use asterisks (\*) and question marks (?) anywhere in a domain label as wildcard characters.
	Host *string `json:"Host,omitempty" xml:"Host,omitempty"`
	// The redirect type. Valid values: **301**, **302**, **303**, **307**, and **308**.
	HttpCode *string `json:"HttpCode,omitempty" xml:"HttpCode,omitempty"`
	// The path to which requests are redirected. Valid values:
	//
	// *   Default value: **${path}**. \*\*${host}**, **${protocol}**, and **${port}\*\* are also supported. Each variable can be specified only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.
	//
	// *   A custom value. You must make sure that the custom value meets the following requirements:
	//
	//     *   The value must be 1 to 128 characters in length, and can contain asterisks (\*) and question marks (?) as wildcards. The value is case-sensitive.
	//     *   It must start with a forward slash (/) and can contain letters, digits, and the following special characters: `$ - _ .+ / & ~ @ :`. It cannot contain the following special characters: `" % # ; ! ( ) [ ] ^ , "`. You can use asterisks (\*) and question marks (?) as wildcard characters.
	Path *string `json:"Path,omitempty" xml:"Path,omitempty"`
	// The port to which requests are redirected.
	//
	// *   **${port}** (default): If you set the value to ${port}, you cannot add other characters to the value.
	// *   You can also enter a port number. Valid values: **1 to 63335**.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The redirect protocol. Valid values:
	//
	// *   **${protocol}** (default): If you set the value to ${protocol}, you cannot add other characters to the value.
	// *   **HTTP** or **HTTPS**.
	//
	// > HTTPS listeners support only HTTPS to HTTPS redirects.
	Protocol *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
	// The query string of the URL to which requests are redirected.
	//
	// *   Default value: **${query}**. \*\*${host}**, **${protocol}**, and **${port}\*\* are also supported. Each variable can be specified only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.
	//
	// *   A custom value. You must make sure that the custom value meets the following requirements:
	//
	//     *   The value must be 1 to 128 characters in length.
	//     *   It can contain printable characters, except space characters, the special characters `# [ ] { } \ | < > &`, and uppercase letters.
	Query *string `json:"Query,omitempty" xml:"Query,omitempty"`
}

func (CreateRuleRequestRuleActionsRedirectConfig) GoString

func (*CreateRuleRequestRuleActionsRedirectConfig) SetHost

func (*CreateRuleRequestRuleActionsRedirectConfig) SetHttpCode

func (*CreateRuleRequestRuleActionsRedirectConfig) SetPath

func (*CreateRuleRequestRuleActionsRedirectConfig) SetPort

func (*CreateRuleRequestRuleActionsRedirectConfig) SetProtocol

func (*CreateRuleRequestRuleActionsRedirectConfig) SetQuery

func (CreateRuleRequestRuleActionsRedirectConfig) String

type CreateRuleRequestRuleActionsRemoveHeaderConfig added in v2.1.3

type CreateRuleRequestRuleActionsRemoveHeaderConfig struct {
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
}

func (CreateRuleRequestRuleActionsRemoveHeaderConfig) GoString added in v2.1.3

func (*CreateRuleRequestRuleActionsRemoveHeaderConfig) SetKey added in v2.1.3

func (CreateRuleRequestRuleActionsRemoveHeaderConfig) String added in v2.1.3

type CreateRuleRequestRuleActionsRewriteConfig

type CreateRuleRequestRuleActionsRewriteConfig struct {
	// The hostname to which requests are redirected. Valid values:
	//
	// *   **${host}** (default): If you set the value to ${host}, you cannot append other characters.
	//
	// *   If you want to specify a custom value, make sure that the following requirements are met:
	//
	//     *   The hostname must be 3 to 128 characters in length, and can contain lowercase letters, digits, and the following special characters: - . \* = ~ \_ + \ ^ ! $ & | ( ) \[ ] ?.
	//     *   The hostname must contain at least one period (.) but cannot start or end with a period (.).
	//     *   The rightmost domain label can contain only letters and wildcards, and cannot contain digits or hyphens (-). The leftmost `domain label` can be an asterisk (\*).
	//     *   The domain labels cannot start or end with a hyphen (-). You can use asterisks (\*) and question marks (?) anywhere in a domain label as wildcard characters.
	Host *string `json:"Host,omitempty" xml:"Host,omitempty"`
	// The path to which requests are redirected. Valid values:
	//
	// *   Default value: **${path}**. \*\*${host}**, **${protocol}**, and **${port}\*\* are also supported. Each variable can be specified only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.
	//
	// *   A custom value. You must make sure that the custom value meets the following requirements:
	//
	//     *   The value must be 1 to 128 characters in length, and can contain asterisks (\*) and question marks (?) as wildcards. The value is case-sensitive.
	//     *   It must start with a forward slash (/) and can contain letters, digits, and the following special characters: `$ - _ .+ / & ~ @ :`. It cannot contain the following special characters: `" % # ; ! ( ) [ ] ^ , "`. You can use asterisks (\*) and question marks (?) as wildcard characters.
	Path *string `json:"Path,omitempty" xml:"Path,omitempty"`
	// The query string of the URL to which requests are redirected.
	//
	// *   Default value: **${query}**. \*\*${host}**, **${protocol}**, and **${port}\*\* are also supported. Each variable can be specified only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.
	//
	// *   A custom value. You must make sure that the custom value meets the following requirements:
	//
	//     *   The value must be 1 to 128 characters in length.
	//     *   It can contain printable characters, except space characters, the special characters `# [ ] { } \ | < > &`, and uppercase letters.
	Query *string `json:"Query,omitempty" xml:"Query,omitempty"`
}

func (CreateRuleRequestRuleActionsRewriteConfig) GoString

func (*CreateRuleRequestRuleActionsRewriteConfig) SetHost

func (*CreateRuleRequestRuleActionsRewriteConfig) SetPath

func (*CreateRuleRequestRuleActionsRewriteConfig) SetQuery

func (CreateRuleRequestRuleActionsRewriteConfig) String

type CreateRuleRequestRuleActionsTrafficLimitConfig

type CreateRuleRequestRuleActionsTrafficLimitConfig struct {
	// The QPS of each IP address. Valid values: **1 to 100000**.
	//
	// > If both the **QPS** and **PerIpQps** properties are specified, make sure that the value of the **QPS** property is smaller than the value of the PerIpQps property.
	PerIpQps *int32 `json:"PerIpQps,omitempty" xml:"PerIpQps,omitempty"`
	// The queries per second (QPS). Valid values: **1 to 100000**.
	QPS *int32 `json:"QPS,omitempty" xml:"QPS,omitempty"`
}

func (CreateRuleRequestRuleActionsTrafficLimitConfig) GoString

func (*CreateRuleRequestRuleActionsTrafficLimitConfig) SetPerIpQps

func (*CreateRuleRequestRuleActionsTrafficLimitConfig) SetQPS

func (CreateRuleRequestRuleActionsTrafficLimitConfig) String

type CreateRuleRequestRuleActionsTrafficMirrorConfig

type CreateRuleRequestRuleActionsTrafficMirrorConfig struct {
	// The configuration of the server group to which traffic is mirrored.
	MirrorGroupConfig *CreateRuleRequestRuleActionsTrafficMirrorConfigMirrorGroupConfig `json:"MirrorGroupConfig,omitempty" xml:"MirrorGroupConfig,omitempty" type:"Struct"`
	// The type of destination to which network traffic is mirrored. Valid values:
	//
	// *   **ForwardGroupMirror**: a server group
	// *   **SlsMirror**: Log Service
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (CreateRuleRequestRuleActionsTrafficMirrorConfig) GoString

func (*CreateRuleRequestRuleActionsTrafficMirrorConfig) SetTargetType

func (CreateRuleRequestRuleActionsTrafficMirrorConfig) String

type CreateRuleRequestRuleActionsTrafficMirrorConfigMirrorGroupConfig

type CreateRuleRequestRuleActionsTrafficMirrorConfigMirrorGroupConfig struct {
	// The configuration of the server group to which traffic is mirrored.
	ServerGroupTuples []*CreateRuleRequestRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (CreateRuleRequestRuleActionsTrafficMirrorConfigMirrorGroupConfig) GoString

func (CreateRuleRequestRuleActionsTrafficMirrorConfigMirrorGroupConfig) String

type CreateRuleRequestRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples

type CreateRuleRequestRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples struct {
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (CreateRuleRequestRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) GoString

func (*CreateRuleRequestRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) SetServerGroupId

func (CreateRuleRequestRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) String

type CreateRuleRequestRuleConditions

type CreateRuleRequestRuleConditions struct {
	// The configurations of the cookies.
	CookieConfig *CreateRuleRequestRuleConditionsCookieConfig `json:"CookieConfig,omitempty" xml:"CookieConfig,omitempty" type:"Struct"`
	// The configuration of the header.
	HeaderConfig *CreateRuleRequestRuleConditionsHeaderConfig `json:"HeaderConfig,omitempty" xml:"HeaderConfig,omitempty" type:"Struct"`
	// The configurations of the host.
	HostConfig *CreateRuleRequestRuleConditionsHostConfig `json:"HostConfig,omitempty" xml:"HostConfig,omitempty" type:"Struct"`
	// The configurations of the request methods.
	MethodConfig *CreateRuleRequestRuleConditionsMethodConfig `json:"MethodConfig,omitempty" xml:"MethodConfig,omitempty" type:"Struct"`
	// The configurations of the URLs.
	PathConfig *CreateRuleRequestRuleConditionsPathConfig `json:"PathConfig,omitempty" xml:"PathConfig,omitempty" type:"Struct"`
	// The configurations of the query strings.
	QueryStringConfig        *CreateRuleRequestRuleConditionsQueryStringConfig        `json:"QueryStringConfig,omitempty" xml:"QueryStringConfig,omitempty" type:"Struct"`
	ResponseHeaderConfig     *CreateRuleRequestRuleConditionsResponseHeaderConfig     `json:"ResponseHeaderConfig,omitempty" xml:"ResponseHeaderConfig,omitempty" type:"Struct"`
	ResponseStatusCodeConfig *CreateRuleRequestRuleConditionsResponseStatusCodeConfig `json:"ResponseStatusCodeConfig,omitempty" xml:"ResponseStatusCodeConfig,omitempty" type:"Struct"`
	// The configuration of the source IP-based forwarding rule. This parameter is required and takes effect only when **Type** is set to **SourceIP**.
	SourceIpConfig *CreateRuleRequestRuleConditionsSourceIpConfig `json:"SourceIpConfig,omitempty" xml:"SourceIpConfig,omitempty" type:"Struct"`
	// The type of forwarding rule. Valid values:
	//
	// *   **Host**: Requests are distributed based on hosts.
	// *   **Path**: Requests are distributed based on paths.
	// *   **Header**: Requests are distributed based on HTTP headers.
	// *   **QueryString**: Requests are distributed based on query strings.
	// *   **Method**: Requests are distributed based on request methods.
	// *   **Cookie**: Requests are distributed based on cookies.
	// *   **SourceIp**: Requests are distributed based on source IP addresses.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (CreateRuleRequestRuleConditions) GoString

func (*CreateRuleRequestRuleConditions) SetResponseHeaderConfig added in v2.1.3

func (*CreateRuleRequestRuleConditions) SetResponseStatusCodeConfig added in v2.1.3

func (*CreateRuleRequestRuleConditions) SetType

func (CreateRuleRequestRuleConditions) String

type CreateRuleRequestRuleConditionsCookieConfig

type CreateRuleRequestRuleConditionsCookieConfig struct {
	// The cookie values.
	Values []*CreateRuleRequestRuleConditionsCookieConfigValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRuleRequestRuleConditionsCookieConfig) GoString

func (CreateRuleRequestRuleConditionsCookieConfig) String

type CreateRuleRequestRuleConditionsCookieConfigValues

type CreateRuleRequestRuleConditionsCookieConfigValues struct {
	// The key of the cookie.
	//
	// *   The key must be 1 to 100 characters in length.
	// *   You can use asterisks (\*) and question marks (?) as wildcard characters.
	// *   The key can contain printable characters, except uppercase letters, space characters, and the following special characters: `; # [ ] { } \ | < > &`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the cookie.
	//
	// *   The value must be 1 to 100 characters in length.
	// *   You can use asterisks (\*) and question marks (?) as wildcard characters.
	// *   The value can contain printable characters, except uppercase letters, space characters, and the following special characters: `; # [ ] { } \ | < > &`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateRuleRequestRuleConditionsCookieConfigValues) GoString

func (*CreateRuleRequestRuleConditionsCookieConfigValues) SetKey

func (*CreateRuleRequestRuleConditionsCookieConfigValues) SetValue

func (CreateRuleRequestRuleConditionsCookieConfigValues) String

type CreateRuleRequestRuleConditionsHeaderConfig

type CreateRuleRequestRuleConditionsHeaderConfig struct {
	// The key of the header.
	//
	// *   The key must be 1 to 40 characters in length.
	// *   It can contain lowercase letters, digits, hyphens (-), and underscores (\_).
	// *   Cookie and Host are not supported.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the header.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRuleRequestRuleConditionsHeaderConfig) GoString

func (*CreateRuleRequestRuleConditionsHeaderConfig) SetKey

func (*CreateRuleRequestRuleConditionsHeaderConfig) SetValues

func (CreateRuleRequestRuleConditionsHeaderConfig) String

type CreateRuleRequestRuleConditionsHostConfig

type CreateRuleRequestRuleConditionsHostConfig struct {
	// The hostname.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRuleRequestRuleConditionsHostConfig) GoString

func (*CreateRuleRequestRuleConditionsHostConfig) SetValues

func (CreateRuleRequestRuleConditionsHostConfig) String

type CreateRuleRequestRuleConditionsMethodConfig

type CreateRuleRequestRuleConditionsMethodConfig struct {
	// The request methods.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRuleRequestRuleConditionsMethodConfig) GoString

func (*CreateRuleRequestRuleConditionsMethodConfig) SetValues

func (CreateRuleRequestRuleConditionsMethodConfig) String

type CreateRuleRequestRuleConditionsPathConfig

type CreateRuleRequestRuleConditionsPathConfig struct {
	// The path.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRuleRequestRuleConditionsPathConfig) GoString

func (*CreateRuleRequestRuleConditionsPathConfig) SetValues

func (CreateRuleRequestRuleConditionsPathConfig) String

type CreateRuleRequestRuleConditionsQueryStringConfig

type CreateRuleRequestRuleConditionsQueryStringConfig struct {
	// The query strings.
	Values []*CreateRuleRequestRuleConditionsQueryStringConfigValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRuleRequestRuleConditionsQueryStringConfig) GoString

func (CreateRuleRequestRuleConditionsQueryStringConfig) String

type CreateRuleRequestRuleConditionsQueryStringConfigValues

type CreateRuleRequestRuleConditionsQueryStringConfigValues struct {
	// The key of the query string.
	//
	// *   The key must be 1 to 100 characters in length.
	// *   You can use asterisks (\*) and question marks (?) as wildcards. The key can contain printable characters, except uppercase letters, space characters, and the following special characters: `# [ ] { } \ | < > &`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the query string.
	//
	// *   The value must be 1 to 128 characters in length.
	// *   It can contain printable characters, except uppercase letters, space characters, and the following special characters: `# [ ] { } \ | < > &`. You can use asterisks (\*) and question marks (?) as wildcard characters.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateRuleRequestRuleConditionsQueryStringConfigValues) GoString

func (*CreateRuleRequestRuleConditionsQueryStringConfigValues) SetKey

func (*CreateRuleRequestRuleConditionsQueryStringConfigValues) SetValue

func (CreateRuleRequestRuleConditionsQueryStringConfigValues) String

type CreateRuleRequestRuleConditionsResponseHeaderConfig added in v2.1.3

type CreateRuleRequestRuleConditionsResponseHeaderConfig struct {
	Key    *string   `json:"Key,omitempty" xml:"Key,omitempty"`
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRuleRequestRuleConditionsResponseHeaderConfig) GoString added in v2.1.3

func (*CreateRuleRequestRuleConditionsResponseHeaderConfig) SetKey added in v2.1.3

func (*CreateRuleRequestRuleConditionsResponseHeaderConfig) SetValues added in v2.1.3

func (CreateRuleRequestRuleConditionsResponseHeaderConfig) String added in v2.1.3

type CreateRuleRequestRuleConditionsResponseStatusCodeConfig added in v2.1.3

type CreateRuleRequestRuleConditionsResponseStatusCodeConfig struct {
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRuleRequestRuleConditionsResponseStatusCodeConfig) GoString added in v2.1.3

func (*CreateRuleRequestRuleConditionsResponseStatusCodeConfig) SetValues added in v2.1.3

func (CreateRuleRequestRuleConditionsResponseStatusCodeConfig) String added in v2.1.3

type CreateRuleRequestRuleConditionsSourceIpConfig

type CreateRuleRequestRuleConditionsSourceIpConfig struct {
	// The configuration of the source IP-based forwarding rule.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRuleRequestRuleConditionsSourceIpConfig) GoString

func (*CreateRuleRequestRuleConditionsSourceIpConfig) SetValues

func (CreateRuleRequestRuleConditionsSourceIpConfig) String

type CreateRuleRequestTag added in v2.0.5

type CreateRuleRequestTag struct {
	Key   *string `json:"Key,omitempty" xml:"Key,omitempty"`
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateRuleRequestTag) GoString added in v2.0.5

func (s CreateRuleRequestTag) GoString() string

func (*CreateRuleRequestTag) SetKey added in v2.0.5

func (*CreateRuleRequestTag) SetValue added in v2.0.5

func (CreateRuleRequestTag) String added in v2.0.5

func (s CreateRuleRequestTag) String() string

type CreateRuleResponse

type CreateRuleResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateRuleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateRuleResponse) GoString

func (s CreateRuleResponse) GoString() string

func (*CreateRuleResponse) SetBody

func (*CreateRuleResponse) SetHeaders

func (s *CreateRuleResponse) SetHeaders(v map[string]*string) *CreateRuleResponse

func (*CreateRuleResponse) SetStatusCode

func (s *CreateRuleResponse) SetStatusCode(v int32) *CreateRuleResponse

func (CreateRuleResponse) String

func (s CreateRuleResponse) String() string

type CreateRuleResponseBody

type CreateRuleResponseBody struct {
	// The ID of the asynchronous task.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The forwarding rule ID.
	RuleId *string `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
}

func (CreateRuleResponseBody) GoString

func (s CreateRuleResponseBody) GoString() string

func (*CreateRuleResponseBody) SetJobId

func (*CreateRuleResponseBody) SetRequestId

func (*CreateRuleResponseBody) SetRuleId

func (CreateRuleResponseBody) String

func (s CreateRuleResponseBody) String() string

type CreateRulesRequest

type CreateRulesRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and sends the request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The listener ID of the ALB instance.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The forwarding rules. You can specify at most 10 forwarding rules in each call.
	Rules []*CreateRulesRequestRules `json:"Rules,omitempty" xml:"Rules,omitempty" type:"Repeated"`
}

func (CreateRulesRequest) GoString

func (s CreateRulesRequest) GoString() string

func (*CreateRulesRequest) SetClientToken

func (s *CreateRulesRequest) SetClientToken(v string) *CreateRulesRequest

func (*CreateRulesRequest) SetDryRun

func (s *CreateRulesRequest) SetDryRun(v bool) *CreateRulesRequest

func (*CreateRulesRequest) SetListenerId

func (s *CreateRulesRequest) SetListenerId(v string) *CreateRulesRequest

func (*CreateRulesRequest) SetRules

func (CreateRulesRequest) String

func (s CreateRulesRequest) String() string

type CreateRulesRequestRules

type CreateRulesRequestRules struct {
	// The direction to which the forwarding rule is applied. You can specify only one direction. Valid values:
	//
	// *   **Request** (default): The forwarding rule is applied to the client requests received by ALB.
	// *   **Response**: The forwarding rule is applied to the responses returned by backend servers.
	//
	// >  Basic ALB instances do not support forwarding rules of the **Response** type.
	Direction *string `json:"Direction,omitempty" xml:"Direction,omitempty"`
	// The priority of the forwarding rule. Valid values: **1** to **10000**. A lower value specifies a higher priority. You can specify priorities for at most 10 forwarding rules.
	//
	// >  The priority of each forwarding rule added to a listener must be unique.
	Priority *int32 `json:"Priority,omitempty" xml:"Priority,omitempty"`
	// The actions of the forwarding rule.
	RuleActions []*CreateRulesRequestRulesRuleActions `json:"RuleActions,omitempty" xml:"RuleActions,omitempty" type:"Repeated"`
	// The conditions of the forwarding rule.
	RuleConditions []*CreateRulesRequestRulesRuleConditions `json:"RuleConditions,omitempty" xml:"RuleConditions,omitempty" type:"Repeated"`
	// The name of the forwarding rule. You can name at most 20 forwarding rules.
	//
	// *   The name must be 2 to 128 characters in length.
	// *   It can contain letters, digits, periods (.), underscores (\_), and hyphens (-). It must start with a letter.
	RuleName *string `json:"RuleName,omitempty" xml:"RuleName,omitempty"`
	// The tag that you want to add.
	Tag []*CreateRulesRequestRulesTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (CreateRulesRequestRules) GoString

func (s CreateRulesRequestRules) GoString() string

func (*CreateRulesRequestRules) SetDirection

func (*CreateRulesRequestRules) SetPriority

func (*CreateRulesRequestRules) SetRuleActions

func (*CreateRulesRequestRules) SetRuleConditions

func (*CreateRulesRequestRules) SetRuleName

func (*CreateRulesRequestRules) SetTag added in v2.0.5

func (CreateRulesRequestRules) String

func (s CreateRulesRequestRules) String() string

type CreateRulesRequestRulesRuleActions

type CreateRulesRequestRulesRuleActions struct {
	// The CORS configuration.
	CorsConfig *CreateRulesRequestRulesRuleActionsCorsConfig `json:"CorsConfig,omitempty" xml:"CorsConfig,omitempty" type:"Struct"`
	// The configuration of the custom response. You can specify at most 20 responses.
	FixedResponseConfig *CreateRulesRequestRulesRuleActionsFixedResponseConfig `json:"FixedResponseConfig,omitempty" xml:"FixedResponseConfig,omitempty" type:"Struct"`
	// The configuration of the server group. You can add at most 20 server groups.
	ForwardGroupConfig *CreateRulesRequestRulesRuleActionsForwardGroupConfig `json:"ForwardGroupConfig,omitempty" xml:"ForwardGroupConfig,omitempty" type:"Struct"`
	// The configuration of the header to be inserted. You can specify at most 20 headers.
	InsertHeaderConfig *CreateRulesRequestRulesRuleActionsInsertHeaderConfig `json:"InsertHeaderConfig,omitempty" xml:"InsertHeaderConfig,omitempty" type:"Struct"`
	// The priority of the action. Valid values: **1 to 50000**. A lower value indicates a higher priority. The actions of a forwarding rule are applied in descending order of priority. This parameter is required. The priority of each action within a forwarding rule must be unique. You can specify priorities for at most 20 actions.
	Order *int32 `json:"Order,omitempty" xml:"Order,omitempty"`
	// The redirect configuration. You can specify at most 20 redirects.
	RedirectConfig *CreateRulesRequestRulesRuleActionsRedirectConfig `json:"RedirectConfig,omitempty" xml:"RedirectConfig,omitempty" type:"Struct"`
	// The configuration of the header to be removed.
	RemoveHeaderConfig *CreateRulesRequestRulesRuleActionsRemoveHeaderConfig `json:"RemoveHeaderConfig,omitempty" xml:"RemoveHeaderConfig,omitempty" type:"Struct"`
	// The rewrite configuration. You can specify at most 20 rewrites.
	RewriteConfig *CreateRulesRequestRulesRuleActionsRewriteConfig `json:"RewriteConfig,omitempty" xml:"RewriteConfig,omitempty" type:"Struct"`
	// The configuration of traffic throttling. You can add at most 20 configuration records.
	TrafficLimitConfig *CreateRulesRequestRulesRuleActionsTrafficLimitConfig `json:"TrafficLimitConfig,omitempty" xml:"TrafficLimitConfig,omitempty" type:"Struct"`
	// The configuration of traffic mirroring. You can add at most 20 traffic mirrors.
	TrafficMirrorConfig *CreateRulesRequestRulesRuleActionsTrafficMirrorConfig `json:"TrafficMirrorConfig,omitempty" xml:"TrafficMirrorConfig,omitempty" type:"Struct"`
	// The action type. You can specify at most 11 types of actions. Valid values:
	//
	// *   **ForwardGroup**: distributes requests to multiple vServer groups.
	// *   **Redirect**: redirects a request.
	// *   **FixedResponse**: returns a custom response.
	// *   **Rewrite**: rewrites a request.
	// *   **InsertHeader**: inserts a header.
	// *   **RemoveHeaderConfig:** deletes the header of a request.
	// *   **TrafficLimit**: throttles traffic.
	// *   **trafficMirror**: mirrors network traffic.
	// *   **Cors**: enables cross-origin resource sharing (CORS).
	//
	// The following action types are supported:
	//
	// *   **FinalType**: the last action to be performed in a forwarding rule. Each forwarding rule can contain only one FinalType action. You can specify a **ForwardGroup**, **Redirect**, or **FixedResponse** action as the FinalType action.
	// *   **ExtType**: one or more actions to be performed before the **FinalType** action. A forwarding rule can contain one or more **ExtType** actions. To specify an ExtType action, you must specify a **FinalType** action. You can specify multiple **InsertHeader** actions or one **Rewrite** action.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (CreateRulesRequestRulesRuleActions) GoString

func (*CreateRulesRequestRulesRuleActions) SetCorsConfig added in v2.0.1

func (*CreateRulesRequestRulesRuleActions) SetOrder

func (*CreateRulesRequestRulesRuleActions) SetRemoveHeaderConfig added in v2.1.3

func (*CreateRulesRequestRulesRuleActions) SetType

func (CreateRulesRequestRulesRuleActions) String

type CreateRulesRequestRulesRuleActionsCorsConfig added in v2.0.1

type CreateRulesRequestRulesRuleActionsCorsConfig struct {
	// Specifies whether to allow credentials to be carried in CORS requests. Valid values:
	//
	// *   **on**: allows credentials to be carried in CORS requests.
	// *   **off**: does not allow credentials to be carried in CORS requests.
	AllowCredentials *string `json:"AllowCredentials,omitempty" xml:"AllowCredentials,omitempty"`
	// The allowed headers for CORS requests.
	AllowHeaders []*string `json:"AllowHeaders,omitempty" xml:"AllowHeaders,omitempty" type:"Repeated"`
	// The allowed HTTP methods for CORS requests.
	AllowMethods []*string `json:"AllowMethods,omitempty" xml:"AllowMethods,omitempty" type:"Repeated"`
	// The allowed origins of CORS requests.
	AllowOrigin []*string `json:"AllowOrigin,omitempty" xml:"AllowOrigin,omitempty" type:"Repeated"`
	// The headers that can be exposed.
	ExposeHeaders []*string `json:"ExposeHeaders,omitempty" xml:"ExposeHeaders,omitempty" type:"Repeated"`
	// The maximum cache time of preflight requests in the browser. Unit: seconds.
	//
	// Valid values: **-1** to **172800**.
	MaxAge *int64 `json:"MaxAge,omitempty" xml:"MaxAge,omitempty"`
}

func (CreateRulesRequestRulesRuleActionsCorsConfig) GoString added in v2.0.1

func (*CreateRulesRequestRulesRuleActionsCorsConfig) SetAllowCredentials added in v2.0.1

func (*CreateRulesRequestRulesRuleActionsCorsConfig) SetAllowHeaders added in v2.0.1

func (*CreateRulesRequestRulesRuleActionsCorsConfig) SetAllowMethods added in v2.0.1

func (*CreateRulesRequestRulesRuleActionsCorsConfig) SetAllowOrigin added in v2.0.1

func (*CreateRulesRequestRulesRuleActionsCorsConfig) SetExposeHeaders added in v2.0.1

func (*CreateRulesRequestRulesRuleActionsCorsConfig) SetMaxAge added in v2.0.1

func (CreateRulesRequestRulesRuleActionsCorsConfig) String added in v2.0.1

type CreateRulesRequestRulesRuleActionsFixedResponseConfig

type CreateRulesRequestRulesRuleActionsFixedResponseConfig struct {
	// The content of the custom response. The content can be up to 1 KB in size and can contain only ASCII characters.
	Content *string `json:"Content,omitempty" xml:"Content,omitempty"`
	// The format of the content. Valid values:
	//
	// *   **text/plain**
	// *   **text/css**
	// *   **text/html**
	// *   **application/javascript**
	// *   **application/json**
	ContentType *string `json:"ContentType,omitempty" xml:"ContentType,omitempty"`
	// The HTTP status code in the response. Valid values: **HTTP\_2xx**, **HTTP\_4xx**, and **HTTP\_5xx**. **x** must be a digit.
	HttpCode *string `json:"HttpCode,omitempty" xml:"HttpCode,omitempty"`
}

func (CreateRulesRequestRulesRuleActionsFixedResponseConfig) GoString

func (*CreateRulesRequestRulesRuleActionsFixedResponseConfig) SetContent

func (*CreateRulesRequestRulesRuleActionsFixedResponseConfig) SetContentType

func (*CreateRulesRequestRulesRuleActionsFixedResponseConfig) SetHttpCode

func (CreateRulesRequestRulesRuleActionsFixedResponseConfig) String

type CreateRulesRequestRulesRuleActionsForwardGroupConfig

type CreateRulesRequestRulesRuleActionsForwardGroupConfig struct {
	// The configuration of session persistence for server groups.
	ServerGroupStickySession *CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession `json:"ServerGroupStickySession,omitempty" xml:"ServerGroupStickySession,omitempty" type:"Struct"`
	// The server groups to which requests are forwarded.
	ServerGroupTuples []*CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (CreateRulesRequestRulesRuleActionsForwardGroupConfig) GoString

func (CreateRulesRequestRulesRuleActionsForwardGroupConfig) String

type CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession

type CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession struct {
	// Specifies whether to enable session persistence. Valid values:
	//
	// *   **true**: enables session persistence.
	// *   **false** (default): disables session persistence.
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The timeout period of sessions. Unit: seconds. Valid values: **1 to 86400**.
	Timeout *int32 `json:"Timeout,omitempty" xml:"Timeout,omitempty"`
}

func (CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession) GoString

func (*CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession) SetEnabled

func (*CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession) SetTimeout

func (CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession) String

type CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupTuples

type CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupTuples struct {
	// The server group to which requests are distributed.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The weight of the server group. A larger value specifies a higher weight. A server group with a higher weight receives more requests. Valid values: **0** to **100**.
	//
	// *   If only one destination server group exists and you do not specify a weight, the default value **100** is used.
	// *   If more than one destination server group exists, you must specify weights.
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupTuples) GoString

func (*CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupTuples) SetServerGroupId

func (*CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupTuples) SetWeight

func (CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupTuples) String

type CreateRulesRequestRulesRuleActionsInsertHeaderConfig

type CreateRulesRequestRulesRuleActionsInsertHeaderConfig struct {
	// The key of the header. The key must be 1 to 40 characters in length, and can contain letters, digits, underscores (\_), and hyphens (-). The header key specified by **InsertHeaderConfig** must be unique.
	//
	// >  You cannot specify the following header keys: `slb-id`, `slb-ip`, `x-forwarded-for`, `x-forwarded-proto`, `x-forwarded-eip`, `x-forwarded-port`, `x-forwarded-client-srcport`, `connection`, `upgrade`, `content-length`, `transfer-encoding`, `keep-alive`, `te`, `host`, `cookie`, `remoteip`, and `authority`. The header keys are case-insensitive.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the header.
	//
	// *   If **ValueType** is set to **SystemDefined**, one of the following values is supported:
	//
	//     *   **ClientSrcPort**: the client port.
	//     *   **ClientSrcIp**: the client IP address.
	//     *   **Protocol**: the request protocol (HTTP or HTTPS).
	//     *   **SLBId**: the ID of the ALB instance.
	//     *   **SLBPort**: the listener port.
	//
	// *   If **ValueType** is set to **UserDefined**, a custom header value is supported. The header value must be 1 to 128 characters in length, and can contain printable characters whose ASCII values are `greater than or equal to 32 and smaller than 127`. You can use asterisks (\*) and question marks (?) as wildcard characters. The header value cannot start or end with a space character.
	//
	// *   If **ValueType** is set to **ReferenceHeader**, you can reference one of the request headers. The header value must be 1 to 128 characters in length, and can contain lowercase letters, digits, underscores (\_), and hyphens (-).
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
	// The type of the header. Valid values:
	//
	// *   **UserDefined**: a custom header
	// *   **ReferenceHeader**: a header that references one of the request headers
	// *   **SystemDefined**: a system-defined header
	ValueType *string `json:"ValueType,omitempty" xml:"ValueType,omitempty"`
}

func (CreateRulesRequestRulesRuleActionsInsertHeaderConfig) GoString

func (*CreateRulesRequestRulesRuleActionsInsertHeaderConfig) SetKey

func (*CreateRulesRequestRulesRuleActionsInsertHeaderConfig) SetValue

func (*CreateRulesRequestRulesRuleActionsInsertHeaderConfig) SetValueType

func (CreateRulesRequestRulesRuleActionsInsertHeaderConfig) String

type CreateRulesRequestRulesRuleActionsRedirectConfig

type CreateRulesRequestRulesRuleActionsRedirectConfig struct {
	// The hostname to which requests are redirected. Valid values:
	//
	// *   **${host}** (default): If ${host} is returned, no other character is appended.
	//
	// *   Limits on the value:
	//
	//     *   The hostname must be 3 to 128 characters in length, and can contain lowercase letters, digits, hyphens (-), and periods (.). Asterisks (\*) and question marks (?) can be used as wildcards.
	//     *   The hostname contains at least one period (.) but does not start or end with a period (.).
	//     *   The rightmost domain label can contain only letters and wildcard characters. It does not contain digits or hyphens (-).
	//     *   The domain labels do not start or end with hyphens (-).
	//     *   You can use asterisks (\*) and question marks (?) as wildcards anywhere in a domain label.
	Host *string `json:"Host,omitempty" xml:"Host,omitempty"`
	// The HTTP status code that indicates the redirect type. Valid values: **301**, **302**, **303**, **307**, and **308**.
	HttpCode *string `json:"HttpCode,omitempty" xml:"HttpCode,omitempty"`
	// The path to which requests are redirected. Valid values:
	//
	// *   Default value: **${path}**. **${host}**, **${protocol}**, and **${port}** are also supported. Each variable can be specified only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.
	//
	// *   Limits on the value:
	//
	//     *   The path must be 1 to 128 characters in length.
	//     *   It must start with a forward slash (/) and can contain letters, digits, and the following special characters: `$ - _ .+ / & ~ @ :`. It cannot contain the following special characters: `" % # ; ! ( ) [ ]^ , "`. You can use asterisks (\*) and question marks (?) as wildcard characters.
	//     *   The path is case-sensitive.
	Path *string `json:"Path,omitempty" xml:"Path,omitempty"`
	// The port to which requests are distributed.
	//
	// *   **${port}** (default): If you set the value to ${port}, you cannot add other characters to the value.
	// *   Other valid values: **1 to 63335**.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The redirect protocol. Valid values:
	//
	// *   **${protocol}** (default): If ${protocol} is returned, no other character is appended.
	// *   **HTTP** or **HTTPS**.
	//
	// >  HTTPS listeners support only HTTPS to HTTPS redirects.
	Protocol *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
	// The query string of the URL to which requests are redirected.
	//
	// *   Default value: **${query}**. **${host}**, **${protocol}**, and **${port}** are also supported. Each variable can be specified only once. The preceding variables can be used at the same time or combined with a custom value.
	//
	// *   Limits on the value:
	//
	//     *   The query string must be 1 to 128 characters in length.
	//     *   It can contain printable characters, except space characters, the special characters `# [ ] { } \ | < > &`, and uppercase letters.
	Query *string `json:"Query,omitempty" xml:"Query,omitempty"`
}

func (CreateRulesRequestRulesRuleActionsRedirectConfig) GoString

func (*CreateRulesRequestRulesRuleActionsRedirectConfig) SetHost

func (*CreateRulesRequestRulesRuleActionsRedirectConfig) SetHttpCode

func (*CreateRulesRequestRulesRuleActionsRedirectConfig) SetPath

func (*CreateRulesRequestRulesRuleActionsRedirectConfig) SetPort

func (*CreateRulesRequestRulesRuleActionsRedirectConfig) SetProtocol

func (*CreateRulesRequestRulesRuleActionsRedirectConfig) SetQuery

func (CreateRulesRequestRulesRuleActionsRedirectConfig) String

type CreateRulesRequestRulesRuleActionsRemoveHeaderConfig added in v2.1.3

type CreateRulesRequestRulesRuleActionsRemoveHeaderConfig struct {
	// The key of the header to be removed. The key must be 1 to 40 characters in length and can contain letters, digits, underscores, and hyphens (-). The header key must be unique.
	//
	// *   You cannot specify the following header keys for an inbound forwarding rule: `slb-id`, `slb-ip`, `x-forwarded-for`, `x-forwarded-proto`, `x-forwarded-eip`, `x-forwarded-port`, `x-forwarded-client-srcport`, `connection`, `upgrade`, `content-length`, `transfer-encoding`, `keep-alive`, `te`, `host`, `cookie`, `remoteip`, and `authority`. The preceding keys are case-insensitive.
	// *   You cannot specify the following header keys for an outbound forwarding rule: `connection`, `upgrade`, `content-length`, and `transfer-encoding`. The preceding keys are case-insensitive.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
}

func (CreateRulesRequestRulesRuleActionsRemoveHeaderConfig) GoString added in v2.1.3

func (*CreateRulesRequestRulesRuleActionsRemoveHeaderConfig) SetKey added in v2.1.3

func (CreateRulesRequestRulesRuleActionsRemoveHeaderConfig) String added in v2.1.3

type CreateRulesRequestRulesRuleActionsRewriteConfig

type CreateRulesRequestRulesRuleActionsRewriteConfig struct {
	// The hostname to which requests are redirected. Valid values:
	//
	// *   **${host}** (default): If you set the value to ${host}, you cannot append other characters.
	//
	// *   A custom value that meets the following requirements:
	//
	//     *   The hostname must be 3 to 128 characters in length, and can contain lowercase letters, digits, hyphens (-), and periods (.). You can use asterisks (\*) and question marks (?) as wildcard characters.
	//     *   The hostname contains at least one period (.) but does not start or end with a period (.).
	//     *   The rightmost domain label can contain only letters and wildcard characters. It does not contain digits or hyphens (-).
	//     *   The domain labels do not start or end with hyphens (-). You can use asterisks (\*) and question marks (?) anywhere in a domain label as wildcard characters.
	Host *string `json:"Host,omitempty" xml:"Host,omitempty"`
	// The path to which requests are redirected. Valid values:
	//
	// *   Default value: **${path}**. **${host}**, **${protocol}**, and **${port}** are also supported. Each variable can be specified only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.
	//
	// *   Limits on the value:
	//
	//     *   The path must be 1 to 128 characters in length.
	//     *   It must start with a forward slash (/) and can contain letters, digits, and the following special characters: `$ - _ .+ / & ~ @ :`. It cannot contain the following special characters: `" % # ; ! ( ) [ ]^ , "`. You can use asterisks (\*) and question marks (?) as wildcard characters.
	//     *   The path is case-sensitive.
	Path *string `json:"Path,omitempty" xml:"Path,omitempty"`
	// The query string of the URL to which requests are redirected.
	//
	// *   Default value: **${query}**. **${host}**, **${protocol}**, and **${port}** are also supported. Each variable can be specified only once. The preceding variables can be used at the same time or combined with a custom value.
	//
	// *   Limits on the value:
	//
	//     *   The query string must be 1 to 128 characters in length.
	//     *   It can contain printable characters, except space characters, the special characters `# [ ] { } \ | < > &`, and uppercase letters.
	Query *string `json:"Query,omitempty" xml:"Query,omitempty"`
}

func (CreateRulesRequestRulesRuleActionsRewriteConfig) GoString

func (*CreateRulesRequestRulesRuleActionsRewriteConfig) SetHost

func (*CreateRulesRequestRulesRuleActionsRewriteConfig) SetPath

func (*CreateRulesRequestRulesRuleActionsRewriteConfig) SetQuery

func (CreateRulesRequestRulesRuleActionsRewriteConfig) String

type CreateRulesRequestRulesRuleActionsTrafficLimitConfig

type CreateRulesRequestRulesRuleActionsTrafficLimitConfig struct {
	// The QPS of each IP address. Value range: **1 to 1000000**.
	//
	// >  If **QPS** and PerIpQps are specified, the value of **PerIpQps** must be smaller than the value of **QPS**.
	PerIpQps *int32 `json:"PerIpQps,omitempty" xml:"PerIpQps,omitempty"`
	// The queries per second (QPS). Value range: **1 to 1000000**.
	QPS *int32 `json:"QPS,omitempty" xml:"QPS,omitempty"`
}

func (CreateRulesRequestRulesRuleActionsTrafficLimitConfig) GoString

func (*CreateRulesRequestRulesRuleActionsTrafficLimitConfig) SetPerIpQps

func (*CreateRulesRequestRulesRuleActionsTrafficLimitConfig) SetQPS

func (CreateRulesRequestRulesRuleActionsTrafficLimitConfig) String

type CreateRulesRequestRulesRuleActionsTrafficMirrorConfig

type CreateRulesRequestRulesRuleActionsTrafficMirrorConfig struct {
	// The configuration of the server group to which traffic is mirrored.
	MirrorGroupConfig *CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig `json:"MirrorGroupConfig,omitempty" xml:"MirrorGroupConfig,omitempty" type:"Struct"`
	// The type of destination to which network traffic is mirrored. Valid values:
	//
	// *   **ForwardGroupMirror**: a server group.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (CreateRulesRequestRulesRuleActionsTrafficMirrorConfig) GoString

func (*CreateRulesRequestRulesRuleActionsTrafficMirrorConfig) SetTargetType

func (CreateRulesRequestRulesRuleActionsTrafficMirrorConfig) String

type CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig

type CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig struct {
	// The server group to which traffic is mirrored.
	ServerGroupTuples []*CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig) GoString

func (CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig) String

type CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples

type CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples struct {
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) GoString

func (*CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) SetServerGroupId

func (CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) String

type CreateRulesRequestRulesRuleConditions

type CreateRulesRequestRulesRuleConditions struct {
	// The configurations of the cookies. You can add at most 20 cookies.
	CookieConfig *CreateRulesRequestRulesRuleConditionsCookieConfig `json:"CookieConfig,omitempty" xml:"CookieConfig,omitempty" type:"Struct"`
	// The configuration of the header. You can add at most 20 headers.
	HeaderConfig *CreateRulesRequestRulesRuleConditionsHeaderConfig `json:"HeaderConfig,omitempty" xml:"HeaderConfig,omitempty" type:"Struct"`
	// The configurations of the hosts. You can specify up to 20 resources.
	HostConfig *CreateRulesRequestRulesRuleConditionsHostConfig `json:"HostConfig,omitempty" xml:"HostConfig,omitempty" type:"Struct"`
	// The configurations of the request methods. You can specify at most 20 request methods.
	MethodConfig *CreateRulesRequestRulesRuleConditionsMethodConfig `json:"MethodConfig,omitempty" xml:"MethodConfig,omitempty" type:"Struct"`
	// The configurations of the paths. You can specify at most 20 paths.
	PathConfig *CreateRulesRequestRulesRuleConditionsPathConfig `json:"PathConfig,omitempty" xml:"PathConfig,omitempty" type:"Struct"`
	// The configuration of the query conditions. You can specify at most 20 query conditions.
	QueryStringConfig *CreateRulesRequestRulesRuleConditionsQueryStringConfig `json:"QueryStringConfig,omitempty" xml:"QueryStringConfig,omitempty" type:"Struct"`
	// The configuration of the header. You can add at most 20 headers.
	ResponseHeaderConfig *CreateRulesRequestRulesRuleConditionsResponseHeaderConfig `json:"ResponseHeaderConfig,omitempty" xml:"ResponseHeaderConfig,omitempty" type:"Struct"`
	// The configurations of the response status codes.
	ResponseStatusCodeConfig *CreateRulesRequestRulesRuleConditionsResponseStatusCodeConfig `json:"ResponseStatusCodeConfig,omitempty" xml:"ResponseStatusCodeConfig,omitempty" type:"Struct"`
	// The configuration of the source IP addresses based on which user traffic is matched. This parameter is required and takes effect only when **Type** is set to **SourceIP**. You can specify at most five values for **SourceIp**.
	SourceIpConfig *CreateRulesRequestRulesRuleConditionsSourceIpConfig `json:"SourceIpConfig,omitempty" xml:"SourceIpConfig,omitempty" type:"Struct"`
	// The type of forwarding rule. You can specify at most seven types. Valid values:
	//
	// *   **Host**: Responses are forwarded based on hosts.
	// *   **Path**: Responses are forwarded based on paths.
	// *   **Header**: Responses are forwarded based on HTTP headers.
	// *   **QueryString**: Responses are forwarded based on query strings.
	// *   **Method**: Responses are forwarded based on request methods.
	// *   **Cookie**: Responses are forwarded based on cookies.
	// *   **SourceIp:**: Responses are forwarded based on source IP addresses.
	// *   **ResponseHeader**: Responses are forwarded based on HTTP response headers.
	// *   **ResponseStatusCode**: Responses are forwarded based on response status codes.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (CreateRulesRequestRulesRuleConditions) GoString

func (*CreateRulesRequestRulesRuleConditions) SetResponseStatusCodeConfig added in v2.1.3

func (*CreateRulesRequestRulesRuleConditions) SetType

func (CreateRulesRequestRulesRuleConditions) String

type CreateRulesRequestRulesRuleConditionsCookieConfig

type CreateRulesRequestRulesRuleConditionsCookieConfig struct {
	// The key-value pairs of cookies.
	Values []*CreateRulesRequestRulesRuleConditionsCookieConfigValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRulesRequestRulesRuleConditionsCookieConfig) GoString

func (CreateRulesRequestRulesRuleConditionsCookieConfig) String

type CreateRulesRequestRulesRuleConditionsCookieConfigValues

type CreateRulesRequestRulesRuleConditionsCookieConfigValues struct {
	// The key of the cookie.
	//
	// *   The key must be 1 to 100 characters in length.
	// *   You can use asterisks (\*) and question marks (?) as wildcard characters.
	// *   It can contain printable characters, except uppercase letters, space characters, and the following special characters: `; # [ ] { } \ | < > &`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the cookie.
	//
	// *   The value must be 1 to 100 characters in length.
	// *   You can use asterisks (\*) and question marks (?) as wildcard characters.
	// *   It can contain printable characters, except uppercase letters, space characters, and the following special characters: `; # [ ] { } \ | < > &`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateRulesRequestRulesRuleConditionsCookieConfigValues) GoString

func (*CreateRulesRequestRulesRuleConditionsCookieConfigValues) SetKey

func (*CreateRulesRequestRulesRuleConditionsCookieConfigValues) SetValue

func (CreateRulesRequestRulesRuleConditionsCookieConfigValues) String

type CreateRulesRequestRulesRuleConditionsHeaderConfig

type CreateRulesRequestRulesRuleConditionsHeaderConfig struct {
	// The key of the header.
	//
	// *   The key must be 1 to 40 characters in length.
	// *   It can contain lowercase letters, digits, hyphens (-), and underscores (\_).
	// *   You cannot specify Cookie or Host.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The values of the header.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRulesRequestRulesRuleConditionsHeaderConfig) GoString

func (*CreateRulesRequestRulesRuleConditionsHeaderConfig) SetKey

func (*CreateRulesRequestRulesRuleConditionsHeaderConfig) SetValues

func (CreateRulesRequestRulesRuleConditionsHeaderConfig) String

type CreateRulesRequestRulesRuleConditionsHostConfig

type CreateRulesRequestRulesRuleConditionsHostConfig struct {
	// The hostnames.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRulesRequestRulesRuleConditionsHostConfig) GoString

func (*CreateRulesRequestRulesRuleConditionsHostConfig) SetValues

func (CreateRulesRequestRulesRuleConditionsHostConfig) String

type CreateRulesRequestRulesRuleConditionsMethodConfig

type CreateRulesRequestRulesRuleConditionsMethodConfig struct {
	// The request methods.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRulesRequestRulesRuleConditionsMethodConfig) GoString

func (*CreateRulesRequestRulesRuleConditionsMethodConfig) SetValues

func (CreateRulesRequestRulesRuleConditionsMethodConfig) String

type CreateRulesRequestRulesRuleConditionsPathConfig

type CreateRulesRequestRulesRuleConditionsPathConfig struct {
	// The paths.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRulesRequestRulesRuleConditionsPathConfig) GoString

func (*CreateRulesRequestRulesRuleConditionsPathConfig) SetValues

func (CreateRulesRequestRulesRuleConditionsPathConfig) String

type CreateRulesRequestRulesRuleConditionsQueryStringConfig

type CreateRulesRequestRulesRuleConditionsQueryStringConfig struct {
	// The configurations of the query string.
	Values []*CreateRulesRequestRulesRuleConditionsQueryStringConfigValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRulesRequestRulesRuleConditionsQueryStringConfig) GoString

func (CreateRulesRequestRulesRuleConditionsQueryStringConfig) String

type CreateRulesRequestRulesRuleConditionsQueryStringConfigValues

type CreateRulesRequestRulesRuleConditionsQueryStringConfigValues struct {
	// They key of the query string.
	//
	// *   It must be 1 to 100 characters in length.
	// *   You can use asterisks (\*) and question marks (?) as wildcards. The key can contain printable characters, excluding uppercase letters, space characters, and the following special characters: `# [ ] { } \ | < > &`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the query string.
	//
	// *   The value must be 1 to 128 characters in length.
	// *   It can contain printable characters, excluding uppercase letters, space characters, and the following special characters: `# [ ] { } \ | < > &`. You can use asterisks (\*) and question marks (?) as wildcards.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateRulesRequestRulesRuleConditionsQueryStringConfigValues) GoString

func (*CreateRulesRequestRulesRuleConditionsQueryStringConfigValues) SetKey

func (*CreateRulesRequestRulesRuleConditionsQueryStringConfigValues) SetValue

func (CreateRulesRequestRulesRuleConditionsQueryStringConfigValues) String

type CreateRulesRequestRulesRuleConditionsResponseHeaderConfig

type CreateRulesRequestRulesRuleConditionsResponseHeaderConfig struct {
	// The key of the header.
	//
	// *   The key must be 1 to 40 characters in length.
	// *   It can contain lowercase letters, digits, hyphens (-), and underscores (\_).
	// *   You cannot specify Cookie or Host.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The values of the header.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRulesRequestRulesRuleConditionsResponseHeaderConfig) GoString

func (*CreateRulesRequestRulesRuleConditionsResponseHeaderConfig) SetKey

func (*CreateRulesRequestRulesRuleConditionsResponseHeaderConfig) SetValues

func (CreateRulesRequestRulesRuleConditionsResponseHeaderConfig) String

type CreateRulesRequestRulesRuleConditionsResponseStatusCodeConfig added in v2.1.3

type CreateRulesRequestRulesRuleConditionsResponseStatusCodeConfig struct {
	// The response status codes.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRulesRequestRulesRuleConditionsResponseStatusCodeConfig) GoString added in v2.1.3

func (*CreateRulesRequestRulesRuleConditionsResponseStatusCodeConfig) SetValues added in v2.1.3

func (CreateRulesRequestRulesRuleConditionsResponseStatusCodeConfig) String added in v2.1.3

type CreateRulesRequestRulesRuleConditionsSourceIpConfig

type CreateRulesRequestRulesRuleConditionsSourceIpConfig struct {
	// The configuration of the source IP addresses based on which user traffic is matched.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (CreateRulesRequestRulesRuleConditionsSourceIpConfig) GoString

func (*CreateRulesRequestRulesRuleConditionsSourceIpConfig) SetValues

func (CreateRulesRequestRulesRuleConditionsSourceIpConfig) String

type CreateRulesRequestRulesTag added in v2.0.5

type CreateRulesRequestRulesTag struct {
	// The key of the tag. The tag key can be up to 128 characters in length, and cannot start with acs: or aliyun. It cannot contain http:// or https://.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag. The tag value can be up to 128 characters in length, and cannot start with acs: or aliyun. It cannot contain http:// or https://.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateRulesRequestRulesTag) GoString added in v2.0.5

func (s CreateRulesRequestRulesTag) GoString() string

func (*CreateRulesRequestRulesTag) SetKey added in v2.0.5

func (*CreateRulesRequestRulesTag) SetValue added in v2.0.5

func (CreateRulesRequestRulesTag) String added in v2.0.5

type CreateRulesResponse

type CreateRulesResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateRulesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateRulesResponse) GoString

func (s CreateRulesResponse) GoString() string

func (*CreateRulesResponse) SetBody

func (*CreateRulesResponse) SetHeaders

func (s *CreateRulesResponse) SetHeaders(v map[string]*string) *CreateRulesResponse

func (*CreateRulesResponse) SetStatusCode

func (s *CreateRulesResponse) SetStatusCode(v int32) *CreateRulesResponse

func (CreateRulesResponse) String

func (s CreateRulesResponse) String() string

type CreateRulesResponseBody

type CreateRulesResponseBody struct {
	// The ID of the asynchronous task.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The priority of the forwarding rule. Valid values: **1 to 10000**. A lower value specifies a higher priority.
	//
	// > The priorities of the forwarding rules created for the same listener is unique.
	RuleIds []*CreateRulesResponseBodyRuleIds `json:"RuleIds,omitempty" xml:"RuleIds,omitempty" type:"Repeated"`
}

func (CreateRulesResponseBody) GoString

func (s CreateRulesResponseBody) GoString() string

func (*CreateRulesResponseBody) SetJobId

func (*CreateRulesResponseBody) SetRequestId

func (*CreateRulesResponseBody) SetRuleIds

func (CreateRulesResponseBody) String

func (s CreateRulesResponseBody) String() string

type CreateRulesResponseBodyRuleIds

type CreateRulesResponseBodyRuleIds struct {
	// The priority of the forwarding rule. Valid values: **1 to 10000**. A smaller value indicates a higher priority.
	//
	// > The priorities of the forwarding rules created for the same listener must be unique.
	Priority *int32 `json:"Priority,omitempty" xml:"Priority,omitempty"`
	// The forwarding rule ID.
	RuleId *string `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
}

func (CreateRulesResponseBodyRuleIds) GoString

func (*CreateRulesResponseBodyRuleIds) SetPriority

func (*CreateRulesResponseBodyRuleIds) SetRuleId

func (CreateRulesResponseBodyRuleIds) String

type CreateSecurityPolicyRequest

type CreateSecurityPolicyRequest struct {
	// The supported cipher suites.
	Ciphers []*string `json:"Ciphers,omitempty" xml:"Ciphers,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	//
	// > If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**(default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The name of the security policy.
	//
	// The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	SecurityPolicyName *string `json:"SecurityPolicyName,omitempty" xml:"SecurityPolicyName,omitempty"`
	// The supported Transport Layer Security (TLS) protocol versions.
	TLSVersions []*string `json:"TLSVersions,omitempty" xml:"TLSVersions,omitempty" type:"Repeated"`
	// The tags.
	Tag []*CreateSecurityPolicyRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (CreateSecurityPolicyRequest) GoString

func (s CreateSecurityPolicyRequest) GoString() string

func (*CreateSecurityPolicyRequest) SetCiphers

func (*CreateSecurityPolicyRequest) SetClientToken

func (*CreateSecurityPolicyRequest) SetDryRun

func (*CreateSecurityPolicyRequest) SetResourceGroupId

func (*CreateSecurityPolicyRequest) SetSecurityPolicyName

func (s *CreateSecurityPolicyRequest) SetSecurityPolicyName(v string) *CreateSecurityPolicyRequest

func (*CreateSecurityPolicyRequest) SetTLSVersions

func (*CreateSecurityPolicyRequest) SetTag added in v2.0.5

func (CreateSecurityPolicyRequest) String

type CreateSecurityPolicyRequestTag added in v2.0.5

type CreateSecurityPolicyRequestTag struct {
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateSecurityPolicyRequestTag) GoString added in v2.0.5

func (*CreateSecurityPolicyRequestTag) SetKey added in v2.0.5

func (*CreateSecurityPolicyRequestTag) SetValue added in v2.0.5

func (CreateSecurityPolicyRequestTag) String added in v2.0.5

type CreateSecurityPolicyResponse

type CreateSecurityPolicyResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateSecurityPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateSecurityPolicyResponse) GoString

func (s CreateSecurityPolicyResponse) GoString() string

func (*CreateSecurityPolicyResponse) SetBody

func (*CreateSecurityPolicyResponse) SetHeaders

func (*CreateSecurityPolicyResponse) SetStatusCode

func (CreateSecurityPolicyResponse) String

type CreateSecurityPolicyResponseBody

type CreateSecurityPolicyResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The security policy ID.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
}

func (CreateSecurityPolicyResponseBody) GoString

func (*CreateSecurityPolicyResponseBody) SetRequestId

func (*CreateSecurityPolicyResponseBody) SetSecurityPolicyId

func (CreateSecurityPolicyResponseBody) String

type CreateServerGroupRequest

type CreateServerGroupRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken           *string                                        `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	ConnectionDrainConfig *CreateServerGroupRequestConnectionDrainConfig `json:"ConnectionDrainConfig,omitempty" xml:"ConnectionDrainConfig,omitempty" type:"Struct"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The configuration of health checks.
	HealthCheckConfig *CreateServerGroupRequestHealthCheckConfig `json:"HealthCheckConfig,omitempty" xml:"HealthCheckConfig,omitempty" type:"Struct"`
	// The backend protocol. Valid values:
	//
	// *   **HTTP** (default): The server group can be associated with HTTPS, HTTP, and QUIC listeners.
	// *   **HTTPS**: The server group can be associated with HTTPS listeners.
	// *   **gRPC**: The server group can be associated with HTTPS and QUIC listeners.
	//
	// > If the **ServerGroupType** parameter is set to **Fc**, you can set Protocol only to **HTTP**.
	Protocol *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The scheduling algorithm. Valid values:
	//
	// *   **Wrr** (default): The weighted round-robin algorithm is used. Backend servers that have higher weights receive more requests than those that have lower weights.
	// *   **Wlc**: The weighted least connections algorithm is used. Requests are distributed based on the weights and the number of connections to backend servers. If two backend servers have the same weight, the backend server that has fewer connections is expected to receive more requests.
	// *   **Sch**: The consistent hashing algorithm is used. Requests from the same source IP address are distributed to the same backend server.
	//
	// > This parameter takes effect when the **ServerGroupType** parameter is set to **Instance** or **Ip**.
	Scheduler *string `json:"Scheduler,omitempty" xml:"Scheduler,omitempty"`
	// The name of the server group. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	ServerGroupName *string `json:"ServerGroupName,omitempty" xml:"ServerGroupName,omitempty"`
	// The type of server group. Valid values:
	//
	// *   **Instance** (default): allows you to add servers by specifying **Ecs**, **Eni**, or **Eci**.
	// *   **Ip**: allows you to add servers by specifying IP addresses.
	// *   **Fc**: allows you to add servers by specifying functions of Function Compute.
	ServerGroupType *string `json:"ServerGroupType,omitempty" xml:"ServerGroupType,omitempty"`
	// This parameter is available only if the ALB Ingress controller is used. In this case, set this parameter to the name of the `Kubernetes Service` that is associated with the server group.
	ServiceName     *string                                  `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	SlowStartConfig *CreateServerGroupRequestSlowStartConfig `json:"SlowStartConfig,omitempty" xml:"SlowStartConfig,omitempty" type:"Struct"`
	// The configuration of session persistence.
	//
	// > This parameter takes effect when the **ServerGroupType** parameter is set to **Instance** or **Ip**.
	StickySessionConfig *CreateServerGroupRequestStickySessionConfig `json:"StickySessionConfig,omitempty" xml:"StickySessionConfig,omitempty" type:"Struct"`
	// The tag.
	Tag []*CreateServerGroupRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The configuration of consistent hashing based on URLs.
	UchConfig *CreateServerGroupRequestUchConfig `json:"UchConfig,omitempty" xml:"UchConfig,omitempty" type:"Struct"`
	// Specifies whether to enable persistent TCP connections.
	UpstreamKeepaliveEnabled *bool `json:"UpstreamKeepaliveEnabled,omitempty" xml:"UpstreamKeepaliveEnabled,omitempty"`
	// The ID of the virtual private cloud (VPC). You can add only backend servers that are deployed in the specified VPC to the server group.
	//
	// > This parameter takes effect when the **ServerGroupType** parameter is set to **Instance** or **Ip**.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (CreateServerGroupRequest) GoString

func (s CreateServerGroupRequest) GoString() string

func (*CreateServerGroupRequest) SetClientToken

func (*CreateServerGroupRequest) SetConnectionDrainConfig added in v2.1.6

func (*CreateServerGroupRequest) SetDryRun

func (*CreateServerGroupRequest) SetHealthCheckConfig

func (*CreateServerGroupRequest) SetProtocol

func (*CreateServerGroupRequest) SetResourceGroupId

func (s *CreateServerGroupRequest) SetResourceGroupId(v string) *CreateServerGroupRequest

func (*CreateServerGroupRequest) SetScheduler

func (*CreateServerGroupRequest) SetServerGroupName

func (s *CreateServerGroupRequest) SetServerGroupName(v string) *CreateServerGroupRequest

func (*CreateServerGroupRequest) SetServerGroupType

func (s *CreateServerGroupRequest) SetServerGroupType(v string) *CreateServerGroupRequest

func (*CreateServerGroupRequest) SetServiceName

func (*CreateServerGroupRequest) SetSlowStartConfig added in v2.1.6

func (*CreateServerGroupRequest) SetStickySessionConfig

func (*CreateServerGroupRequest) SetTag added in v2.0.5

func (*CreateServerGroupRequest) SetUchConfig added in v2.0.3

func (*CreateServerGroupRequest) SetUpstreamKeepaliveEnabled added in v2.1.1

func (s *CreateServerGroupRequest) SetUpstreamKeepaliveEnabled(v bool) *CreateServerGroupRequest

func (*CreateServerGroupRequest) SetVpcId

func (CreateServerGroupRequest) String

func (s CreateServerGroupRequest) String() string

type CreateServerGroupRequestConnectionDrainConfig added in v2.1.6

type CreateServerGroupRequestConnectionDrainConfig struct {
	ConnectionDrainEnabled *bool  `json:"ConnectionDrainEnabled,omitempty" xml:"ConnectionDrainEnabled,omitempty"`
	ConnectionDrainTimeout *int32 `json:"ConnectionDrainTimeout,omitempty" xml:"ConnectionDrainTimeout,omitempty"`
}

func (CreateServerGroupRequestConnectionDrainConfig) GoString added in v2.1.6

func (*CreateServerGroupRequestConnectionDrainConfig) SetConnectionDrainEnabled added in v2.1.6

func (*CreateServerGroupRequestConnectionDrainConfig) SetConnectionDrainTimeout added in v2.1.6

func (CreateServerGroupRequestConnectionDrainConfig) String added in v2.1.6

type CreateServerGroupRequestHealthCheckConfig

type CreateServerGroupRequestHealthCheckConfig struct {
	// The HTTP status codes that are used to indicate whether the backend server passes the health check.
	HealthCheckCodes []*string `json:"HealthCheckCodes,omitempty" xml:"HealthCheckCodes,omitempty" type:"Repeated"`
	// The backend port that is used for health checks.
	//
	// Valid values: **0** to **65535**.
	//
	// Default value: **0**. If you set the value to 0, the port of a backend server is used for health checks.
	HealthCheckConnectPort *int32 `json:"HealthCheckConnectPort,omitempty" xml:"HealthCheckConnectPort,omitempty"`
	// Specifies whether to enable the health check feature. Valid values:
	//
	// *   **true**: enables the health check feature.
	// *   **false**: disables the health check feature.
	//
	// >  If the **ServerGroupType** parameter is set to **Instance** or **Ip**, the health check feature is enabled by default. If the **ServerGroupType** parameter is set to **Fc**, the health check feature is disabled by default.
	HealthCheckEnabled *bool `json:"HealthCheckEnabled,omitempty" xml:"HealthCheckEnabled,omitempty"`
	// The domain name that is used for health checks. The domain name meets the following requirements:
	//
	// *   The domain name is 1 to 80 characters in length.
	// *   The domain name contains lowercase letters, digits, hyphens (-), and periods (.).
	// *   The domain name contains at least one period (.) but does not start or end with a period (.).
	// *   The rightmost domain label of the domain name contains only letters, and does not contain digits or hyphens (-).
	// *   The domain name does not start or end with a hyphen (-).
	//
	// >  This parameter takes effect only when **HealthCheckProtocol** is set to **HTTP** or **HTTPS**. HTTPS is unavailable by default. If you want to use HTTPS, log on to the SLB console, go to the Quota Center page, and then apply for the privilege to use HTTPS on the **ALB** tab.
	HealthCheckHost *string `json:"HealthCheckHost,omitempty" xml:"HealthCheckHost,omitempty"`
	// The version of the HTTP protocol. Valid values: **HTTP1.0** and **HTTP1.1**. Default value: HTTP1.1.
	//
	// >  This parameter takes effect only when **HealthCheckProtocol** is set to **HTTP** or **HTTPS**. HTTPS is unavailable by default. If you want to use HTTPS, log on to the SLB console, go to the Quota Center page, and then apply for the privilege to use HTTPS on the **ALB** tab.
	HealthCheckHttpVersion *string `json:"HealthCheckHttpVersion,omitempty" xml:"HealthCheckHttpVersion,omitempty"`
	// The interval at which health checks are performed. Unit: seconds.
	//
	// Valid values: **1** to **50**.
	//
	// Default value: **2**.
	HealthCheckInterval *int32 `json:"HealthCheckInterval,omitempty" xml:"HealthCheckInterval,omitempty"`
	// The HTTP method that is used for health checks. Valid values:
	//
	// *   **GET**: If the length of a response exceeds 8 KB, the response is truncated. However, the health check result is not affected.
	// *   **POST**: By default, gRPC health checks use the POST method.
	// *   **HEAD**: HTTP and HTTPS health checks in listeners use the HEAD method by default.
	//
	// >  This parameter takes effect only when **HealthCheckProtocol** is set to **HTTP**, **HTTPS**, or **gRPC**. HTTPS is unavailable by default. If you want to use HTTPS, log on to the SLB console, go to the Quota Center page, and then apply for the privilege to use HTTPS on the **ALB** tab.
	HealthCheckMethod *string `json:"HealthCheckMethod,omitempty" xml:"HealthCheckMethod,omitempty"`
	// The path that is used for health checks.
	//
	// The path must be 1 to 80 characters in length and can contain only letters, digits, and the following special characters: `- / . % ? # & =`. It can also contain the following extended characters: `_ ; ~ ! ( ) * [ ] @ $ ^ : \" , +`. The URL must start with a forward slash (/).
	//
	// >  This parameter takes effect only when **HealthCheckProtocol** is set to **HTTP** or **HTTPS**. HTTPS is unavailable by default. If you want to use HTTPS, log on to the SLB console, go to the Quota Center page, and then apply for the privilege to use HTPS on the **ALB** tab.
	HealthCheckPath *string `json:"HealthCheckPath,omitempty" xml:"HealthCheckPath,omitempty"`
	// The protocol that is used for health checks. Valid values:
	//
	// *   **HTTP**: ALB performs HTTP health checks by sending HEAD or GET requests to a backend server to check whether the backend server is healthy.
	// *   **HTTPS**: ALB performs HTTPS health checks by sending HEAD or GET requests to a backend server to check whether the backend server is healthy. HTTPS supports data encryption and provides higher data security than HTTP.
	// *   **TCP**: To perform TCP health checks, SLB sends SYN packets to the backend server to check whether the port of the backend server is available to receive requests.
	// *   **gRPC**: To perform gRPC health checks, SLB sends POST or GET requests to a backend server to check whether the backend server is healthy.
	//
	// >  HTTPS is unavailable by default. If you want to use HTTPS, log on to the SLB console, go to the Quota Center page, and then apply for the privilege to use HTTPS on the **ALB** tab.
	HealthCheckProtocol *string `json:"HealthCheckProtocol,omitempty" xml:"HealthCheckProtocol,omitempty"`
	// The timeout period for a health check response. If a backend server, such as an Elastic Compute Service (ECS) instance, does not return a health check response within the specified timeout period, the server fails the health check. Unit: seconds.
	//
	// Valid values: **1** to **300**.
	//
	// Default value: **5**.
	//
	// >  If the value of **HealthCHeckTimeout** is smaller than the value of **HealthCheckInterval**, the value of **HealthCHeckTimeout** is ignored and the value of **HealthCheckInterval** is used.
	HealthCheckTimeout *int32 `json:"HealthCheckTimeout,omitempty" xml:"HealthCheckTimeout,omitempty"`
	// The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status changes from **fail** to **success**.
	//
	// Valid values: **2** to **10**.
	//
	// Default value: **3**.
	HealthyThreshold *int32 `json:"HealthyThreshold,omitempty" xml:"HealthyThreshold,omitempty"`
	// The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status changes from **success** to **fail**.
	//
	// Valid values: **2** to **10**.
	//
	// Default value: **3**.
	UnhealthyThreshold *int32 `json:"UnhealthyThreshold,omitempty" xml:"UnhealthyThreshold,omitempty"`
}

func (CreateServerGroupRequestHealthCheckConfig) GoString

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckCodes

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckConnectPort

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckEnabled

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckHost

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckHttpVersion

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckInterval

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckMethod

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckPath

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckProtocol

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckTimeout

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthyThreshold

func (*CreateServerGroupRequestHealthCheckConfig) SetUnhealthyThreshold

func (CreateServerGroupRequestHealthCheckConfig) String

type CreateServerGroupRequestSlowStartConfig added in v2.1.6

type CreateServerGroupRequestSlowStartConfig struct {
	SlowStartDuration *int32 `json:"SlowStartDuration,omitempty" xml:"SlowStartDuration,omitempty"`
	SlowStartEnabled  *bool  `json:"SlowStartEnabled,omitempty" xml:"SlowStartEnabled,omitempty"`
}

func (CreateServerGroupRequestSlowStartConfig) GoString added in v2.1.6

func (*CreateServerGroupRequestSlowStartConfig) SetSlowStartDuration added in v2.1.6

func (*CreateServerGroupRequestSlowStartConfig) SetSlowStartEnabled added in v2.1.6

func (CreateServerGroupRequestSlowStartConfig) String added in v2.1.6

type CreateServerGroupRequestStickySessionConfig

type CreateServerGroupRequestStickySessionConfig struct {
	// The cookie to be configured on the server.
	//
	// The cookie must be 1 to 200 characters in length and can contain only ASCII characters and digits. It cannot contain commas (,), semicolons (;), or space characters. It cannot start with a dollar sign ($).
	//
	// > This parameter takes effect when the **StickySessionEnabled** parameter is set to **true** and the **StickySessionType** parameter is set to **Server**.
	Cookie *string `json:"Cookie,omitempty" xml:"Cookie,omitempty"`
	// The timeout period of a cookie. Unit: seconds.
	//
	// Valid values: **1** to **86400**.
	//
	// Default value: **1000**.
	//
	// > This parameter takes effect only when the **StickySessionEnabled** parameter is set to **true** and the **StickySessionType** parameter is set to **Insert**.
	CookieTimeout *int32 `json:"CookieTimeout,omitempty" xml:"CookieTimeout,omitempty"`
	// Specifies whether to enable session persistence. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	//
	// > This parameter takes effect when the **ServerGroupType** parameter is set to **Instance** or **Ip**.
	StickySessionEnabled *bool `json:"StickySessionEnabled,omitempty" xml:"StickySessionEnabled,omitempty"`
	// The method that is used to handle a cookie. Valid values:
	//
	// *   **Insert** (default): inserts a cookie.
	//
	// ALB inserts a session cookie (SERVERID) into the first HTTP or HTTPS response that is sent to a client. Subsequent requests to ALB carry this cookie, and ALB determines the destination servers of the requests based on the cookies.
	//
	// *   **Server**: rewrites a cookie.
	//
	// When ALB detects a user-defined cookie, it overwrites the original cookie with the user-defined cookie. Subsequent requests to ALB carry this user-defined cookie, and ALB determines the destination servers of the requests based on the cookies.
	//
	// > This parameter takes effect when the **StickySessionEnabled** parameter is set to **true**.
	StickySessionType *string `json:"StickySessionType,omitempty" xml:"StickySessionType,omitempty"`
}

func (CreateServerGroupRequestStickySessionConfig) GoString

func (*CreateServerGroupRequestStickySessionConfig) SetCookie

func (*CreateServerGroupRequestStickySessionConfig) SetCookieTimeout

func (*CreateServerGroupRequestStickySessionConfig) SetStickySessionEnabled

func (*CreateServerGroupRequestStickySessionConfig) SetStickySessionType

func (CreateServerGroupRequestStickySessionConfig) String

type CreateServerGroupRequestTag added in v2.0.5

type CreateServerGroupRequestTag struct {
	// The tag key. The tag key can be up to 128 characters in length, and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. The tag value can be up to 128 characters in length, and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateServerGroupRequestTag) GoString added in v2.0.5

func (s CreateServerGroupRequestTag) GoString() string

func (*CreateServerGroupRequestTag) SetKey added in v2.0.5

func (*CreateServerGroupRequestTag) SetValue added in v2.0.5

func (CreateServerGroupRequestTag) String added in v2.0.5

type CreateServerGroupRequestUchConfig added in v2.0.3

type CreateServerGroupRequestUchConfig struct {
	// The type of the parameter.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The parameter value for consistent hashing.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateServerGroupRequestUchConfig) GoString added in v2.0.3

func (*CreateServerGroupRequestUchConfig) SetType added in v2.0.3

func (*CreateServerGroupRequestUchConfig) SetValue added in v2.0.3

func (CreateServerGroupRequestUchConfig) String added in v2.0.3

type CreateServerGroupResponse

type CreateServerGroupResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateServerGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateServerGroupResponse) GoString

func (s CreateServerGroupResponse) GoString() string

func (*CreateServerGroupResponse) SetBody

func (*CreateServerGroupResponse) SetHeaders

func (*CreateServerGroupResponse) SetStatusCode

func (CreateServerGroupResponse) String

func (s CreateServerGroupResponse) String() string

type CreateServerGroupResponseBody

type CreateServerGroupResponseBody struct {
	// The ID of the asynchronous job.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (CreateServerGroupResponseBody) GoString

func (*CreateServerGroupResponseBody) SetJobId

func (*CreateServerGroupResponseBody) SetRequestId

func (*CreateServerGroupResponseBody) SetServerGroupId

func (CreateServerGroupResponseBody) String

type DeleteAScriptsRequest added in v2.0.3

type DeleteAScriptsRequest struct {
	// The AScript rule IDs.
	AScriptIds []*string `json:"AScriptIds,omitempty" xml:"AScriptIds,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**(default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
}

func (DeleteAScriptsRequest) GoString added in v2.0.3

func (s DeleteAScriptsRequest) GoString() string

func (*DeleteAScriptsRequest) SetAScriptIds added in v2.0.3

func (s *DeleteAScriptsRequest) SetAScriptIds(v []*string) *DeleteAScriptsRequest

func (*DeleteAScriptsRequest) SetClientToken added in v2.0.3

func (s *DeleteAScriptsRequest) SetClientToken(v string) *DeleteAScriptsRequest

func (*DeleteAScriptsRequest) SetDryRun added in v2.0.3

func (DeleteAScriptsRequest) String added in v2.0.3

func (s DeleteAScriptsRequest) String() string

type DeleteAScriptsResponse added in v2.0.3

type DeleteAScriptsResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteAScriptsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteAScriptsResponse) GoString added in v2.0.3

func (s DeleteAScriptsResponse) GoString() string

func (*DeleteAScriptsResponse) SetBody added in v2.0.3

func (*DeleteAScriptsResponse) SetHeaders added in v2.0.3

func (*DeleteAScriptsResponse) SetStatusCode added in v2.0.3

func (DeleteAScriptsResponse) String added in v2.0.3

func (s DeleteAScriptsResponse) String() string

type DeleteAScriptsResponseBody added in v2.0.3

type DeleteAScriptsResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteAScriptsResponseBody) GoString added in v2.0.3

func (s DeleteAScriptsResponseBody) GoString() string

func (*DeleteAScriptsResponseBody) SetJobId added in v2.0.3

func (*DeleteAScriptsResponseBody) SetRequestId added in v2.0.3

func (DeleteAScriptsResponseBody) String added in v2.0.3

type DeleteAclRequest

type DeleteAclRequest struct {
	// The ACL ID.
	AclId *string `json:"AclId,omitempty" xml:"AclId,omitempty"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
}

func (DeleteAclRequest) GoString

func (s DeleteAclRequest) GoString() string

func (*DeleteAclRequest) SetAclId

func (s *DeleteAclRequest) SetAclId(v string) *DeleteAclRequest

func (*DeleteAclRequest) SetClientToken

func (s *DeleteAclRequest) SetClientToken(v string) *DeleteAclRequest

func (*DeleteAclRequest) SetDryRun

func (s *DeleteAclRequest) SetDryRun(v bool) *DeleteAclRequest

func (DeleteAclRequest) String

func (s DeleteAclRequest) String() string

type DeleteAclResponse

type DeleteAclResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteAclResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteAclResponse) GoString

func (s DeleteAclResponse) GoString() string

func (*DeleteAclResponse) SetBody

func (*DeleteAclResponse) SetHeaders

func (s *DeleteAclResponse) SetHeaders(v map[string]*string) *DeleteAclResponse

func (*DeleteAclResponse) SetStatusCode

func (s *DeleteAclResponse) SetStatusCode(v int32) *DeleteAclResponse

func (DeleteAclResponse) String

func (s DeleteAclResponse) String() string

type DeleteAclResponseBody

type DeleteAclResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteAclResponseBody) GoString

func (s DeleteAclResponseBody) GoString() string

func (*DeleteAclResponseBody) SetJobId

func (*DeleteAclResponseBody) SetRequestId

func (DeleteAclResponseBody) String

func (s DeleteAclResponseBody) String() string

type DeleteHealthCheckTemplatesRequest

type DeleteHealthCheckTemplatesRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a **2xx HTTP** status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the health check template.
	HealthCheckTemplateIds []*string `json:"HealthCheckTemplateIds,omitempty" xml:"HealthCheckTemplateIds,omitempty" type:"Repeated"`
}

func (DeleteHealthCheckTemplatesRequest) GoString

func (*DeleteHealthCheckTemplatesRequest) SetClientToken

func (*DeleteHealthCheckTemplatesRequest) SetDryRun

func (*DeleteHealthCheckTemplatesRequest) SetHealthCheckTemplateIds

func (DeleteHealthCheckTemplatesRequest) String

type DeleteHealthCheckTemplatesResponse

type DeleteHealthCheckTemplatesResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteHealthCheckTemplatesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteHealthCheckTemplatesResponse) GoString

func (*DeleteHealthCheckTemplatesResponse) SetHeaders

func (*DeleteHealthCheckTemplatesResponse) SetStatusCode

func (DeleteHealthCheckTemplatesResponse) String

type DeleteHealthCheckTemplatesResponseBody

type DeleteHealthCheckTemplatesResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteHealthCheckTemplatesResponseBody) GoString

func (*DeleteHealthCheckTemplatesResponseBody) SetRequestId

func (DeleteHealthCheckTemplatesResponseBody) String

type DeleteListenerRequest

type DeleteListenerRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**: (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the Application Load Balancer (ALB) listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
}

func (DeleteListenerRequest) GoString

func (s DeleteListenerRequest) GoString() string

func (*DeleteListenerRequest) SetClientToken

func (s *DeleteListenerRequest) SetClientToken(v string) *DeleteListenerRequest

func (*DeleteListenerRequest) SetDryRun

func (*DeleteListenerRequest) SetListenerId

func (s *DeleteListenerRequest) SetListenerId(v string) *DeleteListenerRequest

func (DeleteListenerRequest) String

func (s DeleteListenerRequest) String() string

type DeleteListenerResponse

type DeleteListenerResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteListenerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteListenerResponse) GoString

func (s DeleteListenerResponse) GoString() string

func (*DeleteListenerResponse) SetBody

func (*DeleteListenerResponse) SetHeaders

func (*DeleteListenerResponse) SetStatusCode

func (DeleteListenerResponse) String

func (s DeleteListenerResponse) String() string

type DeleteListenerResponseBody

type DeleteListenerResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteListenerResponseBody) GoString

func (s DeleteListenerResponseBody) GoString() string

func (*DeleteListenerResponseBody) SetJobId

func (*DeleteListenerResponseBody) SetRequestId

func (DeleteListenerResponseBody) String

type DeleteLoadBalancerRequest

type DeleteLoadBalancerRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and sends the request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ALB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
}

func (DeleteLoadBalancerRequest) GoString

func (s DeleteLoadBalancerRequest) GoString() string

func (*DeleteLoadBalancerRequest) SetClientToken

func (*DeleteLoadBalancerRequest) SetDryRun

func (*DeleteLoadBalancerRequest) SetLoadBalancerId

func (DeleteLoadBalancerRequest) String

func (s DeleteLoadBalancerRequest) String() string

type DeleteLoadBalancerResponse

type DeleteLoadBalancerResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteLoadBalancerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteLoadBalancerResponse) GoString

func (s DeleteLoadBalancerResponse) GoString() string

func (*DeleteLoadBalancerResponse) SetBody

func (*DeleteLoadBalancerResponse) SetHeaders

func (*DeleteLoadBalancerResponse) SetStatusCode

func (DeleteLoadBalancerResponse) String

type DeleteLoadBalancerResponseBody

type DeleteLoadBalancerResponseBody struct {
	// The ID of the asynchronous task.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteLoadBalancerResponseBody) GoString

func (*DeleteLoadBalancerResponseBody) SetJobId

func (*DeleteLoadBalancerResponseBody) SetRequestId

func (DeleteLoadBalancerResponseBody) String

type DeleteRuleRequest

type DeleteRuleRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: sends the request without performing the operation. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**: performs a dry run and sends the request. If the request passes the dry run, the `HTTP_2xx` status code is returned and the operation is performed. This is the default value.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the forwarding rule.
	RuleId *string `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
}

func (DeleteRuleRequest) GoString

func (s DeleteRuleRequest) GoString() string

func (*DeleteRuleRequest) SetClientToken

func (s *DeleteRuleRequest) SetClientToken(v string) *DeleteRuleRequest

func (*DeleteRuleRequest) SetDryRun

func (s *DeleteRuleRequest) SetDryRun(v bool) *DeleteRuleRequest

func (*DeleteRuleRequest) SetRuleId

func (s *DeleteRuleRequest) SetRuleId(v string) *DeleteRuleRequest

func (DeleteRuleRequest) String

func (s DeleteRuleRequest) String() string

type DeleteRuleResponse

type DeleteRuleResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteRuleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteRuleResponse) GoString

func (s DeleteRuleResponse) GoString() string

func (*DeleteRuleResponse) SetBody

func (*DeleteRuleResponse) SetHeaders

func (s *DeleteRuleResponse) SetHeaders(v map[string]*string) *DeleteRuleResponse

func (*DeleteRuleResponse) SetStatusCode

func (s *DeleteRuleResponse) SetStatusCode(v int32) *DeleteRuleResponse

func (DeleteRuleResponse) String

func (s DeleteRuleResponse) String() string

type DeleteRuleResponseBody

type DeleteRuleResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteRuleResponseBody) GoString

func (s DeleteRuleResponseBody) GoString() string

func (*DeleteRuleResponseBody) SetJobId

func (*DeleteRuleResponseBody) SetRequestId

func (DeleteRuleResponseBody) String

func (s DeleteRuleResponseBody) String() string

type DeleteRulesRequest

type DeleteRulesRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: checks the request without performing the operation. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the forwarding rule. Valid values of N: **1** to **5**.
	RuleIds []*string `json:"RuleIds,omitempty" xml:"RuleIds,omitempty" type:"Repeated"`
}

func (DeleteRulesRequest) GoString

func (s DeleteRulesRequest) GoString() string

func (*DeleteRulesRequest) SetClientToken

func (s *DeleteRulesRequest) SetClientToken(v string) *DeleteRulesRequest

func (*DeleteRulesRequest) SetDryRun

func (s *DeleteRulesRequest) SetDryRun(v bool) *DeleteRulesRequest

func (*DeleteRulesRequest) SetRuleIds

func (s *DeleteRulesRequest) SetRuleIds(v []*string) *DeleteRulesRequest

func (DeleteRulesRequest) String

func (s DeleteRulesRequest) String() string

type DeleteRulesResponse

type DeleteRulesResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteRulesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteRulesResponse) GoString

func (s DeleteRulesResponse) GoString() string

func (*DeleteRulesResponse) SetBody

func (*DeleteRulesResponse) SetHeaders

func (s *DeleteRulesResponse) SetHeaders(v map[string]*string) *DeleteRulesResponse

func (*DeleteRulesResponse) SetStatusCode

func (s *DeleteRulesResponse) SetStatusCode(v int32) *DeleteRulesResponse

func (DeleteRulesResponse) String

func (s DeleteRulesResponse) String() string

type DeleteRulesResponseBody

type DeleteRulesResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteRulesResponseBody) GoString

func (s DeleteRulesResponseBody) GoString() string

func (*DeleteRulesResponseBody) SetJobId

func (*DeleteRulesResponseBody) SetRequestId

func (DeleteRulesResponseBody) String

func (s DeleteRulesResponseBody) String() string

type DeleteSecurityPolicyRequest

type DeleteSecurityPolicyRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	//
	// > If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The security policy ID.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
}

func (DeleteSecurityPolicyRequest) GoString

func (s DeleteSecurityPolicyRequest) GoString() string

func (*DeleteSecurityPolicyRequest) SetClientToken

func (*DeleteSecurityPolicyRequest) SetDryRun

func (*DeleteSecurityPolicyRequest) SetSecurityPolicyId

func (DeleteSecurityPolicyRequest) String

type DeleteSecurityPolicyResponse

type DeleteSecurityPolicyResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteSecurityPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteSecurityPolicyResponse) GoString

func (s DeleteSecurityPolicyResponse) GoString() string

func (*DeleteSecurityPolicyResponse) SetBody

func (*DeleteSecurityPolicyResponse) SetHeaders

func (*DeleteSecurityPolicyResponse) SetStatusCode

func (DeleteSecurityPolicyResponse) String

type DeleteSecurityPolicyResponseBody

type DeleteSecurityPolicyResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteSecurityPolicyResponseBody) GoString

func (*DeleteSecurityPolicyResponseBody) SetRequestId

func (DeleteSecurityPolicyResponseBody) String

type DeleteServerGroupRequest

type DeleteServerGroupRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (DeleteServerGroupRequest) GoString

func (s DeleteServerGroupRequest) GoString() string

func (*DeleteServerGroupRequest) SetClientToken

func (*DeleteServerGroupRequest) SetDryRun

func (*DeleteServerGroupRequest) SetServerGroupId

func (DeleteServerGroupRequest) String

func (s DeleteServerGroupRequest) String() string

type DeleteServerGroupResponse

type DeleteServerGroupResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteServerGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteServerGroupResponse) GoString

func (s DeleteServerGroupResponse) GoString() string

func (*DeleteServerGroupResponse) SetBody

func (*DeleteServerGroupResponse) SetHeaders

func (*DeleteServerGroupResponse) SetStatusCode

func (DeleteServerGroupResponse) String

func (s DeleteServerGroupResponse) String() string

type DeleteServerGroupResponseBody

type DeleteServerGroupResponseBody struct {
	// The ID of the asynchronous job.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteServerGroupResponseBody) GoString

func (*DeleteServerGroupResponseBody) SetJobId

func (*DeleteServerGroupResponseBody) SetRequestId

func (DeleteServerGroupResponseBody) String

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	// The supported natural language. Valid values:
	//
	// *   zh-CN: **Chinese**
	// *   en-US: **English**
	// *   ja: **Japanese**
	AcceptLanguage *string `json:"AcceptLanguage,omitempty" xml:"AcceptLanguage,omitempty"`
}

func (DescribeRegionsRequest) GoString

func (s DescribeRegionsRequest) GoString() string

func (*DescribeRegionsRequest) SetAcceptLanguage

func (s *DescribeRegionsRequest) SetAcceptLanguage(v string) *DescribeRegionsRequest

func (DescribeRegionsRequest) String

func (s DescribeRegionsRequest) String() string

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeRegionsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeRegionsResponse) GoString

func (s DescribeRegionsResponse) GoString() string

func (*DescribeRegionsResponse) SetBody

func (*DescribeRegionsResponse) SetHeaders

func (*DescribeRegionsResponse) SetStatusCode

func (DescribeRegionsResponse) String

func (s DescribeRegionsResponse) String() string

type DescribeRegionsResponseBody

type DescribeRegionsResponseBody struct {
	// The regions.
	Regions []*DescribeRegionsResponseBodyRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeRegionsResponseBody) GoString

func (s DescribeRegionsResponseBody) GoString() string

func (*DescribeRegionsResponseBody) SetRegions

func (*DescribeRegionsResponseBody) SetRequestId

func (DescribeRegionsResponseBody) String

type DescribeRegionsResponseBodyRegions

type DescribeRegionsResponseBodyRegions struct {
	// The name of the region.
	LocalName *string `json:"LocalName,omitempty" xml:"LocalName,omitempty"`
	// The endpoint of region service.
	RegionEndpoint *string `json:"RegionEndpoint,omitempty" xml:"RegionEndpoint,omitempty"`
	// The ID of the region.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeRegionsResponseBodyRegions) GoString

func (*DescribeRegionsResponseBodyRegions) SetLocalName

func (*DescribeRegionsResponseBodyRegions) SetRegionEndpoint

func (*DescribeRegionsResponseBodyRegions) SetRegionId

func (DescribeRegionsResponseBodyRegions) String

type DescribeZonesRequest added in v2.0.3

type DescribeZonesRequest struct {
	// The language of the response. Valid values:
	//
	// *   **zh-CN**: Chinese
	// *   **en-US**: English
	// *   **ja**: Japanese
	AcceptLanguage *string `json:"AcceptLanguage,omitempty" xml:"AcceptLanguage,omitempty"`
}

func (DescribeZonesRequest) GoString added in v2.0.3

func (s DescribeZonesRequest) GoString() string

func (*DescribeZonesRequest) SetAcceptLanguage added in v2.0.3

func (s *DescribeZonesRequest) SetAcceptLanguage(v string) *DescribeZonesRequest

func (DescribeZonesRequest) String added in v2.0.3

func (s DescribeZonesRequest) String() string

type DescribeZonesResponse

type DescribeZonesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeZonesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeZonesResponse) GoString

func (s DescribeZonesResponse) GoString() string

func (*DescribeZonesResponse) SetBody

func (*DescribeZonesResponse) SetHeaders

func (*DescribeZonesResponse) SetStatusCode

func (s *DescribeZonesResponse) SetStatusCode(v int32) *DescribeZonesResponse

func (DescribeZonesResponse) String

func (s DescribeZonesResponse) String() string

type DescribeZonesResponseBody

type DescribeZonesResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The zones.
	Zones []*DescribeZonesResponseBodyZones `json:"Zones,omitempty" xml:"Zones,omitempty" type:"Repeated"`
}

func (DescribeZonesResponseBody) GoString

func (s DescribeZonesResponseBody) GoString() string

func (*DescribeZonesResponseBody) SetRequestId

func (*DescribeZonesResponseBody) SetZones

func (DescribeZonesResponseBody) String

func (s DescribeZonesResponseBody) String() string

type DescribeZonesResponseBodyZones

type DescribeZonesResponseBodyZones struct {
	// The name of the zone.
	LocalName *string `json:"LocalName,omitempty" xml:"LocalName,omitempty"`
	// The zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeZonesResponseBodyZones) GoString

func (*DescribeZonesResponseBodyZones) SetLocalName

func (*DescribeZonesResponseBodyZones) SetZoneId

func (DescribeZonesResponseBodyZones) String

type DetachCommonBandwidthPackageFromLoadBalancerRequest

type DetachCommonBandwidthPackageFromLoadBalancerRequest struct {
	// The EIP bandwidth plan ID.
	BandwidthPackageId *string `json:"BandwidthPackageId,omitempty" xml:"BandwidthPackageId,omitempty"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ALB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The region ID of the ALB instance.
	//
	// You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DetachCommonBandwidthPackageFromLoadBalancerRequest) GoString

func (*DetachCommonBandwidthPackageFromLoadBalancerRequest) SetBandwidthPackageId

func (*DetachCommonBandwidthPackageFromLoadBalancerRequest) SetClientToken

func (*DetachCommonBandwidthPackageFromLoadBalancerRequest) SetDryRun

func (*DetachCommonBandwidthPackageFromLoadBalancerRequest) SetLoadBalancerId

func (*DetachCommonBandwidthPackageFromLoadBalancerRequest) SetRegionId

func (DetachCommonBandwidthPackageFromLoadBalancerRequest) String

type DetachCommonBandwidthPackageFromLoadBalancerResponse

type DetachCommonBandwidthPackageFromLoadBalancerResponse struct {
	Headers    map[string]*string                                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DetachCommonBandwidthPackageFromLoadBalancerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DetachCommonBandwidthPackageFromLoadBalancerResponse) GoString

func (*DetachCommonBandwidthPackageFromLoadBalancerResponse) SetHeaders

func (*DetachCommonBandwidthPackageFromLoadBalancerResponse) SetStatusCode

func (DetachCommonBandwidthPackageFromLoadBalancerResponse) String

type DetachCommonBandwidthPackageFromLoadBalancerResponseBody

type DetachCommonBandwidthPackageFromLoadBalancerResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DetachCommonBandwidthPackageFromLoadBalancerResponseBody) GoString

func (*DetachCommonBandwidthPackageFromLoadBalancerResponseBody) SetJobId

func (*DetachCommonBandwidthPackageFromLoadBalancerResponseBody) SetRequestId

func (DetachCommonBandwidthPackageFromLoadBalancerResponseBody) String

type DisableDeletionProtectionRequest

type DisableDeletionProtectionRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**: (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ALB instance ID.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
}

func (DisableDeletionProtectionRequest) GoString

func (*DisableDeletionProtectionRequest) SetClientToken

func (*DisableDeletionProtectionRequest) SetDryRun

func (*DisableDeletionProtectionRequest) SetResourceId

func (DisableDeletionProtectionRequest) String

type DisableDeletionProtectionResponse

type DisableDeletionProtectionResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DisableDeletionProtectionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DisableDeletionProtectionResponse) GoString

func (*DisableDeletionProtectionResponse) SetHeaders

func (*DisableDeletionProtectionResponse) SetStatusCode

func (DisableDeletionProtectionResponse) String

type DisableDeletionProtectionResponseBody

type DisableDeletionProtectionResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DisableDeletionProtectionResponseBody) GoString

func (*DisableDeletionProtectionResponseBody) SetRequestId

func (DisableDeletionProtectionResponseBody) String

type DisableLoadBalancerAccessLogRequest

type DisableLoadBalancerAccessLogRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	//
	// *   If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The SLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
}

func (DisableLoadBalancerAccessLogRequest) GoString

func (*DisableLoadBalancerAccessLogRequest) SetClientToken

func (*DisableLoadBalancerAccessLogRequest) SetDryRun

func (*DisableLoadBalancerAccessLogRequest) SetLoadBalancerId

func (DisableLoadBalancerAccessLogRequest) String

type DisableLoadBalancerAccessLogResponse

type DisableLoadBalancerAccessLogResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DisableLoadBalancerAccessLogResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DisableLoadBalancerAccessLogResponse) GoString

func (*DisableLoadBalancerAccessLogResponse) SetHeaders

func (*DisableLoadBalancerAccessLogResponse) SetStatusCode

func (DisableLoadBalancerAccessLogResponse) String

type DisableLoadBalancerAccessLogResponseBody

type DisableLoadBalancerAccessLogResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DisableLoadBalancerAccessLogResponseBody) GoString

func (*DisableLoadBalancerAccessLogResponseBody) SetRequestId

func (DisableLoadBalancerAccessLogResponseBody) String

type DisableLoadBalancerIpv6InternetRequest added in v2.0.3

type DisableLoadBalancerIpv6InternetRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ALB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
}

func (DisableLoadBalancerIpv6InternetRequest) GoString added in v2.0.3

func (*DisableLoadBalancerIpv6InternetRequest) SetClientToken added in v2.0.3

func (*DisableLoadBalancerIpv6InternetRequest) SetDryRun added in v2.0.3

func (*DisableLoadBalancerIpv6InternetRequest) SetLoadBalancerId added in v2.0.3

func (DisableLoadBalancerIpv6InternetRequest) String added in v2.0.3

type DisableLoadBalancerIpv6InternetResponse added in v2.0.3

type DisableLoadBalancerIpv6InternetResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DisableLoadBalancerIpv6InternetResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DisableLoadBalancerIpv6InternetResponse) GoString added in v2.0.3

func (*DisableLoadBalancerIpv6InternetResponse) SetBody added in v2.0.3

func (*DisableLoadBalancerIpv6InternetResponse) SetHeaders added in v2.0.3

func (*DisableLoadBalancerIpv6InternetResponse) SetStatusCode added in v2.0.3

func (DisableLoadBalancerIpv6InternetResponse) String added in v2.0.3

type DisableLoadBalancerIpv6InternetResponseBody added in v2.0.3

type DisableLoadBalancerIpv6InternetResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DisableLoadBalancerIpv6InternetResponseBody) GoString added in v2.0.3

func (*DisableLoadBalancerIpv6InternetResponseBody) SetJobId added in v2.0.3

func (*DisableLoadBalancerIpv6InternetResponseBody) SetRequestId added in v2.0.3

func (DisableLoadBalancerIpv6InternetResponseBody) String added in v2.0.3

type DissociateAclsFromListenerRequest

type DissociateAclsFromListenerRequest struct {
	// The ACL IDs.
	AclIds []*string `json:"AclIds,omitempty" xml:"AclIds,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The listener ID.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
}

func (DissociateAclsFromListenerRequest) GoString

func (*DissociateAclsFromListenerRequest) SetAclIds

func (*DissociateAclsFromListenerRequest) SetClientToken

func (*DissociateAclsFromListenerRequest) SetDryRun

func (*DissociateAclsFromListenerRequest) SetListenerId

func (DissociateAclsFromListenerRequest) String

type DissociateAclsFromListenerResponse

type DissociateAclsFromListenerResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DissociateAclsFromListenerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DissociateAclsFromListenerResponse) GoString

func (*DissociateAclsFromListenerResponse) SetHeaders

func (*DissociateAclsFromListenerResponse) SetStatusCode

func (DissociateAclsFromListenerResponse) String

type DissociateAclsFromListenerResponseBody

type DissociateAclsFromListenerResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DissociateAclsFromListenerResponseBody) GoString

func (*DissociateAclsFromListenerResponseBody) SetJobId

func (*DissociateAclsFromListenerResponseBody) SetRequestId

func (DissociateAclsFromListenerResponseBody) String

type DissociateAdditionalCertificatesFromListenerRequest

type DissociateAdditionalCertificatesFromListenerRequest struct {
	// The additional certificates.
	Certificates []*DissociateAdditionalCertificatesFromListenerRequestCertificates `json:"Certificates,omitempty" xml:"Certificates,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a **2xx HTTP** status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The listener ID. You must specify the ID of an HTTPS listener or a QUIC listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
}

func (DissociateAdditionalCertificatesFromListenerRequest) GoString

func (*DissociateAdditionalCertificatesFromListenerRequest) SetClientToken

func (*DissociateAdditionalCertificatesFromListenerRequest) SetDryRun

func (*DissociateAdditionalCertificatesFromListenerRequest) SetListenerId

func (DissociateAdditionalCertificatesFromListenerRequest) String

type DissociateAdditionalCertificatesFromListenerRequestCertificates

type DissociateAdditionalCertificatesFromListenerRequestCertificates struct {
	// The certificate ID. Only server certificates are supported. You can specify up to 20 IDs.
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
}

func (DissociateAdditionalCertificatesFromListenerRequestCertificates) GoString

func (*DissociateAdditionalCertificatesFromListenerRequestCertificates) SetCertificateId

func (DissociateAdditionalCertificatesFromListenerRequestCertificates) String

type DissociateAdditionalCertificatesFromListenerResponse

type DissociateAdditionalCertificatesFromListenerResponse struct {
	Headers    map[string]*string                                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DissociateAdditionalCertificatesFromListenerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DissociateAdditionalCertificatesFromListenerResponse) GoString

func (*DissociateAdditionalCertificatesFromListenerResponse) SetHeaders

func (*DissociateAdditionalCertificatesFromListenerResponse) SetStatusCode

func (DissociateAdditionalCertificatesFromListenerResponse) String

type DissociateAdditionalCertificatesFromListenerResponseBody

type DissociateAdditionalCertificatesFromListenerResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DissociateAdditionalCertificatesFromListenerResponseBody) GoString

func (*DissociateAdditionalCertificatesFromListenerResponseBody) SetJobId

func (*DissociateAdditionalCertificatesFromListenerResponseBody) SetRequestId

func (DissociateAdditionalCertificatesFromListenerResponseBody) String

type EnableDeletionProtectionRequest

type EnableDeletionProtectionRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**: (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The Application Load Balancer (ALB) instance ID.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
}

func (EnableDeletionProtectionRequest) GoString

func (*EnableDeletionProtectionRequest) SetClientToken

func (*EnableDeletionProtectionRequest) SetDryRun

func (*EnableDeletionProtectionRequest) SetResourceId

func (EnableDeletionProtectionRequest) String

type EnableDeletionProtectionResponse

type EnableDeletionProtectionResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *EnableDeletionProtectionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (EnableDeletionProtectionResponse) GoString

func (*EnableDeletionProtectionResponse) SetHeaders

func (*EnableDeletionProtectionResponse) SetStatusCode

func (EnableDeletionProtectionResponse) String

type EnableDeletionProtectionResponseBody

type EnableDeletionProtectionResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (EnableDeletionProtectionResponseBody) GoString

func (*EnableDeletionProtectionResponseBody) SetRequestId

func (EnableDeletionProtectionResponseBody) String

type EnableLoadBalancerAccessLogRequest

type EnableLoadBalancerAccessLogRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length.
	//
	// > If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ALB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The project to which the access log is shipped.
	LogProject *string `json:"LogProject,omitempty" xml:"LogProject,omitempty"`
	// The Logstore to which the access log is shipped.
	LogStore *string `json:"LogStore,omitempty" xml:"LogStore,omitempty"`
}

func (EnableLoadBalancerAccessLogRequest) GoString

func (*EnableLoadBalancerAccessLogRequest) SetClientToken

func (*EnableLoadBalancerAccessLogRequest) SetDryRun

func (*EnableLoadBalancerAccessLogRequest) SetLoadBalancerId

func (*EnableLoadBalancerAccessLogRequest) SetLogProject

func (*EnableLoadBalancerAccessLogRequest) SetLogStore

func (EnableLoadBalancerAccessLogRequest) String

type EnableLoadBalancerAccessLogResponse

type EnableLoadBalancerAccessLogResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *EnableLoadBalancerAccessLogResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (EnableLoadBalancerAccessLogResponse) GoString

func (*EnableLoadBalancerAccessLogResponse) SetHeaders

func (*EnableLoadBalancerAccessLogResponse) SetStatusCode

func (EnableLoadBalancerAccessLogResponse) String

type EnableLoadBalancerAccessLogResponseBody

type EnableLoadBalancerAccessLogResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (EnableLoadBalancerAccessLogResponseBody) GoString

func (*EnableLoadBalancerAccessLogResponseBody) SetRequestId

func (EnableLoadBalancerAccessLogResponseBody) String

type EnableLoadBalancerIpv6InternetRequest added in v2.0.3

type EnableLoadBalancerIpv6InternetRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**(default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ALB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
}

func (EnableLoadBalancerIpv6InternetRequest) GoString added in v2.0.3

func (*EnableLoadBalancerIpv6InternetRequest) SetClientToken added in v2.0.3

func (*EnableLoadBalancerIpv6InternetRequest) SetDryRun added in v2.0.3

func (*EnableLoadBalancerIpv6InternetRequest) SetLoadBalancerId added in v2.0.3

func (EnableLoadBalancerIpv6InternetRequest) String added in v2.0.3

type EnableLoadBalancerIpv6InternetResponse added in v2.0.3

type EnableLoadBalancerIpv6InternetResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *EnableLoadBalancerIpv6InternetResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (EnableLoadBalancerIpv6InternetResponse) GoString added in v2.0.3

func (*EnableLoadBalancerIpv6InternetResponse) SetBody added in v2.0.3

func (*EnableLoadBalancerIpv6InternetResponse) SetHeaders added in v2.0.3

func (*EnableLoadBalancerIpv6InternetResponse) SetStatusCode added in v2.0.3

func (EnableLoadBalancerIpv6InternetResponse) String added in v2.0.3

type EnableLoadBalancerIpv6InternetResponseBody added in v2.0.3

type EnableLoadBalancerIpv6InternetResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (EnableLoadBalancerIpv6InternetResponseBody) GoString added in v2.0.3

func (*EnableLoadBalancerIpv6InternetResponseBody) SetJobId added in v2.0.3

func (*EnableLoadBalancerIpv6InternetResponseBody) SetRequestId added in v2.0.3

func (EnableLoadBalancerIpv6InternetResponseBody) String added in v2.0.3

type GetHealthCheckTemplateAttributeRequest

type GetHealthCheckTemplateAttributeRequest struct {
	// The ID of the health check template.
	HealthCheckTemplateId *string `json:"HealthCheckTemplateId,omitempty" xml:"HealthCheckTemplateId,omitempty"`
}

func (GetHealthCheckTemplateAttributeRequest) GoString

func (*GetHealthCheckTemplateAttributeRequest) SetHealthCheckTemplateId

func (GetHealthCheckTemplateAttributeRequest) String

type GetHealthCheckTemplateAttributeResponse

type GetHealthCheckTemplateAttributeResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetHealthCheckTemplateAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetHealthCheckTemplateAttributeResponse) GoString

func (*GetHealthCheckTemplateAttributeResponse) SetHeaders

func (*GetHealthCheckTemplateAttributeResponse) SetStatusCode

func (GetHealthCheckTemplateAttributeResponse) String

type GetHealthCheckTemplateAttributeResponseBody

type GetHealthCheckTemplateAttributeResponseBody struct {
	// The HTTP status codes that are used to determine whether the backend server passes the health check.
	//
	// *   If **HealthCheckProtocol** is set to **HTTP**, **HealthCheckCodes** can be set to **http\_2xx** (default), **http\_3xx**, **http\_4xx**, and **http\_5xx**. Separate multiple HTTP status codes with a comma (,).
	// *   If **HealthCheckProtocol** is set to **gRPC**, **HealthCheckCodes** can be set to **0 to 99**. Default value: **0**. Value ranges are supported. You can enter up to 20 value ranges and separate them with a comma (,).
	//
	// > This parameter takes effect only when the **HealthCheckProtocol** parameter is set to **HTTP** or **gRPC**.
	HealthCheckCodes []*string `json:"HealthCheckCodes,omitempty" xml:"HealthCheckCodes,omitempty" type:"Repeated"`
	// The port that is used for health checks.
	//
	// Valid values: **0** to **65535**.
	HealthCheckConnectPort *int32 `json:"HealthCheckConnectPort,omitempty" xml:"HealthCheckConnectPort,omitempty"`
	// The domain name that you want to use for health checks. Valid values:
	//
	// *   **$SERVER_IP**: the private IP addresses of backend servers. If you do not set the HealthCheckHost parameter or set the parameter to $SERVER_IP, the Application Load Balancer (ALB) instance uses the private IP addresses of backend servers for health checks.
	// *   **domain**: The domain name must be 1 to 80 characters in length, and can contain letters, digits, periods (.), and hyphens (-).
	//
	// > This parameter takes effect only when the `HealthCheckProtocol` parameter is set to **HTTP**.
	HealthCheckHost *string `json:"HealthCheckHost,omitempty" xml:"HealthCheckHost,omitempty"`
	// The HTTP version that is used for health checks.
	//
	// Valid values: **HTTP1.0** and **HTTP1.1**.
	//
	// > This parameter takes effect only when the `HealthCheckProtocol` parameter is set to **HTTP**.
	HealthCheckHttpVersion *string `json:"HealthCheckHttpVersion,omitempty" xml:"HealthCheckHttpVersion,omitempty"`
	// The interval at which health checks are performed. Unit: seconds. Valid values: **1 to 50**.
	HealthCheckInterval *int32 `json:"HealthCheckInterval,omitempty" xml:"HealthCheckInterval,omitempty"`
	// The method that you want to use for the health check. Valid values:
	//
	// *   **HEAD**: By default, the ALB instance sends HEAD requests to a backend server to perform HTTP health checks.
	// *   **GET**: If the length of a response exceeds 8 KB, the response is truncated. However, the health check result is not affected.
	// *   **POST**: gRPC health checks automatically use the POST method.
	//
	// > This parameter takes effect only when the **HealthCheckProtocol** parameter is set to **HTTP** or **gRPC**.
	HealthCheckMethod *string `json:"HealthCheckMethod,omitempty" xml:"HealthCheckMethod,omitempty"`
	// The URL that is used for health checks.
	//
	// The URL must be 1 to 80 characters in length, and can contain only letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The URL can also contain the following extended characters: `_ ; ~ ! ( ) * [ ] @ $ ^ : \" , +`. The URL must start with a forward slash (/).
	//
	// > This parameter takes effect only when the **HealthCheckProtocol** parameter is set to **HTTP** or **gRPC**.
	HealthCheckPath *string `json:"HealthCheckPath,omitempty" xml:"HealthCheckPath,omitempty"`
	// The protocol that you want to use for health checks. Valid values:
	//
	// *   **HTTP** (default): To perform HTTP health checks, ALB sends HEAD or GET requests to a backend server to check whether the backend server is healthy.
	// *   **TCP**: To perform TCP health checks, ALB sends SYN packets to a backend server to check whether the port of the backend server is available to receive requests.
	// *   **gRPC**: To perform gRPC health checks, ALB sends POST or GET requests to a backend server to check whether the backend server is healthy.
	HealthCheckProtocol *string `json:"HealthCheckProtocol,omitempty" xml:"HealthCheckProtocol,omitempty"`
	// The ID of the health check template.
	HealthCheckTemplateId *string `json:"HealthCheckTemplateId,omitempty" xml:"HealthCheckTemplateId,omitempty"`
	// The name of the health check template.
	//
	// The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	HealthCheckTemplateName *string `json:"HealthCheckTemplateName,omitempty" xml:"HealthCheckTemplateName,omitempty"`
	// The timeout period of a health check. If a backend server does not respond within the specified timeout period, the backend server fails the health check. Unit: seconds.
	//
	// Valid values: **1** to **300**.
	//
	// > If the value of the `HealthCheckTimeout` parameter is smaller than that of the `HealthCheckInterval` parameter, the timeout period specified by the `HealthCheckTimeout` parameter is ignored and the value of the `HealthCheckInterval` parameter is used as the timeout period.
	HealthCheckTimeout *int32 `json:"HealthCheckTimeout,omitempty" xml:"HealthCheckTimeout,omitempty"`
	// The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status is changed from **fail** to **success**.
	//
	// Valid values: **2** to **10**.
	HealthyThreshold *int32 `json:"HealthyThreshold,omitempty" xml:"HealthyThreshold,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The tags.
	Tags []*GetHealthCheckTemplateAttributeResponseBodyTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status is changed from **success** to **fail**.
	//
	// Valid values: **2** to **10**.
	UnhealthyThreshold *int32 `json:"UnhealthyThreshold,omitempty" xml:"UnhealthyThreshold,omitempty"`
}

func (GetHealthCheckTemplateAttributeResponseBody) GoString

func (*GetHealthCheckTemplateAttributeResponseBody) SetHealthCheckCodes

func (*GetHealthCheckTemplateAttributeResponseBody) SetHealthCheckConnectPort

func (*GetHealthCheckTemplateAttributeResponseBody) SetHealthCheckHost

func (*GetHealthCheckTemplateAttributeResponseBody) SetHealthCheckHttpVersion

func (*GetHealthCheckTemplateAttributeResponseBody) SetHealthCheckInterval

func (*GetHealthCheckTemplateAttributeResponseBody) SetHealthCheckMethod

func (*GetHealthCheckTemplateAttributeResponseBody) SetHealthCheckPath

func (*GetHealthCheckTemplateAttributeResponseBody) SetHealthCheckProtocol

func (*GetHealthCheckTemplateAttributeResponseBody) SetHealthCheckTemplateId

func (*GetHealthCheckTemplateAttributeResponseBody) SetHealthCheckTemplateName

func (*GetHealthCheckTemplateAttributeResponseBody) SetHealthCheckTimeout

func (*GetHealthCheckTemplateAttributeResponseBody) SetHealthyThreshold

func (*GetHealthCheckTemplateAttributeResponseBody) SetRequestId

func (*GetHealthCheckTemplateAttributeResponseBody) SetTags added in v2.0.5

func (*GetHealthCheckTemplateAttributeResponseBody) SetUnhealthyThreshold

func (GetHealthCheckTemplateAttributeResponseBody) String

type GetHealthCheckTemplateAttributeResponseBodyTags added in v2.0.5

type GetHealthCheckTemplateAttributeResponseBodyTags struct {
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (GetHealthCheckTemplateAttributeResponseBodyTags) GoString added in v2.0.5

func (*GetHealthCheckTemplateAttributeResponseBodyTags) SetKey added in v2.0.5

func (*GetHealthCheckTemplateAttributeResponseBodyTags) SetValue added in v2.0.5

func (GetHealthCheckTemplateAttributeResponseBodyTags) String added in v2.0.5

type GetListenerAttributeRequest

type GetListenerAttributeRequest struct {
	// The listener ID.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
}

func (GetListenerAttributeRequest) GoString

func (s GetListenerAttributeRequest) GoString() string

func (*GetListenerAttributeRequest) SetListenerId

func (GetListenerAttributeRequest) String

type GetListenerAttributeResponse

type GetListenerAttributeResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetListenerAttributeResponse) GoString

func (s GetListenerAttributeResponse) GoString() string

func (*GetListenerAttributeResponse) SetBody

func (*GetListenerAttributeResponse) SetHeaders

func (*GetListenerAttributeResponse) SetStatusCode

func (GetListenerAttributeResponse) String

type GetListenerAttributeResponseBody

type GetListenerAttributeResponseBody struct {
	// The configurations of the access control lists (ACLs).
	AclConfig *GetListenerAttributeResponseBodyAclConfig `json:"AclConfig,omitempty" xml:"AclConfig,omitempty" type:"Struct"`
	// A list of default CA certificates.
	CaCertificates []*GetListenerAttributeResponseBodyCaCertificates `json:"CaCertificates,omitempty" xml:"CaCertificates,omitempty" type:"Repeated"`
	// Indicates whether mutual authentication is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	CaEnabled *bool `json:"CaEnabled,omitempty" xml:"CaEnabled,omitempty"`
	// A list of certificates.
	Certificates []*GetListenerAttributeResponseBodyCertificates `json:"Certificates,omitempty" xml:"Certificates,omitempty" type:"Repeated"`
	// The actions of the default forwarding rule.
	DefaultActions []*GetListenerAttributeResponseBodyDefaultActions `json:"DefaultActions,omitempty" xml:"DefaultActions,omitempty" type:"Repeated"`
	// Indicates whether GZIP compression is enabled to compress specific types of files. Valid values:
	//
	// *   **true**
	// *   **false**
	GzipEnabled *bool `json:"GzipEnabled,omitempty" xml:"GzipEnabled,omitempty"`
	// Indicates whether HTTP/2 is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTPS listener.
	Http2Enabled *bool `json:"Http2Enabled,omitempty" xml:"Http2Enabled,omitempty"`
	// The timeout period of an idle connection. Unit: seconds.
	//
	// If no requests are received within the specified timeout period, Application Load Balancer (ALB) closes the current connection. When a request is received, ALB establishes a new connection.
	IdleTimeout *int32 `json:"IdleTimeout,omitempty" xml:"IdleTimeout,omitempty"`
	// The name of the listener.
	ListenerDescription *string `json:"ListenerDescription,omitempty" xml:"ListenerDescription,omitempty"`
	// The ID of the listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The frontend port that is used by the ALB instance.
	ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"`
	// The listener protocol. Valid values: **HTTP**, **HTTPS**, and **QUIC**.
	ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"`
	// The status of the listener. Valid values:
	//
	// *   **Provisioning**
	// *   **Running**
	// *   **Configuring**
	// *   **Stopped**
	ListenerStatus *string `json:"ListenerStatus,omitempty" xml:"ListenerStatus,omitempty"`
	// The ALB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The logging configuration.
	LogConfig *GetListenerAttributeResponseBodyLogConfig `json:"LogConfig,omitempty" xml:"LogConfig,omitempty" type:"Struct"`
	// The configuration information when the listener is associated with a QUIC listener.
	QuicConfig *GetListenerAttributeResponseBodyQuicConfig `json:"QuicConfig,omitempty" xml:"QuicConfig,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The timeout period of a request. Unit: seconds.
	//
	// If no responses are received from the backend server within the specified timeout period, ALB returns an `HTTP 504` error code to the client.
	RequestTimeout *int32 `json:"RequestTimeout,omitempty" xml:"RequestTimeout,omitempty"`
	// The security policy.
	//
	// > This parameter is available only when you create an HTTPS listener.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The tags.
	Tags []*GetListenerAttributeResponseBodyTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The configuration of the XForward headers.
	XForwardedForConfig *GetListenerAttributeResponseBodyXForwardedForConfig `json:"XForwardedForConfig,omitempty" xml:"XForwardedForConfig,omitempty" type:"Struct"`
}

func (GetListenerAttributeResponseBody) GoString

func (*GetListenerAttributeResponseBody) SetCaCertificates added in v2.0.3

func (*GetListenerAttributeResponseBody) SetCaEnabled

func (*GetListenerAttributeResponseBody) SetGzipEnabled

func (*GetListenerAttributeResponseBody) SetHttp2Enabled

func (*GetListenerAttributeResponseBody) SetIdleTimeout

func (*GetListenerAttributeResponseBody) SetListenerDescription

func (*GetListenerAttributeResponseBody) SetListenerId

func (*GetListenerAttributeResponseBody) SetListenerPort

func (*GetListenerAttributeResponseBody) SetListenerProtocol

func (*GetListenerAttributeResponseBody) SetListenerStatus

func (*GetListenerAttributeResponseBody) SetLoadBalancerId

func (*GetListenerAttributeResponseBody) SetRequestId

func (*GetListenerAttributeResponseBody) SetRequestTimeout

func (*GetListenerAttributeResponseBody) SetSecurityPolicyId

func (*GetListenerAttributeResponseBody) SetTags added in v2.0.5

func (GetListenerAttributeResponseBody) String

type GetListenerAttributeResponseBodyAclConfig

type GetListenerAttributeResponseBodyAclConfig struct {
	// The IDs of the ACLs that are associated with the listener.
	AclRelations []*GetListenerAttributeResponseBodyAclConfigAclRelations `json:"AclRelations,omitempty" xml:"AclRelations,omitempty" type:"Repeated"`
	// The type of the ACL. Valid values:
	//
	// *   **White**: a whitelist. Only requests from the IP addresses or CIDR blocks in the network ACL are forwarded. Whitelists are applicable to scenarios in which you want to allow only specific IP addresses to access an application. Your service may be adversely affected if the whitelist is not properly configured. If a whitelist is configured for a listener, only requests from IP addresses that are on the whitelist are forwarded by the listener.
	//
	//     If you enable a whitelist but do not add an IP address to the whitelist, the listener forwards all requests.
	//
	// *   **Black**: a blacklist. Requests from the IP addresses or CIDR blocks in the network ACL are denied. Blacklists are suitable for scenarios in which you want to deny access from specific IP addresses or CIDR blocks to an application.
	//
	//     If a blacklist is configured for a listener but no IP addresses are added to the blacklist, the listener forwards all requests.
	AclType *string `json:"AclType,omitempty" xml:"AclType,omitempty"`
}

func (GetListenerAttributeResponseBodyAclConfig) GoString

func (*GetListenerAttributeResponseBodyAclConfig) SetAclType

func (GetListenerAttributeResponseBodyAclConfig) String

type GetListenerAttributeResponseBodyAclConfigAclRelations

type GetListenerAttributeResponseBodyAclConfigAclRelations struct {
	// The ID of the ACL that is associated with the listener.
	AclId *string `json:"AclId,omitempty" xml:"AclId,omitempty"`
	// Indicates whether the ACL is associated with the listener. Valid values:
	//
	// *   **Associating**
	// *   **Associated**
	// *   **Dissociating**
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetListenerAttributeResponseBodyAclConfigAclRelations) GoString

func (*GetListenerAttributeResponseBodyAclConfigAclRelations) SetAclId

func (*GetListenerAttributeResponseBodyAclConfigAclRelations) SetStatus

func (GetListenerAttributeResponseBodyAclConfigAclRelations) String

type GetListenerAttributeResponseBodyCaCertificates added in v2.0.3

type GetListenerAttributeResponseBodyCaCertificates struct {
	// The ID of the default CA certificate.
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
	// Indicates whether the certificate is a default certificate: Valid values:
	//
	// *   **true**
	// *   **false**
	IsDefault *bool `json:"IsDefault,omitempty" xml:"IsDefault,omitempty"`
	// The status of the certificate.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetListenerAttributeResponseBodyCaCertificates) GoString added in v2.0.3

func (*GetListenerAttributeResponseBodyCaCertificates) SetCertificateId added in v2.0.3

func (*GetListenerAttributeResponseBodyCaCertificates) SetIsDefault added in v2.0.3

func (*GetListenerAttributeResponseBodyCaCertificates) SetStatus added in v2.0.3

func (GetListenerAttributeResponseBodyCaCertificates) String added in v2.0.3

type GetListenerAttributeResponseBodyCertificates

type GetListenerAttributeResponseBodyCertificates struct {
	// The ID of the certificate. Only server certificates are supported.
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
}

func (GetListenerAttributeResponseBodyCertificates) GoString

func (*GetListenerAttributeResponseBodyCertificates) SetCertificateId

func (GetListenerAttributeResponseBodyCertificates) String

type GetListenerAttributeResponseBodyDefaultActions

type GetListenerAttributeResponseBodyDefaultActions struct {
	// The configuration of the ForwardGroup action. This parameter is returned and takes effect when Type is set to **ForwardGroup**.
	ForwardGroupConfig *GetListenerAttributeResponseBodyDefaultActionsForwardGroupConfig `json:"ForwardGroupConfig,omitempty" xml:"ForwardGroupConfig,omitempty" type:"Struct"`
	// The type of the action.
	//
	// If **ForwardGroup** is returned, requests are forwarded to multiple vServer groups.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (GetListenerAttributeResponseBodyDefaultActions) GoString

func (*GetListenerAttributeResponseBodyDefaultActions) SetType

func (GetListenerAttributeResponseBodyDefaultActions) String

type GetListenerAttributeResponseBodyDefaultActionsForwardGroupConfig

type GetListenerAttributeResponseBodyDefaultActionsForwardGroupConfig struct {
	// The server group to which requests are forwarded.
	ServerGroupTuples []*GetListenerAttributeResponseBodyDefaultActionsForwardGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (GetListenerAttributeResponseBodyDefaultActionsForwardGroupConfig) GoString

func (GetListenerAttributeResponseBodyDefaultActionsForwardGroupConfig) String

type GetListenerAttributeResponseBodyDefaultActionsForwardGroupConfigServerGroupTuples

type GetListenerAttributeResponseBodyDefaultActionsForwardGroupConfigServerGroupTuples struct {
	// The ID of the server group to which requests are forwarded.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (GetListenerAttributeResponseBodyDefaultActionsForwardGroupConfigServerGroupTuples) GoString

func (*GetListenerAttributeResponseBodyDefaultActionsForwardGroupConfigServerGroupTuples) SetServerGroupId

func (GetListenerAttributeResponseBodyDefaultActionsForwardGroupConfigServerGroupTuples) String

type GetListenerAttributeResponseBodyLogConfig

type GetListenerAttributeResponseBodyLogConfig struct {
	// Indicates whether custom headers are recorded in the access log. Valid values:
	//
	// *   **true**
	// *   **false**
	AccessLogRecordCustomizedHeadersEnabled *bool `json:"AccessLogRecordCustomizedHeadersEnabled,omitempty" xml:"AccessLogRecordCustomizedHeadersEnabled,omitempty"`
	// The configuration of Xtrace. Xtrace is used to record requests sent to ALB.
	AccessLogTracingConfig *GetListenerAttributeResponseBodyLogConfigAccessLogTracingConfig `json:"AccessLogTracingConfig,omitempty" xml:"AccessLogTracingConfig,omitempty" type:"Struct"`
}

func (GetListenerAttributeResponseBodyLogConfig) GoString

func (*GetListenerAttributeResponseBodyLogConfig) SetAccessLogRecordCustomizedHeadersEnabled

func (s *GetListenerAttributeResponseBodyLogConfig) SetAccessLogRecordCustomizedHeadersEnabled(v bool) *GetListenerAttributeResponseBodyLogConfig

func (GetListenerAttributeResponseBodyLogConfig) String

type GetListenerAttributeResponseBodyLogConfigAccessLogTracingConfig

type GetListenerAttributeResponseBodyLogConfigAccessLogTracingConfig struct {
	// Indicates whether Xtrace is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > You can set this parameter to **true** only if the AccessLogEnabled parameter is set to true.
	TracingEnabled *bool `json:"TracingEnabled,omitempty" xml:"TracingEnabled,omitempty"`
	// The sampling rate of Xtrace. Valid values: 1 to 10000.
	//
	// > If **TracingEnabled** is set to **true**, this parameter is valid.
	TracingSample *int32 `json:"TracingSample,omitempty" xml:"TracingSample,omitempty"`
	// The Xtrace type. Supported Xtrace type: **Zipkin**.
	//
	// > If **TracingEnabled** is set to **true**, this parameter is valid.
	TracingType *string `json:"TracingType,omitempty" xml:"TracingType,omitempty"`
}

func (GetListenerAttributeResponseBodyLogConfigAccessLogTracingConfig) GoString

func (*GetListenerAttributeResponseBodyLogConfigAccessLogTracingConfig) SetTracingEnabled

func (*GetListenerAttributeResponseBodyLogConfigAccessLogTracingConfig) SetTracingSample

func (*GetListenerAttributeResponseBodyLogConfigAccessLogTracingConfig) SetTracingType

func (GetListenerAttributeResponseBodyLogConfigAccessLogTracingConfig) String

type GetListenerAttributeResponseBodyQuicConfig

type GetListenerAttributeResponseBodyQuicConfig struct {
	// The ID of the QUIC listener. This parameter is returned when **QuicUpgradeEnabled** is set to **true**. Only HTTPS listeners support this parameter.
	//
	// > You must associate the HTTPS listener and the QUIC listener with the same ALB instance. In addition, make sure that the QUIC listener has never been associated with another listener.
	QuicListenerId *string `json:"QuicListenerId,omitempty" xml:"QuicListenerId,omitempty"`
	// Indicates whether QUIC upgrade is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > Only HTTPS listeners support this parameter.
	QuicUpgradeEnabled *bool `json:"QuicUpgradeEnabled,omitempty" xml:"QuicUpgradeEnabled,omitempty"`
}

func (GetListenerAttributeResponseBodyQuicConfig) GoString

func (*GetListenerAttributeResponseBodyQuicConfig) SetQuicListenerId

func (*GetListenerAttributeResponseBodyQuicConfig) SetQuicUpgradeEnabled

func (GetListenerAttributeResponseBodyQuicConfig) String

type GetListenerAttributeResponseBodyTags added in v2.0.5

type GetListenerAttributeResponseBodyTags struct {
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (GetListenerAttributeResponseBodyTags) GoString added in v2.0.5

func (*GetListenerAttributeResponseBodyTags) SetKey added in v2.0.5

func (*GetListenerAttributeResponseBodyTags) SetValue added in v2.0.5

func (GetListenerAttributeResponseBodyTags) String added in v2.0.5

type GetListenerAttributeResponseBodyXForwardedForConfig

type GetListenerAttributeResponseBodyXForwardedForConfig struct {
	// The name of the custom header. This parameter takes effect only when **XForwardedForClientCertClientVerifyEnabled** is set to **true**.
	//
	// The name is 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (\_), and digits.
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertClientVerifyAlias *string `json:"XForwardedForClientCertClientVerifyAlias,omitempty" xml:"XForwardedForClientCertClientVerifyAlias,omitempty"`
	// Indicates whether the `X-Forwarded-Clientcert-clientverify` header is used to retrieve the verification result of the client certificate. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertClientVerifyEnabled *bool `json:"XForwardedForClientCertClientVerifyEnabled,omitempty" xml:"XForwardedForClientCertClientVerifyEnabled,omitempty"`
	// The name of the custom header. This parameter takes effect only when **XForwardedForClientCertFingerprintEnabled** is set to **true**.
	//
	// The name is 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (\_), and digits.
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertFingerprintAlias *string `json:"XForwardedForClientCertFingerprintAlias,omitempty" xml:"XForwardedForClientCertFingerprintAlias,omitempty"`
	// Indicates whether the `X-Forwarded-Clientcert-fingerprint` header is used to retrieve the fingerprint of the client certificate. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertFingerprintEnabled *bool `json:"XForwardedForClientCertFingerprintEnabled,omitempty" xml:"XForwardedForClientCertFingerprintEnabled,omitempty"`
	// The name of the custom header. This parameter takes effect only when **XForwardedForClientCertIssuerDNEnabled** is set to **true**.
	//
	// The name is 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (\_), and digits.
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertIssuerDNAlias *string `json:"XForwardedForClientCertIssuerDNAlias,omitempty" xml:"XForwardedForClientCertIssuerDNAlias,omitempty"`
	// Indicates whether the `X-Forwarded-Clientcert-issuerdn` header is used to retrieve information about the authority that issues the client certificate. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertIssuerDNEnabled *bool `json:"XForwardedForClientCertIssuerDNEnabled,omitempty" xml:"XForwardedForClientCertIssuerDNEnabled,omitempty"`
	// The name of the custom header. This parameter takes effect only when **XForwardedForClientCertSubjectDNEnabled** is set to **true**.
	//
	// The name is 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (\_), and digits.
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertSubjectDNAlias *string `json:"XForwardedForClientCertSubjectDNAlias,omitempty" xml:"XForwardedForClientCertSubjectDNAlias,omitempty"`
	// Indicates whether the `X-Forwarded-Clientcert-subjectdn` header is used to retrieve information about the owner of the client certificate. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertSubjectDNEnabled *bool `json:"XForwardedForClientCertSubjectDNEnabled,omitempty" xml:"XForwardedForClientCertSubjectDNEnabled,omitempty"`
	// Indicates whether the `X-Forwarded-Client-Ip` header is used to retrieve the source port of the ALB instance. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTP, HTTPS, or QUIC listener.
	XForwardedForClientSourceIpsEnabled *bool `json:"XForwardedForClientSourceIpsEnabled,omitempty" xml:"XForwardedForClientSourceIpsEnabled,omitempty"`
	// The trusted proxy IP address.
	//
	// ALB traverses `X-Forwarded-For` backward and selects the first IP address that is not on the trusted IP address list as the real IP address of the client. The IP address is used in source IP address throttling.
	XForwardedForClientSourceIpsTrusted *string `json:"XForwardedForClientSourceIpsTrusted,omitempty" xml:"XForwardedForClientSourceIpsTrusted,omitempty"`
	// Indicates whether the `X-Forwarded-Client-Port` header is used to retrieve the client port. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTP or HTTPS listener.
	XForwardedForClientSrcPortEnabled *bool `json:"XForwardedForClientSrcPortEnabled,omitempty" xml:"XForwardedForClientSrcPortEnabled,omitempty"`
	// Indicates whether the `X-Forwarded-For` header is used to retrieve the client IP address. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTP or HTTPS listener.
	XForwardedForEnabled *bool `json:"XForwardedForEnabled,omitempty" xml:"XForwardedForEnabled,omitempty"`
	// Indicates whether the `X-Forwarded-Proto` header is used to retrieve the listening protocol. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTP, HTTPS, or QUIC listener.
	XForwardedForProtoEnabled *bool `json:"XForwardedForProtoEnabled,omitempty" xml:"XForwardedForProtoEnabled,omitempty"`
	// Indicates whether the `SLB-ID` header is used to retrieve the ID of the CLB instance. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTP, HTTPS, or QUIC listener.
	XForwardedForSLBIdEnabled *bool `json:"XForwardedForSLBIdEnabled,omitempty" xml:"XForwardedForSLBIdEnabled,omitempty"`
	// Indicates whether the `X-Forwarded-Port` header is used to retrieve the listening port of the ALB instance. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTP, HTTPS, or QUIC listener.
	XForwardedForSLBPortEnabled *bool `json:"XForwardedForSLBPortEnabled,omitempty" xml:"XForwardedForSLBPortEnabled,omitempty"`
}

func (GetListenerAttributeResponseBodyXForwardedForConfig) GoString

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForClientCertClientVerifyAlias

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForClientCertClientVerifyEnabled

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForClientCertFingerprintAlias

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForClientCertFingerprintEnabled

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForClientCertIssuerDNAlias

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForClientCertIssuerDNEnabled

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForClientCertSubjectDNAlias

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForClientCertSubjectDNEnabled

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForClientSourceIpsEnabled

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForClientSourceIpsTrusted

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForClientSrcPortEnabled

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForEnabled

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForProtoEnabled

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForSLBIdEnabled

func (*GetListenerAttributeResponseBodyXForwardedForConfig) SetXForwardedForSLBPortEnabled

func (GetListenerAttributeResponseBodyXForwardedForConfig) String

type GetListenerHealthStatusRequest

type GetListenerHealthStatusRequest struct {
	// Specifies whether to return the health check results of forwarding rules. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	IncludeRule *bool `json:"IncludeRule,omitempty" xml:"IncludeRule,omitempty"`
	// The listener ID.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The number of entries to return on each page. Valid values: **1** to **30**. Default value: **20**.
	MaxResults *int64 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The token that determines the start point of the query. Valid values:
	//
	// *   If this is your first query or no next queries are to be sent, ignore this parameter.
	// *   If a next query is to be sent, set the value to the value of **NextToken** that is returned from the last call.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
}

func (GetListenerHealthStatusRequest) GoString

func (*GetListenerHealthStatusRequest) SetIncludeRule

func (*GetListenerHealthStatusRequest) SetListenerId

func (*GetListenerHealthStatusRequest) SetMaxResults

func (*GetListenerHealthStatusRequest) SetNextToken

func (GetListenerHealthStatusRequest) String

type GetListenerHealthStatusResponse

type GetListenerHealthStatusResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetListenerHealthStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetListenerHealthStatusResponse) GoString

func (*GetListenerHealthStatusResponse) SetHeaders

func (*GetListenerHealthStatusResponse) SetStatusCode

func (GetListenerHealthStatusResponse) String

type GetListenerHealthStatusResponseBody

type GetListenerHealthStatusResponseBody struct {
	// The health check status of the server groups that are associated with the listener.
	ListenerHealthStatus []*GetListenerHealthStatusResponseBodyListenerHealthStatus `json:"ListenerHealthStatus,omitempty" xml:"ListenerHealthStatus,omitempty" type:"Repeated"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If **NextToken** was returned in the previous query, specify the value to obtain the next set of results.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The health check status of the forwarding rules.
	RuleHealthStatus []*GetListenerHealthStatusResponseBodyRuleHealthStatus `json:"RuleHealthStatus,omitempty" xml:"RuleHealthStatus,omitempty" type:"Repeated"`
}

func (GetListenerHealthStatusResponseBody) GoString

func (*GetListenerHealthStatusResponseBody) SetNextToken

func (*GetListenerHealthStatusResponseBody) SetRequestId

func (GetListenerHealthStatusResponseBody) String

type GetListenerHealthStatusResponseBodyListenerHealthStatus

type GetListenerHealthStatusResponseBodyListenerHealthStatus struct {
	// The listener ID.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The listener port.
	ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"`
	// The listener protocol.
	ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"`
	// The information about the server groups.
	ServerGroupInfos []*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfos `json:"ServerGroupInfos,omitempty" xml:"ServerGroupInfos,omitempty" type:"Repeated"`
}

func (GetListenerHealthStatusResponseBodyListenerHealthStatus) GoString

func (*GetListenerHealthStatusResponseBodyListenerHealthStatus) SetListenerId

func (*GetListenerHealthStatusResponseBodyListenerHealthStatus) SetListenerPort

func (*GetListenerHealthStatusResponseBodyListenerHealthStatus) SetListenerProtocol

func (GetListenerHealthStatusResponseBodyListenerHealthStatus) String

type GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfos

type GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfos struct {
	// The action specified for the server group.
	ActionType *string `json:"ActionType,omitempty" xml:"ActionType,omitempty"`
	// Indicates whether health checks are enabled. If **on** is returned, it indicates that health checks are enabled.
	HealthCheckEnabled *string `json:"HealthCheckEnabled,omitempty" xml:"HealthCheckEnabled,omitempty"`
	// A list of unhealthy backend servers.
	NonNormalServers []*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServers `json:"NonNormalServers,omitempty" xml:"NonNormalServers,omitempty" type:"Repeated"`
	// The ID of the server group that is associated with the listener.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfos) GoString

func (*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfos) SetActionType

func (*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfos) SetHealthCheckEnabled

func (*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfos) SetServerGroupId

func (GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfos) String

type GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServers

type GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServers struct {
	// The backend port.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The cause of the abnormal state.
	Reason *GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason `json:"Reason,omitempty" xml:"Reason,omitempty" type:"Struct"`
	// The ID of the backend server.
	ServerId *string `json:"ServerId,omitempty" xml:"ServerId,omitempty"`
	// The IP address of the backend server.
	ServerIp *string `json:"ServerIp,omitempty" xml:"ServerIp,omitempty"`
	// The status of the health check. Valid values: Valid values:
	//
	// *   **Initial**: indicates that health checks are configured for the NLB instance, but no data was found.
	// *   **Unhealthy**: indicates that the backend server consecutively fails health checks.
	// *   **Unused**: indicates that the weight of the backend server is 0.
	// *   **Unavailable**: indicates that health checks are disabled.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServers) GoString

func (GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServers) String

type GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason

type GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason struct {
	// The HTTP status code returned from the server, for example, **302**.
	//
	// > A value is returned only if `ReasonCode` is set to **RESPONSE_MISMATCH**.
	ActualResponse *string `json:"ActualResponse,omitempty" xml:"ActualResponse,omitempty"`
	// The HTTP status code returned after backend servers pass health checks.
	//
	// Valid values: **HTTP\_2xx**, **HTTP\_3xx**, **HTTP\_4xx**, and **HTTP\_5xx**. Multiple status codes are separated by commas (,).
	//
	// > This value is returned only if **ReasonCode** is set to **RESPONSE_MISMATCH**.
	ExpectedResponse *string `json:"ExpectedResponse,omitempty" xml:"ExpectedResponse,omitempty"`
	// The reason why the value of **Status** is Unhealthy. Only HTTP and HTTPS listeners support this parameter.
	//
	// *   **CONNECT_TIMEOUT**: ALB failed to connect to the backend server within the specified period of time.
	// *   **CONNECT_FAILED**: ALB failed to connect to the backend server.
	// *   **RECV_RESPONSE_FAILED**: ALB failed to receive a response from the backend server.
	// *   **RECV_RESPONSE_TIMEOUT**: ALB failed to receive a response from the backend server within the specified period of time.
	// *   **SEND_REQUEST_FAILED**: ALB failed to send a request to the backend server.
	// *   **SEND_REQUEST_TIMEOUT**: ALB failed to send a request to the backend server within the specified period of time.
	// *   **RESPONSE_FORMAT_ERROR**: The format of the response from the backend server is invalid.
	// *   **RESPONSE_FORMAT_ERROR**: The HTTP status code returned from the backend server is not the expected one.
	ReasonCode *string `json:"ReasonCode,omitempty" xml:"ReasonCode,omitempty"`
}

func (GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason) GoString

func (*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason) SetExpectedResponse

func (GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason) String

type GetListenerHealthStatusResponseBodyRuleHealthStatus

type GetListenerHealthStatusResponseBodyRuleHealthStatus struct {
	// The ID of the forwarding rule.
	RuleId *string `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The server groups.
	ServerGroupInfos []*GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfos `json:"ServerGroupInfos,omitempty" xml:"ServerGroupInfos,omitempty" type:"Repeated"`
}

func (GetListenerHealthStatusResponseBodyRuleHealthStatus) GoString

func (*GetListenerHealthStatusResponseBodyRuleHealthStatus) SetRuleId

func (GetListenerHealthStatusResponseBodyRuleHealthStatus) String

type GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfos

type GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfos struct {
	// The action specified for the server group.
	ActionType *string `json:"ActionType,omitempty" xml:"ActionType,omitempty"`
	// Indicates whether health checks are enabled. If **on** is returned, it indicates that health checks are enabled.
	HealthCheckEnabled *string `json:"HealthCheckEnabled,omitempty" xml:"HealthCheckEnabled,omitempty"`
	// A list of unhealthy backend servers.
	NonNormalServers []*GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServers `json:"NonNormalServers,omitempty" xml:"NonNormalServers,omitempty" type:"Repeated"`
	// The ID of the server group that is associated with the listener.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfos) GoString

func (*GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfos) SetActionType

func (*GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfos) SetHealthCheckEnabled

func (*GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfos) SetServerGroupId

func (GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfos) String

type GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServers

type GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServers struct {
	// The backend port.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The cause of the abnormal state.
	Reason *GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServersReason `json:"Reason,omitempty" xml:"Reason,omitempty" type:"Struct"`
	// The ID of the backend server.
	ServerId *string `json:"ServerId,omitempty" xml:"ServerId,omitempty"`
	// The IP address of the server group.
	ServerIp *string `json:"ServerIp,omitempty" xml:"ServerIp,omitempty"`
	// The status of the health check. Valid values: Valid values:
	//
	// *   **Initial**: indicates that health checks are configured for the NLB instance, but no data was found.
	// *   **Unhealthy**: indicates that the backend server consecutively fails health checks.
	// *   **Unused**: indicates that the weight of the backend server is 0.
	// *   **Unavailable**: indicates that health checks are disabled.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServers) GoString

func (*GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServers) SetPort

func (*GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServers) SetServerId

func (*GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServers) SetServerIp

func (*GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServers) SetStatus

func (GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServers) String

type GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServersReason

type GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServersReason struct {
	// The HTTP status code returned from the server, for example, **302**.
	//
	// > A value is returned only if **ReasonCode** is set to **RESPONSE_MISMATCH**.
	ActualResponse *string `json:"ActualResponse,omitempty" xml:"ActualResponse,omitempty"`
	// The HTTP status code returned after backend servers pass health checks.
	//
	// Valid values: **HTTP\_2xx**, **HTTP\_3xx**, **HTTP\_4xx**, and **HTTP\_5xx**. Multiple status codes are separated by commas (,).
	//
	// > A value is returned only if **ReasonCode** is set to **RESPONSE_MISMATCH**.
	ExpectedResponse *string `json:"ExpectedResponse,omitempty" xml:"ExpectedResponse,omitempty"`
	// The reason why the value of **Status** is Unhealthy. Only HTTP and HTTPS listeners support this parameter.
	//
	// *   **CONNECT_TIMEOUT**: ALB failed to connect to the backend server within the specified period of time.
	// *   **CONNECT_FAILED**: ALB failed to connect to the backend server.
	// *   **RECV_RESPONSE_FAILED**: ALB failed to receive a response from the backend server.
	// *   **RECV_RESPONSE_TIMEOUT**: ALB failed to receive a response from the backend server within the specified period of time.
	// *   **SEND_REQUEST_FAILED**: ALB failed to send a request to the backend server.
	// *   **SEND_REQUEST_TIMEOUT**: ALB failed to send a request to the backend server within the specified period of time.
	// *   **RESPONSE_FORMAT_ERROR**: The format of the response from the backend server is invalid.
	// *   **RESPONSE_FORMAT_ERROR**: The HTTP status code returned from the backend server is not the expected one.
	ReasonCode *string `json:"ReasonCode,omitempty" xml:"ReasonCode,omitempty"`
}

func (GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServersReason) GoString

func (*GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServersReason) SetActualResponse

func (*GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServersReason) SetExpectedResponse

func (GetListenerHealthStatusResponseBodyRuleHealthStatusServerGroupInfosNonNormalServersReason) String

type GetLoadBalancerAttributeRequest

type GetLoadBalancerAttributeRequest struct {
	// The ALB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
}

func (GetLoadBalancerAttributeRequest) GoString

func (*GetLoadBalancerAttributeRequest) SetLoadBalancerId

func (GetLoadBalancerAttributeRequest) String

type GetLoadBalancerAttributeResponse

type GetLoadBalancerAttributeResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetLoadBalancerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetLoadBalancerAttributeResponse) GoString

func (*GetLoadBalancerAttributeResponse) SetHeaders

func (*GetLoadBalancerAttributeResponse) SetStatusCode

func (GetLoadBalancerAttributeResponse) String

type GetLoadBalancerAttributeResponseBody

type GetLoadBalancerAttributeResponseBody struct {
	// The configuration of the access log feature.
	AccessLogConfig *GetLoadBalancerAttributeResponseBodyAccessLogConfig `json:"AccessLogConfig,omitempty" xml:"AccessLogConfig,omitempty" type:"Struct"`
	// The mode in which IP addresses are allocated. Valid values:
	//
	// *   **Fixed**: allocates a static IP address to the ALB instance.
	// *   **Dynamic**: dynamically allocates an IP address to each zone of the ALB instance.
	AddressAllocatedMode *string `json:"AddressAllocatedMode,omitempty" xml:"AddressAllocatedMode,omitempty"`
	// The IP version. Valid values:
	//
	// *   **IPv4**
	// *   **DualStack**
	AddressIpVersion *string `json:"AddressIpVersion,omitempty" xml:"AddressIpVersion,omitempty"`
	// The network type of the ALB instance. Valid values:
	//
	// *   **Internet**: The ALB instance uses a public IP address. The domain name of the ALB instance is resolved to the public IP address. Therefore, the ALB instance can be accessed over the Internet.
	// *   **Intranet**: The ALB instance uses a private IP address. The domain name of the ALB instance is resolved to the private IP address. In this case, the ALB instance can be accessed over the virtual private cloud (VPC) where the ALB instance is deployed.
	AddressType *string `json:"AddressType,omitempty" xml:"AddressType,omitempty"`
	// The ID of the elastic IP address (EIP) bandwidth plan that is associated with the Internet-facing ALB instance.
	BandwidthPackageId *string `json:"BandwidthPackageId,omitempty" xml:"BandwidthPackageId,omitempty"`
	// The time when the resource was created. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The domain name of the ALB instance.
	DNSName *string `json:"DNSName,omitempty" xml:"DNSName,omitempty"`
	// The configuration of deletion protection.
	DeletionProtectionConfig *GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig `json:"DeletionProtectionConfig,omitempty" xml:"DeletionProtectionConfig,omitempty" type:"Struct"`
	// The type of IPv6 address that is used by the ALB instance. Valid values:
	//
	// *   **Internet**: The ALB instance uses a public IP address. The domain name of the ALB instance is resolved to the public IP address. Therefore, the ALB instance can be accessed over the Internet.
	// *   **Intranet**: The ALB instance uses a private IP address. The domain name of the ALB instance is resolved to the private IP address. Therefore, the ALB instance can be accessed over the VPC in which the ALB instance is deployed.
	Ipv6AddressType *string `json:"Ipv6AddressType,omitempty" xml:"Ipv6AddressType,omitempty"`
	// The configuration of the billing method of the ALB instance.
	LoadBalancerBillingConfig *GetLoadBalancerAttributeResponseBodyLoadBalancerBillingConfig `json:"LoadBalancerBillingConfig,omitempty" xml:"LoadBalancerBillingConfig,omitempty" type:"Struct"`
	// The service status of the ALB instance. Valid values:
	//
	// *   **Abnormal**
	// *   **Normal**
	LoadBalancerBussinessStatus *string `json:"LoadBalancerBussinessStatus,omitempty" xml:"LoadBalancerBussinessStatus,omitempty"`
	// The edition of the ALB instance. The features and billing rules vary based on the edition of the ALB instance. Valid values:
	//
	// *   **Basic**
	// *   **Standard**
	// *   **StandardWithWaf**
	LoadBalancerEdition *string `json:"LoadBalancerEdition,omitempty" xml:"LoadBalancerEdition,omitempty"`
	// The ALB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The name of the ALB instance.
	//
	// The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	LoadBalancerName *string `json:"LoadBalancerName,omitempty" xml:"LoadBalancerName,omitempty"`
	// The type of the lock. Valid values:
	//
	// *   **SecurityLocked**: The ALB instance is locked due to security reasons.
	// *   **RelatedResourceLocked**: The ALB instance is locked due to association issues.
	// *   **FinancialLocked**: The ALB instance is locked due to overdue payments.
	// *   **ResidualLocked**: The ALB instance is locked because the associated resources have overdue payments and the resources are released.
	LoadBalancerOperationLocks []*GetLoadBalancerAttributeResponseBodyLoadBalancerOperationLocks `json:"LoadBalancerOperationLocks,omitempty" xml:"LoadBalancerOperationLocks,omitempty" type:"Repeated"`
	// The status of the ALB instance. Valid values:
	//
	// *   **Inactive**: The ALB instance is disabled. ALB instances in the Inactive state do not forward traffic.
	// *   **Active**: The ALB instance is running.
	// *   **Provisioning**: The ALB instance is being created.
	// *   **Configuring**: The ALB instance is being modified.
	// *   **CreateFailed**: The system failed to create the ALB instance. In this case, you are not charged for the ALB instance. You can only delete the ALB instance.
	LoadBalancerStatus *string `json:"LoadBalancerStatus,omitempty" xml:"LoadBalancerStatus,omitempty"`
	// The configuration of the configuration read-only mode.
	ModificationProtectionConfig *GetLoadBalancerAttributeResponseBodyModificationProtectionConfig `json:"ModificationProtectionConfig,omitempty" xml:"ModificationProtectionConfig,omitempty" type:"Struct"`
	// The region ID of the ALB instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The tag value.
	//
	// The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. The tag value cannot contain `http://` or `https://`.
	Tags []*GetLoadBalancerAttributeResponseBodyTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The ID of the VPC in which the ALB instance is deployed.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID of the ALB instance.
	//
	// You can call the [DescribeZones](~~189196~~) operation to query the zones of the ALB instance.
	ZoneMappings []*GetLoadBalancerAttributeResponseBodyZoneMappings `json:"ZoneMappings,omitempty" xml:"ZoneMappings,omitempty" type:"Repeated"`
}

func (GetLoadBalancerAttributeResponseBody) GoString

func (*GetLoadBalancerAttributeResponseBody) SetAddressAllocatedMode

func (*GetLoadBalancerAttributeResponseBody) SetAddressIpVersion

func (*GetLoadBalancerAttributeResponseBody) SetAddressType

func (*GetLoadBalancerAttributeResponseBody) SetBandwidthPackageId

func (*GetLoadBalancerAttributeResponseBody) SetCreateTime

func (*GetLoadBalancerAttributeResponseBody) SetDNSName

func (*GetLoadBalancerAttributeResponseBody) SetIpv6AddressType

func (*GetLoadBalancerAttributeResponseBody) SetLoadBalancerBussinessStatus

func (*GetLoadBalancerAttributeResponseBody) SetLoadBalancerEdition

func (*GetLoadBalancerAttributeResponseBody) SetLoadBalancerId

func (*GetLoadBalancerAttributeResponseBody) SetLoadBalancerName

func (*GetLoadBalancerAttributeResponseBody) SetLoadBalancerStatus

func (*GetLoadBalancerAttributeResponseBody) SetRegionId

func (*GetLoadBalancerAttributeResponseBody) SetRequestId

func (*GetLoadBalancerAttributeResponseBody) SetResourceGroupId

func (*GetLoadBalancerAttributeResponseBody) SetVpcId

func (GetLoadBalancerAttributeResponseBody) String

type GetLoadBalancerAttributeResponseBodyAccessLogConfig

type GetLoadBalancerAttributeResponseBodyAccessLogConfig struct {
	// The Log Service project.
	LogProject *string `json:"LogProject,omitempty" xml:"LogProject,omitempty"`
	// The Logstore.
	LogStore *string `json:"LogStore,omitempty" xml:"LogStore,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyAccessLogConfig) GoString

func (*GetLoadBalancerAttributeResponseBodyAccessLogConfig) SetLogProject

func (*GetLoadBalancerAttributeResponseBodyAccessLogConfig) SetLogStore

func (GetLoadBalancerAttributeResponseBodyAccessLogConfig) String

type GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig

type GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig struct {
	// Indicates whether the deletion protection feature is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The time when the deletion protection feature was enabled. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
	EnabledTime *string `json:"EnabledTime,omitempty" xml:"EnabledTime,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig) GoString

func (*GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig) SetEnabled

func (*GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig) SetEnabledTime

func (GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig) String

type GetLoadBalancerAttributeResponseBodyLoadBalancerBillingConfig

type GetLoadBalancerAttributeResponseBodyLoadBalancerBillingConfig struct {
	// The billing method.
	//
	// Only **PostPay** may be returned. The value indicates the pay-as-you-go billing method.
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyLoadBalancerBillingConfig) GoString

func (*GetLoadBalancerAttributeResponseBodyLoadBalancerBillingConfig) SetPayType

func (GetLoadBalancerAttributeResponseBodyLoadBalancerBillingConfig) String

type GetLoadBalancerAttributeResponseBodyLoadBalancerOperationLocks

type GetLoadBalancerAttributeResponseBodyLoadBalancerOperationLocks struct {
	// The configuration of the configuration read-only mode.
	LockReason *string `json:"LockReason,omitempty" xml:"LockReason,omitempty"`
	// The reason why the configuration read-only mode was enabled. The reason must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The reason must start with a letter.
	//
	// This parameter is valid only if you set the **ModificationProtectionStatus** parameter to **ConsoleProtection**.
	LockType *string `json:"LockType,omitempty" xml:"LockType,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyLoadBalancerOperationLocks) GoString

func (*GetLoadBalancerAttributeResponseBodyLoadBalancerOperationLocks) SetLockReason

func (*GetLoadBalancerAttributeResponseBodyLoadBalancerOperationLocks) SetLockType

func (GetLoadBalancerAttributeResponseBodyLoadBalancerOperationLocks) String

type GetLoadBalancerAttributeResponseBodyModificationProtectionConfig

type GetLoadBalancerAttributeResponseBodyModificationProtectionConfig struct {
	// The reason for enabling the configuration read-only mode. The reason must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The reason must start with a letter.
	//
	// This parameter is valid only if **ModificationProtectionStatus** is set to **ConsoleProtection**.
	Reason *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
	// The status of the configuration read-only mode. Valid values:
	//
	// *   **NonProtection**: The configuration read-only mode is disabled. In this case, you cannot specify ModificationProtectionReason. If you specify ModificationProtectionReason, the value of the parameter is cleared.
	// *   **ConsoleProtection**: The configuration read-only mode is enabled. In this case, you can specify ModificationProtectionReason.
	//
	// > If you set this parameter to **ConsoleProtection**, you cannot use the ALB console to modify instance configurations. However, you can call API operations to modify instance configurations.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyModificationProtectionConfig) GoString

func (*GetLoadBalancerAttributeResponseBodyModificationProtectionConfig) SetReason

func (*GetLoadBalancerAttributeResponseBodyModificationProtectionConfig) SetStatus

func (GetLoadBalancerAttributeResponseBodyModificationProtectionConfig) String

type GetLoadBalancerAttributeResponseBodyTags

type GetLoadBalancerAttributeResponseBodyTags struct {
	// The zones and the vSwitches. You must specify at least two zones.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The IP addresses that are used by the ALB instance.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyTags) GoString

func (*GetLoadBalancerAttributeResponseBodyTags) SetKey

func (*GetLoadBalancerAttributeResponseBodyTags) SetValue

func (GetLoadBalancerAttributeResponseBodyTags) String

type GetLoadBalancerAttributeResponseBodyZoneMappings

type GetLoadBalancerAttributeResponseBodyZoneMappings struct {
	// The ID of the vSwitch in the zone. Each zone can contain only one vSwitch and one subnet.
	LoadBalancerAddresses []*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses `json:"LoadBalancerAddresses,omitempty" xml:"LoadBalancerAddresses,omitempty" type:"Repeated"`
	// The type of IPv6 address that is used by the ALB instance. Valid values:
	//
	// *   **Internet:** The ALB instance uses a public IP address. The domain name of the ALB instance is resolved to the public IP address. Therefore, the ALB instance can be accessed over the Internet.
	// *   **Intranet:** The ALB instance uses a private IP address. The domain name of the ALB instance is resolved to the private IP address. Therefore, the ALB instance can be accessed over the VPC in which the ALB instance is deployed.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	ZoneId    *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyZoneMappings) GoString

func (*GetLoadBalancerAttributeResponseBodyZoneMappings) SetVSwitchId

func (*GetLoadBalancerAttributeResponseBodyZoneMappings) SetZoneId

func (GetLoadBalancerAttributeResponseBodyZoneMappings) String

type GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses

type GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses struct {
	// The ID of the zone where the ALB instance was deployed.
	//
	// You can call the [DescribeZones](~~189196~~) operation to query the zones of the ALB instance.
	Address         *string `json:"Address,omitempty" xml:"Address,omitempty"`
	AllocationId    *string `json:"AllocationId,omitempty" xml:"AllocationId,omitempty"`
	EipType         *string `json:"EipType,omitempty" xml:"EipType,omitempty"`
	IntranetAddress *string `json:"IntranetAddress,omitempty" xml:"IntranetAddress,omitempty"`
	// The protocol version. Valid values:
	//
	// *   **IPv4:** IPv4.
	// *   **DualStack:** dual stack.
	Ipv6Address *string `json:"Ipv6Address,omitempty" xml:"Ipv6Address,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) GoString

func (*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) SetAddress

func (*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) SetAllocationId added in v2.0.4

func (*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) SetEipType added in v2.0.4

func (*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) SetIntranetAddress added in v2.1.1

func (*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) SetIpv6Address

func (GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) String

type ListAScriptsRequest added in v2.0.3

type ListAScriptsRequest struct {
	// The AScript rule IDs.
	AScriptIds []*string `json:"AScriptIds,omitempty" xml:"AScriptIds,omitempty" type:"Repeated"`
	// The names of the AScript rules.
	AScriptNames []*string `json:"AScriptNames,omitempty" xml:"AScriptNames,omitempty" type:"Repeated"`
	// The listener IDs.
	ListenerIds []*string `json:"ListenerIds,omitempty" xml:"ListenerIds,omitempty" type:"Repeated"`
	// The maximum number of entries to return.
	//
	// Valid values: **1** to **100**.
	//
	// Default value: **20**. If you do not specify this parameter, the default value is used.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   You do not need to specify this parameter for the first request.****
	// *   You must specify the token that is obtained from the previous query as the value of **NextToken**.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
}

func (ListAScriptsRequest) GoString added in v2.0.3

func (s ListAScriptsRequest) GoString() string

func (*ListAScriptsRequest) SetAScriptIds added in v2.0.3

func (s *ListAScriptsRequest) SetAScriptIds(v []*string) *ListAScriptsRequest

func (*ListAScriptsRequest) SetAScriptNames added in v2.0.3

func (s *ListAScriptsRequest) SetAScriptNames(v []*string) *ListAScriptsRequest

func (*ListAScriptsRequest) SetListenerIds added in v2.0.3

func (s *ListAScriptsRequest) SetListenerIds(v []*string) *ListAScriptsRequest

func (*ListAScriptsRequest) SetMaxResults added in v2.0.3

func (s *ListAScriptsRequest) SetMaxResults(v int32) *ListAScriptsRequest

func (*ListAScriptsRequest) SetNextToken added in v2.0.3

func (s *ListAScriptsRequest) SetNextToken(v string) *ListAScriptsRequest

func (ListAScriptsRequest) String added in v2.0.3

func (s ListAScriptsRequest) String() string

type ListAScriptsResponse added in v2.0.3

type ListAScriptsResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListAScriptsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListAScriptsResponse) GoString added in v2.0.3

func (s ListAScriptsResponse) GoString() string

func (*ListAScriptsResponse) SetBody added in v2.0.3

func (*ListAScriptsResponse) SetHeaders added in v2.0.3

func (s *ListAScriptsResponse) SetHeaders(v map[string]*string) *ListAScriptsResponse

func (*ListAScriptsResponse) SetStatusCode added in v2.0.3

func (s *ListAScriptsResponse) SetStatusCode(v int32) *ListAScriptsResponse

func (ListAScriptsResponse) String added in v2.0.3

func (s ListAScriptsResponse) String() string

type ListAScriptsResponseBody added in v2.0.3

type ListAScriptsResponseBody struct {
	// The AScript rules.
	AScripts []*ListAScriptsResponseBodyAScripts `json:"AScripts,omitempty" xml:"AScripts,omitempty" type:"Repeated"`
	// The maximum number of entries returned.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If a value is returned for **NextToken**, the value is the token that determines the start point of the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// > This parameter is optional. By default, this parameter is not returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListAScriptsResponseBody) GoString added in v2.0.3

func (s ListAScriptsResponseBody) GoString() string

func (*ListAScriptsResponseBody) SetAScripts added in v2.0.3

func (*ListAScriptsResponseBody) SetMaxResults added in v2.0.3

func (*ListAScriptsResponseBody) SetNextToken added in v2.0.3

func (*ListAScriptsResponseBody) SetRequestId added in v2.0.3

func (*ListAScriptsResponseBody) SetTotalCount added in v2.0.3

func (ListAScriptsResponseBody) String added in v2.0.3

func (s ListAScriptsResponseBody) String() string

type ListAScriptsResponseBodyAScripts added in v2.0.3

type ListAScriptsResponseBodyAScripts struct {
	// The AScript rule ID.
	AScriptId *string `json:"AScriptId,omitempty" xml:"AScriptId,omitempty"`
	// The name of the AScript rule.
	AScriptName *string `json:"AScriptName,omitempty" xml:"AScriptName,omitempty"`
	// The status of the AScript rule. Valid values:
	//
	// *   **Creating**
	// *   **Available**
	// *   **Configuring**
	// *   **Deleting**
	AScriptStatus *string `json:"AScriptStatus,omitempty" xml:"AScriptStatus,omitempty"`
	// Indicates whether the AScript rule is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The listener ID.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The Application Load Balancer (ALB) instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The content of the AScript rule.
	ScriptContent *string `json:"ScriptContent,omitempty" xml:"ScriptContent,omitempty"`
}

func (ListAScriptsResponseBodyAScripts) GoString added in v2.0.3

func (*ListAScriptsResponseBodyAScripts) SetAScriptId added in v2.0.3

func (*ListAScriptsResponseBodyAScripts) SetAScriptName added in v2.0.3

func (*ListAScriptsResponseBodyAScripts) SetAScriptStatus added in v2.0.3

func (*ListAScriptsResponseBodyAScripts) SetEnabled added in v2.0.3

func (*ListAScriptsResponseBodyAScripts) SetListenerId added in v2.0.3

func (*ListAScriptsResponseBodyAScripts) SetLoadBalancerId added in v2.0.3

func (*ListAScriptsResponseBodyAScripts) SetScriptContent added in v2.0.3

func (ListAScriptsResponseBodyAScripts) String added in v2.0.3

type ListAclEntriesRequest

type ListAclEntriesRequest struct {
	// The ACL ID.
	AclId *string `json:"AclId,omitempty" xml:"AclId,omitempty"`
	// The number of entries per page. Valid values: **1** to **100**. Default value: **20**.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   You do not need to specify this parameter for the first request.
	// *   You must specify the token that is obtained from the previous query as the value of **NextToken**.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
}

func (ListAclEntriesRequest) GoString

func (s ListAclEntriesRequest) GoString() string

func (*ListAclEntriesRequest) SetAclId

func (*ListAclEntriesRequest) SetMaxResults

func (s *ListAclEntriesRequest) SetMaxResults(v int32) *ListAclEntriesRequest

func (*ListAclEntriesRequest) SetNextToken

func (ListAclEntriesRequest) String

func (s ListAclEntriesRequest) String() string

type ListAclEntriesResponse

type ListAclEntriesResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListAclEntriesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListAclEntriesResponse) GoString

func (s ListAclEntriesResponse) GoString() string

func (*ListAclEntriesResponse) SetBody

func (*ListAclEntriesResponse) SetHeaders

func (*ListAclEntriesResponse) SetStatusCode

func (ListAclEntriesResponse) String

func (s ListAclEntriesResponse) String() string

type ListAclEntriesResponseBody

type ListAclEntriesResponseBody struct {
	// The ACL entries.
	AclEntries []*ListAclEntriesResponseBodyAclEntries `json:"AclEntries,omitempty" xml:"AclEntries,omitempty" type:"Repeated"`
	// The number of entries per page.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If a value is returned for **NextToken**, the value is the token that determines the start point of the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListAclEntriesResponseBody) GoString

func (s ListAclEntriesResponseBody) GoString() string

func (*ListAclEntriesResponseBody) SetAclEntries

func (*ListAclEntriesResponseBody) SetMaxResults

func (*ListAclEntriesResponseBody) SetNextToken

func (*ListAclEntriesResponseBody) SetRequestId

func (*ListAclEntriesResponseBody) SetTotalCount

func (ListAclEntriesResponseBody) String

type ListAclEntriesResponseBodyAclEntries

type ListAclEntriesResponseBodyAclEntries struct {
	// The description of the ACL entry. The description must be 1 to 256 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (\_).
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The CIDR block of the ACL entry.
	Entry *string `json:"Entry,omitempty" xml:"Entry,omitempty"`
	// The status of the ACL entry. Valid values:
	//
	// *   **Adding**
	// *   **Available**
	// *   **Removing**
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ListAclEntriesResponseBodyAclEntries) GoString

func (*ListAclEntriesResponseBodyAclEntries) SetDescription

func (*ListAclEntriesResponseBodyAclEntries) SetEntry

func (*ListAclEntriesResponseBodyAclEntries) SetStatus

func (ListAclEntriesResponseBodyAclEntries) String

type ListAclRelationsRequest

type ListAclRelationsRequest struct {
	// The ACL IDs.
	AclIds []*string `json:"AclIds,omitempty" xml:"AclIds,omitempty" type:"Repeated"`
}

func (ListAclRelationsRequest) GoString

func (s ListAclRelationsRequest) GoString() string

func (*ListAclRelationsRequest) SetAclIds

func (ListAclRelationsRequest) String

func (s ListAclRelationsRequest) String() string

type ListAclRelationsResponse

type ListAclRelationsResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListAclRelationsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListAclRelationsResponse) GoString

func (s ListAclRelationsResponse) GoString() string

func (*ListAclRelationsResponse) SetBody

func (*ListAclRelationsResponse) SetHeaders

func (*ListAclRelationsResponse) SetStatusCode

func (ListAclRelationsResponse) String

func (s ListAclRelationsResponse) String() string

type ListAclRelationsResponseBody

type ListAclRelationsResponseBody struct {
	// The ACLs and the associated listeners.
	AclRelations []*ListAclRelationsResponseBodyAclRelations `json:"AclRelations,omitempty" xml:"AclRelations,omitempty" type:"Repeated"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListAclRelationsResponseBody) GoString

func (s ListAclRelationsResponseBody) GoString() string

func (*ListAclRelationsResponseBody) SetAclRelations

func (*ListAclRelationsResponseBody) SetRequestId

func (ListAclRelationsResponseBody) String

type ListAclRelationsResponseBodyAclRelations

type ListAclRelationsResponseBodyAclRelations struct {
	// ACL ID
	AclId *string `json:"AclId,omitempty" xml:"AclId,omitempty"`
	// The listeners that are associated with the ACL.
	RelatedListeners []*ListAclRelationsResponseBodyAclRelationsRelatedListeners `json:"RelatedListeners,omitempty" xml:"RelatedListeners,omitempty" type:"Repeated"`
}

func (ListAclRelationsResponseBodyAclRelations) GoString

func (*ListAclRelationsResponseBodyAclRelations) SetAclId

func (ListAclRelationsResponseBodyAclRelations) String

type ListAclRelationsResponseBodyAclRelationsRelatedListeners

type ListAclRelationsResponseBodyAclRelationsRelatedListeners struct {
	// The listener ID.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The listener port.
	ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"`
	// The listener protocol.
	ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"`
	// The ID of the Server Load Balancer (SLB) instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The association status between the ACL and the listener. Valid values:
	//
	// *   **Associating**
	// *   **Associated**
	// *   **Dissociating**
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ListAclRelationsResponseBodyAclRelationsRelatedListeners) GoString

func (*ListAclRelationsResponseBodyAclRelationsRelatedListeners) SetListenerId

func (*ListAclRelationsResponseBodyAclRelationsRelatedListeners) SetListenerPort

func (*ListAclRelationsResponseBodyAclRelationsRelatedListeners) SetListenerProtocol

func (*ListAclRelationsResponseBodyAclRelationsRelatedListeners) SetLoadBalancerId

func (*ListAclRelationsResponseBodyAclRelationsRelatedListeners) SetStatus

func (ListAclRelationsResponseBodyAclRelationsRelatedListeners) String

type ListAclsRequest

type ListAclsRequest struct {
	// The ID of the network ACL. You can specify at most 20 network ACL IDs in each request.
	AclIds []*string `json:"AclIds,omitempty" xml:"AclIds,omitempty" type:"Repeated"`
	// The names of the network ACLs. You can specify at most 10 network ACL names in each request.
	AclNames []*string `json:"AclNames,omitempty" xml:"AclNames,omitempty" type:"Repeated"`
	// The maximum number of entries to return. This parameter is optional. Valid values: **1** to **100**. Default value: **20**.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The token that is used for the next query. Valid values:
	//
	// *   If this is your first query or no next query is to be sent, ignore this parameter.
	// *   If a next query is to be sent, set the value to the value of NextToken that is returned from the last call.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the resource group. You can filter the query results based on the specified ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The tags.
	Tag []*ListAclsRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListAclsRequest) GoString

func (s ListAclsRequest) GoString() string

func (*ListAclsRequest) SetAclIds

func (s *ListAclsRequest) SetAclIds(v []*string) *ListAclsRequest

func (*ListAclsRequest) SetAclNames

func (s *ListAclsRequest) SetAclNames(v []*string) *ListAclsRequest

func (*ListAclsRequest) SetMaxResults

func (s *ListAclsRequest) SetMaxResults(v int32) *ListAclsRequest

func (*ListAclsRequest) SetNextToken

func (s *ListAclsRequest) SetNextToken(v string) *ListAclsRequest

func (*ListAclsRequest) SetResourceGroupId

func (s *ListAclsRequest) SetResourceGroupId(v string) *ListAclsRequest

func (*ListAclsRequest) SetTag added in v2.0.5

func (ListAclsRequest) String

func (s ListAclsRequest) String() string

type ListAclsRequestTag added in v2.0.5

type ListAclsRequestTag struct {
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListAclsRequestTag) GoString added in v2.0.5

func (s ListAclsRequestTag) GoString() string

func (*ListAclsRequestTag) SetKey added in v2.0.5

func (*ListAclsRequestTag) SetValue added in v2.0.5

func (ListAclsRequestTag) String added in v2.0.5

func (s ListAclsRequestTag) String() string

type ListAclsResponse

type ListAclsResponse struct {
	Headers    map[string]*string    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListAclsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListAclsResponse) GoString

func (s ListAclsResponse) GoString() string

func (*ListAclsResponse) SetBody

func (*ListAclsResponse) SetHeaders

func (s *ListAclsResponse) SetHeaders(v map[string]*string) *ListAclsResponse

func (*ListAclsResponse) SetStatusCode

func (s *ListAclsResponse) SetStatusCode(v int32) *ListAclsResponse

func (ListAclsResponse) String

func (s ListAclsResponse) String() string

type ListAclsResponseBody

type ListAclsResponseBody struct {
	// The network ACLs.
	Acls []*ListAclsResponseBodyAcls `json:"Acls,omitempty" xml:"Acls,omitempty" type:"Repeated"`
	// The maximum number of network ACLs returned. This parameter is optional. Valid values: **1** to **100**. If this parameter is not set, the default value **20** is returned.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The token that is used for the next query. Valid values:
	//
	// *   If **NextToken** is empty, it indicates that no next query is to be sent.
	// *   If **NextToken** is returned, the value indicates the token that is used for the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListAclsResponseBody) GoString

func (s ListAclsResponseBody) GoString() string

func (*ListAclsResponseBody) SetAcls

func (*ListAclsResponseBody) SetMaxResults

func (s *ListAclsResponseBody) SetMaxResults(v int32) *ListAclsResponseBody

func (*ListAclsResponseBody) SetNextToken

func (s *ListAclsResponseBody) SetNextToken(v string) *ListAclsResponseBody

func (*ListAclsResponseBody) SetRequestId

func (s *ListAclsResponseBody) SetRequestId(v string) *ListAclsResponseBody

func (*ListAclsResponseBody) SetTotalCount

func (s *ListAclsResponseBody) SetTotalCount(v int32) *ListAclsResponseBody

func (ListAclsResponseBody) String

func (s ListAclsResponseBody) String() string

type ListAclsResponseBodyAcls

type ListAclsResponseBodyAcls struct {
	// The ID of the network ACL.
	AclId *string `json:"AclId,omitempty" xml:"AclId,omitempty"`
	// The name of the network ACL.
	AclName *string `json:"AclName,omitempty" xml:"AclName,omitempty"`
	// The status of the network ACL. Valid values:
	//
	// *   **Creating**: The network ACL is being created.
	// *   **Available**: The network ACL is available.
	// *   **Configuring**: The network ACL is being configured.
	AclStatus *string `json:"AclStatus,omitempty" xml:"AclStatus,omitempty"`
	// The IP version. **IPv4** is returned.
	AddressIPVersion *string `json:"AddressIPVersion,omitempty" xml:"AddressIPVersion,omitempty"`
	// The status of configuration management. Valid values:
	//
	// *   **true**: configuration management is enabled.
	// *   **false**: configuration management is disabled.
	ConfigManagedEnabled *bool `json:"ConfigManagedEnabled,omitempty" xml:"ConfigManagedEnabled,omitempty"`
	// The time when the resource was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The tags.
	Tags []*ListAclsResponseBodyAclsTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
}

func (ListAclsResponseBodyAcls) GoString

func (s ListAclsResponseBodyAcls) GoString() string

func (*ListAclsResponseBodyAcls) SetAclId

func (*ListAclsResponseBodyAcls) SetAclName

func (*ListAclsResponseBodyAcls) SetAclStatus

func (*ListAclsResponseBodyAcls) SetAddressIPVersion

func (s *ListAclsResponseBodyAcls) SetAddressIPVersion(v string) *ListAclsResponseBodyAcls

func (*ListAclsResponseBodyAcls) SetConfigManagedEnabled

func (s *ListAclsResponseBodyAcls) SetConfigManagedEnabled(v bool) *ListAclsResponseBodyAcls

func (*ListAclsResponseBodyAcls) SetCreateTime added in v2.0.3

func (*ListAclsResponseBodyAcls) SetResourceGroupId

func (s *ListAclsResponseBodyAcls) SetResourceGroupId(v string) *ListAclsResponseBodyAcls

func (*ListAclsResponseBodyAcls) SetTags added in v2.0.5

func (ListAclsResponseBodyAcls) String

func (s ListAclsResponseBodyAcls) String() string

type ListAclsResponseBodyAclsTags added in v2.0.5

type ListAclsResponseBodyAclsTags struct {
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListAclsResponseBodyAclsTags) GoString added in v2.0.5

func (s ListAclsResponseBodyAclsTags) GoString() string

func (*ListAclsResponseBodyAclsTags) SetKey added in v2.0.5

func (*ListAclsResponseBodyAclsTags) SetValue added in v2.0.5

func (ListAclsResponseBodyAclsTags) String added in v2.0.5

type ListAsynJobsRequest

type ListAsynJobsRequest struct {
	// The name of the operation.
	ApiName *string `json:"ApiName,omitempty" xml:"ApiName,omitempty"`
	// The start time of the task. Specify the time in the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
	BeginTime *int64 `json:"BeginTime,omitempty" xml:"BeginTime,omitempty"`
	// The end time of the task. Specify the time in the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The asynchronous task IDs.
	JobIds []*string `json:"JobIds,omitempty" xml:"JobIds,omitempty" type:"Repeated"`
	// The number of entries per page. Valid values: **1** to **100**. Default value: **20**.
	MaxResults *int64 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   You do not need to specify this parameter for the first request.
	// *   You must specify the token that is obtained from the previous query as the value of **NextToken**.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The resource IDs.
	ResourceIds []*string `json:"ResourceIds,omitempty" xml:"ResourceIds,omitempty" type:"Repeated"`
	// The type of the associated resource. Valid values:
	//
	// *   **loadbalancer**: an Application Load Balancer (ALB) instance
	// *   **listener**: a listener
	// *   **rule**: a forwarding rule
	// *   **acl**: an access control list (ACL)
	// *   **securitypolicy**: a security policy
	// *   **servergroup**: a server group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (ListAsynJobsRequest) GoString

func (s ListAsynJobsRequest) GoString() string

func (*ListAsynJobsRequest) SetApiName

func (*ListAsynJobsRequest) SetBeginTime

func (s *ListAsynJobsRequest) SetBeginTime(v int64) *ListAsynJobsRequest

func (*ListAsynJobsRequest) SetEndTime

func (s *ListAsynJobsRequest) SetEndTime(v int64) *ListAsynJobsRequest

func (*ListAsynJobsRequest) SetJobIds

func (s *ListAsynJobsRequest) SetJobIds(v []*string) *ListAsynJobsRequest

func (*ListAsynJobsRequest) SetMaxResults

func (s *ListAsynJobsRequest) SetMaxResults(v int64) *ListAsynJobsRequest

func (*ListAsynJobsRequest) SetNextToken

func (s *ListAsynJobsRequest) SetNextToken(v string) *ListAsynJobsRequest

func (*ListAsynJobsRequest) SetResourceIds

func (s *ListAsynJobsRequest) SetResourceIds(v []*string) *ListAsynJobsRequest

func (*ListAsynJobsRequest) SetResourceType

func (s *ListAsynJobsRequest) SetResourceType(v string) *ListAsynJobsRequest

func (ListAsynJobsRequest) String

func (s ListAsynJobsRequest) String() string

type ListAsynJobsResponse

type ListAsynJobsResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListAsynJobsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListAsynJobsResponse) GoString

func (s ListAsynJobsResponse) GoString() string

func (*ListAsynJobsResponse) SetBody

func (*ListAsynJobsResponse) SetHeaders

func (s *ListAsynJobsResponse) SetHeaders(v map[string]*string) *ListAsynJobsResponse

func (*ListAsynJobsResponse) SetStatusCode

func (s *ListAsynJobsResponse) SetStatusCode(v int32) *ListAsynJobsResponse

func (ListAsynJobsResponse) String

func (s ListAsynJobsResponse) String() string

type ListAsynJobsResponseBody

type ListAsynJobsResponseBody struct {
	// The tasks.
	Jobs []*ListAsynJobsResponseBodyJobs `json:"Jobs,omitempty" xml:"Jobs,omitempty" type:"Repeated"`
	// The number of entries per page.
	MaxResults *int64 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If a value is returned for **NextToken**, the value is the token that determines the start point of the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListAsynJobsResponseBody) GoString

func (s ListAsynJobsResponseBody) GoString() string

func (*ListAsynJobsResponseBody) SetJobs

func (*ListAsynJobsResponseBody) SetMaxResults

func (*ListAsynJobsResponseBody) SetNextToken

func (*ListAsynJobsResponseBody) SetRequestId

func (*ListAsynJobsResponseBody) SetTotalCount

func (ListAsynJobsResponseBody) String

func (s ListAsynJobsResponseBody) String() string

type ListAsynJobsResponseBodyJobs

type ListAsynJobsResponseBodyJobs struct {
	// The name of the operation.
	ApiName *string `json:"ApiName,omitempty" xml:"ApiName,omitempty"`
	// The timestamp that indicates the start time of the task. Unit: milliseconds.
	//
	// This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	CreateTime *int64 `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// If the value of **Status** is Failed, an error code is returned.
	ErrorCode *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty"`
	// If the value of **Status** is Failed, an error message is returned.
	ErrorMessage *string `json:"ErrorMessage,omitempty" xml:"ErrorMessage,omitempty"`
	// The task ID.
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The timestamp that indicates the end time of the task. Unit: milliseconds.
	//
	// This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	ModifyTime *int64 `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The type of the operation. Valid values:
	//
	// *   **Create**
	// *   **Update**
	// *   **Delete**
	OperateType *string `json:"OperateType,omitempty" xml:"OperateType,omitempty"`
	// The associated resource ID.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of the associated resource. Valid values:
	//
	// *   **loadbalancer**: an ALB instance
	// *   **listener**: a listener
	// *   **rule**: a forwarding rule
	// *   **acl**: an ACL
	// *   **securitypolicy**: a security policy
	// *   **servergroup**: a server group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The status of the task. Valid values:
	//
	// *   **Succeeded**
	// *   **Failed**
	// *   **Processing**
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ListAsynJobsResponseBodyJobs) GoString

func (s ListAsynJobsResponseBodyJobs) GoString() string

func (*ListAsynJobsResponseBodyJobs) SetApiName

func (*ListAsynJobsResponseBodyJobs) SetCreateTime

func (*ListAsynJobsResponseBodyJobs) SetErrorCode

func (*ListAsynJobsResponseBodyJobs) SetErrorMessage

func (*ListAsynJobsResponseBodyJobs) SetId

func (*ListAsynJobsResponseBodyJobs) SetModifyTime

func (*ListAsynJobsResponseBodyJobs) SetOperateType

func (*ListAsynJobsResponseBodyJobs) SetResourceId

func (*ListAsynJobsResponseBodyJobs) SetResourceType

func (*ListAsynJobsResponseBodyJobs) SetStatus

func (ListAsynJobsResponseBodyJobs) String

type ListHealthCheckTemplatesRequest

type ListHealthCheckTemplatesRequest struct {
	// The IDs of health check templates.
	HealthCheckTemplateIds []*string `json:"HealthCheckTemplateIds,omitempty" xml:"HealthCheckTemplateIds,omitempty" type:"Repeated"`
	// The health check templates.
	HealthCheckTemplateNames []*string `json:"HealthCheckTemplateNames,omitempty" xml:"HealthCheckTemplateNames,omitempty" type:"Repeated"`
	// The number of entries to return on each page. Valid values: **1** to **100**. Default value: **20**.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   You do not need to specify this parameter for the first request.
	// *   You must specify the token that is obtained from the previous query as the value of **NextToken**.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The tags.
	Tag []*ListHealthCheckTemplatesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListHealthCheckTemplatesRequest) GoString

func (*ListHealthCheckTemplatesRequest) SetHealthCheckTemplateIds

func (s *ListHealthCheckTemplatesRequest) SetHealthCheckTemplateIds(v []*string) *ListHealthCheckTemplatesRequest

func (*ListHealthCheckTemplatesRequest) SetHealthCheckTemplateNames

func (s *ListHealthCheckTemplatesRequest) SetHealthCheckTemplateNames(v []*string) *ListHealthCheckTemplatesRequest

func (*ListHealthCheckTemplatesRequest) SetMaxResults

func (*ListHealthCheckTemplatesRequest) SetNextToken

func (*ListHealthCheckTemplatesRequest) SetTag added in v2.0.5

func (ListHealthCheckTemplatesRequest) String

type ListHealthCheckTemplatesRequestTag added in v2.0.5

type ListHealthCheckTemplatesRequestTag struct {
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListHealthCheckTemplatesRequestTag) GoString added in v2.0.5

func (*ListHealthCheckTemplatesRequestTag) SetKey added in v2.0.5

func (*ListHealthCheckTemplatesRequestTag) SetValue added in v2.0.5

func (ListHealthCheckTemplatesRequestTag) String added in v2.0.5

type ListHealthCheckTemplatesResponse

type ListHealthCheckTemplatesResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListHealthCheckTemplatesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListHealthCheckTemplatesResponse) GoString

func (*ListHealthCheckTemplatesResponse) SetHeaders

func (*ListHealthCheckTemplatesResponse) SetStatusCode

func (ListHealthCheckTemplatesResponse) String

type ListHealthCheckTemplatesResponseBody

type ListHealthCheckTemplatesResponseBody struct {
	// The health check templates.
	HealthCheckTemplates []*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates `json:"HealthCheckTemplates,omitempty" xml:"HealthCheckTemplates,omitempty" type:"Repeated"`
	// The number of entries returned per page. Valid values: **1** to **100**. Default value: **20**.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If a value of **NextToken** was returned in the previous query, specify the value to obtain the next set of results.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListHealthCheckTemplatesResponseBody) GoString

func (*ListHealthCheckTemplatesResponseBody) SetMaxResults

func (*ListHealthCheckTemplatesResponseBody) SetNextToken

func (*ListHealthCheckTemplatesResponseBody) SetRequestId

func (*ListHealthCheckTemplatesResponseBody) SetTotalCount

func (ListHealthCheckTemplatesResponseBody) String

type ListHealthCheckTemplatesResponseBodyHealthCheckTemplates

type ListHealthCheckTemplatesResponseBodyHealthCheckTemplates struct {
	// The HTTP status codes.
	HealthCheckCodes []*string `json:"HealthCheckCodes,omitempty" xml:"HealthCheckCodes,omitempty" type:"Repeated"`
	// The port that is used for health checks.
	//
	// Valid values: \*\* 0 to 65535\*\*.
	//
	// Default value: **0**. This value indicates that the port on a backend server is used for health checks.
	HealthCheckConnectPort *int32 `json:"HealthCheckConnectPort,omitempty" xml:"HealthCheckConnectPort,omitempty"`
	// The domain name that is used for health checks. Valid values:
	//
	// **$SERVER_IP** (default): the private IP addresses of backend servers. If HealthCheckHost is not specified or set to $SERVER_IP, SLB uses the private IP addresses of backend servers for health checks.
	//
	// **domain**: The domain name must be 1 to 80 characters in length and can contain letters, digits, periods (.), and hyphens (-).
	//
	// >  This parameter takes effect only if `HealthCheckProtocol` is set to **HTTP**.
	HealthCheckHost *string `json:"HealthCheckHost,omitempty" xml:"HealthCheckHost,omitempty"`
	// The HTTP version that is used for health checks.
	//
	// Valid values: **HTTP 1.0** and **HTTP 1.1**.
	//
	// Default value: **HTTP 1.1**.
	//
	// >  This parameter takes effect only if `HealthCheckProtocol` is set to **HTTP**.
	HealthCheckHttpVersion *string `json:"HealthCheckHttpVersion,omitempty" xml:"HealthCheckHttpVersion,omitempty"`
	// The interval at which health checks are performed. Unit: seconds. Valid values: **1 to 50**. Default value: **2**.
	HealthCheckInterval *int32 `json:"HealthCheckInterval,omitempty" xml:"HealthCheckInterval,omitempty"`
	// The HTTP method that is used for health checks. Valid values:
	//
	// *   **HEAD** (default): By default, HTTP health checks use the HEAD method.
	// *   **GET**: If the length of a response exceeds 8 KB, the response is truncated. However, the health check result is not affected.
	// *   **POST**: By default, gRPC health checks use the POST method.
	//
	// >  This parameter takes effect only if **HealthCheckProtocol** is set to **HTTP** or **gRPC**.
	HealthCheckMethod *string `json:"HealthCheckMethod,omitempty" xml:"HealthCheckMethod,omitempty"`
	// The URL that is used for health checks.
	//
	// The URL must be 1 to 80 characters in length and can contain only letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The URL can also contain the following extended characters: `_ ; ~ ! ( ) * [ ] @ $ ^ : \" , +`. The URL must start with a forward slash (/).
	HealthCheckPath *string `json:"HealthCheckPath,omitempty" xml:"HealthCheckPath,omitempty"`
	// The protocol that is used for health checks. Valid values:
	//
	// *   **HTTP** (default): The SLB instance sends HEAD or GET requests to a backend server to simulate access from a browser and check whether the backend server is healthy.
	// *   **TCP**: To perform TCP health checks, SLB sends SYN packets to the backend server to check whether the port of the backend server is available to receive requests.
	// *   **gRPC**: To perform gRPC health checks, SLB sends POST or GET requests to a backend server to check whether the backend server is healthy.
	HealthCheckProtocol *string `json:"HealthCheckProtocol,omitempty" xml:"HealthCheckProtocol,omitempty"`
	// The ID of the health check template.
	HealthCheckTemplateId *string `json:"HealthCheckTemplateId,omitempty" xml:"HealthCheckTemplateId,omitempty"`
	// The name of the health check template.
	//
	// The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	HealthCheckTemplateName *string `json:"HealthCheckTemplateName,omitempty" xml:"HealthCheckTemplateName,omitempty"`
	// The timeout period for a health check response. If a backend Elastic Compute Service (ECS) instance does not return a health check response within the specified timeout period, the backend server fails the health check.
	//
	// Valid values: **1 to 300**. Unit: seconds.
	//
	// Default value: **5**.
	//
	// >  If the value of **HealthCHeckTimeout** is smaller than the value of **HealthCheckInterval**, the value of **HealthCHeckTimeout** is ignored and the value of **HealthCheckInterval** is used.
	HealthCheckTimeout *int32 `json:"HealthCheckTimeout,omitempty" xml:"HealthCheckTimeout,omitempty"`
	// The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status changes from **fail** to **success**.
	//
	// Valid values: **2 to 10**.
	//
	// Default value: **3**.
	HealthyThreshold *int32 `json:"HealthyThreshold,omitempty" xml:"HealthyThreshold,omitempty"`
	// The tags.
	Tags []*ListHealthCheckTemplatesResponseBodyHealthCheckTemplatesTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status changes from **success** to **fail**.
	//
	// Valid values: **2 to 10**.
	//
	// Default value: **3**.
	UnhealthyThreshold *int32 `json:"UnhealthyThreshold,omitempty" xml:"UnhealthyThreshold,omitempty"`
}

func (ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) GoString

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) SetHealthCheckCodes

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) SetHealthCheckConnectPort

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) SetHealthCheckHost

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) SetHealthCheckHttpVersion

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) SetHealthCheckInterval

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) SetHealthCheckMethod

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) SetHealthCheckPath

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) SetHealthCheckProtocol

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) SetHealthCheckTemplateId

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) SetHealthCheckTemplateName

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) SetHealthCheckTimeout

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) SetHealthyThreshold

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) SetUnhealthyThreshold

func (ListHealthCheckTemplatesResponseBodyHealthCheckTemplates) String

type ListHealthCheckTemplatesResponseBodyHealthCheckTemplatesTags added in v2.0.5

type ListHealthCheckTemplatesResponseBodyHealthCheckTemplatesTags struct {
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListHealthCheckTemplatesResponseBodyHealthCheckTemplatesTags) GoString added in v2.0.5

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplatesTags) SetKey added in v2.0.5

func (*ListHealthCheckTemplatesResponseBodyHealthCheckTemplatesTags) SetValue added in v2.0.5

func (ListHealthCheckTemplatesResponseBodyHealthCheckTemplatesTags) String added in v2.0.5

type ListListenerCertificatesRequest

type ListListenerCertificatesRequest struct {
	// The type of the certificate. Valid values: **Ca** and **Server**.
	CertificateType *string `json:"CertificateType,omitempty" xml:"CertificateType,omitempty"`
	// The listener ID. You must specify the ID of an HTTPS listener or a QUIC listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The maximum number of entries to return. Valid values: **1 to 100**. If you do not specify this parameter, the default value **20** is used.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   You do not need to specify this parameter for the first request.
	// *   You must specify the token that is obtained from the previous query as the value of **NextToken**.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
}

func (ListListenerCertificatesRequest) GoString

func (*ListListenerCertificatesRequest) SetCertificateType

func (*ListListenerCertificatesRequest) SetListenerId

func (*ListListenerCertificatesRequest) SetMaxResults

func (*ListListenerCertificatesRequest) SetNextToken

func (ListListenerCertificatesRequest) String

type ListListenerCertificatesResponse

type ListListenerCertificatesResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListListenerCertificatesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListListenerCertificatesResponse) GoString

func (*ListListenerCertificatesResponse) SetHeaders

func (*ListListenerCertificatesResponse) SetStatusCode

func (ListListenerCertificatesResponse) String

type ListListenerCertificatesResponseBody

type ListListenerCertificatesResponseBody struct {
	// The certificates.
	Certificates []*ListListenerCertificatesResponseBodyCertificates `json:"Certificates,omitempty" xml:"Certificates,omitempty" type:"Repeated"`
	// The maximum number of entries returned.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If a value is returned for **NextToken**, the value is the token that determines the start point of the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListListenerCertificatesResponseBody) GoString

func (*ListListenerCertificatesResponseBody) SetMaxResults

func (*ListListenerCertificatesResponseBody) SetNextToken

func (*ListListenerCertificatesResponseBody) SetRequestId

func (*ListListenerCertificatesResponseBody) SetTotalCount

func (ListListenerCertificatesResponseBody) String

type ListListenerCertificatesResponseBodyCertificates

type ListListenerCertificatesResponseBodyCertificates struct {
	// The certificate ID. Only server certificates are supported.
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
	// The type of the certificate.
	CertificateType *string `json:"CertificateType,omitempty" xml:"CertificateType,omitempty"`
	// Indicates whether the certificate is the default certificate of the listener. Valid values:
	//
	// *   **true**
	// *   **false**
	IsDefault *bool `json:"IsDefault,omitempty" xml:"IsDefault,omitempty"`
	// Indicates whether the certificate is associated with the listener. Valid values:
	//
	// *   **Associating**
	// *   **Associated**
	// *   **Diassociating**
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ListListenerCertificatesResponseBodyCertificates) GoString

func (*ListListenerCertificatesResponseBodyCertificates) SetCertificateId

func (*ListListenerCertificatesResponseBodyCertificates) SetCertificateType

func (*ListListenerCertificatesResponseBodyCertificates) SetIsDefault

func (*ListListenerCertificatesResponseBodyCertificates) SetStatus

func (ListListenerCertificatesResponseBodyCertificates) String

type ListListenersRequest

type ListListenersRequest struct {
	// The listener IDs. You can specify up to 20 IDs.
	ListenerIds []*string `json:"ListenerIds,omitempty" xml:"ListenerIds,omitempty" type:"Repeated"`
	// The listener protocol. Valid values:
	//
	// *   **HTTP**
	// *   **HTTPS**
	// *   **QUIC**
	ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"`
	// The ID of the Application Load Balancer (ALB) instance. You can specify at most 20 IDs.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" xml:"LoadBalancerIds,omitempty" type:"Repeated"`
	// The maximum number of entries to return. This parameter is optional. Valid values: **1 to 100**. If you do not specify this parameter, the default value **20** is used.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   You do not need to specify this parameter for the first request.
	// *   You must specify the token that is obtained from the previous query as the value of **NextToken**.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The tags.
	Tag []*ListListenersRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListListenersRequest) GoString

func (s ListListenersRequest) GoString() string

func (*ListListenersRequest) SetListenerIds

func (s *ListListenersRequest) SetListenerIds(v []*string) *ListListenersRequest

func (*ListListenersRequest) SetListenerProtocol

func (s *ListListenersRequest) SetListenerProtocol(v string) *ListListenersRequest

func (*ListListenersRequest) SetLoadBalancerIds

func (s *ListListenersRequest) SetLoadBalancerIds(v []*string) *ListListenersRequest

func (*ListListenersRequest) SetMaxResults

func (s *ListListenersRequest) SetMaxResults(v int32) *ListListenersRequest

func (*ListListenersRequest) SetNextToken

func (s *ListListenersRequest) SetNextToken(v string) *ListListenersRequest

func (*ListListenersRequest) SetTag added in v2.0.5

func (ListListenersRequest) String

func (s ListListenersRequest) String() string

type ListListenersRequestTag added in v2.0.5

type ListListenersRequestTag struct {
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListListenersRequestTag) GoString added in v2.0.5

func (s ListListenersRequestTag) GoString() string

func (*ListListenersRequestTag) SetKey added in v2.0.5

func (*ListListenersRequestTag) SetValue added in v2.0.5

func (ListListenersRequestTag) String added in v2.0.5

func (s ListListenersRequestTag) String() string

type ListListenersResponse

type ListListenersResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListListenersResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListListenersResponse) GoString

func (s ListListenersResponse) GoString() string

func (*ListListenersResponse) SetBody

func (*ListListenersResponse) SetHeaders

func (*ListListenersResponse) SetStatusCode

func (s *ListListenersResponse) SetStatusCode(v int32) *ListListenersResponse

func (ListListenersResponse) String

func (s ListListenersResponse) String() string

type ListListenersResponseBody

type ListListenersResponseBody struct {
	// The listeners.
	Listeners []*ListListenersResponseBodyListeners `json:"Listeners,omitempty" xml:"Listeners,omitempty" type:"Repeated"`
	// The maximum number of entries returned.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The position where the query stopped. If this parameter is not returned, all data is queried.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListListenersResponseBody) GoString

func (s ListListenersResponseBody) GoString() string

func (*ListListenersResponseBody) SetListeners

func (*ListListenersResponseBody) SetMaxResults

func (*ListListenersResponseBody) SetNextToken

func (*ListListenersResponseBody) SetRequestId

func (*ListListenersResponseBody) SetTotalCount

func (ListListenersResponseBody) String

func (s ListListenersResponseBody) String() string

type ListListenersResponseBodyListeners

type ListListenersResponseBodyListeners struct {
	// The default actions in the forwarding rules.
	DefaultActions []*ListListenersResponseBodyListenersDefaultActions `json:"DefaultActions,omitempty" xml:"DefaultActions,omitempty" type:"Repeated"`
	// Indicates whether GZIP compression is enabled to compress specific types of files. Valid values:
	//
	// *   **true**
	// *   **false**
	GzipEnabled *bool `json:"GzipEnabled,omitempty" xml:"GzipEnabled,omitempty"`
	// Indicates whether HTTP/2 is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  This parameter is returned only for HTTPS listeners.
	Http2Enabled *bool `json:"Http2Enabled,omitempty" xml:"Http2Enabled,omitempty"`
	// The timeout period of an idle connection. Unit: seconds. Valid values: **1 to 60**.
	//
	// If no request is received within the specified timeout period, ALB closes the connection. ALB re-establishes the connection when a new connection request is received.
	IdleTimeout *int32 `json:"IdleTimeout,omitempty" xml:"IdleTimeout,omitempty"`
	// The name of the listener.
	ListenerDescription *string `json:"ListenerDescription,omitempty" xml:"ListenerDescription,omitempty"`
	// The ID of the listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The frontend port that is used by the ALB instance. Valid values: **1 to 65535**.
	ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"`
	// The listener protocol. Valid values:
	//
	// *   **HTTP**
	// *   **HTTPS**
	// *   **QUIC**
	ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"`
	// The status of the listener. Valid values:
	//
	// *   **Provisioning**
	// *   **Running**
	// *   **Configuring**
	// *   **Stopped**
	ListenerStatus *string `json:"ListenerStatus,omitempty" xml:"ListenerStatus,omitempty"`
	// The ID of the ALB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The configuration of logs.
	LogConfig *ListListenersResponseBodyListenersLogConfig `json:"LogConfig,omitempty" xml:"LogConfig,omitempty" type:"Struct"`
	// The configuration information when the listener is associated with a QUIC listener.
	QuicConfig *ListListenersResponseBodyListenersQuicConfig `json:"QuicConfig,omitempty" xml:"QuicConfig,omitempty" type:"Struct"`
	// The timeout period of a request. Unit: seconds. Valid values: **1 to 180**.
	//
	// If no responses are received from the backend server within the specified timeout period, ALB returns an `HTTP 504` error code to the client.
	RequestTimeout *int32 `json:"RequestTimeout,omitempty" xml:"RequestTimeout,omitempty"`
	// The security policy.
	//
	// >  This parameter is returned only for HTTPS listeners.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The tags.
	Tags []*ListListenersResponseBodyListenersTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The configuration of the `XForward` headers.
	XForwardedForConfig *ListListenersResponseBodyListenersXForwardedForConfig `json:"XForwardedForConfig,omitempty" xml:"XForwardedForConfig,omitempty" type:"Struct"`
}

func (ListListenersResponseBodyListeners) GoString

func (*ListListenersResponseBodyListeners) SetGzipEnabled

func (*ListListenersResponseBodyListeners) SetHttp2Enabled

func (*ListListenersResponseBodyListeners) SetIdleTimeout

func (*ListListenersResponseBodyListeners) SetListenerDescription

func (*ListListenersResponseBodyListeners) SetListenerId

func (*ListListenersResponseBodyListeners) SetListenerPort

func (*ListListenersResponseBodyListeners) SetListenerProtocol

func (*ListListenersResponseBodyListeners) SetListenerStatus

func (*ListListenersResponseBodyListeners) SetLoadBalancerId

func (*ListListenersResponseBodyListeners) SetRequestTimeout

func (*ListListenersResponseBodyListeners) SetSecurityPolicyId

func (*ListListenersResponseBodyListeners) SetTags added in v2.0.5

func (ListListenersResponseBodyListeners) String

type ListListenersResponseBodyListenersDefaultActions

type ListListenersResponseBodyListenersDefaultActions struct {
	// The configuration of the forwarding rule action. This parameter is required and takes effect only if the type of the action is **ForwardGroup**.
	ForwardGroupConfig *ListListenersResponseBodyListenersDefaultActionsForwardGroupConfig `json:"ForwardGroupConfig,omitempty" xml:"ForwardGroupConfig,omitempty" type:"Struct"`
	// The type of the action. If **ForwardGroup** is returned, requests are forwarded to multiple vServer groups.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (ListListenersResponseBodyListenersDefaultActions) GoString

func (*ListListenersResponseBodyListenersDefaultActions) SetType

func (ListListenersResponseBodyListenersDefaultActions) String

type ListListenersResponseBodyListenersDefaultActionsForwardGroupConfig

type ListListenersResponseBodyListenersDefaultActionsForwardGroupConfig struct {
	// The server groups to which requests are forwarded.
	ServerGroupTuples []*ListListenersResponseBodyListenersDefaultActionsForwardGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (ListListenersResponseBodyListenersDefaultActionsForwardGroupConfig) GoString

func (ListListenersResponseBodyListenersDefaultActionsForwardGroupConfig) String

type ListListenersResponseBodyListenersDefaultActionsForwardGroupConfigServerGroupTuples

type ListListenersResponseBodyListenersDefaultActionsForwardGroupConfigServerGroupTuples struct {
	// The ID of the server group to which requests are forwarded.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (ListListenersResponseBodyListenersDefaultActionsForwardGroupConfigServerGroupTuples) GoString

func (*ListListenersResponseBodyListenersDefaultActionsForwardGroupConfigServerGroupTuples) SetServerGroupId

func (ListListenersResponseBodyListenersDefaultActionsForwardGroupConfigServerGroupTuples) String

type ListListenersResponseBodyListenersLogConfig

type ListListenersResponseBodyListenersLogConfig struct {
	// Indicates whether custom headers are carried in the access log. Valid values:
	//
	// *   **true**
	// *   **false**
	AccessLogRecordCustomizedHeadersEnabled *bool `json:"AccessLogRecordCustomizedHeadersEnabled,omitempty" xml:"AccessLogRecordCustomizedHeadersEnabled,omitempty"`
	// The configuration of Xtrace. Xtrace is used to record the requests that are sent to ALB.
	AccessLogTracingConfig *ListListenersResponseBodyListenersLogConfigAccessLogTracingConfig `json:"AccessLogTracingConfig,omitempty" xml:"AccessLogTracingConfig,omitempty" type:"Struct"`
}

func (ListListenersResponseBodyListenersLogConfig) GoString

func (*ListListenersResponseBodyListenersLogConfig) SetAccessLogRecordCustomizedHeadersEnabled

func (s *ListListenersResponseBodyListenersLogConfig) SetAccessLogRecordCustomizedHeadersEnabled(v bool) *ListListenersResponseBodyListenersLogConfig

func (ListListenersResponseBodyListenersLogConfig) String

type ListListenersResponseBodyListenersLogConfigAccessLogTracingConfig

type ListListenersResponseBodyListenersLogConfigAccessLogTracingConfig struct {
	// Indicates whether Xtrace is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  This parameter can be set to **true** only if **AccessLogEnabled** is set to true.
	TracingEnabled *bool `json:"TracingEnabled,omitempty" xml:"TracingEnabled,omitempty"`
	// The sampling rate of Xtrace. Valid values: **1 to 10000**.
	//
	// >  This parameter takes effect only if **TracingEnabled** is set to **true**.
	TracingSample *int32 `json:"TracingSample,omitempty" xml:"TracingSample,omitempty"`
	// The Xtrace type. Only **Zipkin** may be returned.
	//
	// >  This parameter takes effect only if **TracingEnabled** is set to **true**.
	TracingType *string `json:"TracingType,omitempty" xml:"TracingType,omitempty"`
}

func (ListListenersResponseBodyListenersLogConfigAccessLogTracingConfig) GoString

func (*ListListenersResponseBodyListenersLogConfigAccessLogTracingConfig) SetTracingEnabled

func (*ListListenersResponseBodyListenersLogConfigAccessLogTracingConfig) SetTracingSample

func (*ListListenersResponseBodyListenersLogConfigAccessLogTracingConfig) SetTracingType

func (ListListenersResponseBodyListenersLogConfigAccessLogTracingConfig) String

type ListListenersResponseBodyListenersQuicConfig

type ListListenersResponseBodyListenersQuicConfig struct {
	// The ID of the QUIC listener. This parameter is required when **QuicUpgradeEnabled** is set to **true**. Only HTTPS listeners support this parameter.
	//
	// >  The HTTPS listener and the associated QUIC listener must belong to the same ALB instance. The QUIC listener cannot be associated with another listener.
	QuicListenerId *string `json:"QuicListenerId,omitempty" xml:"QuicListenerId,omitempty"`
	// Indicates whether QUIC upgrade is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  This parameter takes effect only for HTTPS listeners.
	QuicUpgradeEnabled *bool `json:"QuicUpgradeEnabled,omitempty" xml:"QuicUpgradeEnabled,omitempty"`
}

func (ListListenersResponseBodyListenersQuicConfig) GoString

func (*ListListenersResponseBodyListenersQuicConfig) SetQuicListenerId

func (*ListListenersResponseBodyListenersQuicConfig) SetQuicUpgradeEnabled

func (ListListenersResponseBodyListenersQuicConfig) String

type ListListenersResponseBodyListenersTags added in v2.0.5

type ListListenersResponseBodyListenersTags struct {
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListListenersResponseBodyListenersTags) GoString added in v2.0.5

func (*ListListenersResponseBodyListenersTags) SetKey added in v2.0.5

func (*ListListenersResponseBodyListenersTags) SetValue added in v2.0.5

func (ListListenersResponseBodyListenersTags) String added in v2.0.5

type ListListenersResponseBodyListenersXForwardedForConfig

type ListListenersResponseBodyListenersXForwardedForConfig struct {
	// The name of the custom header. This parameter takes effect only if **XForwardedForClientCertClientVerifyEnabled** is set to **true**.
	//
	// The name is 1 to 40 characters in length, and can contain letters, digits, hyphens (-), and underscores (\_).
	//
	// >  This parameter is returned only for HTTPS listeners.
	XForwardedForClientCertClientVerifyAlias *string `json:"XForwardedForClientCertClientVerifyAlias,omitempty" xml:"XForwardedForClientCertClientVerifyAlias,omitempty"`
	// Indicates whether the `X-Forwarded-Clientcert-clientverify` header is used to obtain the verification result of the client certificate. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  This parameter is returned only for HTTPS listeners.
	XForwardedForClientCertClientVerifyEnabled *bool `json:"XForwardedForClientCertClientVerifyEnabled,omitempty" xml:"XForwardedForClientCertClientVerifyEnabled,omitempty"`
	// The name of the custom header. This parameter takes effect only if **XForwardedForClientCertFingerprintEnabled** is set to **true**.
	//
	// The name is 1 to 40 characters in length, and can contain letters, digits, hyphens (-), and underscores (\_).
	//
	// >  This parameter is returned only for HTTPS listeners.
	XForwardedForClientCertFingerprintAlias *string `json:"XForwardedForClientCertFingerprintAlias,omitempty" xml:"XForwardedForClientCertFingerprintAlias,omitempty"`
	// Indicates whether the `X-Forwarded-Clientcert-fingerprint` header is used to retrieve the fingerprint of the client certificate. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  This parameter is returned only for HTTPS listeners.
	XForwardedForClientCertFingerprintEnabled *bool `json:"XForwardedForClientCertFingerprintEnabled,omitempty" xml:"XForwardedForClientCertFingerprintEnabled,omitempty"`
	// The name of the custom header. This parameter takes effect only if **XForwardedForClientCertIssuerDNEnabled** is set to **true**.
	//
	// The name is 1 to 40 characters in length, and can contain letters, digits, hyphens (-), and underscores (\_).
	//
	// >  This parameter is returned only for HTTPS listeners.
	XForwardedForClientCertIssuerDNAlias *string `json:"XForwardedForClientCertIssuerDNAlias,omitempty" xml:"XForwardedForClientCertIssuerDNAlias,omitempty"`
	// Indicates whether the `X-Forwarded-Clientcert-issuerdn` header is used to retrieve information about the authority that issues the client certificate. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  This parameter is returned only for HTTPS listeners.
	XForwardedForClientCertIssuerDNEnabled *bool `json:"XForwardedForClientCertIssuerDNEnabled,omitempty" xml:"XForwardedForClientCertIssuerDNEnabled,omitempty"`
	// The name of the custom header. This parameter takes effect only if **XForwardedForClientCertSubjectDNEnabled** is set to **true**.
	//
	// The name is 1 to 40 characters in length, and can contain letters, digits, hyphens (-), and underscores (\_).
	//
	// >  This parameter is returned only for HTTPS listeners.
	XForwardedForClientCertSubjectDNAlias *string `json:"XForwardedForClientCertSubjectDNAlias,omitempty" xml:"XForwardedForClientCertSubjectDNAlias,omitempty"`
	// Indicates whether the `X-Forwarded-Clientcert-subjectdn` header is used to retrieve information about the owner of the client certificate. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  This parameter is returned only for HTTPS listeners.
	XForwardedForClientCertSubjectDNEnabled *bool `json:"XForwardedForClientCertSubjectDNEnabled,omitempty" xml:"XForwardedForClientCertSubjectDNEnabled,omitempty"`
	// Indicates whether the `X-Forwarded-Client-Ip` header is used to retrieve the source port of the ALB instance. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  HTTP, HTTPS, and QUIC listeners support this parameter.
	XForwardedForClientSourceIpsEnabled *bool `json:"XForwardedForClientSourceIpsEnabled,omitempty" xml:"XForwardedForClientSourceIpsEnabled,omitempty"`
	// The trusted proxy IP address.
	//
	// ALB traverses `X-Forwarded-For` backward and selects the first IP address that is not in the trusted IP address list as the real IP address of the client. The IP address is used in source IP address throttling.
	XForwardedForClientSourceIpsTrusted *string `json:"XForwardedForClientSourceIpsTrusted,omitempty" xml:"XForwardedForClientSourceIpsTrusted,omitempty"`
	// Indicates whether the `X-Forwarded-Client-Port` header is used to retrieve the client port. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  This parameter is returned only for HTTP and HTTPS listeners.
	XForwardedForClientSrcPortEnabled *bool `json:"XForwardedForClientSrcPortEnabled,omitempty" xml:"XForwardedForClientSrcPortEnabled,omitempty"`
	// Indicates whether the `X-Forwarded-For` header is used to retrieve the client IP address. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  This parameter is returned only for HTTP and HTTPS listeners.
	XForwardedForEnabled *bool `json:"XForwardedForEnabled,omitempty" xml:"XForwardedForEnabled,omitempty"`
	// Indicates whether the `X-Forwarded-Proto` header is used to retrieve the listener protocol. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  HTTP, HTTPS, and QUIC listeners support this parameter.
	XForwardedForProtoEnabled *bool `json:"XForwardedForProtoEnabled,omitempty" xml:"XForwardedForProtoEnabled,omitempty"`
	// Indicates whether the `SLB-ID` header is used to retrieve the ID of the ALB instance. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  HTTP, HTTPS, and QUIC listeners support this parameter.
	XForwardedForSLBIdEnabled *bool `json:"XForwardedForSLBIdEnabled,omitempty" xml:"XForwardedForSLBIdEnabled,omitempty"`
	// Indicates whether the `X-Forwarded-Port` header is used to retrieve the listener port of the ALB instance. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  HTTP, HTTPS, and QUIC listeners support this parameter.
	XForwardedForSLBPortEnabled *bool `json:"XForwardedForSLBPortEnabled,omitempty" xml:"XForwardedForSLBPortEnabled,omitempty"`
}

func (ListListenersResponseBodyListenersXForwardedForConfig) GoString

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForClientCertClientVerifyAlias

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForClientCertClientVerifyEnabled

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForClientCertFingerprintAlias

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForClientCertFingerprintEnabled

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForClientCertIssuerDNAlias

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForClientCertIssuerDNEnabled

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForClientCertSubjectDNAlias

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForClientCertSubjectDNEnabled

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForClientSourceIpsEnabled

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForClientSourceIpsTrusted

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForClientSrcPortEnabled

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForEnabled

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForProtoEnabled

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForSLBIdEnabled

func (*ListListenersResponseBodyListenersXForwardedForConfig) SetXForwardedForSLBPortEnabled

func (ListListenersResponseBodyListenersXForwardedForConfig) String

type ListLoadBalancersRequest

type ListLoadBalancersRequest struct {
	AddressIpVersion *string `json:"AddressIpVersion,omitempty" xml:"AddressIpVersion,omitempty"`
	// The network type. Valid values:
	//
	// *   **Internet**: The ALB instance uses a public IP address. The domain name of the ALB instance is resolved to the public IP address. Therefore, the ALB instance can be accessed over the Internet.
	// *   **Intranet**: The ALB instance uses a private IP address. The domain name of the ALB instance is resolved to the private IP address. In this case, the ALB instance can be accessed over the VPC where the ALB instance is deployed.
	AddressType     *string `json:"AddressType,omitempty" xml:"AddressType,omitempty"`
	DNSName         *string `json:"DNSName,omitempty" xml:"DNSName,omitempty"`
	Ipv6AddressType *string `json:"Ipv6AddressType,omitempty" xml:"Ipv6AddressType,omitempty"`
	// The service status of the ALB instance. Valid values:
	//
	// *   **Abnormal**
	// *   **Normal**
	LoadBalancerBussinessStatus *string `json:"LoadBalancerBussinessStatus,omitempty" xml:"LoadBalancerBussinessStatus,omitempty"`
	// The instance IDs. You can specify at most 20 ALB instance IDs.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" xml:"LoadBalancerIds,omitempty" type:"Repeated"`
	// The names of the instances. You can specify at most 10 names.
	LoadBalancerNames []*string `json:"LoadBalancerNames,omitempty" xml:"LoadBalancerNames,omitempty" type:"Repeated"`
	// The status of the ALB instance. Valid values:
	//
	// *   **Inactive**: The ALB instance is disabled. The listeners do not forward traffic.
	// *   **Active**: The ALB instance is running.
	// *   **Provisioning**: The ALB instance is being created.
	// *   **Configuring**: The ALB instance is being modified.
	// *   **CreateFailed**: The system failed to create the ALB instance. In this case, you are not charged for the ALB instance. You can only delete the ALB instance. By default, the system deletes the ALB instances that are in the CreateFailed state within the last day.
	LoadBalancerStatus *string `json:"LoadBalancerStatus,omitempty" xml:"LoadBalancerStatus,omitempty"`
	// The number of entries to return on each page. Valid values: **1** to **100**. Default value: **20**.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   You do not need to specify this parameter for the first request.
	// *   You must specify the token that is obtained from the previous query as the value of **NextToken**.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The billing method of the ALB instance. Set the value to
	//
	// **PostPay**, which specifies the pay-as-you-go billing method. This is the default value.
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The tags added to the ALB instance.
	Tag []*ListLoadBalancersRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The ID of the virtual private cloud (VPC) to which the ALB instance belongs. You can specify at most 10 IDs.
	VpcIds []*string `json:"VpcIds,omitempty" xml:"VpcIds,omitempty" type:"Repeated"`
	// The ID of the zone where the ALB instance is deployed.
	//
	// You can call the [DescribeZones](~~189196~~) operation to query zones.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (ListLoadBalancersRequest) GoString

func (s ListLoadBalancersRequest) GoString() string

func (*ListLoadBalancersRequest) SetAddressIpVersion added in v2.1.2

func (s *ListLoadBalancersRequest) SetAddressIpVersion(v string) *ListLoadBalancersRequest

func (*ListLoadBalancersRequest) SetAddressType

func (*ListLoadBalancersRequest) SetDNSName added in v2.1.2

func (*ListLoadBalancersRequest) SetIpv6AddressType added in v2.1.2

func (s *ListLoadBalancersRequest) SetIpv6AddressType(v string) *ListLoadBalancersRequest

func (*ListLoadBalancersRequest) SetLoadBalancerBussinessStatus

func (s *ListLoadBalancersRequest) SetLoadBalancerBussinessStatus(v string) *ListLoadBalancersRequest

func (*ListLoadBalancersRequest) SetLoadBalancerIds

func (s *ListLoadBalancersRequest) SetLoadBalancerIds(v []*string) *ListLoadBalancersRequest

func (*ListLoadBalancersRequest) SetLoadBalancerNames

func (s *ListLoadBalancersRequest) SetLoadBalancerNames(v []*string) *ListLoadBalancersRequest

func (*ListLoadBalancersRequest) SetLoadBalancerStatus

func (s *ListLoadBalancersRequest) SetLoadBalancerStatus(v string) *ListLoadBalancersRequest

func (*ListLoadBalancersRequest) SetMaxResults

func (*ListLoadBalancersRequest) SetNextToken

func (*ListLoadBalancersRequest) SetPayType

func (*ListLoadBalancersRequest) SetResourceGroupId

func (s *ListLoadBalancersRequest) SetResourceGroupId(v string) *ListLoadBalancersRequest

func (*ListLoadBalancersRequest) SetTag

func (*ListLoadBalancersRequest) SetVpcIds

func (*ListLoadBalancersRequest) SetZoneId

func (ListLoadBalancersRequest) String

func (s ListLoadBalancersRequest) String() string

type ListLoadBalancersRequestTag

type ListLoadBalancersRequestTag struct {
	// The tag key. You can specify at most 20 tag keys. The tag key cannot be an empty string.
	//
	// The tag key can be up to 64 characters in length and cannot contain `http://` or `https://`. It cannot start with `aliyun` or `acs:`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. You can specify at most 20 tag values. The tag value can be an empty string.
	//
	// The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`. It cannot start with `aliyun` or `acs:`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListLoadBalancersRequestTag) GoString

func (s ListLoadBalancersRequestTag) GoString() string

func (*ListLoadBalancersRequestTag) SetKey

func (*ListLoadBalancersRequestTag) SetValue

func (ListLoadBalancersRequestTag) String

type ListLoadBalancersResponse

type ListLoadBalancersResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListLoadBalancersResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListLoadBalancersResponse) GoString

func (s ListLoadBalancersResponse) GoString() string

func (*ListLoadBalancersResponse) SetBody

func (*ListLoadBalancersResponse) SetHeaders

func (*ListLoadBalancersResponse) SetStatusCode

func (ListLoadBalancersResponse) String

func (s ListLoadBalancersResponse) String() string

type ListLoadBalancersResponseBody

type ListLoadBalancersResponseBody struct {
	// The list of ALB instances.
	LoadBalancers []*ListLoadBalancersResponseBodyLoadBalancers `json:"LoadBalancers,omitempty" xml:"LoadBalancers,omitempty" type:"Repeated"`
	// The number of entries returned per page.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If a value is returned for **NextToken**, the value is used to retrieve a new page of results.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListLoadBalancersResponseBody) GoString

func (*ListLoadBalancersResponseBody) SetMaxResults

func (*ListLoadBalancersResponseBody) SetNextToken

func (*ListLoadBalancersResponseBody) SetRequestId

func (*ListLoadBalancersResponseBody) SetTotalCount

func (ListLoadBalancersResponseBody) String

type ListLoadBalancersResponseBodyLoadBalancers

type ListLoadBalancersResponseBodyLoadBalancers struct {
	// The configuration of the access log.
	AccessLogConfig *ListLoadBalancersResponseBodyLoadBalancersAccessLogConfig `json:"AccessLogConfig,omitempty" xml:"AccessLogConfig,omitempty" type:"Struct"`
	// The mode in which IP addresses are allocated. Valid values:
	//
	// *   **Fixed**: allocates a static IP address to the ALB instance.
	// *   **Dynamic**: dynamically allocates an IP address to each zone of the ALB instance.
	AddressAllocatedMode *string `json:"AddressAllocatedMode,omitempty" xml:"AddressAllocatedMode,omitempty"`
	// The IP version. Valid values:
	//
	// *   **IPv4**
	// *   **DualStack**
	AddressIpVersion *string `json:"AddressIpVersion,omitempty" xml:"AddressIpVersion,omitempty"`
	// The type of IP address that the ALB instance uses to provide services. Valid values:
	//
	// *   **Internet**: The ALB instance uses a public IP address. The domain name of the ALB instance is resolved to the public IP address. Therefore, the ALB instance can be accessed over the Internet.
	// *   **Intranet**: The ALB instance uses a private IP address. The domain name of the ALB instance is resolved to the private IP address. In this case, the ALB instance can be accessed over the VPC where the ALB instance is deployed.
	AddressType *string `json:"AddressType,omitempty" xml:"AddressType,omitempty"`
	// The ID of the EIP bandwidth plan that is associated with the NLB instance if the NLB instance uses a public IP address.
	BandwidthPackageId *string `json:"BandwidthPackageId,omitempty" xml:"BandwidthPackageId,omitempty"`
	// The time when the resource was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The domain name of the ALB instance.
	DNSName *string `json:"DNSName,omitempty" xml:"DNSName,omitempty"`
	// The configuration of deletion protection.
	DeletionProtectionConfig *ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig `json:"DeletionProtectionConfig,omitempty" xml:"DeletionProtectionConfig,omitempty" type:"Struct"`
	// The type of IPv6 address that is used by the ALB instance. Valid values:
	//
	// *   **Internet**: The ALB instance uses a public IP address. The domain name of the ALB instance is resolved to the public IP address. Therefore, the ALB instance can be accessed over the Internet.
	// *   **Intranet**: The ALB instance uses a private IP address. The domain name of the ALB instance is resolved to the private IP address. Therefore, the ALB instance can be accessed over the VPC in which the ALB instance is deployed.
	Ipv6AddressType *string `json:"Ipv6AddressType,omitempty" xml:"Ipv6AddressType,omitempty"`
	// The configuration of the billing method.
	LoadBalancerBillingConfig *ListLoadBalancersResponseBodyLoadBalancersLoadBalancerBillingConfig `json:"LoadBalancerBillingConfig,omitempty" xml:"LoadBalancerBillingConfig,omitempty" type:"Struct"`
	// The business status of the ALB instance. Valid values:
	//
	// *   **Abnormal**
	// *   **Normal**
	LoadBalancerBussinessStatus *string `json:"LoadBalancerBussinessStatus,omitempty" xml:"LoadBalancerBussinessStatus,omitempty"`
	// The edition of the ALB instance. Different editions have different limits and support different billing methods. Valid values:
	//
	// *   **Basic**: basic
	// *   **Standard**: standard
	// *   **StandardWithWaf**: WAF-enabled
	LoadBalancerEdition *string `json:"LoadBalancerEdition,omitempty" xml:"LoadBalancerEdition,omitempty"`
	// The ID of the ALB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The name of the NLB instance.
	LoadBalancerName *string `json:"LoadBalancerName,omitempty" xml:"LoadBalancerName,omitempty"`
	// The configuration of the operation lock.
	LoadBalancerOperationLocks []*ListLoadBalancersResponseBodyLoadBalancersLoadBalancerOperationLocks `json:"LoadBalancerOperationLocks,omitempty" xml:"LoadBalancerOperationLocks,omitempty" type:"Repeated"`
	// The status of the ALB instance. Valid values:
	//
	// *   **Inactive**: The ALB instance is disabled. The listeners do not forward traffic.
	// *   **Active**: The ALB instance is running.
	// *   **Provisioning**: The ALB instance is being created.
	// *   **Configuring**: The ALB instance is being modified.
	// *   **CreateFailed**: The system failed to create the ALB instance.
	LoadBalancerStatus *string `json:"LoadBalancerStatus,omitempty" xml:"LoadBalancerStatus,omitempty"`
	// The configuration read-only mode.
	ModificationProtectionConfig *ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig `json:"ModificationProtectionConfig,omitempty" xml:"ModificationProtectionConfig,omitempty" type:"Struct"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The tags that are added to the instance.
	Tags []*ListLoadBalancersResponseBodyLoadBalancersTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The ID of the VPC to which the ALB instance belongs.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (ListLoadBalancersResponseBodyLoadBalancers) GoString

func (*ListLoadBalancersResponseBodyLoadBalancers) SetAddressAllocatedMode

func (*ListLoadBalancersResponseBodyLoadBalancers) SetAddressIpVersion

func (*ListLoadBalancersResponseBodyLoadBalancers) SetAddressType

func (*ListLoadBalancersResponseBodyLoadBalancers) SetBandwidthPackageId

func (*ListLoadBalancersResponseBodyLoadBalancers) SetCreateTime

func (*ListLoadBalancersResponseBodyLoadBalancers) SetDNSName

func (*ListLoadBalancersResponseBodyLoadBalancers) SetIpv6AddressType

func (*ListLoadBalancersResponseBodyLoadBalancers) SetLoadBalancerBussinessStatus

func (*ListLoadBalancersResponseBodyLoadBalancers) SetLoadBalancerEdition

func (*ListLoadBalancersResponseBodyLoadBalancers) SetLoadBalancerId

func (*ListLoadBalancersResponseBodyLoadBalancers) SetLoadBalancerName

func (*ListLoadBalancersResponseBodyLoadBalancers) SetLoadBalancerStatus

func (*ListLoadBalancersResponseBodyLoadBalancers) SetResourceGroupId

func (*ListLoadBalancersResponseBodyLoadBalancers) SetVpcId

func (ListLoadBalancersResponseBodyLoadBalancers) String

type ListLoadBalancersResponseBodyLoadBalancersAccessLogConfig

type ListLoadBalancersResponseBodyLoadBalancersAccessLogConfig struct {
	// The log project.
	LogProject *string `json:"LogProject,omitempty" xml:"LogProject,omitempty"`
	// The Logstore.
	LogStore *string `json:"LogStore,omitempty" xml:"LogStore,omitempty"`
}

func (ListLoadBalancersResponseBodyLoadBalancersAccessLogConfig) GoString

func (*ListLoadBalancersResponseBodyLoadBalancersAccessLogConfig) SetLogProject

func (*ListLoadBalancersResponseBodyLoadBalancersAccessLogConfig) SetLogStore

func (ListLoadBalancersResponseBodyLoadBalancersAccessLogConfig) String

type ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig

type ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig struct {
	// Indicates whether deletion protection is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The time when deletion protection is enabled.
	EnabledTime *string `json:"EnabledTime,omitempty" xml:"EnabledTime,omitempty"`
}

func (ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig) GoString

func (*ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig) SetEnabled

func (*ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig) SetEnabledTime

func (ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig) String

type ListLoadBalancersResponseBodyLoadBalancersLoadBalancerBillingConfig

type ListLoadBalancersResponseBodyLoadBalancersLoadBalancerBillingConfig struct {
	// The billing method. Valid values:
	//
	// Only **PostPay** may be returned, which indicates the pay-as-you-go billing method.
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
}

func (ListLoadBalancersResponseBodyLoadBalancersLoadBalancerBillingConfig) GoString

func (*ListLoadBalancersResponseBodyLoadBalancersLoadBalancerBillingConfig) SetPayType

func (ListLoadBalancersResponseBodyLoadBalancersLoadBalancerBillingConfig) String

type ListLoadBalancersResponseBodyLoadBalancersLoadBalancerOperationLocks

type ListLoadBalancersResponseBodyLoadBalancersLoadBalancerOperationLocks struct {
	// The reason why the ALB instance is locked. This parameter is available only when **LoadBalancerBussinessStatus** is set to **Abnormal**.
	LockReason *string `json:"LockReason,omitempty" xml:"LockReason,omitempty"`
	// The lock type. Valid values:
	//
	// *   **SecurityLocked**: The ALB instance is locked due to security reasons.
	// *   **RelatedResourceLocked**: The ALB instance is locked due to association issues.
	// *   **FinancialLocked**: The ALB instance is locked due to overdue payments.
	// *   **ResidualLocked**: The ALB instance is locked because the associated resources have overdue payments and the resources are released.
	LockType *string `json:"LockType,omitempty" xml:"LockType,omitempty"`
}

func (ListLoadBalancersResponseBodyLoadBalancersLoadBalancerOperationLocks) GoString

func (*ListLoadBalancersResponseBodyLoadBalancersLoadBalancerOperationLocks) SetLockReason

func (*ListLoadBalancersResponseBodyLoadBalancersLoadBalancerOperationLocks) SetLockType

func (ListLoadBalancersResponseBodyLoadBalancersLoadBalancerOperationLocks) String

type ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig

type ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig struct {
	// The reason why deletion protection is enabled.
	//
	// It must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). It must start with a letter.
	//
	// This parameter takes effect only when **ModificationProtectionStatus** is set to **ConsoleProtection**.
	Reason *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
	// Indicates whether the configuration read-only mode is enabled for the ALB instance. Valid values:
	//
	// *   **NonProtection**: The configuration read-only mode is disabled. In this case, you cannot specify ModificationProtectionReason. If you specify ModificationProtectionReason, the value of the parameter is cleared.
	// *   **ConsoleProtection**: The configuration read-only mode is enabled. In this case, you can specify ModificationProtectionReason.
	//
	// > If you set this parameter to **ConsoleProtection**, you cannot use the ALB console to modify instance configurations. However, you can call API operations to modify instance configurations.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig) GoString

func (*ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig) SetReason

func (*ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig) SetStatus

func (ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig) String

type ListLoadBalancersResponseBodyLoadBalancersTags

type ListLoadBalancersResponseBodyLoadBalancersTags struct {
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListLoadBalancersResponseBodyLoadBalancersTags) GoString

func (*ListLoadBalancersResponseBodyLoadBalancersTags) SetKey

func (*ListLoadBalancersResponseBodyLoadBalancersTags) SetValue

func (ListLoadBalancersResponseBodyLoadBalancersTags) String

type ListRulesRequest

type ListRulesRequest struct {
	// The direction to which the forwarding rule is applied. Valid values:
	//
	// *   **Request** (default): The forwarding rule is applied to the client requests received by ALB.
	// *   **Response**: The forwarding rule is applied to the responses returned by backend servers.
	//
	// > You cannot set this parameter to Response if you use basic ALB instances.
	Direction *string `json:"Direction,omitempty" xml:"Direction,omitempty"`
	// The listener IDs.
	ListenerIds []*string `json:"ListenerIds,omitempty" xml:"ListenerIds,omitempty" type:"Repeated"`
	// The Application Load Balancer (ALB) instance IDs.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" xml:"LoadBalancerIds,omitempty" type:"Repeated"`
	// The maximum number of entries to return.
	//
	// Valid values: **1 to 100**.
	//
	// Default value: **20**. If you do not specify this parameter, the default value is used.
	//
	// > This parameter is optional.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The starting point of the current query. If you do not specify this parameter, the query starts from the beginning.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The forwarding rules.
	RuleIds []*string              `json:"RuleIds,omitempty" xml:"RuleIds,omitempty" type:"Repeated"`
	Tag     []*ListRulesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListRulesRequest) GoString

func (s ListRulesRequest) GoString() string

func (*ListRulesRequest) SetDirection added in v2.0.2

func (s *ListRulesRequest) SetDirection(v string) *ListRulesRequest

func (*ListRulesRequest) SetListenerIds

func (s *ListRulesRequest) SetListenerIds(v []*string) *ListRulesRequest

func (*ListRulesRequest) SetLoadBalancerIds

func (s *ListRulesRequest) SetLoadBalancerIds(v []*string) *ListRulesRequest

func (*ListRulesRequest) SetMaxResults

func (s *ListRulesRequest) SetMaxResults(v int32) *ListRulesRequest

func (*ListRulesRequest) SetNextToken

func (s *ListRulesRequest) SetNextToken(v string) *ListRulesRequest

func (*ListRulesRequest) SetRuleIds

func (s *ListRulesRequest) SetRuleIds(v []*string) *ListRulesRequest

func (*ListRulesRequest) SetTag added in v2.0.5

func (ListRulesRequest) String

func (s ListRulesRequest) String() string

type ListRulesRequestTag added in v2.0.5

type ListRulesRequestTag struct {
	Key   *string `json:"Key,omitempty" xml:"Key,omitempty"`
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListRulesRequestTag) GoString added in v2.0.5

func (s ListRulesRequestTag) GoString() string

func (*ListRulesRequestTag) SetKey added in v2.0.5

func (*ListRulesRequestTag) SetValue added in v2.0.5

func (ListRulesRequestTag) String added in v2.0.5

func (s ListRulesRequestTag) String() string

type ListRulesResponse

type ListRulesResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListRulesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListRulesResponse) GoString

func (s ListRulesResponse) GoString() string

func (*ListRulesResponse) SetBody

func (*ListRulesResponse) SetHeaders

func (s *ListRulesResponse) SetHeaders(v map[string]*string) *ListRulesResponse

func (*ListRulesResponse) SetStatusCode

func (s *ListRulesResponse) SetStatusCode(v int32) *ListRulesResponse

func (ListRulesResponse) String

func (s ListRulesResponse) String() string

type ListRulesResponseBody

type ListRulesResponseBody struct {
	// The maximum number of entries returned.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If a value is returned for **NextToken**, the value is the token that determines the start point of the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The forwarding rules.
	Rules []*ListRulesResponseBodyRules `json:"Rules,omitempty" xml:"Rules,omitempty" type:"Repeated"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListRulesResponseBody) GoString

func (s ListRulesResponseBody) GoString() string

func (*ListRulesResponseBody) SetMaxResults

func (s *ListRulesResponseBody) SetMaxResults(v int32) *ListRulesResponseBody

func (*ListRulesResponseBody) SetNextToken

func (*ListRulesResponseBody) SetRequestId

func (*ListRulesResponseBody) SetRules

func (*ListRulesResponseBody) SetTotalCount

func (s *ListRulesResponseBody) SetTotalCount(v int32) *ListRulesResponseBody

func (ListRulesResponseBody) String

func (s ListRulesResponseBody) String() string

type ListRulesResponseBodyRules

type ListRulesResponseBodyRules struct {
	// The direction to which the forwarding rule is applied. Valid values:
	//
	// *   Request (default): The rule applies to client requests.
	// *   Response: The rule applies to responses from backend servers.
	//
	// > Response is not supported by basic ALB instances.
	Direction *string `json:"Direction,omitempty" xml:"Direction,omitempty"`
	// The ID of the listener to which the forwarding rule belongs.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The ID of the ALB instance to which the forwarding rule belongs.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The priority of the forwarding rule. Valid values: **1 to 10000**. A smaller value indicates a higher priority.
	//
	// > The priority of each forwarding rule added to a listener must be unique.
	Priority *int32 `json:"Priority,omitempty" xml:"Priority,omitempty"`
	// The action of the forwarding rule.
	RuleActions []*ListRulesResponseBodyRulesRuleActions `json:"RuleActions,omitempty" xml:"RuleActions,omitempty" type:"Repeated"`
	// The conditions of the forwarding rule.
	RuleConditions []*ListRulesResponseBodyRulesRuleConditions `json:"RuleConditions,omitempty" xml:"RuleConditions,omitempty" type:"Repeated"`
	// The forwarding rule ID.
	RuleId *string `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	RuleName *string `json:"RuleName,omitempty" xml:"RuleName,omitempty"`
	// The status of the forwarding rule. Valid values:
	//
	// *   **Provisioning**
	// *   **Configuring**
	// *   **Available**
	RuleStatus *string                           `json:"RuleStatus,omitempty" xml:"RuleStatus,omitempty"`
	Tags       []*ListRulesResponseBodyRulesTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
}

func (ListRulesResponseBodyRules) GoString

func (s ListRulesResponseBodyRules) GoString() string

func (*ListRulesResponseBodyRules) SetDirection added in v2.0.4

func (*ListRulesResponseBodyRules) SetListenerId

func (*ListRulesResponseBodyRules) SetLoadBalancerId

func (*ListRulesResponseBodyRules) SetPriority

func (*ListRulesResponseBodyRules) SetRuleActions

func (*ListRulesResponseBodyRules) SetRuleConditions

func (*ListRulesResponseBodyRules) SetRuleId

func (*ListRulesResponseBodyRules) SetRuleName

func (*ListRulesResponseBodyRules) SetRuleStatus

func (*ListRulesResponseBodyRules) SetTags added in v2.0.5

func (ListRulesResponseBodyRules) String

type ListRulesResponseBodyRulesRuleActions

type ListRulesResponseBodyRulesRuleActions struct {
	// The CORS configuration.
	CorsConfig *ListRulesResponseBodyRulesRuleActionsCorsConfig `json:"CorsConfig,omitempty" xml:"CorsConfig,omitempty" type:"Struct"`
	// The configuration of the custom response.
	FixedResponseConfig *ListRulesResponseBodyRulesRuleActionsFixedResponseConfig `json:"FixedResponseConfig,omitempty" xml:"FixedResponseConfig,omitempty" type:"Struct"`
	// The configurations of the server groups.
	ForwardGroupConfig *ListRulesResponseBodyRulesRuleActionsForwardGroupConfig `json:"ForwardGroupConfig,omitempty" xml:"ForwardGroupConfig,omitempty" type:"Struct"`
	// The configuration of the header to be inserted.
	InsertHeaderConfig *ListRulesResponseBodyRulesRuleActionsInsertHeaderConfig `json:"InsertHeaderConfig,omitempty" xml:"InsertHeaderConfig,omitempty" type:"Struct"`
	// The priority of the action. Valid values: **1 to 50000**. A smaller value indicates a higher priority. The actions of a forwarding rule are applied in descending order of priority. This parameter is not empty. The priority of each action within a forwarding rule is unique.
	Order *int32 `json:"Order,omitempty" xml:"Order,omitempty"`
	// The configuration of the redirect action.
	RedirectConfig *ListRulesResponseBodyRulesRuleActionsRedirectConfig `json:"RedirectConfig,omitempty" xml:"RedirectConfig,omitempty" type:"Struct"`
	// The configuration of the header to be removed.
	RemoveHeaderConfig *ListRulesResponseBodyRulesRuleActionsRemoveHeaderConfig `json:"RemoveHeaderConfig,omitempty" xml:"RemoveHeaderConfig,omitempty" type:"Struct"`
	// The configuration of the rewrite action.
	RewriteConfig *ListRulesResponseBodyRulesRuleActionsRewriteConfig `json:"RewriteConfig,omitempty" xml:"RewriteConfig,omitempty" type:"Struct"`
	// The configuration of the action to throttle traffic.
	TrafficLimitConfig *ListRulesResponseBodyRulesRuleActionsTrafficLimitConfig `json:"TrafficLimitConfig,omitempty" xml:"TrafficLimitConfig,omitempty" type:"Struct"`
	// The configuration of the action to mirror traffic.
	TrafficMirrorConfig *ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfig `json:"TrafficMirrorConfig,omitempty" xml:"TrafficMirrorConfig,omitempty" type:"Struct"`
	// The action. Valid values:
	//
	// *   **ForwardGroup**: distributes requests to multiple vServer groups.
	// *   **Redirect**: redirects a request.
	// *   **FixedResponse**: returns a custom response.
	// *   **Rewrite**: rewrites a request.
	// *   **InsertHeader**: inserts a header.
	// *   **RemoveHeaderConfig**: deletes a header.
	// *   **TrafficLimitConfig**: throttles network traffic.
	// *   **TrafficMirrorConfig**: mirrors traffic.
	// *   **CorsConfig**: forwards requests based on CORS.
	//
	// The preceding actions can be classified into two broad types:
	//
	// *   **FinalType**: the last action to be performed in a forwarding rule. Each forwarding rule can contain only one FinalType action. You can specify a **ForwardGroup**, **Redirect**, or **FixedResponse** action as the FinalType action.
	// *   **ExtType**: one or more actions to be performed before the **FinalType** action. A forwarding rule can contain one or more **ExtType** actions. To specify an ExtType action, you must specify a **FinalType** action. You can specify multiple **InsertHeader** actions or one **Rewrite** action.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (ListRulesResponseBodyRulesRuleActions) GoString

func (*ListRulesResponseBodyRulesRuleActions) SetCorsConfig added in v2.0.1

func (*ListRulesResponseBodyRulesRuleActions) SetOrder

func (*ListRulesResponseBodyRulesRuleActions) SetRemoveHeaderConfig added in v2.0.4

func (*ListRulesResponseBodyRulesRuleActions) SetType

func (ListRulesResponseBodyRulesRuleActions) String

type ListRulesResponseBodyRulesRuleActionsCorsConfig added in v2.0.1

type ListRulesResponseBodyRulesRuleActionsCorsConfig struct {
	// Indicates whether credentials can be carried in CORS requests. Valid values:
	//
	// *   **on**
	// *   **off**
	AllowCredentials *string `json:"AllowCredentials,omitempty" xml:"AllowCredentials,omitempty"`
	// The allowed headers for CORS requests.
	AllowHeaders []*string `json:"AllowHeaders,omitempty" xml:"AllowHeaders,omitempty" type:"Repeated"`
	// The allowed HTTP methods for CORS requests.
	AllowMethods []*string `json:"AllowMethods,omitempty" xml:"AllowMethods,omitempty" type:"Repeated"`
	// The allowed origins of CORS requests.
	AllowOrigin []*string `json:"AllowOrigin,omitempty" xml:"AllowOrigin,omitempty" type:"Repeated"`
	// The headers that can be exposed.
	ExposeHeaders []*string `json:"ExposeHeaders,omitempty" xml:"ExposeHeaders,omitempty" type:"Repeated"`
	// The maximum cache time of dry run requests in the browser. Unit: seconds.
	//
	// Valid values: **-1** to **172800**.
	MaxAge *int64 `json:"MaxAge,omitempty" xml:"MaxAge,omitempty"`
}

func (ListRulesResponseBodyRulesRuleActionsCorsConfig) GoString added in v2.0.1

func (*ListRulesResponseBodyRulesRuleActionsCorsConfig) SetAllowCredentials added in v2.0.1

func (*ListRulesResponseBodyRulesRuleActionsCorsConfig) SetAllowHeaders added in v2.0.1

func (*ListRulesResponseBodyRulesRuleActionsCorsConfig) SetAllowMethods added in v2.0.1

func (*ListRulesResponseBodyRulesRuleActionsCorsConfig) SetAllowOrigin added in v2.0.1

func (*ListRulesResponseBodyRulesRuleActionsCorsConfig) SetExposeHeaders added in v2.0.1

func (*ListRulesResponseBodyRulesRuleActionsCorsConfig) SetMaxAge added in v2.0.1

func (ListRulesResponseBodyRulesRuleActionsCorsConfig) String added in v2.0.1

type ListRulesResponseBodyRulesRuleActionsFixedResponseConfig

type ListRulesResponseBodyRulesRuleActionsFixedResponseConfig struct {
	// The content of the custom response. The content is up to 1 KB in size, and can contain only ASCII characters.
	Content *string `json:"Content,omitempty" xml:"Content,omitempty"`
	// The content type.
	//
	// Valid values: **text/plain**, **text/css**, **text/html**, **application/javascript**, and **application/json**.
	ContentType *string `json:"ContentType,omitempty" xml:"ContentType,omitempty"`
	// The HTTP status code in the response. Valid values: **HTTP\_2xx**, **HTTP\_4xx**, and **HTTP\_5xx**. **x** must be a digit.
	HttpCode *string `json:"HttpCode,omitempty" xml:"HttpCode,omitempty"`
}

func (ListRulesResponseBodyRulesRuleActionsFixedResponseConfig) GoString

func (*ListRulesResponseBodyRulesRuleActionsFixedResponseConfig) SetContent

func (*ListRulesResponseBodyRulesRuleActionsFixedResponseConfig) SetContentType

func (*ListRulesResponseBodyRulesRuleActionsFixedResponseConfig) SetHttpCode

func (ListRulesResponseBodyRulesRuleActionsFixedResponseConfig) String

type ListRulesResponseBodyRulesRuleActionsForwardGroupConfig

type ListRulesResponseBodyRulesRuleActionsForwardGroupConfig struct {
	ServerGroupStickySession *ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupStickySession `json:"ServerGroupStickySession,omitempty" xml:"ServerGroupStickySession,omitempty" type:"Struct"`
	// The server groups to which requests are forwarded.
	ServerGroupTuples []*ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (ListRulesResponseBodyRulesRuleActionsForwardGroupConfig) GoString

func (ListRulesResponseBodyRulesRuleActionsForwardGroupConfig) String

type ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupStickySession added in v2.1.4

type ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupStickySession struct {
	Enabled *bool  `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	Timeout *int32 `json:"Timeout,omitempty" xml:"Timeout,omitempty"`
}

func (ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupStickySession) GoString added in v2.1.4

func (*ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupStickySession) SetEnabled added in v2.1.4

func (*ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupStickySession) SetTimeout added in v2.1.4

func (ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupStickySession) String added in v2.1.4

type ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupTuples

type ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupTuples struct {
	// The server group to which requests are forwarded.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The weight. Valid values: **0** to **100**.
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupTuples) GoString

func (*ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupTuples) SetServerGroupId

func (*ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupTuples) SetWeight

func (ListRulesResponseBodyRulesRuleActionsForwardGroupConfigServerGroupTuples) String

type ListRulesResponseBodyRulesRuleActionsInsertHeaderConfig

type ListRulesResponseBodyRulesRuleActionsInsertHeaderConfig struct {
	// The key of the header. The key must be 1 to 40 characters in length, and can contain letters, digits, underscores (\_), and hyphens (-). The key specified in `InsertHeader` must be unique.
	//
	// > **Cookie** and **Host** are not supported.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the header.
	//
	// *   If **ValueType** is set to **SystemDefined**, one of the following values is supported:
	//
	//     *   **ClientSrcPort**: the client port.
	//     *   **ClientSrcIp**: the client IP address.
	//     *   **Protocol**: the request protocol (HTTP or HTTPS).
	//     *   **SLBId**: the ID of the ALB instance.
	//     *   **SLBPort**: the listener port.
	//
	// *   If **ValueType** is set to **UserDefined**, a custom header value is supported. The header value must be 1 to 128 characters in length, and can contain printable characters whose ASCII values are `greater than or equal to 32 and lower than 127`. You can use asterisks (\*) and question marks (?) as wildcard characters. The header value cannot start or end with a space character.
	//
	// *   If **ValueType** is set to **ReferenceHeader**, one of the request headers is referenced. The header value must be 1 to 128 characters in length, and can contain lowercase letters, digits, underscores (\_), and hyphens (-).
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
	// The type of the header. Valid values:
	//
	// *   **UserDefined**: a user-defined header.
	// *   **ReferenceHeader**: a header that is referenced from a request header.
	// *   **SystemDefined**: a system-defined header.
	ValueType *string `json:"ValueType,omitempty" xml:"ValueType,omitempty"`
}

func (ListRulesResponseBodyRulesRuleActionsInsertHeaderConfig) GoString

func (*ListRulesResponseBodyRulesRuleActionsInsertHeaderConfig) SetKey

func (*ListRulesResponseBodyRulesRuleActionsInsertHeaderConfig) SetValue

func (*ListRulesResponseBodyRulesRuleActionsInsertHeaderConfig) SetValueType

func (ListRulesResponseBodyRulesRuleActionsInsertHeaderConfig) String

type ListRulesResponseBodyRulesRuleActionsRedirectConfig

type ListRulesResponseBodyRulesRuleActionsRedirectConfig struct {
	// The hostname to which requests are redirected. Valid values:
	//
	// *   **${host}** (default): If ${host} is returned, no other character is appended.
	//
	// *   Limits on a custom value:
	//
	//     *   The hostname is 3 to 128 characters in length, and can contain lowercase letters, digits, hyphens (-), and periods (.). Asterisks (\*) and question marks (?) can be used as wildcard characters.
	//     *   The hostname contains at least one period (.) but does not start or end with a period (.).
	//     *   The rightmost domain label contains only letters and wildcard characters. It does not contain digits or hyphens (-).
	//     *   The domain labels do not start or end with hyphens (-).
	//     *   You can use asterisks (\*) and question marks (?) anywhere in a domain label as wildcard characters.
	Host *string `json:"Host,omitempty" xml:"Host,omitempty"`
	// The redirect type. Valid values: **301**, **302**, **303**, **307**, and **308**.
	HttpCode *string `json:"HttpCode,omitempty" xml:"HttpCode,omitempty"`
	// The path to which requests are redirected. Valid values:
	//
	// *   **${path}** (default): You can reference \*\*${host}**, **${protocol}**, and**${port}**. The path can consist of **${host}**,**${protocol}**, and **${port}\*\*. Each variable can be used only once. The preceding variables can be used at the same time or combined with a custom value.
	//
	// *   Limits on a custom value:
	//
	//     *   The value is 1 to 128 characters in length.
	//     *   It starts with a forward slash (/) and contains letters, digits, and the following special characters: `$ - _ .+ / & ~ @ :`. It does not contain the following special characters: `" % # ; ! ( ) [ ] ^ , "`. You can use asterisks (\*) and question marks (?) as wildcard characters.
	Path *string `json:"Path,omitempty" xml:"Path,omitempty"`
	// The port to which requests are redirected. Valid values:
	//
	// *   **${port}** (default): If ${port} is returned, no other character is appended.
	// *   Other valid values: **1 to 63335**.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The redirect protocol. Valid values:
	//
	// *   **${protocol}** (default): If ${protocol} is returned, no other character is appended.
	// *   **HTTP** or **HTTPS**.
	//
	// > HTTPS listeners support only HTTP to HTTPS redirection.
	Protocol *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
	// The query string to which requests are redirected. The query string must be 1 to 128 characters in length, and can contain printable characters, excluding uppercase letters and the following special characters: `# [ ] { } \ | < > &`.
	Query *string `json:"Query,omitempty" xml:"Query,omitempty"`
}

func (ListRulesResponseBodyRulesRuleActionsRedirectConfig) GoString

func (*ListRulesResponseBodyRulesRuleActionsRedirectConfig) SetHost

func (*ListRulesResponseBodyRulesRuleActionsRedirectConfig) SetHttpCode

func (*ListRulesResponseBodyRulesRuleActionsRedirectConfig) SetPath

func (*ListRulesResponseBodyRulesRuleActionsRedirectConfig) SetPort

func (*ListRulesResponseBodyRulesRuleActionsRedirectConfig) SetProtocol

func (*ListRulesResponseBodyRulesRuleActionsRedirectConfig) SetQuery

func (ListRulesResponseBodyRulesRuleActionsRedirectConfig) String

type ListRulesResponseBodyRulesRuleActionsRemoveHeaderConfig added in v2.0.4

type ListRulesResponseBodyRulesRuleActionsRemoveHeaderConfig struct {
	// The key of the header to be removed. The key must be 1 to 40 characters in length and can contain letters, digits, underscores, and hyphens (-). The header key must be unique.
	//
	// *   You cannot specify the following header keys for an inbound forwarding rule: `slb-id`, `slb-ip`, `x-forwarded-for`, `x-forwarded-proto`, `x-forwarded-eip`, `x-forwarded-port`, `x-forwarded-client-srcport`, `connection`, `upgrade`, `content-length`, `transfer-encoding`, `keep-alive`, `te`, `host`, `cookie`, `remoteip`, and `authority`. The preceding keys are case-insensitive.
	// *   You cannot specify the following header keys for an outbound forwarding rule: `connection`, `upgrade`, `content-length`, and `transfer-encoding`. The preceding keys are case-insensitive.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
}

func (ListRulesResponseBodyRulesRuleActionsRemoveHeaderConfig) GoString added in v2.0.4

func (*ListRulesResponseBodyRulesRuleActionsRemoveHeaderConfig) SetKey added in v2.0.4

func (ListRulesResponseBodyRulesRuleActionsRemoveHeaderConfig) String added in v2.0.4

type ListRulesResponseBodyRulesRuleActionsRewriteConfig

type ListRulesResponseBodyRulesRuleActionsRewriteConfig struct {
	// The hostname to which requests are forwarded. Valid values:
	//
	// *   **${host}** (default): If ${host} is returned, no other character is appended.
	//
	// *   Limits on a custom value:
	//
	//     *   The hostname is 3 to 128 characters in length, and can contain lowercase letters, digits, hyphens (-), and periods (.). Asterisks (\*) and question marks (?) can be used as wildcard characters.
	//     *   The hostname contains at least one period (.) but does not start or end with a period (.).
	//     *   The rightmost domain label contains only letters and wildcard characters. It does not contain digits or hyphens (-).
	//     *   The domain labels do not start or end with hyphens (-).
	//     *   You can use asterisks (\*) and question marks (?) anywhere in a domain label as wildcard characters.
	Host *string `json:"Host,omitempty" xml:"Host,omitempty"`
	// The path to which requests are forwarded. The path is 1 to 128 characters in length and starts with a forward slash (/). The path can contain letters, digits, asterisks (\*), question marks (?), and the following special characters: `$ - _ . + / & ~ @ :`. The path does not contain the following special characters: `" % # ; ! ( ) [ ] ^ , "`.
	Path *string `json:"Path,omitempty" xml:"Path,omitempty"`
	// The query string of the URL to which requests are forwarded. The query string is 1 to 128 characters in length, and can contain printable characters, excluding uppercase letters and the following special characters: `# [ ] { } \ | < > &`.
	Query *string `json:"Query,omitempty" xml:"Query,omitempty"`
}

func (ListRulesResponseBodyRulesRuleActionsRewriteConfig) GoString

func (*ListRulesResponseBodyRulesRuleActionsRewriteConfig) SetHost

func (*ListRulesResponseBodyRulesRuleActionsRewriteConfig) SetPath

func (*ListRulesResponseBodyRulesRuleActionsRewriteConfig) SetQuery

func (ListRulesResponseBodyRulesRuleActionsRewriteConfig) String

type ListRulesResponseBodyRulesRuleActionsTrafficLimitConfig

type ListRulesResponseBodyRulesRuleActionsTrafficLimitConfig struct {
	// The QPS of each IP address. Valid values: **1 to 100000**.
	//
	// > If you specify this parameter and **QPS**, the value of **PerIpQps** must be smaller than the value of **QPS**.
	PerIpQps *int32 `json:"PerIpQps,omitempty" xml:"PerIpQps,omitempty"`
	// The number of queries per second (QPS). Valid values: **1** to **100000**.
	QPS *int32 `json:"QPS,omitempty" xml:"QPS,omitempty"`
}

func (ListRulesResponseBodyRulesRuleActionsTrafficLimitConfig) GoString

func (*ListRulesResponseBodyRulesRuleActionsTrafficLimitConfig) SetPerIpQps

func (*ListRulesResponseBodyRulesRuleActionsTrafficLimitConfig) SetQPS

func (ListRulesResponseBodyRulesRuleActionsTrafficLimitConfig) String

type ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfig

type ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfig struct {
	// The configuration of the server group to which traffic is mirrored.
	MirrorGroupConfig *ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig `json:"MirrorGroupConfig,omitempty" xml:"MirrorGroupConfig,omitempty" type:"Struct"`
	TargetType        *string                                                                    `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfig) GoString

func (*ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfig) SetTargetType added in v2.1.4

func (ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfig) String

type ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig

type ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig struct {
	// The server group to which traffic is mirrored.
	ServerGroupTuples []*ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig) GoString

func (ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig) String

type ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples

type ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples struct {
	// The server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The weight. Valid values: **0** to **100**.
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) GoString

func (*ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) SetServerGroupId

func (ListRulesResponseBodyRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) String

type ListRulesResponseBodyRulesRuleConditions

type ListRulesResponseBodyRulesRuleConditions struct {
	// The configuration of the cookie.
	CookieConfig *ListRulesResponseBodyRulesRuleConditionsCookieConfig `json:"CookieConfig,omitempty" xml:"CookieConfig,omitempty" type:"Struct"`
	// The configuration of the header.
	HeaderConfig *ListRulesResponseBodyRulesRuleConditionsHeaderConfig `json:"HeaderConfig,omitempty" xml:"HeaderConfig,omitempty" type:"Struct"`
	// The configurations of the hosts.
	HostConfig *ListRulesResponseBodyRulesRuleConditionsHostConfig `json:"HostConfig,omitempty" xml:"HostConfig,omitempty" type:"Struct"`
	// The configurations of the request methods.
	MethodConfig *ListRulesResponseBodyRulesRuleConditionsMethodConfig `json:"MethodConfig,omitempty" xml:"MethodConfig,omitempty" type:"Struct"`
	// The configurations of the paths.
	PathConfig *ListRulesResponseBodyRulesRuleConditionsPathConfig `json:"PathConfig,omitempty" xml:"PathConfig,omitempty" type:"Struct"`
	// The configurations of the query strings.
	QueryStringConfig *ListRulesResponseBodyRulesRuleConditionsQueryStringConfig `json:"QueryStringConfig,omitempty" xml:"QueryStringConfig,omitempty" type:"Struct"`
	// The configuration of the HTTP response header.
	ResponseHeaderConfig *ListRulesResponseBodyRulesRuleConditionsResponseHeaderConfig `json:"ResponseHeaderConfig,omitempty" xml:"ResponseHeaderConfig,omitempty" type:"Struct"`
	// The configurations of the response status codes.
	ResponseStatusCodeConfig *ListRulesResponseBodyRulesRuleConditionsResponseStatusCodeConfig `json:"ResponseStatusCodeConfig,omitempty" xml:"ResponseStatusCodeConfig,omitempty" type:"Struct"`
	// The configuration of the source IP addresses based on which user traffic is matched.
	SourceIpConfig *ListRulesResponseBodyRulesRuleConditionsSourceIpConfig `json:"SourceIpConfig,omitempty" xml:"SourceIpConfig,omitempty" type:"Struct"`
	// The type of forwarding rule. Valid values:
	//
	// *   **Host**: Requests are forwarded based on hosts.
	// *   **Path**: Requests are forwarded based on paths.
	// *   **Header**: Requests are forwarded based on HTTP headers.
	// *   **QueryString**: Requests are forwarded based on query strings.
	// *   **Method**: Requests are forwarded based on request methods.
	// *   **Cookie**: Requests are forwarded based on cookies.
	// *   **SourceIp**: Requests are distributed based on source IP addresses.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (ListRulesResponseBodyRulesRuleConditions) GoString

func (*ListRulesResponseBodyRulesRuleConditions) SetResponseHeaderConfig added in v2.0.4

func (*ListRulesResponseBodyRulesRuleConditions) SetType

func (ListRulesResponseBodyRulesRuleConditions) String

type ListRulesResponseBodyRulesRuleConditionsCookieConfig

type ListRulesResponseBodyRulesRuleConditionsCookieConfig struct {
	// The key-value pair of the cookie.
	Values []*ListRulesResponseBodyRulesRuleConditionsCookieConfigValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (ListRulesResponseBodyRulesRuleConditionsCookieConfig) GoString

func (ListRulesResponseBodyRulesRuleConditionsCookieConfig) String

type ListRulesResponseBodyRulesRuleConditionsCookieConfigValues

type ListRulesResponseBodyRulesRuleConditionsCookieConfigValues struct {
	// The key of the cookie. The key is 1 to 100 characters in length, and can contain printable characters such as lowercase letters, asterisks (\*), and question marks (?). The key cannot contain uppercase letters, space characters, or the following special characters: `# [ ] { } \ | < > &`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the cookie. The value is 1 to 128 characters in length, and can contain printable characters such as lowercase letters, asterisks (\*), and question marks (?). Uppercase letters, space characters, and the following special characters are not supported: `# [ ] { } \ | < > &`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListRulesResponseBodyRulesRuleConditionsCookieConfigValues) GoString

func (*ListRulesResponseBodyRulesRuleConditionsCookieConfigValues) SetKey

func (*ListRulesResponseBodyRulesRuleConditionsCookieConfigValues) SetValue

func (ListRulesResponseBodyRulesRuleConditionsCookieConfigValues) String

type ListRulesResponseBodyRulesRuleConditionsHeaderConfig

type ListRulesResponseBodyRulesRuleConditionsHeaderConfig struct {
	// The key of the header. The key must be 1 to 40 characters in length, and can contain lowercase letters, digits, hyphens (-), and underscores (\_). Cookie and Host are not supported.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The values of the header.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (ListRulesResponseBodyRulesRuleConditionsHeaderConfig) GoString

func (*ListRulesResponseBodyRulesRuleConditionsHeaderConfig) SetKey

func (*ListRulesResponseBodyRulesRuleConditionsHeaderConfig) SetValues

func (ListRulesResponseBodyRulesRuleConditionsHeaderConfig) String

type ListRulesResponseBodyRulesRuleConditionsHostConfig

type ListRulesResponseBodyRulesRuleConditionsHostConfig struct {
	// The hostnames.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (ListRulesResponseBodyRulesRuleConditionsHostConfig) GoString

func (*ListRulesResponseBodyRulesRuleConditionsHostConfig) SetValues

func (ListRulesResponseBodyRulesRuleConditionsHostConfig) String

type ListRulesResponseBodyRulesRuleConditionsMethodConfig

type ListRulesResponseBodyRulesRuleConditionsMethodConfig struct {
	// The request methods.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (ListRulesResponseBodyRulesRuleConditionsMethodConfig) GoString

func (*ListRulesResponseBodyRulesRuleConditionsMethodConfig) SetValues

func (ListRulesResponseBodyRulesRuleConditionsMethodConfig) String

type ListRulesResponseBodyRulesRuleConditionsPathConfig

type ListRulesResponseBodyRulesRuleConditionsPathConfig struct {
	// The paths.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (ListRulesResponseBodyRulesRuleConditionsPathConfig) GoString

func (*ListRulesResponseBodyRulesRuleConditionsPathConfig) SetValues

func (ListRulesResponseBodyRulesRuleConditionsPathConfig) String

type ListRulesResponseBodyRulesRuleConditionsQueryStringConfig

type ListRulesResponseBodyRulesRuleConditionsQueryStringConfig struct {
	// The query string.
	Values []*ListRulesResponseBodyRulesRuleConditionsQueryStringConfigValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (ListRulesResponseBodyRulesRuleConditionsQueryStringConfig) GoString

func (ListRulesResponseBodyRulesRuleConditionsQueryStringConfig) String

type ListRulesResponseBodyRulesRuleConditionsQueryStringConfigValues

type ListRulesResponseBodyRulesRuleConditionsQueryStringConfigValues struct {
	// They key of the query string. The key must be 1 to 100 characters in length, and can contain printable characters such as lowercase letters, asterisks (\*), and question marks (?). The key cannot contain uppercase letters, space characters, or the following special characters: `# [ ] { } \ | < > &`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the query string. The value must be 1 to 128 characters in length, and can contain printable characters such as lowercase letters, asterisks (\*), and question marks (?). However, uppercase letters, space characters, and the following special characters are not supported: `# [ ] { } \ | < > &`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListRulesResponseBodyRulesRuleConditionsQueryStringConfigValues) GoString

func (*ListRulesResponseBodyRulesRuleConditionsQueryStringConfigValues) SetKey

func (*ListRulesResponseBodyRulesRuleConditionsQueryStringConfigValues) SetValue

func (ListRulesResponseBodyRulesRuleConditionsQueryStringConfigValues) String

type ListRulesResponseBodyRulesRuleConditionsResponseHeaderConfig added in v2.0.4

type ListRulesResponseBodyRulesRuleConditionsResponseHeaderConfig struct {
	// The header key. The key must be 1 to 40 characters in length, and can contain lowercase letters, digits, hyphens (-), and underscores (\_). Cookie and Host are not supported.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The header values.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (ListRulesResponseBodyRulesRuleConditionsResponseHeaderConfig) GoString added in v2.0.4

func (*ListRulesResponseBodyRulesRuleConditionsResponseHeaderConfig) SetKey added in v2.0.4

func (*ListRulesResponseBodyRulesRuleConditionsResponseHeaderConfig) SetValues added in v2.0.4

func (ListRulesResponseBodyRulesRuleConditionsResponseHeaderConfig) String added in v2.0.4

type ListRulesResponseBodyRulesRuleConditionsResponseStatusCodeConfig added in v2.0.4

type ListRulesResponseBodyRulesRuleConditionsResponseStatusCodeConfig struct {
	// The response status codes.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (ListRulesResponseBodyRulesRuleConditionsResponseStatusCodeConfig) GoString added in v2.0.4

func (*ListRulesResponseBodyRulesRuleConditionsResponseStatusCodeConfig) SetValues added in v2.0.4

func (ListRulesResponseBodyRulesRuleConditionsResponseStatusCodeConfig) String added in v2.0.4

type ListRulesResponseBodyRulesRuleConditionsSourceIpConfig

type ListRulesResponseBodyRulesRuleConditionsSourceIpConfig struct {
	// The source IP addresses.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (ListRulesResponseBodyRulesRuleConditionsSourceIpConfig) GoString

func (*ListRulesResponseBodyRulesRuleConditionsSourceIpConfig) SetValues

func (ListRulesResponseBodyRulesRuleConditionsSourceIpConfig) String

type ListRulesResponseBodyRulesTags added in v2.0.5

type ListRulesResponseBodyRulesTags struct {
	Key   *string `json:"Key,omitempty" xml:"Key,omitempty"`
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListRulesResponseBodyRulesTags) GoString added in v2.0.5

func (*ListRulesResponseBodyRulesTags) SetKey added in v2.0.5

func (*ListRulesResponseBodyRulesTags) SetValue added in v2.0.5

func (ListRulesResponseBodyRulesTags) String added in v2.0.5

type ListSecurityPoliciesRequest

type ListSecurityPoliciesRequest struct {
	// The number of entries per page. Valid values: **1** to **100**. Default value: **20**.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   You do not need to specify this parameter for the first request.
	// *   You must specify the token that is obtained from the previous query as the value of **NextToken**.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The security policy IDs. You can specify up to 20 IDs.
	SecurityPolicyIds []*string `json:"SecurityPolicyIds,omitempty" xml:"SecurityPolicyIds,omitempty" type:"Repeated"`
	// The names of the security policies. You can specify up to 10 names.
	SecurityPolicyNames []*string `json:"SecurityPolicyNames,omitempty" xml:"SecurityPolicyNames,omitempty" type:"Repeated"`
	// The tags.
	Tag []*ListSecurityPoliciesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListSecurityPoliciesRequest) GoString

func (s ListSecurityPoliciesRequest) GoString() string

func (*ListSecurityPoliciesRequest) SetMaxResults

func (*ListSecurityPoliciesRequest) SetNextToken

func (*ListSecurityPoliciesRequest) SetResourceGroupId

func (*ListSecurityPoliciesRequest) SetSecurityPolicyIds

func (s *ListSecurityPoliciesRequest) SetSecurityPolicyIds(v []*string) *ListSecurityPoliciesRequest

func (*ListSecurityPoliciesRequest) SetSecurityPolicyNames

func (s *ListSecurityPoliciesRequest) SetSecurityPolicyNames(v []*string) *ListSecurityPoliciesRequest

func (*ListSecurityPoliciesRequest) SetTag added in v2.0.5

func (ListSecurityPoliciesRequest) String

type ListSecurityPoliciesRequestTag added in v2.0.5

type ListSecurityPoliciesRequestTag struct {
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListSecurityPoliciesRequestTag) GoString added in v2.0.5

func (*ListSecurityPoliciesRequestTag) SetKey added in v2.0.5

func (*ListSecurityPoliciesRequestTag) SetValue added in v2.0.5

func (ListSecurityPoliciesRequestTag) String added in v2.0.5

type ListSecurityPoliciesResponse

type ListSecurityPoliciesResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListSecurityPoliciesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListSecurityPoliciesResponse) GoString

func (s ListSecurityPoliciesResponse) GoString() string

func (*ListSecurityPoliciesResponse) SetBody

func (*ListSecurityPoliciesResponse) SetHeaders

func (*ListSecurityPoliciesResponse) SetStatusCode

func (ListSecurityPoliciesResponse) String

type ListSecurityPoliciesResponseBody

type ListSecurityPoliciesResponseBody struct {
	// The number of entries per page.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If a value is returned for **NextToken**, the value is the token that determines the start point of the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The supported security policies.
	SecurityPolicies []*ListSecurityPoliciesResponseBodySecurityPolicies `json:"SecurityPolicies,omitempty" xml:"SecurityPolicies,omitempty" type:"Repeated"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListSecurityPoliciesResponseBody) GoString

func (*ListSecurityPoliciesResponseBody) SetMaxResults

func (*ListSecurityPoliciesResponseBody) SetNextToken

func (*ListSecurityPoliciesResponseBody) SetRequestId

func (*ListSecurityPoliciesResponseBody) SetTotalCount

func (ListSecurityPoliciesResponseBody) String

type ListSecurityPoliciesResponseBodySecurityPolicies

type ListSecurityPoliciesResponseBodySecurityPolicies struct {
	// The supported cipher suites.
	Ciphers []*string `json:"Ciphers,omitempty" xml:"Ciphers,omitempty" type:"Repeated"`
	// The time when the resource was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The ID of the security policy.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The name of the security policy.
	SecurityPolicyName *string `json:"SecurityPolicyName,omitempty" xml:"SecurityPolicyName,omitempty"`
	// The status of the security policy. Valid values:
	//
	// *   **Configuring**
	// *   **Available**
	SecurityPolicyStatus *string `json:"SecurityPolicyStatus,omitempty" xml:"SecurityPolicyStatus,omitempty"`
	// The supported TLS protocol versions.
	TLSVersions []*string `json:"TLSVersions,omitempty" xml:"TLSVersions,omitempty" type:"Repeated"`
	// The tags.
	Tags []*ListSecurityPoliciesResponseBodySecurityPoliciesTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
}

func (ListSecurityPoliciesResponseBodySecurityPolicies) GoString

func (*ListSecurityPoliciesResponseBodySecurityPolicies) SetCiphers

func (*ListSecurityPoliciesResponseBodySecurityPolicies) SetCreateTime added in v2.0.3

func (*ListSecurityPoliciesResponseBodySecurityPolicies) SetResourceGroupId

func (*ListSecurityPoliciesResponseBodySecurityPolicies) SetSecurityPolicyId

func (*ListSecurityPoliciesResponseBodySecurityPolicies) SetSecurityPolicyName

func (*ListSecurityPoliciesResponseBodySecurityPolicies) SetSecurityPolicyStatus

func (*ListSecurityPoliciesResponseBodySecurityPolicies) SetTLSVersions

func (ListSecurityPoliciesResponseBodySecurityPolicies) String

type ListSecurityPoliciesResponseBodySecurityPoliciesTags added in v2.0.5

type ListSecurityPoliciesResponseBodySecurityPoliciesTags struct {
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListSecurityPoliciesResponseBodySecurityPoliciesTags) GoString added in v2.0.5

func (*ListSecurityPoliciesResponseBodySecurityPoliciesTags) SetKey added in v2.0.5

func (*ListSecurityPoliciesResponseBodySecurityPoliciesTags) SetValue added in v2.0.5

func (ListSecurityPoliciesResponseBodySecurityPoliciesTags) String added in v2.0.5

type ListSecurityPolicyRelationsRequest

type ListSecurityPolicyRelationsRequest struct {
	// The security policy IDs. You can specify up to five IDs.
	SecurityPolicyIds []*string `json:"SecurityPolicyIds,omitempty" xml:"SecurityPolicyIds,omitempty" type:"Repeated"`
}

func (ListSecurityPolicyRelationsRequest) GoString

func (*ListSecurityPolicyRelationsRequest) SetSecurityPolicyIds

func (ListSecurityPolicyRelationsRequest) String

type ListSecurityPolicyRelationsResponse

type ListSecurityPolicyRelationsResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListSecurityPolicyRelationsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListSecurityPolicyRelationsResponse) GoString

func (*ListSecurityPolicyRelationsResponse) SetHeaders

func (*ListSecurityPolicyRelationsResponse) SetStatusCode

func (ListSecurityPolicyRelationsResponse) String

type ListSecurityPolicyRelationsResponseBody

type ListSecurityPolicyRelationsResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The security policies and the listeners that are associated with the security policies.
	SecrityPolicyRelations []*ListSecurityPolicyRelationsResponseBodySecrityPolicyRelations `json:"SecrityPolicyRelations,omitempty" xml:"SecrityPolicyRelations,omitempty" type:"Repeated"`
}

func (ListSecurityPolicyRelationsResponseBody) GoString

func (*ListSecurityPolicyRelationsResponseBody) SetRequestId

func (ListSecurityPolicyRelationsResponseBody) String

type ListSecurityPolicyRelationsResponseBodySecrityPolicyRelations

type ListSecurityPolicyRelationsResponseBodySecrityPolicyRelations struct {
	// The listeners that are associated with the security policy.
	RelatedListeners []*ListSecurityPolicyRelationsResponseBodySecrityPolicyRelationsRelatedListeners `json:"RelatedListeners,omitempty" xml:"RelatedListeners,omitempty" type:"Repeated"`
	// The security policy ID.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
}

func (ListSecurityPolicyRelationsResponseBodySecrityPolicyRelations) GoString

func (*ListSecurityPolicyRelationsResponseBodySecrityPolicyRelations) SetSecurityPolicyId

func (ListSecurityPolicyRelationsResponseBodySecrityPolicyRelations) String

type ListSecurityPolicyRelationsResponseBodySecrityPolicyRelationsRelatedListeners

type ListSecurityPolicyRelationsResponseBodySecrityPolicyRelationsRelatedListeners struct {
	// The listener ID.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The listener port.
	ListenerPort *int64 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"`
	// The listener protocol.
	ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"`
	// The Server Load Balancer (SLB) instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
}

func (ListSecurityPolicyRelationsResponseBodySecrityPolicyRelationsRelatedListeners) GoString

func (*ListSecurityPolicyRelationsResponseBodySecrityPolicyRelationsRelatedListeners) SetListenerId

func (*ListSecurityPolicyRelationsResponseBodySecrityPolicyRelationsRelatedListeners) SetListenerPort

func (*ListSecurityPolicyRelationsResponseBodySecrityPolicyRelationsRelatedListeners) SetListenerProtocol

func (*ListSecurityPolicyRelationsResponseBodySecrityPolicyRelationsRelatedListeners) SetLoadBalancerId

func (ListSecurityPolicyRelationsResponseBodySecrityPolicyRelationsRelatedListeners) String

type ListServerGroupServersRequest

type ListServerGroupServersRequest struct {
	// The maximum number of entries to return. Valid values: **1** to **100**. If you do not specify a value, the default value **20** is used.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   You do not need to specify this parameter for the first request.
	// *   You must specify the token that is obtained from the previous query as the value of **NextToken**.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The IDs of the servers.
	ServerIds []*string `json:"ServerIds,omitempty" xml:"ServerIds,omitempty" type:"Repeated"`
	// The tags that are added to the server group. You can specify up to 10 tags in each call.
	Tag []*ListServerGroupServersRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListServerGroupServersRequest) GoString

func (*ListServerGroupServersRequest) SetMaxResults

func (*ListServerGroupServersRequest) SetNextToken

func (*ListServerGroupServersRequest) SetServerGroupId

func (*ListServerGroupServersRequest) SetServerIds

func (*ListServerGroupServersRequest) SetTag

func (ListServerGroupServersRequest) String

type ListServerGroupServersRequestTag

type ListServerGroupServersRequestTag struct {
	// The tag key. You can specify up to 10 tag keys.
	//
	// The tag key can be up to 64 characters in length, and cannot contain `http://` or `https://`. It cannot start with `aliyun` or `acs:`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. You can specify up to 10 tag values.
	//
	// The tag value can be up to 128 characters in length, and cannot contain `http://` or `https://`. It cannot start with `aliyun` or `acs:`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListServerGroupServersRequestTag) GoString

func (*ListServerGroupServersRequestTag) SetKey

func (*ListServerGroupServersRequestTag) SetValue

func (ListServerGroupServersRequestTag) String

type ListServerGroupServersResponse

type ListServerGroupServersResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListServerGroupServersResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListServerGroupServersResponse) GoString

func (*ListServerGroupServersResponse) SetHeaders

func (*ListServerGroupServersResponse) SetStatusCode

func (ListServerGroupServersResponse) String

type ListServerGroupServersResponseBody

type ListServerGroupServersResponseBody struct {
	// The maximum number of entries returned.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If **NextToken** is not empty, the value of NextToken can be used in the next request to retrieve a new page of results.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// A list of backend servers.
	Servers []*ListServerGroupServersResponseBodyServers `json:"Servers,omitempty" xml:"Servers,omitempty" type:"Repeated"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListServerGroupServersResponseBody) GoString

func (*ListServerGroupServersResponseBody) SetMaxResults

func (*ListServerGroupServersResponseBody) SetNextToken

func (*ListServerGroupServersResponseBody) SetRequestId

func (*ListServerGroupServersResponseBody) SetTotalCount

func (ListServerGroupServersResponseBody) String

type ListServerGroupServersResponseBodyServers

type ListServerGroupServersResponseBodyServers struct {
	// The description of the backend server.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The port used by the backend server. Valid values: **1** to **65535**.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// Indicates whether the remote IP address feature is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	RemoteIpEnabled *bool `json:"RemoteIpEnabled,omitempty" xml:"RemoteIpEnabled,omitempty"`
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The ID of the backend server.
	//
	// > If **ServerType** is set to **Fc**, **ServerId** is the ARN of a function.
	ServerId *string `json:"ServerId,omitempty" xml:"ServerId,omitempty"`
	// The IP address in inclusive ENI mode.
	ServerIp *string `json:"ServerIp,omitempty" xml:"ServerIp,omitempty"`
	// The type of the backend server.
	ServerType *string `json:"ServerType,omitempty" xml:"ServerType,omitempty"`
	// The status of the backend server. Valid values:
	//
	// *   **Adding**
	// *   **Available**
	// *   **Configuring**
	// *   **Removing**
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The weight of the backend server. An ECS instance with a higher weight receives more requests.
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (ListServerGroupServersResponseBodyServers) GoString

func (*ListServerGroupServersResponseBodyServers) SetDescription

func (*ListServerGroupServersResponseBodyServers) SetPort

func (*ListServerGroupServersResponseBodyServers) SetRemoteIpEnabled

func (*ListServerGroupServersResponseBodyServers) SetServerGroupId

func (*ListServerGroupServersResponseBodyServers) SetServerId

func (*ListServerGroupServersResponseBodyServers) SetServerIp

func (*ListServerGroupServersResponseBodyServers) SetServerType

func (*ListServerGroupServersResponseBodyServers) SetStatus

func (*ListServerGroupServersResponseBodyServers) SetWeight

func (ListServerGroupServersResponseBodyServers) String

type ListServerGroupsRequest

type ListServerGroupsRequest struct {
	// The number of entries to return on each page. Valid values: **1** to **100**. Default value: **20**.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   You do not need to specify this parameter for the first request.
	// *   You must specify the token that is obtained from the previous query as the value of **NextToken**.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the resource group to which the server group belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The server group IDs.
	ServerGroupIds []*string `json:"ServerGroupIds,omitempty" xml:"ServerGroupIds,omitempty" type:"Repeated"`
	// The names of the server groups to be queried. You can specify at most 10 server group names.
	ServerGroupNames []*string `json:"ServerGroupNames,omitempty" xml:"ServerGroupNames,omitempty" type:"Repeated"`
	ServerGroupType  *string   `json:"ServerGroupType,omitempty" xml:"ServerGroupType,omitempty"`
	// The tags that are added to the server group. You can specify up to 10 tags in each call.
	Tag []*ListServerGroupsRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The ID of the virtual private cloud (VPC).
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (ListServerGroupsRequest) GoString

func (s ListServerGroupsRequest) GoString() string

func (*ListServerGroupsRequest) SetMaxResults

func (*ListServerGroupsRequest) SetNextToken

func (*ListServerGroupsRequest) SetResourceGroupId

func (s *ListServerGroupsRequest) SetResourceGroupId(v string) *ListServerGroupsRequest

func (*ListServerGroupsRequest) SetServerGroupIds

func (s *ListServerGroupsRequest) SetServerGroupIds(v []*string) *ListServerGroupsRequest

func (*ListServerGroupsRequest) SetServerGroupNames

func (s *ListServerGroupsRequest) SetServerGroupNames(v []*string) *ListServerGroupsRequest

func (*ListServerGroupsRequest) SetServerGroupType added in v2.1.5

func (s *ListServerGroupsRequest) SetServerGroupType(v string) *ListServerGroupsRequest

func (*ListServerGroupsRequest) SetTag

func (*ListServerGroupsRequest) SetVpcId

func (ListServerGroupsRequest) String

func (s ListServerGroupsRequest) String() string

type ListServerGroupsRequestTag

type ListServerGroupsRequestTag struct {
	// The tag key. You can specify up to 10 tag keys.
	//
	// The tag key can be up to 64 characters in length and cannot contain `http://` or `https://`. It cannot start with `aliyun` or `acs:`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. You can specify up to 10 tag values.
	//
	// The tag value can be up to 128 characters in length, and cannot contain `http://` or `https://`. It cannot start with `aliyun` or `acs:`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListServerGroupsRequestTag) GoString

func (s ListServerGroupsRequestTag) GoString() string

func (*ListServerGroupsRequestTag) SetKey

func (*ListServerGroupsRequestTag) SetValue

func (ListServerGroupsRequestTag) String

type ListServerGroupsResponse

type ListServerGroupsResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListServerGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListServerGroupsResponse) GoString

func (s ListServerGroupsResponse) GoString() string

func (*ListServerGroupsResponse) SetBody

func (*ListServerGroupsResponse) SetHeaders

func (*ListServerGroupsResponse) SetStatusCode

func (ListServerGroupsResponse) String

func (s ListServerGroupsResponse) String() string

type ListServerGroupsResponseBody

type ListServerGroupsResponseBody struct {
	// The number of entries returned per page.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If **NextToken** is not empty, the value of NextToken can be used in the next request to retrieve a new page of results.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// A list of server groups.
	ServerGroups []*ListServerGroupsResponseBodyServerGroups `json:"ServerGroups,omitempty" xml:"ServerGroups,omitempty" type:"Repeated"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListServerGroupsResponseBody) GoString

func (s ListServerGroupsResponseBody) GoString() string

func (*ListServerGroupsResponseBody) SetMaxResults

func (*ListServerGroupsResponseBody) SetNextToken

func (*ListServerGroupsResponseBody) SetRequestId

func (*ListServerGroupsResponseBody) SetServerGroups

func (*ListServerGroupsResponseBody) SetTotalCount

func (ListServerGroupsResponseBody) String

type ListServerGroupsResponseBodyServerGroups

type ListServerGroupsResponseBodyServerGroups struct {
	// Indicates whether configuration management is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	ConfigManagedEnabled  *bool                                                          `json:"ConfigManagedEnabled,omitempty" xml:"ConfigManagedEnabled,omitempty"`
	ConnectionDrainConfig *ListServerGroupsResponseBodyServerGroupsConnectionDrainConfig `json:"ConnectionDrainConfig,omitempty" xml:"ConnectionDrainConfig,omitempty" type:"Struct"`
	// The time when the resource was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The health check configuration.
	HealthCheckConfig *ListServerGroupsResponseBodyServerGroupsHealthCheckConfig `json:"HealthCheckConfig,omitempty" xml:"HealthCheckConfig,omitempty" type:"Struct"`
	// Indicates whether IPv6 is supported. Valid values:
	//
	// *   **true**
	// *   **false**
	Ipv6Enabled *bool `json:"Ipv6Enabled,omitempty" xml:"Ipv6Enabled,omitempty"`
	// The backend protocol. Valid values:
	//
	// *   **HTTP**: allows you to associate HTTPS, HTTP, or QUIC listeners with backend servers.
	// *   **HTTPS**: allows you to associate an HTTPS listener with the server group.
	// *   **GRPC**: allows you to associate an HTTPS or QUIC listener with the server group.
	Protocol               *string   `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
	RelatedLoadBalancerIds []*string `json:"RelatedLoadBalancerIds,omitempty" xml:"RelatedLoadBalancerIds,omitempty" type:"Repeated"`
	// The resource group ID to which the GA instance belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The scheduling algorithm. Valid values:
	//
	// *   **Wrr**: Backend servers with higher weights receive more requests than backend servers with lower weights.
	// *   **Wlc**: Requests are distributed based on the weight and load of each backend server. The load refers to the number of connections on a backend server. If multiple backend servers have the same weight, requests are forwarded to the backend server with the least number of connections.
	// *   **Sch**: The consistent hashing algorithm is used. Requests from the same source IP address are distributed to the same backend server.
	Scheduler *string `json:"Scheduler,omitempty" xml:"Scheduler,omitempty"`
	// The number of backend servers in the server group.
	ServerCount *int32 `json:"ServerCount,omitempty" xml:"ServerCount,omitempty"`
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The name of the server group.
	ServerGroupName *string `json:"ServerGroupName,omitempty" xml:"ServerGroupName,omitempty"`
	// The status of the server group. Valid values:
	//
	// *   **Creating**
	// *   **Available**
	// *   **Configuring**
	ServerGroupStatus *string `json:"ServerGroupStatus,omitempty" xml:"ServerGroupStatus,omitempty"`
	// The type of server group. Valid values:
	//
	// *   **Instance**
	// *   **Ip**
	// *   **Fc**
	ServerGroupType *string `json:"ServerGroupType,omitempty" xml:"ServerGroupType,omitempty"`
	// The service name.
	ServiceName     *string                                                  `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	SlowStartConfig *ListServerGroupsResponseBodyServerGroupsSlowStartConfig `json:"SlowStartConfig,omitempty" xml:"SlowStartConfig,omitempty" type:"Struct"`
	// The configuration of session persistence.
	StickySessionConfig *ListServerGroupsResponseBodyServerGroupsStickySessionConfig `json:"StickySessionConfig,omitempty" xml:"StickySessionConfig,omitempty" type:"Struct"`
	// The tags that are added to the server group.
	Tags []*ListServerGroupsResponseBodyServerGroupsTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The configuration of consistent hashing based on URLs.
	UchConfig *ListServerGroupsResponseBodyServerGroupsUchConfig `json:"UchConfig,omitempty" xml:"UchConfig,omitempty" type:"Struct"`
	// Indicates whether long-lived TCP connections are enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	UpstreamKeepaliveEnabled *bool `json:"UpstreamKeepaliveEnabled,omitempty" xml:"UpstreamKeepaliveEnabled,omitempty"`
	// The VPC ID.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (ListServerGroupsResponseBodyServerGroups) GoString

func (*ListServerGroupsResponseBodyServerGroups) SetConfigManagedEnabled

func (*ListServerGroupsResponseBodyServerGroups) SetCreateTime added in v2.0.3

func (*ListServerGroupsResponseBodyServerGroups) SetIpv6Enabled

func (*ListServerGroupsResponseBodyServerGroups) SetProtocol

func (*ListServerGroupsResponseBodyServerGroups) SetRelatedLoadBalancerIds added in v2.1.5

func (*ListServerGroupsResponseBodyServerGroups) SetResourceGroupId

func (*ListServerGroupsResponseBodyServerGroups) SetScheduler

func (*ListServerGroupsResponseBodyServerGroups) SetServerCount

func (*ListServerGroupsResponseBodyServerGroups) SetServerGroupId

func (*ListServerGroupsResponseBodyServerGroups) SetServerGroupName

func (*ListServerGroupsResponseBodyServerGroups) SetServerGroupStatus

func (*ListServerGroupsResponseBodyServerGroups) SetServerGroupType

func (*ListServerGroupsResponseBodyServerGroups) SetServiceName

func (*ListServerGroupsResponseBodyServerGroups) SetSlowStartConfig added in v2.1.6

func (*ListServerGroupsResponseBodyServerGroups) SetUchConfig added in v2.0.3

func (*ListServerGroupsResponseBodyServerGroups) SetUpstreamKeepaliveEnabled

func (*ListServerGroupsResponseBodyServerGroups) SetVpcId

func (ListServerGroupsResponseBodyServerGroups) String

type ListServerGroupsResponseBodyServerGroupsConnectionDrainConfig added in v2.1.6

type ListServerGroupsResponseBodyServerGroupsConnectionDrainConfig struct {
	ConnectionDrainEnabled *bool  `json:"ConnectionDrainEnabled,omitempty" xml:"ConnectionDrainEnabled,omitempty"`
	ConnectionDrainTimeout *int32 `json:"ConnectionDrainTimeout,omitempty" xml:"ConnectionDrainTimeout,omitempty"`
}

func (ListServerGroupsResponseBodyServerGroupsConnectionDrainConfig) GoString added in v2.1.6

func (*ListServerGroupsResponseBodyServerGroupsConnectionDrainConfig) SetConnectionDrainEnabled added in v2.1.6

func (*ListServerGroupsResponseBodyServerGroupsConnectionDrainConfig) SetConnectionDrainTimeout added in v2.1.6

func (ListServerGroupsResponseBodyServerGroupsConnectionDrainConfig) String added in v2.1.6

type ListServerGroupsResponseBodyServerGroupsHealthCheckConfig

type ListServerGroupsResponseBodyServerGroupsHealthCheckConfig struct {
	// The HTTP status codes that indicate whether the backend server passes the health check.
	HealthCheckCodes []*string `json:"HealthCheckCodes,omitempty" xml:"HealthCheckCodes,omitempty" type:"Repeated"`
	// The port that you want to use for health checks on backend servers. Valid values: **0** to **65535**.
	//
	// A value of **0** indicates that the port on a backend server is used for health checks.
	HealthCheckConnectPort *int32 `json:"HealthCheckConnectPort,omitempty" xml:"HealthCheckConnectPort,omitempty"`
	// Indicates whether the health check feature is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	HealthCheckEnabled *bool `json:"HealthCheckEnabled,omitempty" xml:"HealthCheckEnabled,omitempty"`
	// The domain name that is used for health checks. The domain name meets the following requirements:
	//
	// *   The domain name is 1 to 80 characters in length.
	// *   The domain name contains lowercase letters, digits, hyphens (-), and periods (.).
	// *   The domain name contains at least one period (.) but does not start or end with a period (.).
	// *   The rightmost domain label of the domain name contains only letters, and does not contain digits or hyphens (-).
	// *   The domain name does not start or end with a hyphen (-).
	//
	// >  This parameter takes effect only when **HealthCheckProtocol** is set to **HTTP** or **HTTPS**. HTTPS is unavailable by default. If you want to use HTTPS, log on to the SLB console, go to the Quota Center page, and then apply for the privilege to use HTPS on the **ALB** tab.
	HealthCheckHost *string `json:"HealthCheckHost,omitempty" xml:"HealthCheckHost,omitempty"`
	// The HTTP version that is used for health checks.
	//
	// Valid values: **HTTP1.0** and **HTTP1.1**.
	//
	// >  This parameter takes effect when **HealthCheckProtocol** is set to **HTTP** or **HTTPS**. HTTPS is unavailable by default. If you want to use HTTPS, log on to the SLB console, go to the Quota Center page, and then apply for the privilege to use HTPS on the **ALB** tab.
	HealthCheckHttpVersion *string `json:"HealthCheckHttpVersion,omitempty" xml:"HealthCheckHttpVersion,omitempty"`
	// The interval between two consecutive health checks. Unit: seconds. Valid values: **1** to **50**.
	HealthCheckInterval *int32 `json:"HealthCheckInterval,omitempty" xml:"HealthCheckInterval,omitempty"`
	// The HTTP method that is used for health checks. Valid values:
	//
	// *   **GET**: If the length of a response exceeds 8 KB, the response is truncated. However, the health check result is not affected.
	// *   **POST**: gRPC health checks on listeners use the POST method by default.
	// *   **HEAD**: HTTP and HTTPS health checks on listeners use the HEAD method by default.
	//
	// >  This parameter takes effect when **HealthCheckProtocol** is set to **HTTP**, **HTTPS**, or **gRPC**. HTTPS is unavailable by default. If you want to use HTTPS, log on to the SLB console, go to the Quota Center page, and then apply for the privilege to use HTTPS on the **ALB** tab.
	HealthCheckMethod *string `json:"HealthCheckMethod,omitempty" xml:"HealthCheckMethod,omitempty"`
	// The path that is used for health checks.
	//
	// >  This parameter takes effect only when **HealthCheckProtocol** is set to **HTTP** or **HTTPS**. HTTPS is unavailable by default. If you want to use HTTPS, log on to the SLB console, go to the Quota Center page, and then apply for the privilege to use HTPS on the **ALB** tab.
	HealthCheckPath *string `json:"HealthCheckPath,omitempty" xml:"HealthCheckPath,omitempty"`
	// The protocol that you want to use for health checks. Valid values:
	//
	// *   **HTTP**: ALB performs HTTP health checks by sending HEAD or GET requests to a backend server to check whether the backend server is healthy.
	// *   **HTTPS**: ALB performs HTTPS health checks by sending HEAD or GET requests to a backend server to check whether the backend server is healthy. HTTPS supports data encryption and provides higher data security than HTTP.
	// *   **TCP**: To perform TCP health checks, ALB sends SYN packets to the backend server to check whether the port of the backend server is available to receive requests.
	// *   **gRPC**: ALB performs gRPC health checks by sending POST or GET requests to a backend server to check whether the backend server is healthy.
	//
	// >  HTTPS is unavailable by default. If you want to use HTTPS, log on to the SLB console, go to the Quota Center page, and then apply for the privilege to use HTTPS on the **ALB** tab.
	HealthCheckProtocol *string `json:"HealthCheckProtocol,omitempty" xml:"HealthCheckProtocol,omitempty"`
	// The timeout period for a health check response. If a backend server does not respond within the specified timeout period, the backend server fails the health check. Unit: seconds.
	HealthCheckTimeout *int32 `json:"HealthCheckTimeout,omitempty" xml:"HealthCheckTimeout,omitempty"`
	// The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status is changed from **fail** to **success**.
	HealthyThreshold *int32 `json:"HealthyThreshold,omitempty" xml:"HealthyThreshold,omitempty"`
	// The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status is changed from **success** to **fail**.
	UnhealthyThreshold *int32 `json:"UnhealthyThreshold,omitempty" xml:"UnhealthyThreshold,omitempty"`
}

func (ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) GoString

func (*ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) SetHealthCheckCodes

func (*ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) SetHealthCheckConnectPort

func (*ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) SetHealthCheckEnabled

func (*ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) SetHealthCheckHost

func (*ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) SetHealthCheckHttpVersion

func (*ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) SetHealthCheckInterval

func (*ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) SetHealthCheckMethod

func (*ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) SetHealthCheckPath

func (*ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) SetHealthCheckProtocol

func (*ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) SetHealthCheckTimeout

func (*ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) SetHealthyThreshold

func (*ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) SetUnhealthyThreshold

func (ListServerGroupsResponseBodyServerGroupsHealthCheckConfig) String

type ListServerGroupsResponseBodyServerGroupsSlowStartConfig added in v2.1.6

type ListServerGroupsResponseBodyServerGroupsSlowStartConfig struct {
	SlowStartDuration *int32 `json:"SlowStartDuration,omitempty" xml:"SlowStartDuration,omitempty"`
	SlowStartEnabled  *bool  `json:"SlowStartEnabled,omitempty" xml:"SlowStartEnabled,omitempty"`
}

func (ListServerGroupsResponseBodyServerGroupsSlowStartConfig) GoString added in v2.1.6

func (*ListServerGroupsResponseBodyServerGroupsSlowStartConfig) SetSlowStartDuration added in v2.1.6

func (*ListServerGroupsResponseBodyServerGroupsSlowStartConfig) SetSlowStartEnabled added in v2.1.6

func (ListServerGroupsResponseBodyServerGroupsSlowStartConfig) String added in v2.1.6

type ListServerGroupsResponseBodyServerGroupsStickySessionConfig

type ListServerGroupsResponseBodyServerGroupsStickySessionConfig struct {
	// The cookie that is configured on the server.
	Cookie *string `json:"Cookie,omitempty" xml:"Cookie,omitempty"`
	// The timeout period of a cookie. Unit: seconds. Valid values: **1** to **86400**.
	//
	// >  This parameter takes effect only when **StickySessionEnabled** is set to **true** and **StickySessionType** is set to **Insert**.
	CookieTimeout *int32 `json:"CookieTimeout,omitempty" xml:"CookieTimeout,omitempty"`
	// Indicates whether session persistence is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	StickySessionEnabled *bool `json:"StickySessionEnabled,omitempty" xml:"StickySessionEnabled,omitempty"`
	// The method that is used to handle a cookie. Valid values:
	//
	// *   **Insert**: inserts a cookie. ALB inserts a cookie (SERVERID) into the first HTTP or HTTPS response packet that is sent to a client. The next request from the client contains this cookie and the listener distributes this request to the recorded backend server.
	// *   **Server**: rewrites a cookie. When ALB detects a user-defined cookie, it overwrites the original cookie with the user-defined cookie. Subsequent requests to ALB carry this user-defined cookie, and ALB determines the destination servers of the requests based on the cookies.
	StickySessionType *string `json:"StickySessionType,omitempty" xml:"StickySessionType,omitempty"`
}

func (ListServerGroupsResponseBodyServerGroupsStickySessionConfig) GoString

func (*ListServerGroupsResponseBodyServerGroupsStickySessionConfig) SetCookie

func (*ListServerGroupsResponseBodyServerGroupsStickySessionConfig) SetCookieTimeout

func (*ListServerGroupsResponseBodyServerGroupsStickySessionConfig) SetStickySessionEnabled

func (*ListServerGroupsResponseBodyServerGroupsStickySessionConfig) SetStickySessionType

func (ListServerGroupsResponseBodyServerGroupsStickySessionConfig) String

type ListServerGroupsResponseBodyServerGroupsTags

type ListServerGroupsResponseBodyServerGroupsTags struct {
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListServerGroupsResponseBodyServerGroupsTags) GoString

func (*ListServerGroupsResponseBodyServerGroupsTags) SetKey

func (*ListServerGroupsResponseBodyServerGroupsTags) SetValue

func (ListServerGroupsResponseBodyServerGroupsTags) String

type ListServerGroupsResponseBodyServerGroupsUchConfig added in v2.0.3

type ListServerGroupsResponseBodyServerGroupsUchConfig struct {
	// The data type of the common parameter.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The parameter value for consistent hashing.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListServerGroupsResponseBodyServerGroupsUchConfig) GoString added in v2.0.3

func (*ListServerGroupsResponseBodyServerGroupsUchConfig) SetType added in v2.0.3

func (*ListServerGroupsResponseBodyServerGroupsUchConfig) SetValue added in v2.0.3

func (ListServerGroupsResponseBodyServerGroupsUchConfig) String added in v2.0.3

type ListSystemSecurityPoliciesResponse

type ListSystemSecurityPoliciesResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListSystemSecurityPoliciesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListSystemSecurityPoliciesResponse) GoString

func (*ListSystemSecurityPoliciesResponse) SetHeaders

func (*ListSystemSecurityPoliciesResponse) SetStatusCode

func (ListSystemSecurityPoliciesResponse) String

type ListSystemSecurityPoliciesResponseBody

type ListSystemSecurityPoliciesResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The security policies.
	SecurityPolicies []*ListSystemSecurityPoliciesResponseBodySecurityPolicies `json:"SecurityPolicies,omitempty" xml:"SecurityPolicies,omitempty" type:"Repeated"`
}

func (ListSystemSecurityPoliciesResponseBody) GoString

func (*ListSystemSecurityPoliciesResponseBody) SetRequestId

func (ListSystemSecurityPoliciesResponseBody) String

type ListSystemSecurityPoliciesResponseBodySecurityPolicies

type ListSystemSecurityPoliciesResponseBodySecurityPolicies struct {
	// The supported encryption algorithms.
	Ciphers []*string `json:"Ciphers,omitempty" xml:"Ciphers,omitempty" type:"Repeated"`
	// The ID of the security policy.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The TLS versions that are supported.
	TLSVersions []*string `json:"TLSVersions,omitempty" xml:"TLSVersions,omitempty" type:"Repeated"`
}

func (ListSystemSecurityPoliciesResponseBodySecurityPolicies) GoString

func (*ListSystemSecurityPoliciesResponseBodySecurityPolicies) SetCiphers

func (*ListSystemSecurityPoliciesResponseBodySecurityPolicies) SetSecurityPolicyId

func (*ListSystemSecurityPoliciesResponseBodySecurityPolicies) SetTLSVersions

func (ListSystemSecurityPoliciesResponseBodySecurityPolicies) String

type ListTagKeysRequest

type ListTagKeysRequest struct {
	// The type of the tag.
	//
	// Valid values: **Custom**, **System**, and **All**.
	//
	// Default value: **All**.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Keyword *string `json:"Keyword,omitempty" xml:"Keyword,omitempty"`
	// The number of entries per page. Valid values: **1** to **100**. Default value: **20**.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   You do not need to specify this parameter for the first request.
	// *   You must specify the token that is obtained from the previous query as the value of **NextToken**.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The type of the resource. Valid values:
	//
	// *   **acl**: an access control list (ACL)
	// *   **loadbalancer**: an Application Load Balancer (ALB) instance
	// *   **securitypolicy**: a security policy
	// *   **servergroup**: a server group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (ListTagKeysRequest) GoString

func (s ListTagKeysRequest) GoString() string

func (*ListTagKeysRequest) SetCategory

func (s *ListTagKeysRequest) SetCategory(v string) *ListTagKeysRequest

func (*ListTagKeysRequest) SetKeyword

func (s *ListTagKeysRequest) SetKeyword(v string) *ListTagKeysRequest

func (*ListTagKeysRequest) SetMaxResults

func (s *ListTagKeysRequest) SetMaxResults(v int32) *ListTagKeysRequest

func (*ListTagKeysRequest) SetNextToken

func (s *ListTagKeysRequest) SetNextToken(v string) *ListTagKeysRequest

func (*ListTagKeysRequest) SetResourceType

func (s *ListTagKeysRequest) SetResourceType(v string) *ListTagKeysRequest

func (ListTagKeysRequest) String

func (s ListTagKeysRequest) String() string

type ListTagKeysResponse

type ListTagKeysResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTagKeysResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTagKeysResponse) GoString

func (s ListTagKeysResponse) GoString() string

func (*ListTagKeysResponse) SetBody

func (*ListTagKeysResponse) SetHeaders

func (s *ListTagKeysResponse) SetHeaders(v map[string]*string) *ListTagKeysResponse

func (*ListTagKeysResponse) SetStatusCode

func (s *ListTagKeysResponse) SetStatusCode(v int32) *ListTagKeysResponse

func (ListTagKeysResponse) String

func (s ListTagKeysResponse) String() string

type ListTagKeysResponseBody

type ListTagKeysResponseBody struct {
	// The number of entries per page.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If a value is returned for **NextToken**, the value is the token that determines the start point of the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The tag keys.
	TagKeys []*ListTagKeysResponseBodyTagKeys `json:"TagKeys,omitempty" xml:"TagKeys,omitempty" type:"Repeated"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListTagKeysResponseBody) GoString

func (s ListTagKeysResponseBody) GoString() string

func (*ListTagKeysResponseBody) SetMaxResults

func (*ListTagKeysResponseBody) SetNextToken

func (*ListTagKeysResponseBody) SetRequestId

func (*ListTagKeysResponseBody) SetTagKeys

func (*ListTagKeysResponseBody) SetTotalCount

func (ListTagKeysResponseBody) String

func (s ListTagKeysResponseBody) String() string

type ListTagKeysResponseBodyTagKeys

type ListTagKeysResponseBodyTagKeys struct {
	// The type of the tag.
	//
	// Valid values: **Custom**, **System**, and **All**.
	//
	// Default value: **All**.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The tag that matches all filter conditions.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
}

func (ListTagKeysResponseBodyTagKeys) GoString

func (*ListTagKeysResponseBodyTagKeys) SetCategory

func (*ListTagKeysResponseBodyTagKeys) SetTagKey

func (ListTagKeysResponseBodyTagKeys) String

type ListTagResourcesRequest

type ListTagResourcesRequest struct {
	// The number of entries per page. Valid values: **1** to **100**. Default value: **20**.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   You do not need to specify this parameter for the first request.
	// *   You must specify the token that is obtained from the previous query as the value of **NextToken**.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The resource IDs.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource. Valid values:
	//
	// *   **acl**: an access control list (ACL)
	// *   **loadbalancer**: an Application Load Balancer (ALB) instance
	// *   **securitypolicy**: a security policy
	// *   **servergroup**: a server group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags.
	Tag []*ListTagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListTagResourcesRequest) GoString

func (s ListTagResourcesRequest) GoString() string

func (*ListTagResourcesRequest) SetMaxResults

func (*ListTagResourcesRequest) SetNextToken

func (*ListTagResourcesRequest) SetResourceId

func (s *ListTagResourcesRequest) SetResourceId(v []*string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceType

func (*ListTagResourcesRequest) SetTag

func (ListTagResourcesRequest) String

func (s ListTagResourcesRequest) String() string

type ListTagResourcesRequestTag

type ListTagResourcesRequestTag struct {
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListTagResourcesRequestTag) GoString

func (s ListTagResourcesRequestTag) GoString() string

func (*ListTagResourcesRequestTag) SetKey

func (*ListTagResourcesRequestTag) SetValue

func (ListTagResourcesRequestTag) String

type ListTagResourcesResponse

type ListTagResourcesResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTagResourcesResponse) GoString

func (s ListTagResourcesResponse) GoString() string

func (*ListTagResourcesResponse) SetBody

func (*ListTagResourcesResponse) SetHeaders

func (*ListTagResourcesResponse) SetStatusCode

func (ListTagResourcesResponse) String

func (s ListTagResourcesResponse) String() string

type ListTagResourcesResponseBody

type ListTagResourcesResponseBody struct {
	// The number of entries per page.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If a value is returned for **NextToken**, the value is the token that determines the start point of the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The tags that match the specified keys and values.
	TagResources []*ListTagResourcesResponseBodyTagResources `json:"TagResources,omitempty" xml:"TagResources,omitempty" type:"Repeated"`
}

func (ListTagResourcesResponseBody) GoString

func (s ListTagResourcesResponseBody) GoString() string

func (*ListTagResourcesResponseBody) SetMaxResults

func (*ListTagResourcesResponseBody) SetNextToken

func (*ListTagResourcesResponseBody) SetRequestId

func (*ListTagResourcesResponseBody) SetTagResources

func (ListTagResourcesResponseBody) String

type ListTagResourcesResponseBodyTagResources

type ListTagResourcesResponseBodyTagResources struct {
	// The resource ID.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of the resource. Valid values:
	//
	// *   **acl**: an ACL
	// *   **loadbalancer**: an ALB instance
	// *   **securitypolicy**: a security policy
	// *   **servergroup**: a server group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag key.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (ListTagResourcesResponseBodyTagResources) GoString

func (*ListTagResourcesResponseBodyTagResources) SetResourceId

func (*ListTagResourcesResponseBodyTagResources) SetResourceType

func (*ListTagResourcesResponseBodyTagResources) SetTagKey

func (*ListTagResourcesResponseBodyTagResources) SetTagValue

func (ListTagResourcesResponseBodyTagResources) String

type ListTagValuesRequest

type ListTagValuesRequest struct {
	// The number of entries per page. Valid values: **1** to **100**. Default value: **20**.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Valid values:
	//
	// *   You do not need to specify this parameter for the first request.
	// *   You must specify the token that is obtained from the previous query as the value of **NextToken**.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The resource ID.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of the resource. Valid values:
	//
	// *   **loadbalancer**: an Application Load Balancer (ALB) instance
	// *   **acl**: an access control list (ACL)
	// *   **securitypolicy**: a security policy
	// *   **servergroup**: a server group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
}

func (ListTagValuesRequest) GoString

func (s ListTagValuesRequest) GoString() string

func (*ListTagValuesRequest) SetMaxResults

func (s *ListTagValuesRequest) SetMaxResults(v int32) *ListTagValuesRequest

func (*ListTagValuesRequest) SetNextToken

func (s *ListTagValuesRequest) SetNextToken(v string) *ListTagValuesRequest

func (*ListTagValuesRequest) SetResourceId

func (s *ListTagValuesRequest) SetResourceId(v string) *ListTagValuesRequest

func (*ListTagValuesRequest) SetResourceType

func (s *ListTagValuesRequest) SetResourceType(v string) *ListTagValuesRequest

func (*ListTagValuesRequest) SetTagKey

func (ListTagValuesRequest) String

func (s ListTagValuesRequest) String() string

type ListTagValuesResponse

type ListTagValuesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTagValuesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTagValuesResponse) GoString

func (s ListTagValuesResponse) GoString() string

func (*ListTagValuesResponse) SetBody

func (*ListTagValuesResponse) SetHeaders

func (*ListTagValuesResponse) SetStatusCode

func (s *ListTagValuesResponse) SetStatusCode(v int32) *ListTagValuesResponse

func (ListTagValuesResponse) String

func (s ListTagValuesResponse) String() string

type ListTagValuesResponseBody

type ListTagValuesResponseBody struct {
	// The number of entries per page.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
	//
	// *   If **NextToken** is empty, no next page exists.
	// *   If a value is returned for **NextToken**, the value is the token that determines the start point of the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The tag values.
	TagValues []*string `json:"TagValues,omitempty" xml:"TagValues,omitempty" type:"Repeated"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListTagValuesResponseBody) GoString

func (s ListTagValuesResponseBody) GoString() string

func (*ListTagValuesResponseBody) SetMaxResults

func (*ListTagValuesResponseBody) SetNextToken

func (*ListTagValuesResponseBody) SetRequestId

func (*ListTagValuesResponseBody) SetTagValues

func (*ListTagValuesResponseBody) SetTotalCount

func (ListTagValuesResponseBody) String

func (s ListTagValuesResponseBody) String() string

type MoveResourceGroupRequest

type MoveResourceGroupRequest struct {
	// The ID of the resource group to which you want to move the resource.
	//
	// > You can use resource groups to manage resources owned by your Alibaba Cloud account. Resource groups simplify resource and permission management in your Alibaba Cloud account. For more information, see [What is resource management?](~~94475~~)
	NewResourceGroupId *string `json:"NewResourceGroupId,omitempty" xml:"NewResourceGroupId,omitempty"`
	// The resource ID.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of the resource. Valid values:
	//
	// *   **loadbalancer**: Application Load Balancer (ALB) instance
	// *   **acl**: access control list (ACL)
	// *   **securitypolicy**: security policy
	// *   **servergroup**: server group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (MoveResourceGroupRequest) GoString

func (s MoveResourceGroupRequest) GoString() string

func (*MoveResourceGroupRequest) SetNewResourceGroupId

func (s *MoveResourceGroupRequest) SetNewResourceGroupId(v string) *MoveResourceGroupRequest

func (*MoveResourceGroupRequest) SetResourceId

func (*MoveResourceGroupRequest) SetResourceType

func (MoveResourceGroupRequest) String

func (s MoveResourceGroupRequest) String() string

type MoveResourceGroupResponse

type MoveResourceGroupResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *MoveResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (MoveResourceGroupResponse) GoString

func (s MoveResourceGroupResponse) GoString() string

func (*MoveResourceGroupResponse) SetBody

func (*MoveResourceGroupResponse) SetHeaders

func (*MoveResourceGroupResponse) SetStatusCode

func (MoveResourceGroupResponse) String

func (s MoveResourceGroupResponse) String() string

type MoveResourceGroupResponseBody

type MoveResourceGroupResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (MoveResourceGroupResponseBody) GoString

func (*MoveResourceGroupResponseBody) SetRequestId

func (MoveResourceGroupResponseBody) String

type RemoveEntriesFromAclRequest

type RemoveEntriesFromAclRequest struct {
	// The ACL ID.
	AclId *string `json:"AclId,omitempty" xml:"AclId,omitempty"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The entries that you want to remove. You can remove up to 20 entries in each call.
	Entries []*string `json:"Entries,omitempty" xml:"Entries,omitempty" type:"Repeated"`
}

func (RemoveEntriesFromAclRequest) GoString

func (s RemoveEntriesFromAclRequest) GoString() string

func (*RemoveEntriesFromAclRequest) SetAclId

func (*RemoveEntriesFromAclRequest) SetClientToken

func (*RemoveEntriesFromAclRequest) SetDryRun

func (*RemoveEntriesFromAclRequest) SetEntries

func (RemoveEntriesFromAclRequest) String

type RemoveEntriesFromAclResponse

type RemoveEntriesFromAclResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RemoveEntriesFromAclResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RemoveEntriesFromAclResponse) GoString

func (s RemoveEntriesFromAclResponse) GoString() string

func (*RemoveEntriesFromAclResponse) SetBody

func (*RemoveEntriesFromAclResponse) SetHeaders

func (*RemoveEntriesFromAclResponse) SetStatusCode

func (RemoveEntriesFromAclResponse) String

type RemoveEntriesFromAclResponseBody

type RemoveEntriesFromAclResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RemoveEntriesFromAclResponseBody) GoString

func (*RemoveEntriesFromAclResponseBody) SetJobId

func (*RemoveEntriesFromAclResponseBody) SetRequestId

func (RemoveEntriesFromAclResponseBody) String

type RemoveServersFromServerGroupRequest

type RemoveServersFromServerGroupRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The backend servers that you want to remove from the server group. You can specify up to 40 backend servers in each call.
	Servers []*RemoveServersFromServerGroupRequestServers `json:"Servers,omitempty" xml:"Servers,omitempty" type:"Repeated"`
}

func (RemoveServersFromServerGroupRequest) GoString

func (*RemoveServersFromServerGroupRequest) SetClientToken

func (*RemoveServersFromServerGroupRequest) SetDryRun

func (*RemoveServersFromServerGroupRequest) SetServerGroupId

func (RemoveServersFromServerGroupRequest) String

type RemoveServersFromServerGroupRequestServers

type RemoveServersFromServerGroupRequestServers struct {
	// The port that is used by the backend server. Valid values: **1** to **65535**. You can specify at most 40 servers in each call.
	//
	// > This parameter is required if the **ServerType** parameter is set to **Ecs**, **Eni**, **Eci**, or **Ip**.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The backend server ID. You can specify up to 40 server IDs in each call.
	//
	// *   If the server group type is **Instance**, set the ServerId parameter to the ID of an ECS instance, an ENI, or an elastic container instance. These backend servers are specified by **Ecs**, **Eni**, or **Eci**.
	// *   If the server group type is **Ip**, set the ServerId parameter to an IP address specified in the server group.
	// *   If the server group type is **Fc**, set the ServerId parameter to the ARN of a function specified in the server group.
	//
	// > You can call the [ListServerGroups](~~213627~~) operation to query information about the server group type so that you can set ServerId to a proper value.
	ServerId *string `json:"ServerId,omitempty" xml:"ServerId,omitempty"`
	// The IP address in inclusive ENI mode. You can specify at most 40 servers in each call.
	ServerIp *string `json:"ServerIp,omitempty" xml:"ServerIp,omitempty"`
	// The type of the backend server. You can specify at most 40 servers in each call. Valid values:
	//
	// *   **Ecs**
	// *   **Eni**
	// *   **Eci**
	// *   **Ip**
	// *   **Fc**
	ServerType *string `json:"ServerType,omitempty" xml:"ServerType,omitempty"`
}

func (RemoveServersFromServerGroupRequestServers) GoString

func (*RemoveServersFromServerGroupRequestServers) SetPort

func (*RemoveServersFromServerGroupRequestServers) SetServerId

func (*RemoveServersFromServerGroupRequestServers) SetServerIp

func (*RemoveServersFromServerGroupRequestServers) SetServerType

func (RemoveServersFromServerGroupRequestServers) String

type RemoveServersFromServerGroupResponse

type RemoveServersFromServerGroupResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RemoveServersFromServerGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RemoveServersFromServerGroupResponse) GoString

func (*RemoveServersFromServerGroupResponse) SetHeaders

func (*RemoveServersFromServerGroupResponse) SetStatusCode

func (RemoveServersFromServerGroupResponse) String

type RemoveServersFromServerGroupResponseBody

type RemoveServersFromServerGroupResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RemoveServersFromServerGroupResponseBody) GoString

func (*RemoveServersFromServerGroupResponseBody) SetJobId

func (*RemoveServersFromServerGroupResponseBody) SetRequestId

func (RemoveServersFromServerGroupResponseBody) String

type ReplaceServersInServerGroupRequest

type ReplaceServersInServerGroupRequest struct {
	// The backend servers that you want to add to the server group. You can specify up to 40 backend servers in each call.
	AddedServers []*ReplaceServersInServerGroupRequestAddedServers `json:"AddedServers,omitempty" xml:"AddedServers,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx` HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The backend servers that you want to remove.
	RemovedServers []*ReplaceServersInServerGroupRequestRemovedServers `json:"RemovedServers,omitempty" xml:"RemovedServers,omitempty" type:"Repeated"`
	// The ID of the server group.
	//
	// > You cannot perform this operation on a server group of the Function type.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (ReplaceServersInServerGroupRequest) GoString

func (*ReplaceServersInServerGroupRequest) SetClientToken

func (*ReplaceServersInServerGroupRequest) SetDryRun

func (*ReplaceServersInServerGroupRequest) SetServerGroupId

func (ReplaceServersInServerGroupRequest) String

type ReplaceServersInServerGroupRequestAddedServers

type ReplaceServersInServerGroupRequestAddedServers struct {
	// The description of the backend server. The description must be 2 to 256 characters in length, and can contain letters, digits, periods (.), underscores (\_), hyphens (-), commas (,), semicolons (;), forward slashes (/), and at signs (@). You can specify at most 40 servers in each call.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The port used by the server group. Valid values: **1** to **65535**. You can specify at most 40 servers in each call.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The ID of the backend server. You can specify up to 40 server IDs in each call.
	//
	// *   If the server group type is **Instance**, set the ServerId parameter to the ID of an ECS instance, an ENI, or an elastic container instance. These backend servers are specified by **Ecs**, **Eni**, or **Eci**.
	// *   If the server group type is **Ip**, set the ServerId parameter to an IP address specified in the server group.
	//
	// > You cannot perform this operation on a server group of the Function type. You can call the [ListServerGroups](~~213627~~) operation to query information about the server group type so that you can set ServerId to a proper value.
	ServerId *string `json:"ServerId,omitempty" xml:"ServerId,omitempty"`
	// The IP address in inclusive ENI mode. You can specify at most 40 servers in each call.
	ServerIp *string `json:"ServerIp,omitempty" xml:"ServerIp,omitempty"`
	// The type of the backend server that you want to remove from the server group. You can specify up to 40 backend servers in each call. Valid values:
	//
	// *   **Ecs**
	// *   **Eni**
	// *   **Eci**
	ServerType *string `json:"ServerType,omitempty" xml:"ServerType,omitempty"`
	// The weight of the backend server that you want to add to the server group. You can specify up to 40 backend servers in each call.
	//
	// Valid values: **0** to **100**. Default value: **100**. If the weight of a backend server is set to **0**, no requests are forwarded to the backend server.
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (ReplaceServersInServerGroupRequestAddedServers) GoString

func (*ReplaceServersInServerGroupRequestAddedServers) SetDescription

func (*ReplaceServersInServerGroupRequestAddedServers) SetPort

func (*ReplaceServersInServerGroupRequestAddedServers) SetServerId

func (*ReplaceServersInServerGroupRequestAddedServers) SetServerIp

func (*ReplaceServersInServerGroupRequestAddedServers) SetServerType

func (*ReplaceServersInServerGroupRequestAddedServers) SetWeight

func (ReplaceServersInServerGroupRequestAddedServers) String

type ReplaceServersInServerGroupRequestRemovedServers

type ReplaceServersInServerGroupRequestRemovedServers struct {
	// The port that is used by the backend server. Valid values: **1** to **65535**. You can specify at most 40 servers in each call.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The ID of the backend server. You can specify up to 40 server IDs in each call.
	//
	// *   If the server group type is **Instance**, set the ServerId parameter to the ID of an ECS instance, an ENI, or an elastic container instance. These backend servers are specified by **Ecs**, **Eni**, or **Eci**.
	// *   If the server group type is **Ip**, set the ServerId parameter to an IP address specified in the server group.
	//
	// > You cannot perform this operation on a server group of the Function type. You can call the [ListServerGroups](~~213627~~) operation to query information about the server group type so that you can set ServerId to a proper value.
	ServerId *string `json:"ServerId,omitempty" xml:"ServerId,omitempty"`
	// The IP address in inclusive ENI mode. You can specify at most 40 servers in each call.
	ServerIp *string `json:"ServerIp,omitempty" xml:"ServerIp,omitempty"`
	// The type of the backend server that you want to remove from the server group. You can specify up to 40 backend servers in each call. Valid values:
	//
	// *   **Ecs**
	// *   **Eni**
	// *   **Eci**
	ServerType *string `json:"ServerType,omitempty" xml:"ServerType,omitempty"`
}

func (ReplaceServersInServerGroupRequestRemovedServers) GoString

func (*ReplaceServersInServerGroupRequestRemovedServers) SetPort

func (*ReplaceServersInServerGroupRequestRemovedServers) SetServerId

func (*ReplaceServersInServerGroupRequestRemovedServers) SetServerIp

func (*ReplaceServersInServerGroupRequestRemovedServers) SetServerType

func (ReplaceServersInServerGroupRequestRemovedServers) String

type ReplaceServersInServerGroupResponse

type ReplaceServersInServerGroupResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ReplaceServersInServerGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ReplaceServersInServerGroupResponse) GoString

func (*ReplaceServersInServerGroupResponse) SetHeaders

func (*ReplaceServersInServerGroupResponse) SetStatusCode

func (ReplaceServersInServerGroupResponse) String

type ReplaceServersInServerGroupResponseBody

type ReplaceServersInServerGroupResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReplaceServersInServerGroupResponseBody) GoString

func (*ReplaceServersInServerGroupResponseBody) SetJobId

func (*ReplaceServersInServerGroupResponseBody) SetRequestId

func (ReplaceServersInServerGroupResponseBody) String

type StartListenerRequest

type StartListenerRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the **DryRunOperation** error code is returned.
	// *   **false**: (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the Application Load Balancer (ALB) listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
}

func (StartListenerRequest) GoString

func (s StartListenerRequest) GoString() string

func (*StartListenerRequest) SetClientToken

func (s *StartListenerRequest) SetClientToken(v string) *StartListenerRequest

func (*StartListenerRequest) SetDryRun

func (*StartListenerRequest) SetListenerId

func (s *StartListenerRequest) SetListenerId(v string) *StartListenerRequest

func (StartListenerRequest) String

func (s StartListenerRequest) String() string

type StartListenerResponse

type StartListenerResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *StartListenerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (StartListenerResponse) GoString

func (s StartListenerResponse) GoString() string

func (*StartListenerResponse) SetBody

func (*StartListenerResponse) SetHeaders

func (*StartListenerResponse) SetStatusCode

func (s *StartListenerResponse) SetStatusCode(v int32) *StartListenerResponse

func (StartListenerResponse) String

func (s StartListenerResponse) String() string

type StartListenerResponseBody

type StartListenerResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StartListenerResponseBody) GoString

func (s StartListenerResponseBody) GoString() string

func (*StartListenerResponseBody) SetJobId

func (*StartListenerResponseBody) SetRequestId

func (StartListenerResponseBody) String

func (s StartListenerResponseBody) String() string

type StartShiftLoadBalancerZonesRequest added in v2.1.0

type StartShiftLoadBalancerZonesRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// >  If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ALB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The mappings between zones and vSwitches.
	//
	// >  You can remove only one zone in each call.
	ZoneMappings []*StartShiftLoadBalancerZonesRequestZoneMappings `json:"ZoneMappings,omitempty" xml:"ZoneMappings,omitempty" type:"Repeated"`
}

func (StartShiftLoadBalancerZonesRequest) GoString added in v2.1.0

func (*StartShiftLoadBalancerZonesRequest) SetClientToken added in v2.1.0

func (*StartShiftLoadBalancerZonesRequest) SetDryRun added in v2.1.0

func (*StartShiftLoadBalancerZonesRequest) SetLoadBalancerId added in v2.1.0

func (*StartShiftLoadBalancerZonesRequest) SetZoneMappings added in v2.1.0

func (StartShiftLoadBalancerZonesRequest) String added in v2.1.0

type StartShiftLoadBalancerZonesRequestZoneMappings added in v2.1.0

type StartShiftLoadBalancerZonesRequestZoneMappings struct {
	// The ID of the vSwitch in the zone. By default, each zone uses one vSwitch and one subnet.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID. You can call the [DescribeZones](~~189196~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (StartShiftLoadBalancerZonesRequestZoneMappings) GoString added in v2.1.0

func (*StartShiftLoadBalancerZonesRequestZoneMappings) SetVSwitchId added in v2.1.0

func (*StartShiftLoadBalancerZonesRequestZoneMappings) SetZoneId added in v2.1.0

func (StartShiftLoadBalancerZonesRequestZoneMappings) String added in v2.1.0

type StartShiftLoadBalancerZonesResponse added in v2.1.0

type StartShiftLoadBalancerZonesResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *StartShiftLoadBalancerZonesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (StartShiftLoadBalancerZonesResponse) GoString added in v2.1.0

func (*StartShiftLoadBalancerZonesResponse) SetBody added in v2.1.0

func (*StartShiftLoadBalancerZonesResponse) SetHeaders added in v2.1.0

func (*StartShiftLoadBalancerZonesResponse) SetStatusCode added in v2.1.0

func (StartShiftLoadBalancerZonesResponse) String added in v2.1.0

type StartShiftLoadBalancerZonesResponseBody added in v2.1.0

type StartShiftLoadBalancerZonesResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StartShiftLoadBalancerZonesResponseBody) GoString added in v2.1.0

func (*StartShiftLoadBalancerZonesResponseBody) SetRequestId added in v2.1.0

func (StartShiftLoadBalancerZonesResponseBody) String added in v2.1.0

type StopListenerRequest

type StopListenerRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the Application Load Balancer (ALB) listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
}

func (StopListenerRequest) GoString

func (s StopListenerRequest) GoString() string

func (*StopListenerRequest) SetClientToken

func (s *StopListenerRequest) SetClientToken(v string) *StopListenerRequest

func (*StopListenerRequest) SetDryRun

func (s *StopListenerRequest) SetDryRun(v bool) *StopListenerRequest

func (*StopListenerRequest) SetListenerId

func (s *StopListenerRequest) SetListenerId(v string) *StopListenerRequest

func (StopListenerRequest) String

func (s StopListenerRequest) String() string

type StopListenerResponse

type StopListenerResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *StopListenerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (StopListenerResponse) GoString

func (s StopListenerResponse) GoString() string

func (*StopListenerResponse) SetBody

func (*StopListenerResponse) SetHeaders

func (s *StopListenerResponse) SetHeaders(v map[string]*string) *StopListenerResponse

func (*StopListenerResponse) SetStatusCode

func (s *StopListenerResponse) SetStatusCode(v int32) *StopListenerResponse

func (StopListenerResponse) String

func (s StopListenerResponse) String() string

type StopListenerResponseBody

type StopListenerResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StopListenerResponseBody) GoString

func (s StopListenerResponseBody) GoString() string

func (*StopListenerResponseBody) SetJobId

func (*StopListenerResponseBody) SetRequestId

func (StopListenerResponseBody) String

func (s StopListenerResponseBody) String() string

type TagResourcesRequest

type TagResourcesRequest struct {
	// The resource IDs.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource. Valid values:
	//
	// *   **acl**: an access control list (ACL)
	// *   **loadbalancer**: an Application Load Balancer (ALB) instance
	// *   **securitypolicy**: a security policy
	// *   **servergroup**: a server group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags.
	Tag []*TagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (TagResourcesRequest) GoString

func (s TagResourcesRequest) GoString() string

func (*TagResourcesRequest) SetResourceId

func (s *TagResourcesRequest) SetResourceId(v []*string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceType

func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetTag

func (TagResourcesRequest) String

func (s TagResourcesRequest) String() string

type TagResourcesRequestTag

type TagResourcesRequestTag struct {
	// The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (TagResourcesRequestTag) GoString

func (s TagResourcesRequestTag) GoString() string

func (*TagResourcesRequestTag) SetKey

func (*TagResourcesRequestTag) SetValue

func (TagResourcesRequestTag) String

func (s TagResourcesRequestTag) String() string

type TagResourcesResponse

type TagResourcesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TagResourcesResponse) GoString

func (s TagResourcesResponse) GoString() string

func (*TagResourcesResponse) SetBody

func (*TagResourcesResponse) SetHeaders

func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse

func (*TagResourcesResponse) SetStatusCode

func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse

func (TagResourcesResponse) String

func (s TagResourcesResponse) String() string

type TagResourcesResponseBody

type TagResourcesResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TagResourcesResponseBody) GoString

func (s TagResourcesResponseBody) GoString() string

func (*TagResourcesResponseBody) SetRequestId

func (TagResourcesResponseBody) String

func (s TagResourcesResponseBody) String() string

type UnTagResourcesRequest

type UnTagResourcesRequest struct {
	// Specifies whether to remove all tags from the specified resource. Valid values:
	//
	// *   **true**
	// *   **false**
	All *bool `json:"All,omitempty" xml:"All,omitempty"`
	// The IDs of the resources from which you want to remove tags.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource. Valid values:
	//
	// *   **acl**: an access control list (ACL)
	// *   **loadbalancer**: an Application Load Balancer (ALB) instance
	// *   **securitypolicy**: a security policy
	// *   **servergroup**: a server group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags that you want to remove.
	Tag []*UnTagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The keys of the tags that you want to remove.
	TagKey []*string `json:"TagKey,omitempty" xml:"TagKey,omitempty" type:"Repeated"`
}

func (UnTagResourcesRequest) GoString

func (s UnTagResourcesRequest) GoString() string

func (*UnTagResourcesRequest) SetAll

func (*UnTagResourcesRequest) SetResourceId

func (s *UnTagResourcesRequest) SetResourceId(v []*string) *UnTagResourcesRequest

func (*UnTagResourcesRequest) SetResourceType

func (s *UnTagResourcesRequest) SetResourceType(v string) *UnTagResourcesRequest

func (*UnTagResourcesRequest) SetTag

func (*UnTagResourcesRequest) SetTagKey

func (UnTagResourcesRequest) String

func (s UnTagResourcesRequest) String() string

type UnTagResourcesRequestTag

type UnTagResourcesRequestTag struct {
	// The key of the tag that you want to remove. The key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. The key cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag that you want to remove. The value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. The value cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (UnTagResourcesRequestTag) GoString

func (s UnTagResourcesRequestTag) GoString() string

func (*UnTagResourcesRequestTag) SetKey

func (*UnTagResourcesRequestTag) SetValue

func (UnTagResourcesRequestTag) String

func (s UnTagResourcesRequestTag) String() string

type UnTagResourcesResponse

type UnTagResourcesResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UnTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UnTagResourcesResponse) GoString

func (s UnTagResourcesResponse) GoString() string

func (*UnTagResourcesResponse) SetBody

func (*UnTagResourcesResponse) SetHeaders

func (*UnTagResourcesResponse) SetStatusCode

func (UnTagResourcesResponse) String

func (s UnTagResourcesResponse) String() string

type UnTagResourcesResponseBody

type UnTagResourcesResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UnTagResourcesResponseBody) GoString

func (s UnTagResourcesResponseBody) GoString() string

func (*UnTagResourcesResponseBody) SetRequestId

func (UnTagResourcesResponseBody) String

type UpdateAScriptsRequest added in v2.0.3

type UpdateAScriptsRequest struct {
	// The AScript rules.
	AScripts []*UpdateAScriptsRequestAScripts `json:"AScripts,omitempty" xml:"AScripts,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**(default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
}

func (UpdateAScriptsRequest) GoString added in v2.0.3

func (s UpdateAScriptsRequest) GoString() string

func (*UpdateAScriptsRequest) SetAScripts added in v2.0.3

func (*UpdateAScriptsRequest) SetClientToken added in v2.0.3

func (s *UpdateAScriptsRequest) SetClientToken(v string) *UpdateAScriptsRequest

func (*UpdateAScriptsRequest) SetDryRun added in v2.0.3

func (UpdateAScriptsRequest) String added in v2.0.3

func (s UpdateAScriptsRequest) String() string

type UpdateAScriptsRequestAScripts added in v2.0.3

type UpdateAScriptsRequestAScripts struct {
	// The AScript rule ID.
	AScriptId *string `json:"AScriptId,omitempty" xml:"AScriptId,omitempty"`
	// The name of the AScript rule.
	//
	// The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	AScriptName *string `json:"AScriptName,omitempty" xml:"AScriptName,omitempty"`
	// Specifies whether to enable the AScript rule. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The content of the AScript rule.
	ScriptContent *string `json:"ScriptContent,omitempty" xml:"ScriptContent,omitempty"`
}

func (UpdateAScriptsRequestAScripts) GoString added in v2.0.3

func (*UpdateAScriptsRequestAScripts) SetAScriptId added in v2.0.3

func (*UpdateAScriptsRequestAScripts) SetAScriptName added in v2.0.3

func (*UpdateAScriptsRequestAScripts) SetEnabled added in v2.0.3

func (*UpdateAScriptsRequestAScripts) SetScriptContent added in v2.0.3

func (UpdateAScriptsRequestAScripts) String added in v2.0.3

type UpdateAScriptsResponse added in v2.0.3

type UpdateAScriptsResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateAScriptsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateAScriptsResponse) GoString added in v2.0.3

func (s UpdateAScriptsResponse) GoString() string

func (*UpdateAScriptsResponse) SetBody added in v2.0.3

func (*UpdateAScriptsResponse) SetHeaders added in v2.0.3

func (*UpdateAScriptsResponse) SetStatusCode added in v2.0.3

func (UpdateAScriptsResponse) String added in v2.0.3

func (s UpdateAScriptsResponse) String() string

type UpdateAScriptsResponseBody added in v2.0.3

type UpdateAScriptsResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateAScriptsResponseBody) GoString added in v2.0.3

func (s UpdateAScriptsResponseBody) GoString() string

func (*UpdateAScriptsResponseBody) SetJobId added in v2.0.3

func (*UpdateAScriptsResponseBody) SetRequestId added in v2.0.3

func (UpdateAScriptsResponseBody) String added in v2.0.3

type UpdateAclAttributeRequest

type UpdateAclAttributeRequest struct {
	// The ACL ID.
	AclId *string `json:"AclId,omitempty" xml:"AclId,omitempty"`
	// The ACL name. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	AclName *string `json:"AclName,omitempty" xml:"AclName,omitempty"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	//
	// > If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx` HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
}

func (UpdateAclAttributeRequest) GoString

func (s UpdateAclAttributeRequest) GoString() string

func (*UpdateAclAttributeRequest) SetAclId

func (*UpdateAclAttributeRequest) SetAclName

func (*UpdateAclAttributeRequest) SetClientToken

func (*UpdateAclAttributeRequest) SetDryRun

func (UpdateAclAttributeRequest) String

func (s UpdateAclAttributeRequest) String() string

type UpdateAclAttributeResponse

type UpdateAclAttributeResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateAclAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateAclAttributeResponse) GoString

func (s UpdateAclAttributeResponse) GoString() string

func (*UpdateAclAttributeResponse) SetBody

func (*UpdateAclAttributeResponse) SetHeaders

func (*UpdateAclAttributeResponse) SetStatusCode

func (UpdateAclAttributeResponse) String

type UpdateAclAttributeResponseBody

type UpdateAclAttributeResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateAclAttributeResponseBody) GoString

func (*UpdateAclAttributeResponseBody) SetRequestId

func (UpdateAclAttributeResponseBody) String

type UpdateHealthCheckTemplateAttributeRequest

type UpdateHealthCheckTemplateAttributeRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a **2xx** HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The HTTP status codes that are used to determine whether the backend server passes the health check.
	//
	// *   If **HealthCheckProtocol** is set to **HTTP**, **HealthCheckCodes** can be set to **http\_2xx** (default), **http\_3xx**, **http\_4xx**, and **http\_5xx**. Separate multiple HTTP status codes with a comma (,).
	// *   If **HealthCheckProtocol** is set to **gRPC**, **HealthCheckCodes** can be set to **0 to 99**. Default value: **0**. Value ranges are supported. You can enter up to 20 value ranges and separate them with a comma (,).
	//
	// > This parameter takes effect only when the **HealthCheckProtocol** parameter is set to **HTTP** or **gRPC**.
	HealthCheckCodes []*string `json:"HealthCheckCodes,omitempty" xml:"HealthCheckCodes,omitempty" type:"Repeated"`
	// The port that is used for health checks. Valid values: **0 to 65535**. Default value: **0**. This value indicates that the port of a backend server is used for health checks.
	HealthCheckConnectPort *int32 `json:"HealthCheckConnectPort,omitempty" xml:"HealthCheckConnectPort,omitempty"`
	// The domain name that you want to use for the health check. Valid values:
	//
	// *   **$SERVER_IP** (default): the private IP addresses of backend servers. If you do not set the HealthCheckHost parameter or set the parameter to $SERVER_IP, the Application Load Balancer (ALB) uses the private IP addresses of backend servers for health checks.
	// *   **domain**: The domain name must be 1 to 80 characters in length and can contain letters, digits, periods (.), and hyphens (-).
	//
	// > This parameter is valid only if the `HealthCheckProtocol` parameter is set to **HTTP**.
	HealthCheckHost *string `json:"HealthCheckHost,omitempty" xml:"HealthCheckHost,omitempty"`
	// The HTTP version that is used for health checks.
	//
	// Valid values: **HTTP1.0** and **HTTP1.1**.
	//
	// Default value: **HTTP1.1**.
	//
	// > This parameter is valid only if the `HealthCheckProtocol` parameter is set to **HTTP**.
	HealthCheckHttpVersion *string `json:"HealthCheckHttpVersion,omitempty" xml:"HealthCheckHttpVersion,omitempty"`
	// The interval at which health checks are performed. Unit: seconds. Valid values: **1 to 50**. Default value: **2**.
	HealthCheckInterval *int32 `json:"HealthCheckInterval,omitempty" xml:"HealthCheckInterval,omitempty"`
	// The method that you want to use for the health check. Valid values:
	//
	// *   **HEAD**: By default, the ALB instance sends HEAD requests to a backend server to perform HTTP health checks.
	// *   **GET**: If the length of a response exceeds 8 KB, the response is truncated. However, the health check result is not affected.
	// *   **POST**: gRPC health checks automatically use the POST method.
	//
	// > This parameter takes effect only when the **HealthCheckProtocol** parameter is set to **HTTP** or **gRPC**.
	HealthCheckMethod *string `json:"HealthCheckMethod,omitempty" xml:"HealthCheckMethod,omitempty"`
	// The URL path that is used for health checks.
	//
	// The URL must be 1 to 80 characters in length and can contain only letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The URL can also contain the following extended characters: `_ ; ~ ! ( ) * [ ] @ $ ^ : \" , +`.
	//
	// The URL must start with a forward slash (/).
	//
	// > This parameter takes effect only when the **HealthCheckProtocol** parameter is set to **HTTP** or **gRPC**.
	HealthCheckPath *string `json:"HealthCheckPath,omitempty" xml:"HealthCheckPath,omitempty"`
	// The protocol that you want to use for health checks. Valid values:
	//
	// *   **HTTP** (default): To perform HTTP health checks, ALB sends HEAD or GET requests to a backend server to check whether the backend server is healthy.
	// *   **TCP**: To perform TCP health checks, ALB sends SYN packets to a backend server to check whether the port of the backend server is available to receive requests.
	// *   **gRPC**: To perform gRPC health checks, ALB sends POST or GET requests to a backend server to check whether the backend server is healthy.
	HealthCheckProtocol *string `json:"HealthCheckProtocol,omitempty" xml:"HealthCheckProtocol,omitempty"`
	// The template ID.
	HealthCheckTemplateId *string `json:"HealthCheckTemplateId,omitempty" xml:"HealthCheckTemplateId,omitempty"`
	// The name of the health check template.
	//
	// The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	HealthCheckTemplateName *string `json:"HealthCheckTemplateName,omitempty" xml:"HealthCheckTemplateName,omitempty"`
	// The timeout period of a health check. If a backend server does not respond within the specified timeout period, the backend server fails the health check.
	//
	// Unit: seconds. Valid values: **1 to 300**. Default value: **5**.
	//
	// > If the value of the `HealthCheckTimeout` parameter is smaller than that of the `HealthCheckInterval` parameter, the timeout period specified by the `HealthCheckTimeout` parameter is ignored and the value of the `HealthCheckInterval` parameter is used as the timeout period.
	HealthCheckTimeout *int32 `json:"HealthCheckTimeout,omitempty" xml:"HealthCheckTimeout,omitempty"`
	// The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status is changed from **fail** to **success**.
	//
	// Valid values: **2 to 10**.
	//
	// Default value: **3**.
	HealthyThreshold *int32 `json:"HealthyThreshold,omitempty" xml:"HealthyThreshold,omitempty"`
	// The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status is changed from **success** to **fail**.
	//
	// Valid values: **2 to 10**.
	//
	// Default value: **3**.
	UnhealthyThreshold *int32 `json:"UnhealthyThreshold,omitempty" xml:"UnhealthyThreshold,omitempty"`
}

func (UpdateHealthCheckTemplateAttributeRequest) GoString

func (*UpdateHealthCheckTemplateAttributeRequest) SetClientToken

func (*UpdateHealthCheckTemplateAttributeRequest) SetDryRun

func (*UpdateHealthCheckTemplateAttributeRequest) SetHealthCheckCodes

func (*UpdateHealthCheckTemplateAttributeRequest) SetHealthCheckConnectPort

func (*UpdateHealthCheckTemplateAttributeRequest) SetHealthCheckHost

func (*UpdateHealthCheckTemplateAttributeRequest) SetHealthCheckHttpVersion

func (*UpdateHealthCheckTemplateAttributeRequest) SetHealthCheckInterval

func (*UpdateHealthCheckTemplateAttributeRequest) SetHealthCheckMethod

func (*UpdateHealthCheckTemplateAttributeRequest) SetHealthCheckPath

func (*UpdateHealthCheckTemplateAttributeRequest) SetHealthCheckProtocol

func (*UpdateHealthCheckTemplateAttributeRequest) SetHealthCheckTemplateId

func (*UpdateHealthCheckTemplateAttributeRequest) SetHealthCheckTemplateName

func (*UpdateHealthCheckTemplateAttributeRequest) SetHealthCheckTimeout

func (*UpdateHealthCheckTemplateAttributeRequest) SetHealthyThreshold

func (*UpdateHealthCheckTemplateAttributeRequest) SetUnhealthyThreshold

func (UpdateHealthCheckTemplateAttributeRequest) String

type UpdateHealthCheckTemplateAttributeResponse

type UpdateHealthCheckTemplateAttributeResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateHealthCheckTemplateAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateHealthCheckTemplateAttributeResponse) GoString

func (*UpdateHealthCheckTemplateAttributeResponse) SetHeaders

func (*UpdateHealthCheckTemplateAttributeResponse) SetStatusCode

func (UpdateHealthCheckTemplateAttributeResponse) String

type UpdateHealthCheckTemplateAttributeResponseBody

type UpdateHealthCheckTemplateAttributeResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateHealthCheckTemplateAttributeResponseBody) GoString

func (*UpdateHealthCheckTemplateAttributeResponseBody) SetRequestId

func (UpdateHealthCheckTemplateAttributeResponseBody) String

type UpdateListenerAttributeRequest

type UpdateListenerAttributeRequest struct {
	// The certificate authority (CA) certificates.
	CaCertificates []*UpdateListenerAttributeRequestCaCertificates `json:"CaCertificates,omitempty" xml:"CaCertificates,omitempty" type:"Repeated"`
	// Specifies whether to enable mutual authentication. Valid values:
	//
	// *   **true**
	// *   **false**
	CaEnabled *bool `json:"CaEnabled,omitempty" xml:"CaEnabled,omitempty"`
	// The certificates.
	Certificates []*UpdateListenerAttributeRequestCertificates `json:"Certificates,omitempty" xml:"Certificates,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The default actions in the forwarding rules.
	DefaultActions []*UpdateListenerAttributeRequestDefaultActions `json:"DefaultActions,omitempty" xml:"DefaultActions,omitempty" type:"Repeated"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// Specifies whether to enable GZIP compression for specific types of files. Valid values:
	//
	// *   **true**
	// *   **false**
	GzipEnabled *bool `json:"GzipEnabled,omitempty" xml:"GzipEnabled,omitempty"`
	// Specifies whether to enable HTTP/2. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTPS listener.
	Http2Enabled *bool `json:"Http2Enabled,omitempty" xml:"Http2Enabled,omitempty"`
	// The timeout period of an idle connection. Unit: seconds. Valid values: **1 to 60**.
	//
	// If no request is received within the specified timeout period, ALB closes the current connection. When another request is received, ALB establishes a new connection.
	IdleTimeout *int32 `json:"IdleTimeout,omitempty" xml:"IdleTimeout,omitempty"`
	// The name of the listener.
	//
	// The name must be 2 to 256 characters in length, and can contain letters, digits, and the following special characters: , . ; / @ \_ -.
	ListenerDescription *string `json:"ListenerDescription,omitempty" xml:"ListenerDescription,omitempty"`
	// The ID of the Application Load Balancer (ALB) listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The configuration information when the listener is associated with a QUIC listener.
	QuicConfig *UpdateListenerAttributeRequestQuicConfig `json:"QuicConfig,omitempty" xml:"QuicConfig,omitempty" type:"Struct"`
	// The timeout period of a request. Unit: seconds. Valid values: **1 to 180**.
	//
	// If no response is received from the backend server within the specified timeout period, ALB returns an `HTTP 504` error code to the client.
	RequestTimeout *int32 `json:"RequestTimeout,omitempty" xml:"RequestTimeout,omitempty"`
	// The security policy ID. System security policies and custom security policies are supported.
	//
	// > This parameter is available only when you create an HTTPS listener.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The configuration of the XForwardFor headers.
	XForwardedForConfig *UpdateListenerAttributeRequestXForwardedForConfig `json:"XForwardedForConfig,omitempty" xml:"XForwardedForConfig,omitempty" type:"Struct"`
}

func (UpdateListenerAttributeRequest) GoString

func (*UpdateListenerAttributeRequest) SetCaEnabled

func (*UpdateListenerAttributeRequest) SetClientToken

func (*UpdateListenerAttributeRequest) SetDryRun

func (*UpdateListenerAttributeRequest) SetGzipEnabled

func (*UpdateListenerAttributeRequest) SetHttp2Enabled

func (*UpdateListenerAttributeRequest) SetIdleTimeout

func (*UpdateListenerAttributeRequest) SetListenerDescription

func (*UpdateListenerAttributeRequest) SetListenerId

func (*UpdateListenerAttributeRequest) SetRequestTimeout

func (*UpdateListenerAttributeRequest) SetSecurityPolicyId

func (UpdateListenerAttributeRequest) String

type UpdateListenerAttributeRequestCaCertificates

type UpdateListenerAttributeRequestCaCertificates struct {
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
}

func (UpdateListenerAttributeRequestCaCertificates) GoString

func (*UpdateListenerAttributeRequestCaCertificates) SetCertificateId added in v2.1.2

func (UpdateListenerAttributeRequestCaCertificates) String

type UpdateListenerAttributeRequestCertificates

type UpdateListenerAttributeRequestCertificates struct {
	// The certificate ID. Only server certificates are supported. You can specify up to 20 certificate IDs.
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
}

func (UpdateListenerAttributeRequestCertificates) GoString

func (*UpdateListenerAttributeRequestCertificates) SetCertificateId

func (UpdateListenerAttributeRequestCertificates) String

type UpdateListenerAttributeRequestDefaultActions

type UpdateListenerAttributeRequestDefaultActions struct {
	// The configuration of the action. This parameter is required and takes effect when the **Type** parameter is set to **FowardGroup**. You can specify configurations for up to 20 forwarding actions.
	ForwardGroupConfig *UpdateListenerAttributeRequestDefaultActionsForwardGroupConfig `json:"ForwardGroupConfig,omitempty" xml:"ForwardGroupConfig,omitempty" type:"Struct"`
	// The type of the action. You can specify only one action type.
	//
	// Set the value to **ForwardGroup** to forward requests to multiple vServer groups.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (UpdateListenerAttributeRequestDefaultActions) GoString

func (*UpdateListenerAttributeRequestDefaultActions) SetType

func (UpdateListenerAttributeRequestDefaultActions) String

type UpdateListenerAttributeRequestDefaultActionsForwardGroupConfig

type UpdateListenerAttributeRequestDefaultActionsForwardGroupConfig struct {
	// The server groups to which requests are forwarded.
	ServerGroupTuples []*UpdateListenerAttributeRequestDefaultActionsForwardGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (UpdateListenerAttributeRequestDefaultActionsForwardGroupConfig) GoString

func (UpdateListenerAttributeRequestDefaultActionsForwardGroupConfig) String

type UpdateListenerAttributeRequestDefaultActionsForwardGroupConfigServerGroupTuples

type UpdateListenerAttributeRequestDefaultActionsForwardGroupConfigServerGroupTuples struct {
	// The server group to which requests are forwarded.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (UpdateListenerAttributeRequestDefaultActionsForwardGroupConfigServerGroupTuples) GoString

func (*UpdateListenerAttributeRequestDefaultActionsForwardGroupConfigServerGroupTuples) SetServerGroupId

func (UpdateListenerAttributeRequestDefaultActionsForwardGroupConfigServerGroupTuples) String

type UpdateListenerAttributeRequestQuicConfig

type UpdateListenerAttributeRequestQuicConfig struct {
	// The QUIC listener ID. This parameter is required if **QuicUpgradeEnabled** is set to **true**. Only HTTPS listeners support this parameter.
	//
	// > You must add the HTTPS listener and the QUIC listener to the same ALB instance. In addition, make sure that the QUIC listener has never been associated with another listener.
	QuicListenerId *string `json:"QuicListenerId,omitempty" xml:"QuicListenerId,omitempty"`
	// Specifies whether to enable QUIC upgrade. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > Only HTTPS listeners support this parameter.
	QuicUpgradeEnabled *bool `json:"QuicUpgradeEnabled,omitempty" xml:"QuicUpgradeEnabled,omitempty"`
}

func (UpdateListenerAttributeRequestQuicConfig) GoString

func (*UpdateListenerAttributeRequestQuicConfig) SetQuicListenerId

func (*UpdateListenerAttributeRequestQuicConfig) SetQuicUpgradeEnabled

func (UpdateListenerAttributeRequestQuicConfig) String

type UpdateListenerAttributeRequestXForwardedForConfig

type UpdateListenerAttributeRequestXForwardedForConfig struct {
	// The name of the custom header. This parameter takes effect only when the **XForwardedForClientCertClientVerifyEnabled** parameter is set to **true**.
	//
	// The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (\_), and digits.
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertClientVerifyAlias *string `json:"XForwardedForClientCertClientVerifyAlias,omitempty" xml:"XForwardedForClientCertClientVerifyAlias,omitempty"`
	// Specifies whether to use the `X-Forwarded-Clientcert-clientverify` header to retrieve the verification result of the client certificate. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertClientVerifyEnabled *bool `json:"XForwardedForClientCertClientVerifyEnabled,omitempty" xml:"XForwardedForClientCertClientVerifyEnabled,omitempty"`
	// The name of the custom header. This parameter takes effect only when the **XForwardedForClientCertFingerprintEnabled** parameter is set to **true**.
	//
	// The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (\_), and digits.
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertFingerprintAlias *string `json:"XForwardedForClientCertFingerprintAlias,omitempty" xml:"XForwardedForClientCertFingerprintAlias,omitempty"`
	// Indicates whether the `X-Forwarded-Clientcert-fingerprint` header is used to retrieve the fingerprint of the client certificate. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertFingerprintEnabled *bool `json:"XForwardedForClientCertFingerprintEnabled,omitempty" xml:"XForwardedForClientCertFingerprintEnabled,omitempty"`
	// The name of the custom header. This parameter takes effect only when **XForwardedForClientCertIssuerDNEnabled** is set to **true**.
	//
	// The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (\_), and digits.
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertIssuerDNAlias *string `json:"XForwardedForClientCertIssuerDNAlias,omitempty" xml:"XForwardedForClientCertIssuerDNAlias,omitempty"`
	// Indicates whether the `X-Forwarded-Clientcert-issuerdn` header is used to retrieve information about the authority that issues the client certificate. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertIssuerDNEnabled *bool `json:"XForwardedForClientCertIssuerDNEnabled,omitempty" xml:"XForwardedForClientCertIssuerDNEnabled,omitempty"`
	// The name of the custom header. This parameter takes effect only when **XForwardedForClientCertSubjectDNEnabled** is set to **true**.
	//
	// The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (\_), and digits.
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertSubjectDNAlias *string `json:"XForwardedForClientCertSubjectDNAlias,omitempty" xml:"XForwardedForClientCertSubjectDNAlias,omitempty"`
	// Indicates whether the `X-Forwarded-Clientcert-subjectdn` header is used to retrieve information about the owner of the client certificate. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTPS listener.
	XForwardedForClientCertSubjectDNEnabled *bool `json:"XForwardedForClientCertSubjectDNEnabled,omitempty" xml:"XForwardedForClientCertSubjectDNEnabled,omitempty"`
	// Specifies whether to use the `X-Forwarded-Client-Ip` header to retrieve the source IP addresses. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > HTTP, HTTPS, and QUIC listeners support this parameter. By default, the feature that corresponds to this parameter is unavailable. If you want to use this feature, contact your account manager.
	XForwardedForClientSourceIpsEnabled *bool `json:"XForwardedForClientSourceIpsEnabled,omitempty" xml:"XForwardedForClientSourceIpsEnabled,omitempty"`
	// The trusted proxy IP address.
	//
	// ALB traverses `X-Forwarded-For` backward and selects the first IP address that is not in the trusted IP address list as the real IP address of the client. The IP address is used in source IP address throttling.
	XForwardedForClientSourceIpsTrusted *string `json:"XForwardedForClientSourceIpsTrusted,omitempty" xml:"XForwardedForClientSourceIpsTrusted,omitempty"`
	// Indicates whether the `X-Forwarded-Client-Port` header is used to retrieve the client port. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTP or HTTPS listener.
	XForwardedForClientSrcPortEnabled *bool `json:"XForwardedForClientSrcPortEnabled,omitempty" xml:"XForwardedForClientSrcPortEnabled,omitempty"`
	// Indicates whether the `X-Forwarded-For` header is used to retrieve the client IP address. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is available only when you create an HTTP or HTTPS listener.
	XForwardedForEnabled *bool `json:"XForwardedForEnabled,omitempty" xml:"XForwardedForEnabled,omitempty"`
	// Specifies whether to use the `X-Forwarded-Proto` header to retrieve the listener protocol of the ALB instance. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > HTTP, HTTPS, and QUIC listeners support this parameter.
	XForwardedForProtoEnabled *bool `json:"XForwardedForProtoEnabled,omitempty" xml:"XForwardedForProtoEnabled,omitempty"`
	// Specifies whether to use the `SLB-ID` header to retrieve the ID of the ALB instance. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > HTTP, HTTPS, and QUIC listeners support this parameter.
	XForwardedForSLBIdEnabled *bool `json:"XForwardedForSLBIdEnabled,omitempty" xml:"XForwardedForSLBIdEnabled,omitempty"`
	// Specifies whether to use the `X-Forwarded-Port` header to retrieve the listening port. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > HTTP, HTTPS, and QUIC listeners support this parameter.
	XForwardedForSLBPortEnabled *bool `json:"XForwardedForSLBPortEnabled,omitempty" xml:"XForwardedForSLBPortEnabled,omitempty"`
}

func (UpdateListenerAttributeRequestXForwardedForConfig) GoString

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForClientCertClientVerifyAlias

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForClientCertClientVerifyEnabled

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForClientCertFingerprintAlias

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForClientCertFingerprintEnabled

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForClientCertIssuerDNAlias

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForClientCertIssuerDNEnabled

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForClientCertSubjectDNAlias

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForClientCertSubjectDNEnabled

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForClientSourceIpsEnabled

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForClientSourceIpsTrusted

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForClientSrcPortEnabled

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForEnabled

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForProtoEnabled

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForSLBIdEnabled

func (*UpdateListenerAttributeRequestXForwardedForConfig) SetXForwardedForSLBPortEnabled

func (UpdateListenerAttributeRequestXForwardedForConfig) String

type UpdateListenerAttributeResponse

type UpdateListenerAttributeResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateListenerAttributeResponse) GoString

func (*UpdateListenerAttributeResponse) SetHeaders

func (*UpdateListenerAttributeResponse) SetStatusCode

func (UpdateListenerAttributeResponse) String

type UpdateListenerAttributeResponseBody

type UpdateListenerAttributeResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateListenerAttributeResponseBody) GoString

func (*UpdateListenerAttributeResponseBody) SetJobId

func (*UpdateListenerAttributeResponseBody) SetRequestId

func (UpdateListenerAttributeResponseBody) String

type UpdateListenerLogConfigRequest

type UpdateListenerLogConfigRequest struct {
	// Specifies whether to record custom headers in the access log. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	//
	// > You can set this parameter to **true** only if the access log feature is enabled by specifying **AccessLogEnabled**.
	AccessLogRecordCustomizedHeadersEnabled *bool `json:"AccessLogRecordCustomizedHeadersEnabled,omitempty" xml:"AccessLogRecordCustomizedHeadersEnabled,omitempty"`
	// The configuration information about the Xtrace feature.
	AccessLogTracingConfig *UpdateListenerLogConfigRequestAccessLogTracingConfig `json:"AccessLogTracingConfig,omitempty" xml:"AccessLogTracingConfig,omitempty" type:"Struct"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**: (default): performs a dry run and performs the actual request. If the request passes the dry run, a **2xx HTTP** status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the Application Load Balancer (ALB) listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
}

func (UpdateListenerLogConfigRequest) GoString

func (*UpdateListenerLogConfigRequest) SetAccessLogRecordCustomizedHeadersEnabled

func (s *UpdateListenerLogConfigRequest) SetAccessLogRecordCustomizedHeadersEnabled(v bool) *UpdateListenerLogConfigRequest

func (*UpdateListenerLogConfigRequest) SetClientToken

func (*UpdateListenerLogConfigRequest) SetDryRun

func (*UpdateListenerLogConfigRequest) SetListenerId

func (UpdateListenerLogConfigRequest) String

type UpdateListenerLogConfigRequestAccessLogTracingConfig

type UpdateListenerLogConfigRequestAccessLogTracingConfig struct {
	// Specifies whether to enable the Xtrace feature. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	//
	// > You can set this parameter to **true** only if the access log feature is enabled by specifying **AccessLogEnabled**.
	TracingEnabled *bool `json:"TracingEnabled,omitempty" xml:"TracingEnabled,omitempty"`
	// The sampling rate of the Xtrace feature.
	//
	// Valid values: **1 to 10000**.
	//
	// > This parameter takes effect only if you set **TracingEnabled** to **true**.
	TracingSample *int32 `json:"TracingSample,omitempty" xml:"TracingSample,omitempty"`
	// The type of Xtrace. Set the value to **Zipkin**.
	//
	// > This parameter takes effect only if you set **TracingEnabled** to **true**.
	TracingType *string `json:"TracingType,omitempty" xml:"TracingType,omitempty"`
}

func (UpdateListenerLogConfigRequestAccessLogTracingConfig) GoString

func (*UpdateListenerLogConfigRequestAccessLogTracingConfig) SetTracingEnabled

func (*UpdateListenerLogConfigRequestAccessLogTracingConfig) SetTracingSample

func (*UpdateListenerLogConfigRequestAccessLogTracingConfig) SetTracingType

func (UpdateListenerLogConfigRequestAccessLogTracingConfig) String

type UpdateListenerLogConfigResponse

type UpdateListenerLogConfigResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateListenerLogConfigResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateListenerLogConfigResponse) GoString

func (*UpdateListenerLogConfigResponse) SetHeaders

func (*UpdateListenerLogConfigResponse) SetStatusCode

func (UpdateListenerLogConfigResponse) String

type UpdateListenerLogConfigResponseBody

type UpdateListenerLogConfigResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateListenerLogConfigResponseBody) GoString

func (*UpdateListenerLogConfigResponseBody) SetJobId

func (*UpdateListenerLogConfigResponseBody) SetRequestId

func (UpdateListenerLogConfigResponseBody) String

type UpdateLoadBalancerAddressTypeConfigRequest

type UpdateLoadBalancerAddressTypeConfigRequest struct {
	// The new network type. Valid values:
	//
	// *   **Internet**: The ALB instance uses a public IP address. The domain name of the ALB instance is resolved to the public IP address. Therefore, the ALB instance can be accessed over the Internet.
	// *   **Intranet**: The ALB instance uses a private IP address. The domain name of the ALB instance is resolved to the private IP address. In this case, the ALB instance can be accessed over the virtual private cloud (VPC) where the ALB instance is deployed.
	AddressType *string `json:"AddressType,omitempty" xml:"AddressType,omitempty"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *string `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ALB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The zones and the vSwitches. You must specify at least two zones.
	ZoneMappings []*UpdateLoadBalancerAddressTypeConfigRequestZoneMappings `json:"ZoneMappings,omitempty" xml:"ZoneMappings,omitempty" type:"Repeated"`
}

func (UpdateLoadBalancerAddressTypeConfigRequest) GoString

func (*UpdateLoadBalancerAddressTypeConfigRequest) SetAddressType

func (*UpdateLoadBalancerAddressTypeConfigRequest) SetClientToken

func (*UpdateLoadBalancerAddressTypeConfigRequest) SetDryRun

func (*UpdateLoadBalancerAddressTypeConfigRequest) SetLoadBalancerId

func (UpdateLoadBalancerAddressTypeConfigRequest) String

type UpdateLoadBalancerAddressTypeConfigRequestZoneMappings

type UpdateLoadBalancerAddressTypeConfigRequestZoneMappings struct {
	// The ID of an EIP instance. You can specify up to 10 zone IDs.
	//
	// > This parameter is required if you want to change the network type from internal-facing to Internet-facing.
	AllocationId *string `json:"AllocationId,omitempty" xml:"AllocationId,omitempty"`
	// The ID of the vSwitch in the zone. You can specify only one vSwitch (subnet) in each zone of an ALB instance. You can specify up to 10 vSwitch IDs.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the zone where the ALB instance is deployed. You can specify up to 10 zone IDs.
	//
	// You can call the [DescribeZones](~~189196~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (UpdateLoadBalancerAddressTypeConfigRequestZoneMappings) GoString

func (*UpdateLoadBalancerAddressTypeConfigRequestZoneMappings) SetAllocationId

func (*UpdateLoadBalancerAddressTypeConfigRequestZoneMappings) SetVSwitchId

func (*UpdateLoadBalancerAddressTypeConfigRequestZoneMappings) SetZoneId

func (UpdateLoadBalancerAddressTypeConfigRequestZoneMappings) String

type UpdateLoadBalancerAddressTypeConfigResponse

type UpdateLoadBalancerAddressTypeConfigResponse struct {
	Headers    map[string]*string                               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateLoadBalancerAddressTypeConfigResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateLoadBalancerAddressTypeConfigResponse) GoString

func (*UpdateLoadBalancerAddressTypeConfigResponse) SetHeaders

func (*UpdateLoadBalancerAddressTypeConfigResponse) SetStatusCode

func (UpdateLoadBalancerAddressTypeConfigResponse) String

type UpdateLoadBalancerAddressTypeConfigResponseBody

type UpdateLoadBalancerAddressTypeConfigResponseBody struct {
	// The ID of the asynchronous job.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateLoadBalancerAddressTypeConfigResponseBody) GoString

func (*UpdateLoadBalancerAddressTypeConfigResponseBody) SetJobId

func (*UpdateLoadBalancerAddressTypeConfigResponseBody) SetRequestId

func (UpdateLoadBalancerAddressTypeConfigResponseBody) String

type UpdateLoadBalancerAttributeRequest

type UpdateLoadBalancerAttributeRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**: performs a dry run and sends the request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed. This is the default value.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the ALB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The name of the ALB instance. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	LoadBalancerName *string `json:"LoadBalancerName,omitempty" xml:"LoadBalancerName,omitempty"`
	// The configuration read-only mode.
	ModificationProtectionConfig *UpdateLoadBalancerAttributeRequestModificationProtectionConfig `json:"ModificationProtectionConfig,omitempty" xml:"ModificationProtectionConfig,omitempty" type:"Struct"`
}

func (UpdateLoadBalancerAttributeRequest) GoString

func (*UpdateLoadBalancerAttributeRequest) SetClientToken

func (*UpdateLoadBalancerAttributeRequest) SetDryRun

func (*UpdateLoadBalancerAttributeRequest) SetLoadBalancerId

func (*UpdateLoadBalancerAttributeRequest) SetLoadBalancerName

func (UpdateLoadBalancerAttributeRequest) String

type UpdateLoadBalancerAttributeRequestModificationProtectionConfig

type UpdateLoadBalancerAttributeRequestModificationProtectionConfig struct {
	// It must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). It must start with a letter.
	//
	// This parameter takes effect only when **ModificationProtectionStatus** is set to **ConsoleProtection**.
	Reason *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
	// The status of the configuration read-only mode. Valid values:
	//
	// *   **NonProtection**: disables the configuration read-only mode. In this case, you cannot specify **ModificationProtectionReason**. If you specify **ModificationProtectionReason**, the value of the parameter is cleared.
	// *   **ConsoleProtection**: enables the configuration read-only mode. In this case, you can specify **ModificationProtectionReason**.
	//
	// > If you set this parameter to **ConsoleProtection**, you cannot use the ALB console to modify instance configurations. However, you can call API operations to modify instance configurations.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (UpdateLoadBalancerAttributeRequestModificationProtectionConfig) GoString

func (*UpdateLoadBalancerAttributeRequestModificationProtectionConfig) SetReason

func (*UpdateLoadBalancerAttributeRequestModificationProtectionConfig) SetStatus

func (UpdateLoadBalancerAttributeRequestModificationProtectionConfig) String

type UpdateLoadBalancerAttributeResponse

type UpdateLoadBalancerAttributeResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateLoadBalancerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateLoadBalancerAttributeResponse) GoString

func (*UpdateLoadBalancerAttributeResponse) SetHeaders

func (*UpdateLoadBalancerAttributeResponse) SetStatusCode

func (UpdateLoadBalancerAttributeResponse) String

type UpdateLoadBalancerAttributeResponseBody

type UpdateLoadBalancerAttributeResponseBody struct {
	// The ID of the synchronous task.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateLoadBalancerAttributeResponseBody) GoString

func (*UpdateLoadBalancerAttributeResponseBody) SetJobId

func (*UpdateLoadBalancerAttributeResponseBody) SetRequestId

func (UpdateLoadBalancerAttributeResponseBody) String

type UpdateLoadBalancerEditionRequest

type UpdateLoadBalancerEditionRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The edition of the ALB instance. Different editions have different limits and support different billing methods.
	//
	// *   **Basic**: basic
	// *   **Standard**: standard
	// *   **StandardWithWaf**: WAF-enabled
	LoadBalancerEdition *string `json:"LoadBalancerEdition,omitempty" xml:"LoadBalancerEdition,omitempty"`
	// The ID of the ALB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
}

func (UpdateLoadBalancerEditionRequest) GoString

func (*UpdateLoadBalancerEditionRequest) SetClientToken

func (*UpdateLoadBalancerEditionRequest) SetDryRun

func (*UpdateLoadBalancerEditionRequest) SetLoadBalancerEdition

func (*UpdateLoadBalancerEditionRequest) SetLoadBalancerId

func (UpdateLoadBalancerEditionRequest) String

type UpdateLoadBalancerEditionResponse

type UpdateLoadBalancerEditionResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateLoadBalancerEditionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateLoadBalancerEditionResponse) GoString

func (*UpdateLoadBalancerEditionResponse) SetHeaders

func (*UpdateLoadBalancerEditionResponse) SetStatusCode

func (UpdateLoadBalancerEditionResponse) String

type UpdateLoadBalancerEditionResponseBody

type UpdateLoadBalancerEditionResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateLoadBalancerEditionResponseBody) GoString

func (*UpdateLoadBalancerEditionResponseBody) SetRequestId

func (UpdateLoadBalancerEditionResponseBody) String

type UpdateLoadBalancerZonesRequest

type UpdateLoadBalancerZonesRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and sends the request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the ALB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The zones and the vSwitches. You must specify at least two zones. The specified zones overwrite the existing configurations.
	ZoneMappings []*UpdateLoadBalancerZonesRequestZoneMappings `json:"ZoneMappings,omitempty" xml:"ZoneMappings,omitempty" type:"Repeated"`
}

func (UpdateLoadBalancerZonesRequest) GoString

func (*UpdateLoadBalancerZonesRequest) SetClientToken

func (*UpdateLoadBalancerZonesRequest) SetDryRun

func (*UpdateLoadBalancerZonesRequest) SetLoadBalancerId

func (UpdateLoadBalancerZonesRequest) String

type UpdateLoadBalancerZonesRequestZoneMappings

type UpdateLoadBalancerZonesRequestZoneMappings struct {
	IntranetAddress *string `json:"IntranetAddress,omitempty" xml:"IntranetAddress,omitempty"`
	// The ID of the vSwitch in the zone. By default, you can specify only one vSwitch (subnet) for each zone of an ALB instance. You can specify up to 10 zone IDs.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The name of the zone. You can call the [DescribeZones](~~189196~~) operation to query the zones. You can specify up to 10 zone IDs.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (UpdateLoadBalancerZonesRequestZoneMappings) GoString

func (*UpdateLoadBalancerZonesRequestZoneMappings) SetIntranetAddress added in v2.1.0

func (*UpdateLoadBalancerZonesRequestZoneMappings) SetVSwitchId

func (*UpdateLoadBalancerZonesRequestZoneMappings) SetZoneId

func (UpdateLoadBalancerZonesRequestZoneMappings) String

type UpdateLoadBalancerZonesResponse

type UpdateLoadBalancerZonesResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateLoadBalancerZonesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateLoadBalancerZonesResponse) GoString

func (*UpdateLoadBalancerZonesResponse) SetHeaders

func (*UpdateLoadBalancerZonesResponse) SetStatusCode

func (UpdateLoadBalancerZonesResponse) String

type UpdateLoadBalancerZonesResponseBody

type UpdateLoadBalancerZonesResponseBody struct {
	// The ID of the asynchronous task.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateLoadBalancerZonesResponseBody) GoString

func (*UpdateLoadBalancerZonesResponseBody) SetJobId

func (*UpdateLoadBalancerZonesResponseBody) SetRequestId

func (UpdateLoadBalancerZonesResponseBody) String

type UpdateRuleAttributeRequest

type UpdateRuleAttributeRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The priority of the forwarding rule. Valid values: **1 to 10000**. A lower value specifies a higher priority.
	//
	// > The priorities of the forwarding rules created for the same listener must be unique.
	Priority *int32 `json:"Priority,omitempty" xml:"Priority,omitempty"`
	// The actions of the forwarding rule.
	RuleActions []*UpdateRuleAttributeRequestRuleActions `json:"RuleActions,omitempty" xml:"RuleActions,omitempty" type:"Repeated"`
	// The match condition of the forwarding rule.
	RuleConditions []*UpdateRuleAttributeRequestRuleConditions `json:"RuleConditions,omitempty" xml:"RuleConditions,omitempty" type:"Repeated"`
	// The ID of the forwarding rule.
	RuleId *string `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	RuleName *string `json:"RuleName,omitempty" xml:"RuleName,omitempty"`
}

func (UpdateRuleAttributeRequest) GoString

func (s UpdateRuleAttributeRequest) GoString() string

func (*UpdateRuleAttributeRequest) SetClientToken

func (*UpdateRuleAttributeRequest) SetDryRun

func (*UpdateRuleAttributeRequest) SetPriority

func (*UpdateRuleAttributeRequest) SetRuleActions

func (*UpdateRuleAttributeRequest) SetRuleConditions

func (*UpdateRuleAttributeRequest) SetRuleId

func (*UpdateRuleAttributeRequest) SetRuleName

func (UpdateRuleAttributeRequest) String

type UpdateRuleAttributeRequestRuleActions

type UpdateRuleAttributeRequestRuleActions struct {
	// The origins allowed.
	CorsConfig *UpdateRuleAttributeRequestRuleActionsCorsConfig `json:"CorsConfig,omitempty" xml:"CorsConfig,omitempty" type:"Struct"`
	// The configuration of the custom response.
	FixedResponseConfig *UpdateRuleAttributeRequestRuleActionsFixedResponseConfig `json:"FixedResponseConfig,omitempty" xml:"FixedResponseConfig,omitempty" type:"Struct"`
	// The configurations of the server groups.
	ForwardGroupConfig *UpdateRuleAttributeRequestRuleActionsForwardGroupConfig `json:"ForwardGroupConfig,omitempty" xml:"ForwardGroupConfig,omitempty" type:"Struct"`
	// The configuration of the header to be inserted.
	InsertHeaderConfig *UpdateRuleAttributeRequestRuleActionsInsertHeaderConfig `json:"InsertHeaderConfig,omitempty" xml:"InsertHeaderConfig,omitempty" type:"Struct"`
	// The priority of the action. Valid values: **1 to 50000**. A lower value indicates a higher priority. The actions of a forwarding rule are applied in descending order of priority. This parameter is required. The priority of each action within a forwarding rule must be unique. You can specify priorities for at most 20 actions.
	Order *int32 `json:"Order,omitempty" xml:"Order,omitempty"`
	// The configuration of the redirection. You can specify at most 20 rewrites.
	RedirectConfig     *UpdateRuleAttributeRequestRuleActionsRedirectConfig     `json:"RedirectConfig,omitempty" xml:"RedirectConfig,omitempty" type:"Struct"`
	RemoveHeaderConfig *UpdateRuleAttributeRequestRuleActionsRemoveHeaderConfig `json:"RemoveHeaderConfig,omitempty" xml:"RemoveHeaderConfig,omitempty" type:"Struct"`
	// The configuration of the rewrite action.
	RewriteConfig *UpdateRuleAttributeRequestRuleActionsRewriteConfig `json:"RewriteConfig,omitempty" xml:"RewriteConfig,omitempty" type:"Struct"`
	// The action to throttle traffic.
	TrafficLimitConfig *UpdateRuleAttributeRequestRuleActionsTrafficLimitConfig `json:"TrafficLimitConfig,omitempty" xml:"TrafficLimitConfig,omitempty" type:"Struct"`
	// The action to mirror traffic.
	TrafficMirrorConfig *UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfig `json:"TrafficMirrorConfig,omitempty" xml:"TrafficMirrorConfig,omitempty" type:"Struct"`
	// The action type. You can specify at most 11 types of actions. Valid values:
	//
	// *   **ForwardGroup**: forwards a request to multiple vServer groups.
	// *   **Redirect**: redirects a request.
	// *   **FixedResponse**: returns a custom response.
	// *   **Rewrite**: rewrites a request.
	// *   **InsertHeader**: inserts a header.
	// *   **RemoveHeaderConfig**: deletes a header.
	// *   **TrafficLimitConfig**: throttles network traffic.
	// *   **TrafficMirrorConfig**: mirrors traffic.
	// *   **CorsConfig**: forwards requests based on CORS.
	//
	// The following action types are supported:
	//
	// *   **FinalType**: the last action to be performed in a forwarding rule. Each forwarding rule can contain only one FinalType action. You can specify a **ForwardGroup**, **Redirect**, or **FixedResponse** action as the FinalType action.
	// *   **ExtType**: the action or the actions to be performed before the **FinalType** action. A forwarding rule can contain one or more **ExtType** actions. To specify this parameter, you must also specify **FinalType**. You can specify multiple **InsertHeader** actions or one **Rewrite** action.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (UpdateRuleAttributeRequestRuleActions) GoString

func (*UpdateRuleAttributeRequestRuleActions) SetCorsConfig added in v2.0.1

func (*UpdateRuleAttributeRequestRuleActions) SetOrder

func (*UpdateRuleAttributeRequestRuleActions) SetRemoveHeaderConfig added in v2.1.3

func (*UpdateRuleAttributeRequestRuleActions) SetType

func (UpdateRuleAttributeRequestRuleActions) String

type UpdateRuleAttributeRequestRuleActionsCorsConfig added in v2.0.1

type UpdateRuleAttributeRequestRuleActionsCorsConfig struct {
	// Specifies whether credentials can be carried in CORS requests. Valid values:
	//
	// *   **on**: yes
	// *   **off**: no
	AllowCredentials *string `json:"AllowCredentials,omitempty" xml:"AllowCredentials,omitempty"`
	// The allowed headers for CORS requests.
	AllowHeaders []*string `json:"AllowHeaders,omitempty" xml:"AllowHeaders,omitempty" type:"Repeated"`
	// The allowed HTTP methods for CORS requests.
	AllowMethods []*string `json:"AllowMethods,omitempty" xml:"AllowMethods,omitempty" type:"Repeated"`
	// The allowed origins of CORS requests.
	AllowOrigin []*string `json:"AllowOrigin,omitempty" xml:"AllowOrigin,omitempty" type:"Repeated"`
	// The headers that can be exposed.
	ExposeHeaders []*string `json:"ExposeHeaders,omitempty" xml:"ExposeHeaders,omitempty" type:"Repeated"`
	// The maximum cache time of preflight requests in the browser. Unit: seconds.
	//
	// Valid values: **-1** to **172800**.
	MaxAge *int64 `json:"MaxAge,omitempty" xml:"MaxAge,omitempty"`
}

func (UpdateRuleAttributeRequestRuleActionsCorsConfig) GoString added in v2.0.1

func (*UpdateRuleAttributeRequestRuleActionsCorsConfig) SetAllowCredentials added in v2.0.1

func (*UpdateRuleAttributeRequestRuleActionsCorsConfig) SetAllowHeaders added in v2.0.1

func (*UpdateRuleAttributeRequestRuleActionsCorsConfig) SetAllowMethods added in v2.0.1

func (*UpdateRuleAttributeRequestRuleActionsCorsConfig) SetAllowOrigin added in v2.0.1

func (*UpdateRuleAttributeRequestRuleActionsCorsConfig) SetExposeHeaders added in v2.0.1

func (*UpdateRuleAttributeRequestRuleActionsCorsConfig) SetMaxAge added in v2.0.1

func (UpdateRuleAttributeRequestRuleActionsCorsConfig) String added in v2.0.1

type UpdateRuleAttributeRequestRuleActionsFixedResponseConfig

type UpdateRuleAttributeRequestRuleActionsFixedResponseConfig struct {
	// The content of the custom response. The content can be up to 1 KB in size, and can contain only ASCII characters.
	Content *string `json:"Content,omitempty" xml:"Content,omitempty"`
	// The format of the response.
	//
	// Valid values: **text/plain**, **text/css**, **text/html**, **application/javascript**, and **application/json**.
	ContentType *string `json:"ContentType,omitempty" xml:"ContentType,omitempty"`
	// The HTTP status code in the response. Valid values: **HTTP\_2xx**, **HTTP\_4xx**, and **HTTP\_5xx**. **x** must be a digit.
	HttpCode *string `json:"HttpCode,omitempty" xml:"HttpCode,omitempty"`
}

func (UpdateRuleAttributeRequestRuleActionsFixedResponseConfig) GoString

func (*UpdateRuleAttributeRequestRuleActionsFixedResponseConfig) SetContent

func (*UpdateRuleAttributeRequestRuleActionsFixedResponseConfig) SetContentType

func (*UpdateRuleAttributeRequestRuleActionsFixedResponseConfig) SetHttpCode

func (UpdateRuleAttributeRequestRuleActionsFixedResponseConfig) String

type UpdateRuleAttributeRequestRuleActionsForwardGroupConfig

type UpdateRuleAttributeRequestRuleActionsForwardGroupConfig struct {
	// The configuration of session persistence for server groups.
	ServerGroupStickySession *UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupStickySession `json:"ServerGroupStickySession,omitempty" xml:"ServerGroupStickySession,omitempty" type:"Struct"`
	// The server groups to which requests are forwarded.
	ServerGroupTuples []*UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (UpdateRuleAttributeRequestRuleActionsForwardGroupConfig) GoString

func (UpdateRuleAttributeRequestRuleActionsForwardGroupConfig) String

type UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupStickySession

type UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupStickySession struct {
	// Specifies whether to enable session persistence. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The timeout period of sessions. Unit: seconds. Valid values: 1 to 86400.
	Timeout *int32 `json:"Timeout,omitempty" xml:"Timeout,omitempty"`
}

func (UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupStickySession) GoString

func (*UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupStickySession) SetEnabled

func (*UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupStickySession) SetTimeout

func (UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupStickySession) String

type UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupTuples

type UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupTuples struct {
	// The ID of the server group to which the request is forwarded.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The weight of the server group. A larger value specifies a higher weight. A server group with a higher weight receives more requests. Valid values: **0** to **100**.
	//
	// *   If only one destination server group exists and you do not specify a weight, the default value **100** is used.
	// *   If more than one destination server group exists, you must specify weights.
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupTuples) GoString

func (*UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupTuples) SetServerGroupId

func (*UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupTuples) SetWeight

func (UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupTuples) String

type UpdateRuleAttributeRequestRuleActionsInsertHeaderConfig

type UpdateRuleAttributeRequestRuleActionsInsertHeaderConfig struct {
	CoverEnabled *bool `json:"CoverEnabled,omitempty" xml:"CoverEnabled,omitempty"`
	// The key of the header. The key must be 1 to 40 characters in length, and can contain letters, digits, underscores (\_), and hyphens (-). The header key specified by **InsertHeaderConfig** must be unique.
	//
	// > You cannot specify the following header keys (case-insensitive): `slb-id`, `slb-ip`, `x-forwarded-for`, `x-forwarded-proto`, `x-forwarded-eip`, `x-forwarded-port`, `x-forwarded-client-srcport`, `connection`, `upgrade`, `content-length`, `transfer-encoding`, `keep-alive`, `te`, `host`, `cookie`, `remoteip`, and `authority`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the header to be inserted.
	//
	// *   If **ValueType** is set to **SystemDefined**, you can specify one of the following header values:
	//
	//     *   **ClientSrcPort**: the client port.
	//     *   **ClientSrcIp**: the client IP address.
	//     *   **Protocol**: the request protocol (HTTP or HTTPS).
	//     *   **SLBId**: the ID of the ALB instance.
	//     *   **SLBPort**: the listening port.
	//
	// *   If **ValueType** is set to **UserDefined**, you can specify a custom header value. The header value must be 1 to 128 characters in length, and can contain printable characters whose ASCII values are `greater than or equal to 32 and lower than 127`. You can use asterisks (\*) and question marks (?) as wildcards. The value cannot start or end with a space character.
	//
	// *   If **ValueType** is set to **ReferenceHeader**, you can reference one of the request headers. The header value must be 1 to 128 characters in length, and can contain lowercase letters, digits, underscores (\_), and hyphens (-).
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
	// The type of header. Valid values:
	//
	// *   **UserDefined**: a custom header
	// *   **ReferenceHeader**: a header that references one of the request headers
	// *   **SystemDefined**: a header predefined by the system
	ValueType *string `json:"ValueType,omitempty" xml:"ValueType,omitempty"`
}

func (UpdateRuleAttributeRequestRuleActionsInsertHeaderConfig) GoString

func (*UpdateRuleAttributeRequestRuleActionsInsertHeaderConfig) SetCoverEnabled added in v2.1.3

func (*UpdateRuleAttributeRequestRuleActionsInsertHeaderConfig) SetKey

func (*UpdateRuleAttributeRequestRuleActionsInsertHeaderConfig) SetValue

func (*UpdateRuleAttributeRequestRuleActionsInsertHeaderConfig) SetValueType

func (UpdateRuleAttributeRequestRuleActionsInsertHeaderConfig) String

type UpdateRuleAttributeRequestRuleActionsRedirectConfig

type UpdateRuleAttributeRequestRuleActionsRedirectConfig struct {
	// The hostname to which requests are redirected. Valid values:
	//
	// *   **${host}** (default): If you set the value to ${host}, you cannot append other characters.
	//
	// *   Limits on the value:
	//
	//     *   The hostname must be 3 to 128 characters in length, and can contain lowercase letters, digits, hyphens (-), and periods (.). Asterisks (\*) and question marks (?) can be used as wildcards.
	//     *   The hostname must contain at least one period (.) but cannot start or end with a period (.).
	//     *   The rightmost domain label can contain only letters and wildcard characters. It does not contain digits or hyphens (-).
	//     *   The domain labels cannot start or end with a hyphen (-).
	//     *   You can use asterisks (\*) and question marks (?) anywhere in a domain label as wildcard characters.
	Host *string `json:"Host,omitempty" xml:"Host,omitempty"`
	// The redirect type. Valid values: **301**, **302**, **303**, **307**, and **308**.
	HttpCode *string `json:"HttpCode,omitempty" xml:"HttpCode,omitempty"`
	// The path to which requests are redirected. Valid values:
	//
	// *   Default value: **${path}**. \*\*${host}**, **${protocol}**, and **${port}\*\* are also supported. Each variable can be specified only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.
	//
	// *   A custom value. You must make sure that the custom value meets the following requirements:
	//
	//     *   The value is 1 to 128 characters in length.
	//     *   It must start with a forward slash (/) and can contain letters, digits, and the following special characters: `$ - _ .+ / & ~ @ :`. It cannot contain the following special characters: `" % # ; ! ( ) [ ] ^ , "`. You can use asterisks (\*) and question marks (?) as wildcards.
	Path *string `json:"Path,omitempty" xml:"Path,omitempty"`
	// The port to which requests are redirected. Valid values:
	//
	// *   **${port}** (default): If you set the value to ${port}, you cannot append other characters.
	// *   You can also enter a port number. Valid values: **1 to 63335**.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The redirect protocol. Valid values:
	//
	// *   **${protocol}** (default): If you set the value to ${protocol}, you cannot append other characters.
	// *   **HTTP** or **HTTPS**.
	//
	// > HTTPS listeners support only HTTPS to HTTPS redirects.
	Protocol *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
	// The query string of the URL to which requests are redirected. Valid values:
	//
	// *   Default value: **${query}**. \*\*${host}**, **${protocol}**, and **${port}\*\* are also supported. Each variable can be specified only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.
	//
	// *   A custom value. You must make sure that the custom value meets the following requirements:
	//
	//     *   The value must be 1 to 128 characters in length.
	//     *   It can contain printable characters, except space characters, the special characters `# [ ] { } \ | < > &`, and uppercase letters.
	Query *string `json:"Query,omitempty" xml:"Query,omitempty"`
}

func (UpdateRuleAttributeRequestRuleActionsRedirectConfig) GoString

func (*UpdateRuleAttributeRequestRuleActionsRedirectConfig) SetHost

func (*UpdateRuleAttributeRequestRuleActionsRedirectConfig) SetHttpCode

func (*UpdateRuleAttributeRequestRuleActionsRedirectConfig) SetPath

func (*UpdateRuleAttributeRequestRuleActionsRedirectConfig) SetPort

func (*UpdateRuleAttributeRequestRuleActionsRedirectConfig) SetProtocol

func (*UpdateRuleAttributeRequestRuleActionsRedirectConfig) SetQuery

func (UpdateRuleAttributeRequestRuleActionsRedirectConfig) String

type UpdateRuleAttributeRequestRuleActionsRemoveHeaderConfig added in v2.1.3

type UpdateRuleAttributeRequestRuleActionsRemoveHeaderConfig struct {
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
}

func (UpdateRuleAttributeRequestRuleActionsRemoveHeaderConfig) GoString added in v2.1.3

func (*UpdateRuleAttributeRequestRuleActionsRemoveHeaderConfig) SetKey added in v2.1.3

func (UpdateRuleAttributeRequestRuleActionsRemoveHeaderConfig) String added in v2.1.3

type UpdateRuleAttributeRequestRuleActionsRewriteConfig

type UpdateRuleAttributeRequestRuleActionsRewriteConfig struct {
	// The hostname to which requests are redirected. Valid values:
	//
	// *   **${host}** (default): If you set the value to ${host}, you cannot append other characters.
	//
	// *   If you want to specify a custom value, make sure that the following requirements are met:
	//
	//     *   The hostname must be 3 to 128 characters in length, and can contain lowercase letters, digits, hyphens (-), and periods (.). You can use asterisks (\*) and question marks (?) as wildcard characters.
	//     *   The hostname must contain at least one period (.) but cannot start or end with a period (.).
	//     *   The rightmost domain label can contain only letters and wildcard characters. It does not contain digits or hyphens (-).
	//     *   The domain labels cannot start or end with a hyphen (-). You can use asterisks (\*) and question marks (?) anywhere in a domain label as wildcard characters.
	Host *string `json:"Host,omitempty" xml:"Host,omitempty"`
	// The path to which requests are redirected. Valid values:
	//
	// *   Default value: **${path}**. \*\*${host}**, **${protocol}**, and **${port}\*\* are also supported. Each variable can be specified only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.
	//
	// *   A custom value. You must make sure that the custom value meets the following requirements:
	//
	//     *   The value is 1 to 128 characters in length.
	//     *   It must start with a forward slash (/) and can contain letters, digits, and the following special characters: `$ - _ .+ / & ~ @ :`. It cannot contain the following special characters: `" % # ; ! ( ) [ ] ^ , "`. You can use asterisks (\*) and question marks (?) as wildcards.
	Path *string `json:"Path,omitempty" xml:"Path,omitempty"`
	// The query string of the URL to which requests are distributed. Valid values:
	//
	// *   Default value: **${query}**. \*\*${host}**, **${protocol}**, and **${port}\*\* are also supported. Each variable can be specified only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.
	//
	// *   A custom value. You must make sure that the custom value meets the following requirements:
	//
	//     *   The value must be 1 to 128 characters in length.
	//     *   It can contain printable characters, except space characters, the special characters `# [ ] { } \ | < > &`, and uppercase letters.
	Query *string `json:"Query,omitempty" xml:"Query,omitempty"`
}

func (UpdateRuleAttributeRequestRuleActionsRewriteConfig) GoString

func (*UpdateRuleAttributeRequestRuleActionsRewriteConfig) SetHost

func (*UpdateRuleAttributeRequestRuleActionsRewriteConfig) SetPath

func (*UpdateRuleAttributeRequestRuleActionsRewriteConfig) SetQuery

func (UpdateRuleAttributeRequestRuleActionsRewriteConfig) String

type UpdateRuleAttributeRequestRuleActionsTrafficLimitConfig

type UpdateRuleAttributeRequestRuleActionsTrafficLimitConfig struct {
	// The QPS of each IP address. Valid values: **1 to 100000**.
	//
	// > If both the **QPS** and **PerIpQps** properties are specified, make sure that the value of the **QPS** property is smaller than the value of the PerIpQps property.
	PerIpQps *int32 `json:"PerIpQps,omitempty" xml:"PerIpQps,omitempty"`
	// The queries per second (QPS). Valid values: **1 to 100000**.
	QPS *int32 `json:"QPS,omitempty" xml:"QPS,omitempty"`
}

func (UpdateRuleAttributeRequestRuleActionsTrafficLimitConfig) GoString

func (*UpdateRuleAttributeRequestRuleActionsTrafficLimitConfig) SetPerIpQps

func (*UpdateRuleAttributeRequestRuleActionsTrafficLimitConfig) SetQPS

func (UpdateRuleAttributeRequestRuleActionsTrafficLimitConfig) String

type UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfig

type UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfig struct {
	// The configuration of the server group to which traffic is mirrored.
	MirrorGroupConfig *UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfigMirrorGroupConfig `json:"MirrorGroupConfig,omitempty" xml:"MirrorGroupConfig,omitempty" type:"Struct"`
	// The type of destination to which network traffic is mirrored. Valid values:
	//
	// *   **ForwardGroupMirror**: a server group
	// *   **SlsMirror**: Log Service
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfig) GoString

func (*UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfig) SetTargetType

func (UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfig) String

type UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfigMirrorGroupConfig

type UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfigMirrorGroupConfig struct {
	// The configuration of the server group to which traffic is mirrored.
	ServerGroupTuples []*UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfigMirrorGroupConfig) GoString

func (UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfigMirrorGroupConfig) String

type UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples

type UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples struct {
	// The server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) GoString

func (*UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) SetServerGroupId

func (UpdateRuleAttributeRequestRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) String

type UpdateRuleAttributeRequestRuleConditions

type UpdateRuleAttributeRequestRuleConditions struct {
	// The configuration of the cookie.
	CookieConfig *UpdateRuleAttributeRequestRuleConditionsCookieConfig `json:"CookieConfig,omitempty" xml:"CookieConfig,omitempty" type:"Struct"`
	// The configuration of the header.
	HeaderConfig *UpdateRuleAttributeRequestRuleConditionsHeaderConfig `json:"HeaderConfig,omitempty" xml:"HeaderConfig,omitempty" type:"Struct"`
	// The configurations of the hosts.
	HostConfig *UpdateRuleAttributeRequestRuleConditionsHostConfig `json:"HostConfig,omitempty" xml:"HostConfig,omitempty" type:"Struct"`
	// The configurations of the request methods.
	MethodConfig *UpdateRuleAttributeRequestRuleConditionsMethodConfig `json:"MethodConfig,omitempty" xml:"MethodConfig,omitempty" type:"Struct"`
	// The configurations of the paths.
	PathConfig *UpdateRuleAttributeRequestRuleConditionsPathConfig `json:"PathConfig,omitempty" xml:"PathConfig,omitempty" type:"Struct"`
	// The configurations of the query strings. You can specify at most 20 query conditions.
	QueryStringConfig *UpdateRuleAttributeRequestRuleConditionsQueryStringConfig `json:"QueryStringConfig,omitempty" xml:"QueryStringConfig,omitempty" type:"Struct"`
	// The configuration of the header.
	ResponseHeaderConfig *UpdateRuleAttributeRequestRuleConditionsResponseHeaderConfig `json:"ResponseHeaderConfig,omitempty" xml:"ResponseHeaderConfig,omitempty" type:"Struct"`
	// The configurations of the response status codes.
	ResponseStatusCodeConfig *UpdateRuleAttributeRequestRuleConditionsResponseStatusCodeConfig `json:"ResponseStatusCodeConfig,omitempty" xml:"ResponseStatusCodeConfig,omitempty" type:"Struct"`
	// The configuration of the source IP addresses based on which user traffic is matched. You can add at most five source IP-based forwarding rules.
	SourceIpConfig *UpdateRuleAttributeRequestRuleConditionsSourceIpConfig `json:"SourceIpConfig,omitempty" xml:"SourceIpConfig,omitempty" type:"Struct"`
	// The type of the forwarding rule. You can specify up to seven types. Valid values:
	//
	// *   **Host**: Requests are forwarded based on hosts.
	// *   **Path**: Requests are forwarded based on paths.
	// *   **Header**: Requests are forwarded based on HTTP headers.
	// *   **QueryString**: Requests are forwarded based on query strings.
	// *   **Method**: Requests are forwarded based on request methods.
	// *   **Cookie**: Requests are forwarded based on cookies.
	// *   **SourceIp**: Requests are distributed based on source IP addresses.
	// *   **ResponseHeader**: Requests are forwarded based on HTTP response headers.
	// *   **ResponseStatusCode**: Requests are forwarded based on response status codes.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (UpdateRuleAttributeRequestRuleConditions) GoString

func (*UpdateRuleAttributeRequestRuleConditions) SetResponseHeaderConfig added in v2.1.3

func (*UpdateRuleAttributeRequestRuleConditions) SetType

func (UpdateRuleAttributeRequestRuleConditions) String

type UpdateRuleAttributeRequestRuleConditionsCookieConfig

type UpdateRuleAttributeRequestRuleConditionsCookieConfig struct {
	// The configuration of the cookie.
	Values []*UpdateRuleAttributeRequestRuleConditionsCookieConfigValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRuleAttributeRequestRuleConditionsCookieConfig) GoString

func (UpdateRuleAttributeRequestRuleConditionsCookieConfig) String

type UpdateRuleAttributeRequestRuleConditionsCookieConfigValues

type UpdateRuleAttributeRequestRuleConditionsCookieConfigValues struct {
	// The key of the cookie. The key must be 1 to 100 characters in length, and can contain printable characters such as lowercase letters, asterisks (\*), and question marks (?). However, uppercase letters, space characters, and the following special characters are not supported: `# [ ] { } \ | < > &`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the cookie. The value must be 1 to 128 characters in length, and can contain printable characters such as lowercase letters, asterisks (\*), and question marks (?). However, uppercase letters, space characters, and the following special characters are not supported: `# [ ] { } \ | < > &`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (UpdateRuleAttributeRequestRuleConditionsCookieConfigValues) GoString

func (*UpdateRuleAttributeRequestRuleConditionsCookieConfigValues) SetKey

func (*UpdateRuleAttributeRequestRuleConditionsCookieConfigValues) SetValue

func (UpdateRuleAttributeRequestRuleConditionsCookieConfigValues) String

type UpdateRuleAttributeRequestRuleConditionsHeaderConfig

type UpdateRuleAttributeRequestRuleConditionsHeaderConfig struct {
	// The key of the header. The key must be 1 to 40 characters in length and can contain letters, digits, hyphens (-), and underscores (\_). You cannot specify Cookie or Host.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The values of the header.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRuleAttributeRequestRuleConditionsHeaderConfig) GoString

func (*UpdateRuleAttributeRequestRuleConditionsHeaderConfig) SetKey

func (*UpdateRuleAttributeRequestRuleConditionsHeaderConfig) SetValues

func (UpdateRuleAttributeRequestRuleConditionsHeaderConfig) String

type UpdateRuleAttributeRequestRuleConditionsHostConfig

type UpdateRuleAttributeRequestRuleConditionsHostConfig struct {
	// The hostnames.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRuleAttributeRequestRuleConditionsHostConfig) GoString

func (*UpdateRuleAttributeRequestRuleConditionsHostConfig) SetValues

func (UpdateRuleAttributeRequestRuleConditionsHostConfig) String

type UpdateRuleAttributeRequestRuleConditionsMethodConfig

type UpdateRuleAttributeRequestRuleConditionsMethodConfig struct {
	// The request methods.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRuleAttributeRequestRuleConditionsMethodConfig) GoString

func (*UpdateRuleAttributeRequestRuleConditionsMethodConfig) SetValues

func (UpdateRuleAttributeRequestRuleConditionsMethodConfig) String

type UpdateRuleAttributeRequestRuleConditionsPathConfig

type UpdateRuleAttributeRequestRuleConditionsPathConfig struct {
	// The paths.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRuleAttributeRequestRuleConditionsPathConfig) GoString

func (*UpdateRuleAttributeRequestRuleConditionsPathConfig) SetValues

func (UpdateRuleAttributeRequestRuleConditionsPathConfig) String

type UpdateRuleAttributeRequestRuleConditionsQueryStringConfig

type UpdateRuleAttributeRequestRuleConditionsQueryStringConfig struct {
	// The query string.
	Values []*UpdateRuleAttributeRequestRuleConditionsQueryStringConfigValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRuleAttributeRequestRuleConditionsQueryStringConfig) GoString

func (UpdateRuleAttributeRequestRuleConditionsQueryStringConfig) String

type UpdateRuleAttributeRequestRuleConditionsQueryStringConfigValues

type UpdateRuleAttributeRequestRuleConditionsQueryStringConfigValues struct {
	// They key of the query string. The key must be 1 to 100 characters in length, and can contain printable characters such as lowercase letters, asterisks (\*), and question marks (?). However, the key cannot contain uppercase letters, space characters, or the following special characters: `# [ ] { } \ | < > &`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the query string. The value must be 1 to 128 characters in length, and can contain printable characters such as lowercase letters, asterisks (\*), and question marks (?). However, uppercase letters, space characters, and the following special characters are not supported: `# [ ] { } \ | < > &`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (UpdateRuleAttributeRequestRuleConditionsQueryStringConfigValues) GoString

func (*UpdateRuleAttributeRequestRuleConditionsQueryStringConfigValues) SetKey

func (*UpdateRuleAttributeRequestRuleConditionsQueryStringConfigValues) SetValue

func (UpdateRuleAttributeRequestRuleConditionsQueryStringConfigValues) String

type UpdateRuleAttributeRequestRuleConditionsResponseHeaderConfig added in v2.1.3

type UpdateRuleAttributeRequestRuleConditionsResponseHeaderConfig struct {
	// The key of the header.
	//
	// *   The key must be 1 to 40 characters in length.
	// *   It can contain lowercase letters, digits, hyphens (-), and underscores (\_).
	// *   Cookie and Host are not supported.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The values of the header.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRuleAttributeRequestRuleConditionsResponseHeaderConfig) GoString added in v2.1.3

func (*UpdateRuleAttributeRequestRuleConditionsResponseHeaderConfig) SetKey added in v2.1.3

func (*UpdateRuleAttributeRequestRuleConditionsResponseHeaderConfig) SetValues added in v2.1.3

func (UpdateRuleAttributeRequestRuleConditionsResponseHeaderConfig) String added in v2.1.3

type UpdateRuleAttributeRequestRuleConditionsResponseStatusCodeConfig added in v2.1.3

type UpdateRuleAttributeRequestRuleConditionsResponseStatusCodeConfig struct {
	// The response status codes.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRuleAttributeRequestRuleConditionsResponseStatusCodeConfig) GoString added in v2.1.3

func (*UpdateRuleAttributeRequestRuleConditionsResponseStatusCodeConfig) SetValues added in v2.1.3

func (UpdateRuleAttributeRequestRuleConditionsResponseStatusCodeConfig) String added in v2.1.3

type UpdateRuleAttributeRequestRuleConditionsSourceIpConfig

type UpdateRuleAttributeRequestRuleConditionsSourceIpConfig struct {
	// The IP address or CIDR block based on which user traffic is matched. You can specify multiple IP addresses or CIDR blocks.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRuleAttributeRequestRuleConditionsSourceIpConfig) GoString

func (*UpdateRuleAttributeRequestRuleConditionsSourceIpConfig) SetValues

func (UpdateRuleAttributeRequestRuleConditionsSourceIpConfig) String

type UpdateRuleAttributeResponse

type UpdateRuleAttributeResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateRuleAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateRuleAttributeResponse) GoString

func (s UpdateRuleAttributeResponse) GoString() string

func (*UpdateRuleAttributeResponse) SetBody

func (*UpdateRuleAttributeResponse) SetHeaders

func (*UpdateRuleAttributeResponse) SetStatusCode

func (UpdateRuleAttributeResponse) String

type UpdateRuleAttributeResponseBody

type UpdateRuleAttributeResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateRuleAttributeResponseBody) GoString

func (*UpdateRuleAttributeResponseBody) SetJobId

func (*UpdateRuleAttributeResponseBody) SetRequestId

func (UpdateRuleAttributeResponseBody) String

type UpdateRulesAttributeRequest

type UpdateRulesAttributeRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The forwarding rules. You can specify up to 10 forwarding rules in each request.
	Rules []*UpdateRulesAttributeRequestRules `json:"Rules,omitempty" xml:"Rules,omitempty" type:"Repeated"`
}

func (UpdateRulesAttributeRequest) GoString

func (s UpdateRulesAttributeRequest) GoString() string

func (*UpdateRulesAttributeRequest) SetClientToken

func (*UpdateRulesAttributeRequest) SetDryRun

func (*UpdateRulesAttributeRequest) SetRules

func (UpdateRulesAttributeRequest) String

type UpdateRulesAttributeRequestRules

type UpdateRulesAttributeRequestRules struct {
	// The priority of the forwarding rule. Valid values: **1 to 10000**. A lower value specifies a higher priority. You can specify priorities for up to 20 forwarding rules.
	//
	// > The priority of each forwarding rule added to a listener must be unique.
	Priority *int32 `json:"Priority,omitempty" xml:"Priority,omitempty"`
	// The actions of the forwarding rule.
	RuleActions []*UpdateRulesAttributeRequestRulesRuleActions `json:"RuleActions,omitempty" xml:"RuleActions,omitempty" type:"Repeated"`
	// The match conditions of the forwarding rule.
	RuleConditions []*UpdateRulesAttributeRequestRulesRuleConditions `json:"RuleConditions,omitempty" xml:"RuleConditions,omitempty" type:"Repeated"`
	// The forwarding rule ID. You can specify up to 20 IDs.
	RuleId *string `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter. You can specify names for up to 20 forwarding rules.
	RuleName *string `json:"RuleName,omitempty" xml:"RuleName,omitempty"`
}

func (UpdateRulesAttributeRequestRules) GoString

func (*UpdateRulesAttributeRequestRules) SetPriority

func (*UpdateRulesAttributeRequestRules) SetRuleId

func (*UpdateRulesAttributeRequestRules) SetRuleName

func (UpdateRulesAttributeRequestRules) String

type UpdateRulesAttributeRequestRulesRuleActions

type UpdateRulesAttributeRequestRulesRuleActions struct {
	// The CORS configuration.
	CorsConfig *UpdateRulesAttributeRequestRulesRuleActionsCorsConfig `json:"CorsConfig,omitempty" xml:"CorsConfig,omitempty" type:"Struct"`
	// The configuration of the action to return a custom response. You can specify the configurations of up to 20 actions to return a custom response.
	FixedResponseConfig *UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig `json:"FixedResponseConfig,omitempty" xml:"FixedResponseConfig,omitempty" type:"Struct"`
	// The configuration of the action to forward requests to server groups. You can specify the configurations of up to 20 actions to forward requests to server groups.
	ForwardGroupConfig *UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfig `json:"ForwardGroupConfig,omitempty" xml:"ForwardGroupConfig,omitempty" type:"Struct"`
	// The configuration of the action to insert a header. You can specify the configurations of up to 20 actions to insert a header.
	InsertHeaderConfig *UpdateRulesAttributeRequestRulesRuleActionsInsertHeaderConfig `json:"InsertHeaderConfig,omitempty" xml:"InsertHeaderConfig,omitempty" type:"Struct"`
	// The priority of the action. Valid values: **1** to **50000**. A lower value specifies a higher priority. The actions of a forwarding rule are applied in descending order of priority. This parameter cannot be left empty. The priority of each action within a forwarding rule must be unique. You can specify priorities for up to 20 actions.
	Order *int32 `json:"Order,omitempty" xml:"Order,omitempty"`
	// The configuration of the redirect action. You can specify the configurations of up to 20 redirect actions.
	RedirectConfig *UpdateRulesAttributeRequestRulesRuleActionsRedirectConfig `json:"RedirectConfig,omitempty" xml:"RedirectConfig,omitempty" type:"Struct"`
	// The action to remove an HTTP header. You can specify the configurations of up to 20 actions to remove an HTTP header.
	RemoveHeaderConfig *UpdateRulesAttributeRequestRulesRuleActionsRemoveHeaderConfig `json:"RemoveHeaderConfig,omitempty" xml:"RemoveHeaderConfig,omitempty" type:"Struct"`
	// The configuration of the rewrite action. You can specify the configurations of up to 20 rewrite actions.
	RewriteConfig *UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig `json:"RewriteConfig,omitempty" xml:"RewriteConfig,omitempty" type:"Struct"`
	// The configuration of traffic throttling. You can add up to 20 configuration records.
	TrafficLimitConfig *UpdateRulesAttributeRequestRulesRuleActionsTrafficLimitConfig `json:"TrafficLimitConfig,omitempty" xml:"TrafficLimitConfig,omitempty" type:"Struct"`
	// The configuration of traffic mirroring. You can add up to 20 configuration records.
	TrafficMirrorConfig *UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfig `json:"TrafficMirrorConfig,omitempty" xml:"TrafficMirrorConfig,omitempty" type:"Struct"`
	// The type of the forwarding rule. You can specify up to seven types. Valid values:
	//
	// *   **Host**: Requests are distributed based on hosts.
	// *   **Path**: Requests are distributed based on paths.
	// *   **Header**: Requests are distributed based on HTTP headers.
	// *   **QueryString**: Requests are distributed based on query strings.
	// *   **Method**: Requests are distributed based on request methods.
	// *   **Cookie**: Requests are distributed based on cookies.
	// *   **SourceIp**: Requests are distributed based on source IP addresses.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleActions) GoString

func (*UpdateRulesAttributeRequestRulesRuleActions) SetCorsConfig added in v2.0.1

func (*UpdateRulesAttributeRequestRulesRuleActions) SetOrder

func (*UpdateRulesAttributeRequestRulesRuleActions) SetType

func (UpdateRulesAttributeRequestRulesRuleActions) String

type UpdateRulesAttributeRequestRulesRuleActionsCorsConfig added in v2.0.1

type UpdateRulesAttributeRequestRulesRuleActionsCorsConfig struct {
	// Specifies whether credentials can be carried in CORS requests. Valid values:
	//
	// *   **on**
	// *   **off**
	AllowCredentials *string `json:"AllowCredentials,omitempty" xml:"AllowCredentials,omitempty"`
	// The allowed headers for CORS requests.
	AllowHeaders []*string `json:"AllowHeaders,omitempty" xml:"AllowHeaders,omitempty" type:"Repeated"`
	// The allowed HTTP methods for CORS requests.
	AllowMethods []*string `json:"AllowMethods,omitempty" xml:"AllowMethods,omitempty" type:"Repeated"`
	// The allowed origins of CORS requests.
	AllowOrigin []*string `json:"AllowOrigin,omitempty" xml:"AllowOrigin,omitempty" type:"Repeated"`
	// The headers that can be exposed.
	ExposeHeaders []*string `json:"ExposeHeaders,omitempty" xml:"ExposeHeaders,omitempty" type:"Repeated"`
	// The maximum cache time of preflight requests in the browser. Unit: seconds.
	//
	// Valid values: **-1** to **172800**.
	MaxAge *int64 `json:"MaxAge,omitempty" xml:"MaxAge,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleActionsCorsConfig) GoString added in v2.0.1

func (*UpdateRulesAttributeRequestRulesRuleActionsCorsConfig) SetAllowCredentials added in v2.0.1

func (*UpdateRulesAttributeRequestRulesRuleActionsCorsConfig) SetAllowHeaders added in v2.0.1

func (*UpdateRulesAttributeRequestRulesRuleActionsCorsConfig) SetAllowMethods added in v2.0.1

func (*UpdateRulesAttributeRequestRulesRuleActionsCorsConfig) SetAllowOrigin added in v2.0.1

func (*UpdateRulesAttributeRequestRulesRuleActionsCorsConfig) SetExposeHeaders added in v2.0.1

func (*UpdateRulesAttributeRequestRulesRuleActionsCorsConfig) SetMaxAge added in v2.0.1

func (UpdateRulesAttributeRequestRulesRuleActionsCorsConfig) String added in v2.0.1

type UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig

type UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig struct {
	// The content of the custom response. The content can be up to 1 KB in size, and can contain only ASCII characters.
	Content *string `json:"Content,omitempty" xml:"Content,omitempty"`
	// The format of the response.
	//
	// Valid values: **text/plain**, **text/css**, **text/html**, **application/javascript**, and **application/json**.
	ContentType *string `json:"ContentType,omitempty" xml:"ContentType,omitempty"`
	// The HTTP status code in the response. Valid values: **HTTP\_2xx**, **HTTP\_4xx**, and **HTTP\_5xx**. **x** must be a digit.
	HttpCode *string `json:"HttpCode,omitempty" xml:"HttpCode,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig) SetContent

func (*UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig) SetContentType

func (*UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig) SetHttpCode

func (UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig) String

type UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfig

type UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfig struct {
	// The configuration of session persistence for server groups.
	ServerGroupStickySession *UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession `json:"ServerGroupStickySession,omitempty" xml:"ServerGroupStickySession,omitempty" type:"Struct"`
	// The server groups to which requests are forwarded.
	ServerGroupTuples []*UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfig) GoString

func (UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfig) String

type UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession

type UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession struct {
	// Specifies whether to enable session persistence. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The timeout period of sessions. Unit: seconds. Valid values: **1** to **86400**.
	Timeout *int32 `json:"Timeout,omitempty" xml:"Timeout,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession) GoString

func (*UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession) SetEnabled

func (*UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession) SetTimeout

func (UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession) String

type UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupTuples

type UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupTuples struct {
	// The server group to which requests are forwarded.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The weight of the server group. A larger value specifies a higher weight. A server group with a higher weight receives more requests. Valid values: **0** to **100**.
	//
	// *   If only one destination server group exists and you do not specify a weight, the default value **100** is used.
	// *   If more than one destination server group exists, you must specify weights.
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupTuples) GoString

func (*UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupTuples) SetServerGroupId

func (*UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupTuples) SetWeight

func (UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupTuples) String

type UpdateRulesAttributeRequestRulesRuleActionsInsertHeaderConfig

type UpdateRulesAttributeRequestRulesRuleActionsInsertHeaderConfig struct {
	// Specifies whether to overwrite the request header. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	CoverEnabled *bool `json:"CoverEnabled,omitempty" xml:"CoverEnabled,omitempty"`
	// The key of the header to be inserted. The key must be 1 to 40 characters in length, and can contain letters, digits, underscores (\_), and hyphens (-). The key specified in `InsertHeader` must be unique.
	//
	// > You cannot use the following header keys (case-insensitive): `slb-id`, `slb-ip`, `x-forwarded-for`, `x-forwarded-proto`, `x-forwarded-eip`, `x-forwarded-port`, `x-forwarded-client-srcport`, `connection`, `upgrade`, `content-length`, `transfer-encoding`, `keep-alive`, `te, host`, `cookie`, `remoteip`, and `authority`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the header to be inserted.
	//
	// *   If **ValueType** is set to **SystemDefined**, you can specify one of the following header values:
	//
	//     *   **ClientSrcPort**: the client port.
	//     *   **ClientSrcIp**: the client IP address.
	//     *   **Protocol**: the request protocol (HTTP or HTTPS).
	//     *   **SLBId**: the ALB instance ID.
	//     *   **SLBPort**: the listener port.
	//
	// *   If **ValueType** is set to **UserDefined**, you can specify a custom header value. The header value must be 1 to 128 characters in length, and can contain printable characters whose ASCII values are `greater than or equal to 32 and lower than 127`. You can use asterisks (\*) and question marks (?) as wildcards. The value cannot start or end with a space character.
	//
	// *   If **ValueType** is set to **ReferenceHeader**, you can reference one of the request headers. The header value must be 1 to 128 characters in length, and can contain lowercase letters, digits, underscores (\_), and hyphens (-).
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
	// The type of the header. Valid values:
	//
	// *   **UserDefined**: a user-defined header
	// *   **ReferenceHeader**: a header that is referenced from a request header.
	// *   **SystemDefined**: a system-defined header.
	ValueType *string `json:"ValueType,omitempty" xml:"ValueType,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleActionsInsertHeaderConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleActionsInsertHeaderConfig) SetCoverEnabled

func (*UpdateRulesAttributeRequestRulesRuleActionsInsertHeaderConfig) SetKey

func (*UpdateRulesAttributeRequestRulesRuleActionsInsertHeaderConfig) SetValue

func (*UpdateRulesAttributeRequestRulesRuleActionsInsertHeaderConfig) SetValueType

func (UpdateRulesAttributeRequestRulesRuleActionsInsertHeaderConfig) String

type UpdateRulesAttributeRequestRulesRuleActionsRedirectConfig

type UpdateRulesAttributeRequestRulesRuleActionsRedirectConfig struct {
	// The hostname to which requests are forwarded.
	//
	// Take note of the following rules when you specify a hostname:
	//
	// *   The hostname must be 3 to 128 characters in length, and can contain lowercase letters, digits, and the following special characters: - . \* = ~ \_ + \ ^ ! $ & | ( ) \[ ] ?.
	// *   The hostname must contain at least one period (.) but cannot start or end with a period (.).
	// *   The rightmost domain label can contain only letters, asterisks (*), and question marks (?), and cannot contain digits or hyphens (-). The leftmost `domain label` can contain asterisks (*).
	// *   The domain labels cannot start or end with a hyphen (-). You can specify asterisks (∗) and question marks (?) anywhere in a domain label.
	Host *string `json:"Host,omitempty" xml:"Host,omitempty"`
	// The redirect type. Valid values: **301**, **302**, **303**, **307**, and **308**.
	HttpCode *string `json:"HttpCode,omitempty" xml:"HttpCode,omitempty"`
	// The path to which requests are redirected.
	//
	// *   **${path}** (default): You can reference \*\*${host}**, **${protocol}** and **${port}\*\*. Each variable can be used only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.
	//
	// *   A custom value that meets the following requirements:
	//
	//     *   The custom value must be 1 to 128 characters in length. You can use asterisks (\*) and question marks (?) as wildcards.
	//     *   The custom value can contain letters, digits, and the following special characters: `$ - _ . + / & ~ @ : \" * ?`. The custom value must start with a forward slash (/) and cannot contain the following characters: `" % # ; ! ( ) [ ] ^ , "`.
	Path *string `json:"Path,omitempty" xml:"Path,omitempty"`
	// The port to which requests are forwarded.
	//
	// Valid values: **1** to **63335**.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The redirect protocol.
	//
	// Valid values: **HTTP** and **HTTPS**.
	//
	// > HTTPS listeners support only HTTP to HTTPS redirection.
	Protocol *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
	// The query string to which requests are forwarded.
	//
	// The query string must be 1 to 128 characters in length, and can contain printable characters, excluding uppercase letters and the following special characters: `# [ ] { } \ | < > &`.
	Query *string `json:"Query,omitempty" xml:"Query,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleActionsRedirectConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleActionsRedirectConfig) SetHost

func (*UpdateRulesAttributeRequestRulesRuleActionsRedirectConfig) SetHttpCode

func (*UpdateRulesAttributeRequestRulesRuleActionsRedirectConfig) SetPath

func (*UpdateRulesAttributeRequestRulesRuleActionsRedirectConfig) SetPort

func (*UpdateRulesAttributeRequestRulesRuleActionsRedirectConfig) SetProtocol

func (*UpdateRulesAttributeRequestRulesRuleActionsRedirectConfig) SetQuery

func (UpdateRulesAttributeRequestRulesRuleActionsRedirectConfig) String

type UpdateRulesAttributeRequestRulesRuleActionsRemoveHeaderConfig

type UpdateRulesAttributeRequestRulesRuleActionsRemoveHeaderConfig struct {
	// The key of the header.
	//
	// *   The key must be 1 to 40 characters in length.
	// *   It can contain letters, digits, hyphens (-), and underscores (\_).
	// *   Cookie and Host are not supported.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleActionsRemoveHeaderConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleActionsRemoveHeaderConfig) SetKey

func (UpdateRulesAttributeRequestRulesRuleActionsRemoveHeaderConfig) String

type UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig

type UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig struct {
	// The hostname to which requests are forwarded.
	//
	// Take note of the following rules when you specify a hostname:
	//
	// *   The hostname must be 3 to 128 characters in length, and can contain lowercase letters, digits, and the following special characters: - . \* = ~ \_ + \ ^ ! $ & | ( ) \[ ] ?.
	// *   The hostname must contain at least one period (.) but cannot start or end with a period (.).
	// *   The rightmost domain label can contain only letters, asterisks (*), and question marks (?), and cannot contain digits or hyphens (-). The leftmost `domain label` can contain asterisks (*).
	// *   The domain labels cannot start or end with a hyphen (-). You can specify asterisks (∗) and question marks (?) anywhere in a domain label.
	Host *string `json:"Host,omitempty" xml:"Host,omitempty"`
	// The path to which requests are forwarded.
	//
	// *   **${path}** (default): You can reference \*\*${host}**, **${protocol}** and **${port}\*\*. Each variable can be used only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.
	//
	// *   A custom value that meets the following requirements:
	//
	//     *   The custom value must be 1 to 128 characters in length. You can use asterisks (\*) and question marks (?) as wildcards.
	//     *   The custom value can contain letters, digits, and the following special characters: `$ - _ . + / & ~ @ : \" * ?`. The custom value must start with a forward slash (/) and cannot contain the following characters: `" % # ; ! ( ) [ ] ^ , "`.
	Path *string `json:"Path,omitempty" xml:"Path,omitempty"`
	// The query string to which requests are forwarded.
	//
	// The query string must be 1 to 128 characters in length, and can contain printable characters, excluding uppercase letters and the following special characters: `# [ ] { } \ | < > &`.
	Query *string `json:"Query,omitempty" xml:"Query,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig) SetHost

func (*UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig) SetPath

func (*UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig) SetQuery

func (UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig) String

type UpdateRulesAttributeRequestRulesRuleActionsTrafficLimitConfig

type UpdateRulesAttributeRequestRulesRuleActionsTrafficLimitConfig struct {
	// The QPS per IP address. Valid values: **1** to **100000**.
	//
	// > If you specify this parameter and QPS, the value of PerIpQps must be smaller than the value of QPS.
	PerIpQps *int32 `json:"PerIpQps,omitempty" xml:"PerIpQps,omitempty"`
	// The number of queries per second (QPS). Valid values: **1** to **100000**.
	QPS *int32 `json:"QPS,omitempty" xml:"QPS,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleActionsTrafficLimitConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleActionsTrafficLimitConfig) SetPerIpQps

func (*UpdateRulesAttributeRequestRulesRuleActionsTrafficLimitConfig) SetQPS

func (UpdateRulesAttributeRequestRulesRuleActionsTrafficLimitConfig) String

type UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfig

type UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfig struct {
	// The configuration of the server group to which traffic is mirrored.
	MirrorGroupConfig *UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig `json:"MirrorGroupConfig,omitempty" xml:"MirrorGroupConfig,omitempty" type:"Struct"`
	// The type of destination to which network traffic is mirrored. Valid values:
	//
	// *   **ForwardGroupMirror**: a server group
	// *   **SlsMirror**: Log Service
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfig) SetTargetType

func (UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfig) String

type UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig

type UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig struct {
	// The server groups to which traffic is mirrored.
	ServerGroupTuples []*UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples `json:"ServerGroupTuples,omitempty" xml:"ServerGroupTuples,omitempty" type:"Repeated"`
}

func (UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig) GoString

func (UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig) String

type UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples

type UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples struct {
	// The server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) GoString

func (UpdateRulesAttributeRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples) String

type UpdateRulesAttributeRequestRulesRuleConditions

type UpdateRulesAttributeRequestRulesRuleConditions struct {
	// The match conditions for cookies. You can add up to 20 match conditions.
	CookieConfig *UpdateRulesAttributeRequestRulesRuleConditionsCookieConfig `json:"CookieConfig,omitempty" xml:"CookieConfig,omitempty" type:"Struct"`
	// The match conditions for HTTP headers. You can specify up to 20 match conditions.
	HeaderConfig *UpdateRulesAttributeRequestRulesRuleConditionsHeaderConfig `json:"HeaderConfig,omitempty" xml:"HeaderConfig,omitempty" type:"Struct"`
	// The match conditions for hostnames. You can specify up to 20 match conditions.
	HostConfig *UpdateRulesAttributeRequestRulesRuleConditionsHostConfig `json:"HostConfig,omitempty" xml:"HostConfig,omitempty" type:"Struct"`
	// The match conditions for HTTP request methods. Valid values of N: **1** to **20**.
	MethodConfig *UpdateRulesAttributeRequestRulesRuleConditionsMethodConfig `json:"MethodConfig,omitempty" xml:"MethodConfig,omitempty" type:"Struct"`
	// The match conditions for query strings. You can specify up to 20 match conditions.
	PathConfig *UpdateRulesAttributeRequestRulesRuleConditionsPathConfig `json:"PathConfig,omitempty" xml:"PathConfig,omitempty" type:"Struct"`
	// The match conditions for query strings. You can specify up to 20 match conditions.
	QueryStringConfig *UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfig `json:"QueryStringConfig,omitempty" xml:"QueryStringConfig,omitempty" type:"Struct"`
	// The configuration of the HTTP response header. You can specify the configurations of up to 20 HTTP response header.
	ResponseHeaderConfig *UpdateRulesAttributeRequestRulesRuleConditionsResponseHeaderConfig `json:"ResponseHeaderConfig,omitempty" xml:"ResponseHeaderConfig,omitempty" type:"Struct"`
	// The match conditions for response status codes. This parameter is required and takes effect when **Type** is set to **ResponseStatusCode**. You can specify up to 20 match conditions.
	ResponseStatusCodeConfig *UpdateRulesAttributeRequestRulesRuleConditionsResponseStatusCodeConfig `json:"ResponseStatusCodeConfig,omitempty" xml:"ResponseStatusCodeConfig,omitempty" type:"Struct"`
	// The configuration of the source IP addresses based on which user traffic is matched. You can specify up to 20 configuration records.
	SourceIpConfig *UpdateRulesAttributeRequestRulesRuleConditionsSourceIpConfig `json:"SourceIpConfig,omitempty" xml:"SourceIpConfig,omitempty" type:"Struct"`
	// The type of action specified in the forwarding rule. You can specify up to 11 types of actions. Valid values:
	//
	// *   **ForwardGroup**: forwards a request to multiple vServer groups.
	// *   **Redirect**: redirects a request.
	// *   **FixedResponse**: returns a custom response.
	// *   **Rewrite**: rewrites a request.
	// *   **InsertHeader**: inserts a header.
	// *   **RemoveHeaderConfig**: deletes a header.
	// *   **TrafficLimitConfig**: throttles network traffic.
	// *   **TrafficMirrorConfig**: mirrors traffic.
	// *   **CorsConfig**: forwards requests based on CORS.
	//
	// The following action types are supported:
	//
	// *   **FinalType**: the last action to be performed in a forwarding rule. Each forwarding rule can contain only one FinalType action. You can specify a **ForwardGroup**, **Redirect**, or **FixedResponse** action as the FinalType action.
	// *   **ExtType**: the action or the actions to be performed before the **FinalType** action. A forwarding rule can contain one or more **ExtType** actions. To specify an ExtType action, you must specify a **FinalType** action. You can specify multiple **InsertHeader** actions or one **Rewrite** action.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleConditions) GoString

func (*UpdateRulesAttributeRequestRulesRuleConditions) SetType

func (UpdateRulesAttributeRequestRulesRuleConditions) String

type UpdateRulesAttributeRequestRulesRuleConditionsCookieConfig

type UpdateRulesAttributeRequestRulesRuleConditionsCookieConfig struct {
	// The cookies.
	Values []*UpdateRulesAttributeRequestRulesRuleConditionsCookieConfigValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRulesAttributeRequestRulesRuleConditionsCookieConfig) GoString

func (UpdateRulesAttributeRequestRulesRuleConditionsCookieConfig) String

type UpdateRulesAttributeRequestRulesRuleConditionsCookieConfigValues

type UpdateRulesAttributeRequestRulesRuleConditionsCookieConfigValues struct {
	// The key of the cookie. The key must be 1 to 100 characters in length, and can contain printable characters such as lowercase letters, asterisks (\*), and question marks (?). However, the key cannot contain uppercase letters, space characters, or the following special characters: `# [ ] { } \ | < > &`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the cookie. The value must be 1 to 128 characters in length, and can contain printable characters such as lowercase letters, asterisks (\*), and question marks (?). However, the value cannot contain uppercase letters, space characters, or the following special characters: `# [ ] { } \ | < > &`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleConditionsCookieConfigValues) GoString

func (*UpdateRulesAttributeRequestRulesRuleConditionsCookieConfigValues) SetKey

func (*UpdateRulesAttributeRequestRulesRuleConditionsCookieConfigValues) SetValue

func (UpdateRulesAttributeRequestRulesRuleConditionsCookieConfigValues) String

type UpdateRulesAttributeRequestRulesRuleConditionsHeaderConfig

type UpdateRulesAttributeRequestRulesRuleConditionsHeaderConfig struct {
	// The key of the header. The key must be 1 to 40 characters in length, and can contain letters, digits, underscores (\_), and hyphens (-). Cookie and Host are not supported.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The values of the header.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRulesAttributeRequestRulesRuleConditionsHeaderConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleConditionsHeaderConfig) SetKey

func (*UpdateRulesAttributeRequestRulesRuleConditionsHeaderConfig) SetValues

func (UpdateRulesAttributeRequestRulesRuleConditionsHeaderConfig) String

type UpdateRulesAttributeRequestRulesRuleConditionsHostConfig

type UpdateRulesAttributeRequestRulesRuleConditionsHostConfig struct {
	// The hostnames.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRulesAttributeRequestRulesRuleConditionsHostConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleConditionsHostConfig) SetValues

func (UpdateRulesAttributeRequestRulesRuleConditionsHostConfig) String

type UpdateRulesAttributeRequestRulesRuleConditionsMethodConfig

type UpdateRulesAttributeRequestRulesRuleConditionsMethodConfig struct {
	// The HTTP request methods.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRulesAttributeRequestRulesRuleConditionsMethodConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleConditionsMethodConfig) SetValues

func (UpdateRulesAttributeRequestRulesRuleConditionsMethodConfig) String

type UpdateRulesAttributeRequestRulesRuleConditionsPathConfig

type UpdateRulesAttributeRequestRulesRuleConditionsPathConfig struct {
	// The paths.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRulesAttributeRequestRulesRuleConditionsPathConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleConditionsPathConfig) SetValues

func (UpdateRulesAttributeRequestRulesRuleConditionsPathConfig) String

type UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfig

type UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfig struct {
	// The key-value pairs of the query strings.
	Values []*UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfigValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfig) GoString

func (UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfig) String

type UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfigValues

type UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfigValues struct {
	// They key of the query string.
	//
	// The key must be 1 to 100 characters in length, and can contain printable characters such as lowercase letters, asterisks (\*), and question marks (?). The key cannot contain uppercase letters, space characters, or the following special characters: `# [ ] { } \ | < > &`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the query string.
	//
	// The value must be 1 to 128 characters in length, and can contain printable characters such as lowercase letters, asterisks (\*), and question marks (?). However, uppercase letters, space characters, and the following special characters are not supported: `# [ ] { } \ | < > &`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfigValues) GoString

func (*UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfigValues) SetKey

func (*UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfigValues) SetValue

func (UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfigValues) String

type UpdateRulesAttributeRequestRulesRuleConditionsResponseHeaderConfig

type UpdateRulesAttributeRequestRulesRuleConditionsResponseHeaderConfig struct {
	// The key of the header.
	//
	// *   The key must be 1 to 40 characters in length.
	// *   It can contain letters, digits, hyphens (-), and underscores (\_).
	// *   Cookie and Host are not supported.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The values of the header.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRulesAttributeRequestRulesRuleConditionsResponseHeaderConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleConditionsResponseHeaderConfig) SetKey

func (*UpdateRulesAttributeRequestRulesRuleConditionsResponseHeaderConfig) SetValues

func (UpdateRulesAttributeRequestRulesRuleConditionsResponseHeaderConfig) String

type UpdateRulesAttributeRequestRulesRuleConditionsResponseStatusCodeConfig

type UpdateRulesAttributeRequestRulesRuleConditionsResponseStatusCodeConfig struct {
	// The match conditions.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRulesAttributeRequestRulesRuleConditionsResponseStatusCodeConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleConditionsResponseStatusCodeConfig) SetValues

func (UpdateRulesAttributeRequestRulesRuleConditionsResponseStatusCodeConfig) String

type UpdateRulesAttributeRequestRulesRuleConditionsSourceIpConfig

type UpdateRulesAttributeRequestRulesRuleConditionsSourceIpConfig struct {
	// The source IP addresses based on which user traffic is matched.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (UpdateRulesAttributeRequestRulesRuleConditionsSourceIpConfig) GoString

func (*UpdateRulesAttributeRequestRulesRuleConditionsSourceIpConfig) SetValues

func (UpdateRulesAttributeRequestRulesRuleConditionsSourceIpConfig) String

type UpdateRulesAttributeResponse

type UpdateRulesAttributeResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateRulesAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateRulesAttributeResponse) GoString

func (s UpdateRulesAttributeResponse) GoString() string

func (*UpdateRulesAttributeResponse) SetBody

func (*UpdateRulesAttributeResponse) SetHeaders

func (*UpdateRulesAttributeResponse) SetStatusCode

func (UpdateRulesAttributeResponse) String

type UpdateRulesAttributeResponseBody

type UpdateRulesAttributeResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateRulesAttributeResponseBody) GoString

func (*UpdateRulesAttributeResponseBody) SetJobId

func (*UpdateRulesAttributeResponseBody) SetRequestId

func (UpdateRulesAttributeResponseBody) String

type UpdateSecurityPolicyAttributeRequest

type UpdateSecurityPolicyAttributeRequest struct {
	// The supported cipher suites.
	Ciphers []*string `json:"Ciphers,omitempty" xml:"Ciphers,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The security policy ID.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The name of the security policy.
	//
	// The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	SecurityPolicyName *string `json:"SecurityPolicyName,omitempty" xml:"SecurityPolicyName,omitempty"`
	// The supported TLS protocol versions.
	TLSVersions []*string `json:"TLSVersions,omitempty" xml:"TLSVersions,omitempty" type:"Repeated"`
}

func (UpdateSecurityPolicyAttributeRequest) GoString

func (*UpdateSecurityPolicyAttributeRequest) SetCiphers

func (*UpdateSecurityPolicyAttributeRequest) SetClientToken

func (*UpdateSecurityPolicyAttributeRequest) SetDryRun

func (*UpdateSecurityPolicyAttributeRequest) SetSecurityPolicyId

func (*UpdateSecurityPolicyAttributeRequest) SetSecurityPolicyName

func (*UpdateSecurityPolicyAttributeRequest) SetTLSVersions

func (UpdateSecurityPolicyAttributeRequest) String

type UpdateSecurityPolicyAttributeResponse

type UpdateSecurityPolicyAttributeResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateSecurityPolicyAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateSecurityPolicyAttributeResponse) GoString

func (*UpdateSecurityPolicyAttributeResponse) SetHeaders

func (*UpdateSecurityPolicyAttributeResponse) SetStatusCode

func (UpdateSecurityPolicyAttributeResponse) String

type UpdateSecurityPolicyAttributeResponseBody

type UpdateSecurityPolicyAttributeResponseBody struct {
	// The asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateSecurityPolicyAttributeResponseBody) GoString

func (*UpdateSecurityPolicyAttributeResponseBody) SetJobId

func (*UpdateSecurityPolicyAttributeResponseBody) SetRequestId

func (UpdateSecurityPolicyAttributeResponseBody) String

type UpdateServerGroupAttributeRequest

type UpdateServerGroupAttributeRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
	ClientToken           *string                                                 `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	ConnectionDrainConfig *UpdateServerGroupAttributeRequestConnectionDrainConfig `json:"ConnectionDrainConfig,omitempty" xml:"ConnectionDrainConfig,omitempty" type:"Struct"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: checks the request without performing the operation. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx` HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The configuration of health checks.
	HealthCheckConfig *UpdateServerGroupAttributeRequestHealthCheckConfig `json:"HealthCheckConfig,omitempty" xml:"HealthCheckConfig,omitempty" type:"Struct"`
	// The scheduling algorithm. Valid values:
	//
	// *   **Wrr**: the weighted round robin algorithm. Backend servers that have higher weights receive more requests than those that have lower weights.
	// *   **Wlc**: the weighted least connections algorithm. Requests are distributed based on the weights and the number of connections to backend servers. If two backend servers have the same weight, the backend server that has fewer connections is expected to receive more requests.
	// *   **Sch**: the consistent hashing algorithm. Requests from the same source IP address are distributed to the same backend server.
	Scheduler *string `json:"Scheduler,omitempty" xml:"Scheduler,omitempty"`
	// The server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The server group name.
	//
	// The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
	ServerGroupName *string `json:"ServerGroupName,omitempty" xml:"ServerGroupName,omitempty"`
	// This parameter is available only if the ALB Ingress controller is used. In this case, set this parameter to the name of the `Kubernetes Service` that is associated with the server group.
	ServiceName     *string                                           `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	SlowStartConfig *UpdateServerGroupAttributeRequestSlowStartConfig `json:"SlowStartConfig,omitempty" xml:"SlowStartConfig,omitempty" type:"Struct"`
	// The configuration of session persistence.
	StickySessionConfig *UpdateServerGroupAttributeRequestStickySessionConfig `json:"StickySessionConfig,omitempty" xml:"StickySessionConfig,omitempty" type:"Struct"`
	// The setting of consistent hashing based on URLs.
	UchConfig *UpdateServerGroupAttributeRequestUchConfig `json:"UchConfig,omitempty" xml:"UchConfig,omitempty" type:"Struct"`
	// Specifies whether to enable persistent TCP connections.
	UpstreamKeepaliveEnabled *bool `json:"UpstreamKeepaliveEnabled,omitempty" xml:"UpstreamKeepaliveEnabled,omitempty"`
}

func (UpdateServerGroupAttributeRequest) GoString

func (*UpdateServerGroupAttributeRequest) SetClientToken

func (*UpdateServerGroupAttributeRequest) SetConnectionDrainConfig added in v2.1.6

func (*UpdateServerGroupAttributeRequest) SetDryRun

func (*UpdateServerGroupAttributeRequest) SetScheduler

func (*UpdateServerGroupAttributeRequest) SetServerGroupId

func (*UpdateServerGroupAttributeRequest) SetServerGroupName

func (*UpdateServerGroupAttributeRequest) SetServiceName

func (*UpdateServerGroupAttributeRequest) SetSlowStartConfig added in v2.1.6

func (*UpdateServerGroupAttributeRequest) SetUchConfig added in v2.0.3

func (*UpdateServerGroupAttributeRequest) SetUpstreamKeepaliveEnabled added in v2.1.1

func (UpdateServerGroupAttributeRequest) String

type UpdateServerGroupAttributeRequestConnectionDrainConfig added in v2.1.6

type UpdateServerGroupAttributeRequestConnectionDrainConfig struct {
	ConnectionDrainEnabled *bool  `json:"ConnectionDrainEnabled,omitempty" xml:"ConnectionDrainEnabled,omitempty"`
	ConnectionDrainTimeout *int32 `json:"ConnectionDrainTimeout,omitempty" xml:"ConnectionDrainTimeout,omitempty"`
}

func (UpdateServerGroupAttributeRequestConnectionDrainConfig) GoString added in v2.1.6

func (*UpdateServerGroupAttributeRequestConnectionDrainConfig) SetConnectionDrainEnabled added in v2.1.6

func (*UpdateServerGroupAttributeRequestConnectionDrainConfig) SetConnectionDrainTimeout added in v2.1.6

func (UpdateServerGroupAttributeRequestConnectionDrainConfig) String added in v2.1.6

type UpdateServerGroupAttributeRequestHealthCheckConfig

type UpdateServerGroupAttributeRequestHealthCheckConfig struct {
	// The HTTP status codes that are used to determine whether the backend server passes the health check.
	HealthCheckCodes []*string `json:"HealthCheckCodes,omitempty" xml:"HealthCheckCodes,omitempty" type:"Repeated"`
	// The port that you want to use for health checks on backend servers.
	//
	// Valid values: **0** to **65535**.
	//
	// If you set the value to **0**, the ports of backend servers are used for health checks.
	//
	// > This parameter takes effect when the **HealthCheckEnabled** parameter is set to **true**.
	HealthCheckConnectPort *int32 `json:"HealthCheckConnectPort,omitempty" xml:"HealthCheckConnectPort,omitempty"`
	// Specifies whether to enable the health check feature. Valid values:
	//
	// *   **true** (default)
	// *   **false**
	HealthCheckEnabled *bool `json:"HealthCheckEnabled,omitempty" xml:"HealthCheckEnabled,omitempty"`
	// The domain name that is used for health checks. The domain name must meet the following requirements:
	//
	// *   The domain name must be 1 to 80 characters in length.
	// *   The domain name can contain lowercase letters, digits, hyphens (-), and periods (.).
	// *   It must contain at least one period (.) but cannot start or end with a period (.).
	// *   The rightmost field of the domain name can contain only letters and cannot contain digits or hyphens (-).
	// *   Other fields cannot start or end with a hyphen (-).
	//
	// > This parameter takes effect when the **HealthCheckEnabled** parameter is set to true and the **HealthCheckProtocol** parameter is set to **HTTP**.
	HealthCheckHost *string `json:"HealthCheckHost,omitempty" xml:"HealthCheckHost,omitempty"`
	// The version of HTTP that is used for health checks. Valid values:
	//
	// *   **HTTP1.0**
	// *   **HTTP1.1**
	//
	// > This parameter takes effect when the **HealthCheckEnabled** parameter is set to true and the **HealthCheckProtocol** parameter is set to **HTTP**.
	HealthCheckHttpVersion *string `json:"HealthCheckHttpVersion,omitempty" xml:"HealthCheckHttpVersion,omitempty"`
	// The interval at which health checks are performed. Unit: seconds.
	//
	// Valid values: **1** to **50**.
	//
	// > This parameter takes effect when the **HealthCheckEnabled** parameter is set to **true**.
	HealthCheckInterval *int32 `json:"HealthCheckInterval,omitempty" xml:"HealthCheckInterval,omitempty"`
	// The method that you want to use for the health check. Valid values:
	//
	// *   **GET**: If the length of a response exceeds 8 KB, the response is truncated. However, the health check result is not affected.
	// *   **POST**: gRPC health checks automatically use the POST method.
	// *   **HEAD**: HTTP health checks automatically use the HEAD method.
	//
	// > This parameter takes effect when the **HealthCheckEnabled** parameter is set to true and the **HealthCheckProtocol** parameter is set to **HTTP** or **gRPC**.
	HealthCheckMethod *string `json:"HealthCheckMethod,omitempty" xml:"HealthCheckMethod,omitempty"`
	// The path that is used for health checks.
	//
	// The path must be 1 to 80 characters in length and can contain only letters, digits, and the following special characters: `- / . % ? # & =`. It can also contain the following extended characters: `_ ; ~ ! ( ) * [ ] @ $ ^ : \" , +`. The path must start with a forward slash (`/`).
	//
	// > This parameter takes effect when the **HealthCheckEnabled** parameter is set to **true** and the **HealthCheckProtocol** parameter is set to **HTTP**.
	HealthCheckPath *string `json:"HealthCheckPath,omitempty" xml:"HealthCheckPath,omitempty"`
	// The protocol that you want to use for health checks. Valid values:
	//
	// *   **HTTP**: To perform HTTP health checks, ALB sends HEAD or GET requests to a backend server to check whether the backend server is healthy.
	// *   **TCP**: To perform TCP health checks, ALB sends SYN packets to a backend server to check whether the port of the backend server is available to receive requests.
	// *   **gRPC**: To perform gRPC health checks, ALB sends POST or GET requests to a backend server to check whether the backend server is healthy.
	HealthCheckProtocol *string `json:"HealthCheckProtocol,omitempty" xml:"HealthCheckProtocol,omitempty"`
	// Specify the timeout period of a health check response. If a backend server, such as an Elastic Compute Service (ECS) instance, does not return a health check response within the specified timeout period, the server fails the health check. Unit: seconds.
	//
	// Valid values: **1** to **300**.
	//
	// >
	//
	// *   If the value of the **HealthCheckTimeout** parameter is smaller than that of the **HealthCheckInterval** parameter, the timeout period specified by the **HealthCheckTimeout** parameter is ignored and the value of the **HealthCheckInterval** parameter is used as the timeout period.
	//
	// *   This parameter takes effect when the **HealthCheckEnabled** parameter is set to **true**.
	HealthCheckTimeout *int32 `json:"HealthCheckTimeout,omitempty" xml:"HealthCheckTimeout,omitempty"`
	// The number of times that an unhealthy backend server must consecutively pass health checks before it can be declared healthy (from **fail** to **success**).
	//
	// Valid values: **2** to **10**.
	HealthyThreshold *int32 `json:"HealthyThreshold,omitempty" xml:"HealthyThreshold,omitempty"`
	// The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status is changed from **success** to **fail**.
	//
	// Valid values: **2** to **10**.
	UnhealthyThreshold *int32 `json:"UnhealthyThreshold,omitempty" xml:"UnhealthyThreshold,omitempty"`
}

func (UpdateServerGroupAttributeRequestHealthCheckConfig) GoString

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckCodes

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckConnectPort

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckEnabled

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckHost

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckHttpVersion

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckInterval

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckMethod

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckPath

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckProtocol

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckTimeout

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthyThreshold

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetUnhealthyThreshold

func (UpdateServerGroupAttributeRequestHealthCheckConfig) String

type UpdateServerGroupAttributeRequestSlowStartConfig added in v2.1.6

type UpdateServerGroupAttributeRequestSlowStartConfig struct {
	SlowStartDuration *int32 `json:"SlowStartDuration,omitempty" xml:"SlowStartDuration,omitempty"`
	SlowStartEnabled  *bool  `json:"SlowStartEnabled,omitempty" xml:"SlowStartEnabled,omitempty"`
}

func (UpdateServerGroupAttributeRequestSlowStartConfig) GoString added in v2.1.6

func (*UpdateServerGroupAttributeRequestSlowStartConfig) SetSlowStartDuration added in v2.1.6

func (*UpdateServerGroupAttributeRequestSlowStartConfig) SetSlowStartEnabled added in v2.1.6

func (UpdateServerGroupAttributeRequestSlowStartConfig) String added in v2.1.6

type UpdateServerGroupAttributeRequestStickySessionConfig

type UpdateServerGroupAttributeRequestStickySessionConfig struct {
	// The cookie to be configured on the server.
	//
	// The cookie must be 1 to 200 characters in length and can contain only ASCII characters and digits. It cannot contain commas (,), semicolons (;), or space characters. It cannot start with a dollar sign ($).
	//
	// > This parameter takes effect when the **StickySessionEnabled** parameter is set to **true** and the **StickySessionType** parameter is set to **Server**.
	Cookie *string `json:"Cookie,omitempty" xml:"Cookie,omitempty"`
	// The timeout period of a cookie. Unit: seconds.
	//
	// Valid values: **1** to **86400**.
	//
	// > This parameter takes effect when the **StickySessionEnabled** parameter is set to **true** and the **StickySessionType** parameter is set to **Insert**.
	CookieTimeout *int32 `json:"CookieTimeout,omitempty" xml:"CookieTimeout,omitempty"`
	// Specifies whether to enable session persistence. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	StickySessionEnabled *bool `json:"StickySessionEnabled,omitempty" xml:"StickySessionEnabled,omitempty"`
	// The method that is used to handle a cookie. Valid values:
	//
	// *   **Insert**: inserts a cookie.
	//
	// ALB inserts a cookie (SERVERID) into the first HTTP or HTTPS response packet that is sent to a client. The next request from the client contains this cookie and the listener forwards this request to the recorded backend server.
	//
	// *   **Server**: rewrites a cookie.
	//
	// When ALB detects a user-defined cookie, it overwrites the original cookie with the user-defined cookie. Subsequent requests to ALB carry this user-defined cookie, and ALB determines the destination servers of the requests based on the cookies.
	//
	// > This parameter takes effect when the **StickySessionEnabled** parameter is set to **true** for the server group.
	StickySessionType *string `json:"StickySessionType,omitempty" xml:"StickySessionType,omitempty"`
}

func (UpdateServerGroupAttributeRequestStickySessionConfig) GoString

func (*UpdateServerGroupAttributeRequestStickySessionConfig) SetCookie

func (*UpdateServerGroupAttributeRequestStickySessionConfig) SetCookieTimeout

func (*UpdateServerGroupAttributeRequestStickySessionConfig) SetStickySessionEnabled

func (*UpdateServerGroupAttributeRequestStickySessionConfig) SetStickySessionType

func (UpdateServerGroupAttributeRequestStickySessionConfig) String

type UpdateServerGroupAttributeRequestUchConfig added in v2.0.3

type UpdateServerGroupAttributeRequestUchConfig struct {
	// The type of the parameter.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The setting of consistent hashing.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (UpdateServerGroupAttributeRequestUchConfig) GoString added in v2.0.3

func (*UpdateServerGroupAttributeRequestUchConfig) SetType added in v2.0.3

func (*UpdateServerGroupAttributeRequestUchConfig) SetValue added in v2.0.3

func (UpdateServerGroupAttributeRequestUchConfig) String added in v2.0.3

type UpdateServerGroupAttributeResponse

type UpdateServerGroupAttributeResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateServerGroupAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateServerGroupAttributeResponse) GoString

func (*UpdateServerGroupAttributeResponse) SetHeaders

func (*UpdateServerGroupAttributeResponse) SetStatusCode

func (UpdateServerGroupAttributeResponse) String

type UpdateServerGroupAttributeResponseBody

type UpdateServerGroupAttributeResponseBody struct {
	// The ID of the asynchronous job.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateServerGroupAttributeResponseBody) GoString

func (*UpdateServerGroupAttributeResponseBody) SetJobId

func (*UpdateServerGroupAttributeResponseBody) SetRequestId

func (UpdateServerGroupAttributeResponseBody) String

type UpdateServerGroupServersAttributeRequest

type UpdateServerGroupServersAttributeRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
	//
	// > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The value of **RequestId** for each API request is different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The backend servers that you want to add to the server group. You can specify up to 40 servers in each call.
	Servers []*UpdateServerGroupServersAttributeRequestServers `json:"Servers,omitempty" xml:"Servers,omitempty" type:"Repeated"`
}

func (UpdateServerGroupServersAttributeRequest) GoString

func (*UpdateServerGroupServersAttributeRequest) SetClientToken

func (*UpdateServerGroupServersAttributeRequest) SetDryRun

func (*UpdateServerGroupServersAttributeRequest) SetServerGroupId

func (UpdateServerGroupServersAttributeRequest) String

type UpdateServerGroupServersAttributeRequestServers

type UpdateServerGroupServersAttributeRequestServers struct {
	// The description of the backend server. The description must be 2 to 256 characters in length and can contain letters, digits, periods (.), underscores (\_), hyphens (-), commas (,), semicolons (;), forward slashes (/), and at signs (@). You can specify at most 40 servers in each call.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The port used by the backend server. Valid values: **1** to **65535**. You can specify at most 40 servers in each call.
	//
	// > You do not need to set this parameter if **ServerType** is set to **Fc**.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The ID of the backend server. You can specify up to 40 server IDs in each call.
	//
	// *   If **ServerType** is set to **Ecs**, **Eni**, or **Eci**, set the ServerId parameter to the ID of an Elastic Compute Service (ECS) instance, an elastic network interface (ENI), or an elastic container instance.
	// *   If **ServerType** is set to **Ip**, set the ServerId parameter to an IP address.
	// *   If **ServerType** is set to **Fc**, set the ServerId parameter to the Alibaba Cloud Resource Name (ARN) of a function.
	ServerId *string `json:"ServerId,omitempty" xml:"ServerId,omitempty"`
	// The IP address in inclusive ENI mode. You can specify at most 40 servers in each call.
	ServerIp *string `json:"ServerIp,omitempty" xml:"ServerIp,omitempty"`
	// The type of the backend server. You can specify at most 40 servers in each call. Valid values:
	//
	// *   **Ecs**
	// *   **Eni**
	// *   **Eci**
	// *   **Ip**
	// *   **Fc**
	ServerType *string `json:"ServerType,omitempty" xml:"ServerType,omitempty"`
	// The weight of the backend server. Valid values: **0** to **100**. Default value: **100**. If the weight of a backend server is set to **0**, no requests are forwarded to the backend server. You can specify at most 40 servers in each call.
	//
	// > You do not need to set this parameter if **ServerType** is set to **Fc**.
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (UpdateServerGroupServersAttributeRequestServers) GoString

func (*UpdateServerGroupServersAttributeRequestServers) SetDescription

func (*UpdateServerGroupServersAttributeRequestServers) SetPort

func (*UpdateServerGroupServersAttributeRequestServers) SetServerId

func (*UpdateServerGroupServersAttributeRequestServers) SetServerIp

func (*UpdateServerGroupServersAttributeRequestServers) SetServerType

func (*UpdateServerGroupServersAttributeRequestServers) SetWeight

func (UpdateServerGroupServersAttributeRequestServers) String

type UpdateServerGroupServersAttributeResponse

type UpdateServerGroupServersAttributeResponse struct {
	Headers    map[string]*string                             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateServerGroupServersAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateServerGroupServersAttributeResponse) GoString

func (*UpdateServerGroupServersAttributeResponse) SetHeaders

func (*UpdateServerGroupServersAttributeResponse) SetStatusCode

func (UpdateServerGroupServersAttributeResponse) String

type UpdateServerGroupServersAttributeResponseBody

type UpdateServerGroupServersAttributeResponseBody struct {
	// The ID of the asynchronous job.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateServerGroupServersAttributeResponseBody) GoString

func (*UpdateServerGroupServersAttributeResponseBody) SetJobId

func (*UpdateServerGroupServersAttributeResponseBody) SetRequestId

func (UpdateServerGroupServersAttributeResponseBody) String

Jump to

Keyboard shortcuts

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