client

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 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 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 value, but you must ensure that it is unique among all requests. ClientToken can contain only ASCII characters.
	//
	// >  If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** of each API request may be different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether only to precheck the request. Valid values:
	//
	// *   **true**: prechecks the request but does not add the servers to the server group. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
	// *   **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// A list of backend servers.
	Servers []*AddServersToServerGroupRequestServers `json:"Servers,omitempty" xml:"Servers,omitempty" type:"Repeated"`
}

func (AddServersToServerGroupRequest) GoString

func (*AddServersToServerGroupRequest) SetClientToken

func (*AddServersToServerGroupRequest) SetDryRun

func (*AddServersToServerGroupRequest) SetRegionId

func (*AddServersToServerGroupRequest) SetServerGroupId

func (*AddServersToServerGroupRequest) SetServers

func (AddServersToServerGroupRequest) String

type AddServersToServerGroupRequestServers

type AddServersToServerGroupRequestServers struct {
	// The description of the servers.
	//
	// The description must be 2 to 256 characters in length, and can contain letters, digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\_), and hyphens (-).
	//
	// >  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.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The ID of the server. You can specify at most 40 server IDs in each call.
	//
	// *   If the server group type is **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 the server group type is **Ip**, set the ServerId parameter to an IP address.
	ServerId *string `json:"ServerId,omitempty" xml:"ServerId,omitempty"`
	// The IP address of the server. If the server group type is **Ip**, set the ServerId parameter to an IP address.
	//
	// >  You can specify at most 40 server IP addresses in each call.
	ServerIp *string `json:"ServerIp,omitempty" xml:"ServerIp,omitempty"`
	// The type of the backend server. Valid values:
	//
	// *   **Ecs**: an ECS instance
	// *   **Eni**: an ENI
	// *   **Eci**: an elastic container instance
	// *   **Ip**: an IP address
	//
	// >  You can specify at most 40 servers in each call.
	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.
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (AddServersToServerGroupRequestServers) GoString

func (*AddServersToServerGroupRequestServers) SetDescription

func (*AddServersToServerGroupRequestServers) SetPort

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" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *AddServersToServerGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (AddServersToServerGroupResponse) GoString

func (*AddServersToServerGroupResponse) SetHeaders

func (*AddServersToServerGroupResponse) SetStatusCode

func (AddServersToServerGroupResponse) String

type AddServersToServerGroupResponseBody

type AddServersToServerGroupResponseBody struct {
	// 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"`
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (AddServersToServerGroupResponseBody) GoString

func (*AddServersToServerGroupResponseBody) SetJobId

func (*AddServersToServerGroupResponseBody) SetRequestId

func (*AddServersToServerGroupResponseBody) SetServerGroupId

func (AddServersToServerGroupResponseBody) String

type AssociateAdditionalCertificatesWithListenerRequest added in v1.0.10

type AssociateAdditionalCertificatesWithListenerRequest struct {
	AdditionalCertificateIds []*string `json:"AdditionalCertificateIds,omitempty" xml:"AdditionalCertificateIds,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 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"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (AssociateAdditionalCertificatesWithListenerRequest) GoString added in v1.0.10

func (*AssociateAdditionalCertificatesWithListenerRequest) SetAdditionalCertificateIds added in v1.0.10

func (*AssociateAdditionalCertificatesWithListenerRequest) SetClientToken added in v1.0.10

func (*AssociateAdditionalCertificatesWithListenerRequest) SetDryRun added in v1.0.10

func (*AssociateAdditionalCertificatesWithListenerRequest) SetListenerId added in v1.0.10

func (*AssociateAdditionalCertificatesWithListenerRequest) SetRegionId added in v1.0.10

func (AssociateAdditionalCertificatesWithListenerRequest) String added in v1.0.10

type AssociateAdditionalCertificatesWithListenerResponse added in v1.0.10

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

func (AssociateAdditionalCertificatesWithListenerResponse) GoString added in v1.0.10

func (*AssociateAdditionalCertificatesWithListenerResponse) SetHeaders added in v1.0.10

func (*AssociateAdditionalCertificatesWithListenerResponse) SetStatusCode added in v1.0.10

func (AssociateAdditionalCertificatesWithListenerResponse) String added in v1.0.10

type AssociateAdditionalCertificatesWithListenerResponseBody added in v1.0.10

type AssociateAdditionalCertificatesWithListenerResponseBody struct {
	// 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 (AssociateAdditionalCertificatesWithListenerResponseBody) GoString added in v1.0.10

func (*AssociateAdditionalCertificatesWithListenerResponseBody) SetJobId added in v1.0.10

func (*AssociateAdditionalCertificatesWithListenerResponseBody) SetRequestId added in v1.0.10

func (AssociateAdditionalCertificatesWithListenerResponseBody) String added in v1.0.10

type AttachCommonBandwidthPackageToLoadBalancerRequest

type AttachCommonBandwidthPackageToLoadBalancerRequest struct {
	// The ID of the EIP bandwidth plan.
	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 value, but you must ensure that it is unique among all requests. ClientToken can contain only ASCII characters.
	//
	// >  If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** of each API request may be different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether only to precheck the request. Valid values:
	//
	// *   **true**: prechecks the request but does not associate the EIP bandwidth plan with the NLB instance. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
	// *   **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the NLB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) 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" require:"true"`
	StatusCode *int32                                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *AttachCommonBandwidthPackageToLoadBalancerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (AttachCommonBandwidthPackageToLoadBalancerResponse) GoString

func (*AttachCommonBandwidthPackageToLoadBalancerResponse) SetHeaders

func (*AttachCommonBandwidthPackageToLoadBalancerResponse) SetStatusCode

func (AttachCommonBandwidthPackageToLoadBalancerResponse) String

type AttachCommonBandwidthPackageToLoadBalancerResponseBody

type AttachCommonBandwidthPackageToLoadBalancerResponseBody struct {
	// 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 (AttachCommonBandwidthPackageToLoadBalancerResponseBody) GoString

func (*AttachCommonBandwidthPackageToLoadBalancerResponseBody) SetJobId

func (*AttachCommonBandwidthPackageToLoadBalancerResponseBody) SetRequestId

func (AttachCommonBandwidthPackageToLoadBalancerResponseBody) String

type CancelShiftLoadBalancerZonesRequest added in v1.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 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 NLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The mappings between zones and vSwitches.
	//
	// > You can add at most one zone in each call.
	ZoneMappings []*CancelShiftLoadBalancerZonesRequestZoneMappings `json:"ZoneMappings,omitempty" xml:"ZoneMappings,omitempty" type:"Repeated"`
}

func (CancelShiftLoadBalancerZonesRequest) GoString added in v1.1.0

func (*CancelShiftLoadBalancerZonesRequest) SetClientToken added in v1.1.0

func (*CancelShiftLoadBalancerZonesRequest) SetDryRun added in v1.1.0

func (*CancelShiftLoadBalancerZonesRequest) SetLoadBalancerId added in v1.1.0

func (*CancelShiftLoadBalancerZonesRequest) SetRegionId added in v1.1.0

func (*CancelShiftLoadBalancerZonesRequest) SetZoneMappings added in v1.1.0

func (CancelShiftLoadBalancerZonesRequest) String added in v1.1.0

type CancelShiftLoadBalancerZonesRequestZoneMappings added in v1.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 of the NLB instance.
	//
	// > You can add at most one zone in each call.
	//
	// You can call the [DescribeZones](~~443890~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CancelShiftLoadBalancerZonesRequestZoneMappings) GoString added in v1.1.0

func (*CancelShiftLoadBalancerZonesRequestZoneMappings) SetVSwitchId added in v1.1.0

func (*CancelShiftLoadBalancerZonesRequestZoneMappings) SetZoneId added in v1.1.0

func (CancelShiftLoadBalancerZonesRequestZoneMappings) String added in v1.1.0

type CancelShiftLoadBalancerZonesResponse added in v1.1.0

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

func (CancelShiftLoadBalancerZonesResponse) GoString added in v1.1.0

func (*CancelShiftLoadBalancerZonesResponse) SetBody added in v1.1.0

func (*CancelShiftLoadBalancerZonesResponse) SetHeaders added in v1.1.0

func (*CancelShiftLoadBalancerZonesResponse) SetStatusCode added in v1.1.0

func (CancelShiftLoadBalancerZonesResponse) String added in v1.1.0

type CancelShiftLoadBalancerZonesResponseBody added in v1.1.0

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

func (CancelShiftLoadBalancerZonesResponseBody) GoString added in v1.1.0

func (*CancelShiftLoadBalancerZonesResponseBody) SetRequestId added in v1.1.0

func (CancelShiftLoadBalancerZonesResponseBody) String added in v1.1.0

type Client

type Client struct {
	openapi.Client
}

func NewClient

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

func (*Client) AddServersToServerGroup

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

func (*Client) AddServersToServerGroupWithOptions

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

func (*Client) AssociateAdditionalCertificatesWithListener added in v1.0.10

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

func (*Client) AssociateAdditionalCertificatesWithListenerWithOptions added in v1.0.10

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

func (*Client) AttachCommonBandwidthPackageToLoadBalancer

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

func (*Client) AttachCommonBandwidthPackageToLoadBalancerWithOptions

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

func (*Client) CancelShiftLoadBalancerZones added in v1.1.0

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

*

  • Before you call this operation, the zone of the Network Load Balancer (NLB) instance is removed from the DNS record by using the console or calling the [StartShiftLoadBalancerZones](~~2411999~~) API operation. *
  • @param request CancelShiftLoadBalancerZonesRequest
  • @return CancelShiftLoadBalancerZonesResponse

func (*Client) CancelShiftLoadBalancerZonesWithOptions added in v1.1.0

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

*

  • Before you call this operation, the zone of the Network Load Balancer (NLB) instance is removed from the DNS record by using the console or calling the [StartShiftLoadBalancerZones](~~2411999~~) API operation. *
  • @param request CancelShiftLoadBalancerZonesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CancelShiftLoadBalancerZonesResponse

func (*Client) CreateListener

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

func (*Client) CreateListenerWithOptions

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

func (*Client) CreateLoadBalancer

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

*

  • * When you create an NLB instance, the service-linked role AliyunServiceRoleForNlb is automatically created and assigned to you.
  • * **CreateLoadBalancer** is an asynchronous operation. After you send a request, the system returns an instance ID and runs the task in the background. You can call [GetLoadBalancerAttribute](~~445873~~) to query the status of an NLB instance.
  • * If an NLB instance is in the **Provisioning** state, the NLB instance is being created.
  • * If an NLB instance is in the **Active** state, the NLB instance is created. *
  • @param request CreateLoadBalancerRequest
  • @return CreateLoadBalancerResponse

func (*Client) CreateLoadBalancerWithOptions

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

*

  • * When you create an NLB instance, the service-linked role AliyunServiceRoleForNlb is automatically created and assigned to you.
  • * **CreateLoadBalancer** is an asynchronous operation. After you send a request, the system returns an instance ID and runs the task in the background. You can call [GetLoadBalancerAttribute](~~445873~~) to query the status of an NLB instance.
  • * If an NLB instance is in the **Provisioning** state, the NLB instance is being created.
  • * If an NLB instance is in the **Active** state, the NLB instance is created. *
  • @param request CreateLoadBalancerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateLoadBalancerResponse

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)

*

  • * **protocol** specifies the protocol used to forward requests to the backend servers.
  • * NLB instances support only backend server groups that use TCP, UDP, or SSL over TCP.
  • * **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 the [GetJobStatus](~~445904~~) operation to query the creation status of the task.
  • * If the task is in the **Succeeded** status, the server group is created.
  • * If the task is in the **Processing** status, the server group is being created. *
  • @param request CreateServerGroupRequest
  • @return CreateServerGroupResponse

func (*Client) CreateServerGroupWithOptions

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

*

  • * **protocol** specifies the protocol used to forward requests to the backend servers.
  • * NLB instances support only backend server groups that use TCP, UDP, or SSL over TCP.
  • * **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 the [GetJobStatus](~~445904~~) operation to query the creation status of the task.
  • * If the task is in the **Succeeded** status, the server group is created.
  • * If the task is in the **Processing** status, the server group is being created. *
  • @param request CreateServerGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateServerGroupResponse

func (*Client) DeleteListener

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

func (*Client) DeleteListenerWithOptions

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

func (*Client) DeleteLoadBalancer

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

func (*Client) DeleteLoadBalancerWithOptions

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

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)

*

  • You can delete server groups that are not associated with listeners. *
  • @param request DeleteServerGroupRequest
  • @return DeleteServerGroupResponse

func (*Client) DeleteServerGroupWithOptions

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

*

  • You can delete server groups that are not associated with listeners. *
  • @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)

func (*Client) DetachCommonBandwidthPackageFromLoadBalancerWithOptions

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

func (*Client) DisableLoadBalancerIpv6Internet

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

func (*Client) DisableLoadBalancerIpv6InternetWithOptions

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

func (*Client) DisassociateAdditionalCertificatesWithListener added in v1.0.10

func (client *Client) DisassociateAdditionalCertificatesWithListener(request *DisassociateAdditionalCertificatesWithListenerRequest) (_result *DisassociateAdditionalCertificatesWithListenerResponse, _err error)

func (*Client) DisassociateAdditionalCertificatesWithListenerWithOptions added in v1.0.10

func (client *Client) DisassociateAdditionalCertificatesWithListenerWithOptions(request *DisassociateAdditionalCertificatesWithListenerRequest, runtime *util.RuntimeOptions) (_result *DisassociateAdditionalCertificatesWithListenerResponse, _err error)

func (*Client) EnableLoadBalancerIpv6Internet

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

func (*Client) EnableLoadBalancerIpv6InternetWithOptions

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

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

func (client *Client) GetJobStatus(request *GetJobStatusRequest) (_result *GetJobStatusResponse, _err error)

func (*Client) GetJobStatusWithOptions

func (client *Client) GetJobStatusWithOptions(request *GetJobStatusRequest, runtime *util.RuntimeOptions) (_result *GetJobStatusResponse, _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) 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) ListSecurityPolicy

func (client *Client) ListSecurityPolicy(request *ListSecurityPolicyRequest) (_result *ListSecurityPolicyResponse, _err error)

func (*Client) ListSecurityPolicyWithOptions

func (client *Client) ListSecurityPolicyWithOptions(request *ListSecurityPolicyRequest, runtime *util.RuntimeOptions) (_result *ListSecurityPolicyResponse, _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) ListSystemSecurityPolicy

func (client *Client) ListSystemSecurityPolicy(request *ListSystemSecurityPolicyRequest) (_result *ListSystemSecurityPolicyResponse, _err error)

func (*Client) ListSystemSecurityPolicyWithOptions

func (client *Client) ListSystemSecurityPolicyWithOptions(request *ListSystemSecurityPolicyRequest, runtime *util.RuntimeOptions) (_result *ListSystemSecurityPolicyResponse, _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) LoadBalancerJoinSecurityGroup added in v1.0.9

func (client *Client) LoadBalancerJoinSecurityGroup(request *LoadBalancerJoinSecurityGroupRequest) (_result *LoadBalancerJoinSecurityGroupResponse, _err error)

*

  • * Make sure that you have created a security group. For more information about how to create a security group, see [CreateSecurityGroup](~~25553~~).
  • * An NLB instance can be associated with up to four security groups.
  • * You can query the security groups that are associated with an NLB instance by calling the [GetLoadBalancerAttribute](~~214362~~) operation.
  • * LoadBalancerJoinSecurityGroup 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 [GetJobStatus](~~445904~~) operation to query the status of a task.
  • * If the task is in the **Succeeded** state, the security group is associated.
  • * If the task is in the **Processing** state, the security group is being associated. In this case, you can perform only query operations. *
  • @param request LoadBalancerJoinSecurityGroupRequest
  • @return LoadBalancerJoinSecurityGroupResponse

func (*Client) LoadBalancerJoinSecurityGroupWithOptions added in v1.0.9

func (client *Client) LoadBalancerJoinSecurityGroupWithOptions(request *LoadBalancerJoinSecurityGroupRequest, runtime *util.RuntimeOptions) (_result *LoadBalancerJoinSecurityGroupResponse, _err error)

*

  • * Make sure that you have created a security group. For more information about how to create a security group, see [CreateSecurityGroup](~~25553~~).
  • * An NLB instance can be associated with up to four security groups.
  • * You can query the security groups that are associated with an NLB instance by calling the [GetLoadBalancerAttribute](~~214362~~) operation.
  • * LoadBalancerJoinSecurityGroup 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 [GetJobStatus](~~445904~~) operation to query the status of a task.
  • * If the task is in the **Succeeded** state, the security group is associated.
  • * If the task is in the **Processing** state, the security group is being associated. In this case, you can perform only query operations. *
  • @param request LoadBalancerJoinSecurityGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return LoadBalancerJoinSecurityGroupResponse

func (*Client) LoadBalancerLeaveSecurityGroup added in v1.0.9

func (client *Client) LoadBalancerLeaveSecurityGroup(request *LoadBalancerLeaveSecurityGroupRequest) (_result *LoadBalancerLeaveSecurityGroupResponse, _err error)

*

  • LoadBalancerLeaveSecurityGroup 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 [GetJobStatus](~~445904~~) operation to query the status of a task.
  • * If the task is in the **Succeeded** state, the security group is disassociated.
  • * If the task is in the **Processing** state, the security group is being disassociated. In this case, you can perform only query operations. *
  • @param request LoadBalancerLeaveSecurityGroupRequest
  • @return LoadBalancerLeaveSecurityGroupResponse

func (*Client) LoadBalancerLeaveSecurityGroupWithOptions added in v1.0.9

func (client *Client) LoadBalancerLeaveSecurityGroupWithOptions(request *LoadBalancerLeaveSecurityGroupRequest, runtime *util.RuntimeOptions) (_result *LoadBalancerLeaveSecurityGroupResponse, _err error)

*

  • LoadBalancerLeaveSecurityGroup 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 [GetJobStatus](~~445904~~) operation to query the status of a task.
  • * If the task is in the **Succeeded** state, the security group is disassociated.
  • * If the task is in the **Processing** state, the security group is being disassociated. In this case, you can perform only query operations. *
  • @param request LoadBalancerLeaveSecurityGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return LoadBalancerLeaveSecurityGroupResponse

func (*Client) MoveResourceGroup added in v1.0.10

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

func (*Client) MoveResourceGroupWithOptions added in v1.0.10

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

func (*Client) RemoveServersFromServerGroup

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

func (*Client) RemoveServersFromServerGroupWithOptions

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

func (*Client) StartListener

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

func (*Client) StartListenerWithOptions

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

func (*Client) StartShiftLoadBalancerZones added in v1.1.0

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

*

  • > If a Network Load Balancer (NLB) instance is deployed only in one zone, you cannot remove the NLB instance from the zone. *
  • @param request StartShiftLoadBalancerZonesRequest
  • @return StartShiftLoadBalancerZonesResponse

func (*Client) StartShiftLoadBalancerZonesWithOptions added in v1.1.0

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

*

  • > If a Network Load Balancer (NLB) instance is deployed only in one zone, you cannot remove the NLB instance from the 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)

func (*Client) StopListenerWithOptions

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

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

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

func (*Client) UpdateListenerAttributeWithOptions

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

func (*Client) UpdateLoadBalancerAddressTypeConfig

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

*

  • * Make sure that an NLB instance is created. For more information, see [CreateLoadBalancer](~~445868~~).
  • * You can call the [GetLoadBalancerAttribute](~~445873~~) operation to query the **AddressType** value of an NLB instance after you change the network type.
  • * **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 [GetJobStatus](~~445904~~) operation to query the task status:
  • * If the task is in the **Succeeded** state, the network type of the IPv4 address of the NLB instance is changed.
  • * If the task is in the **Processing** state, the network type of the IPv4 address of the NLB instance is being changed. In this case, you can perform only query operations. *
  • @param request UpdateLoadBalancerAddressTypeConfigRequest
  • @return UpdateLoadBalancerAddressTypeConfigResponse

func (*Client) UpdateLoadBalancerAddressTypeConfigWithOptions

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

*

  • * Make sure that an NLB instance is created. For more information, see [CreateLoadBalancer](~~445868~~).
  • * You can call the [GetLoadBalancerAttribute](~~445873~~) operation to query the **AddressType** value of an NLB instance after you change the network type.
  • * **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 [GetJobStatus](~~445904~~) operation to query the task status:
  • * If the task is in the **Succeeded** state, the network type of the IPv4 address of the NLB instance is changed.
  • * If the task is in the **Processing** state, the network type of the IPv4 address of the NLB instance is being changed. In this case, you can perform only query operations. *
  • @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)

func (*Client) UpdateLoadBalancerAttributeWithOptions

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

func (*Client) UpdateLoadBalancerProtection added in v1.0.8

func (client *Client) UpdateLoadBalancerProtection(request *UpdateLoadBalancerProtectionRequest) (_result *UpdateLoadBalancerProtectionResponse, _err error)

*

  • > You can call the [GetLoadBalancerAttribute](~~445873~~) operation to query the details about deletion protection and the configuration read-only mode. *
  • @param request UpdateLoadBalancerProtectionRequest
  • @return UpdateLoadBalancerProtectionResponse

func (*Client) UpdateLoadBalancerProtectionWithOptions added in v1.0.8

func (client *Client) UpdateLoadBalancerProtectionWithOptions(request *UpdateLoadBalancerProtectionRequest, runtime *util.RuntimeOptions) (_result *UpdateLoadBalancerProtectionResponse, _err error)

*

  • > You can call the [GetLoadBalancerAttribute](~~445873~~) operation to query the details about deletion protection and the configuration read-only mode. *
  • @param request UpdateLoadBalancerProtectionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateLoadBalancerProtectionResponse

func (*Client) UpdateLoadBalancerZones

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

*

  • When you call this operation, make sure that you specify all the zones of the NLB instance, including the existing zones and new zones. If you do not specify the existing zones, the existing zones are removed.
  • Prerequisites
  • * An NLB instance is created. For more information, see [CreateLoadBalancer](~~445868~~).
  • * You can call the [GetLoadBalancerAttribute](~~445873~~) operation to query the zones and zone attributes of an NLB instance.
  • * **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 the [GetJobStatus](~~445904~~) operation query to query the status of a task:
  • * If the task is in the **Succeeded** state, the zones and zone attributes are modified.
  • * If the task is in the **Processing** state, the zones and zone attributes are being modified. In this case, you can perform only query operations. *
  • @param request UpdateLoadBalancerZonesRequest
  • @return UpdateLoadBalancerZonesResponse

func (*Client) UpdateLoadBalancerZonesWithOptions

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

*

  • When you call this operation, make sure that you specify all the zones of the NLB instance, including the existing zones and new zones. If you do not specify the existing zones, the existing zones are removed.
  • Prerequisites
  • * An NLB instance is created. For more information, see [CreateLoadBalancer](~~445868~~).
  • * You can call the [GetLoadBalancerAttribute](~~445873~~) operation to query the zones and zone attributes of an NLB instance.
  • * **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 the [GetJobStatus](~~445904~~) operation query to query the status of a task:
  • * If the task is in the **Succeeded** state, the zones and zone attributes are modified.
  • * If the task is in the **Processing** state, the zones and zone attributes are being modified. In this case, you can perform only query operations. *
  • @param request UpdateLoadBalancerZonesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateLoadBalancerZonesResponse

func (*Client) UpdateSecurityPolicyAttribute

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

func (*Client) UpdateSecurityPolicyAttributeWithOptions

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

func (*Client) UpdateServerGroupAttribute

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

func (*Client) UpdateServerGroupAttributeWithOptions

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

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](~~445895~~) operation to query the status of a server group.
  • * If a server group is in the **Configuring** state, the server group is being modified.
  • * If a server group is in the **Available** state, the server group is running.
  • 2. You can call the [ListServerGroupServers](~~445896~~) 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](~~445895~~) operation to query the status of a server group.
  • * If a server group is in the **Configuring** state, the server group is being modified.
  • * If a server group is in the **Available** state, the server group is running.
  • 2. You can call the [ListServerGroupServers](~~445896~~) 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 CreateListenerRequest

type CreateListenerRequest struct {
	// Specifies whether to enable Application-Layer Protocol Negotiation (ALPN). Valid values:
	//
	// *   **true**
	// *   **false** (default)
	AlpnEnabled *bool `json:"AlpnEnabled,omitempty" xml:"AlpnEnabled,omitempty"`
	// The ALPN policy.
	//
	// Valid values:
	//
	// *   HTTP1Only
	// *   HTTP2Only
	// *   HTTP2Preferred
	// *   HTTP2Optional
	AlpnPolicy *string `json:"AlpnPolicy,omitempty" xml:"AlpnPolicy,omitempty"`
	// The certificate authority (CA) certificates. This parameter takes effect only for listeners that use SSL over TCP.
	//
	// > You can specify only one CA certificate.
	CaCertificateIds []*string `json:"CaCertificateIds,omitempty" xml:"CaCertificateIds,omitempty" type:"Repeated"`
	// Specifies whether to enable mutual authentication. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	CaEnabled *bool `json:"CaEnabled,omitempty" xml:"CaEnabled,omitempty"`
	// The server certificates. This parameter takes effect only for listeners that use SSL over TCP.
	//
	// > You can specify only one server certificate.
	CertificateIds []*string `json:"CertificateIds,omitempty" xml:"CertificateIds,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 client 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 maximum number of connections that can be created per second on the NLB instance. Valid values: **0** to **1000000**. **0** specifies that the number of connections is unlimited.
	Cps *int32 `json:"Cps,omitempty" xml:"Cps,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 last port in the listener port range. Valid values: **0** to **65535**. The number of the last port must be greater than the number of the first port.
	//
	// > This parameter is required when **ListenerPort** is set to **0**.
	EndPort *int32 `json:"EndPort,omitempty" xml:"EndPort,omitempty"`
	// The timeout period of idle connections. Unit: seconds. Valid values: **1** to **900**. Default value: **900**.
	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, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\_), and hyphens (-).
	ListenerDescription *string `json:"ListenerDescription,omitempty" xml:"ListenerDescription,omitempty"`
	// The listener port. Valid values: **0** to **65535**.
	//
	// If you set the value to **0**, the listener listens by port range. If you set the value to **0**, you must specify **StartPort** and **EndPort**.
	ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"`
	// The listener protocol. Valid values: **TCP**, **UDP**, and **TCPSSL**.
	ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"`
	// The ID of the Network Load Balancer (NLB) instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The maximum size of a TCP segment. Unit: bytes. Valid values: **0** to **1500**. **0** specifies that the maximum segment size remains unchanged.
	//
	// > This parameter is supported only by TCP listeners and listeners that use SSL over TCP.
	Mss *int32 `json:"Mss,omitempty" xml:"Mss,omitempty"`
	// Specifies whether to use the Proxy protocol to pass client IP addresses to backend servers. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	ProxyProtocolEnabled *bool `json:"ProxyProtocolEnabled,omitempty" xml:"ProxyProtocolEnabled,omitempty"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// Specifies whether to enable fine-grained monitoring. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	SecSensorEnabled *bool `json:"SecSensorEnabled,omitempty" xml:"SecSensorEnabled,omitempty"`
	// The security policy ID. System security policies and custom security policies are supported.
	//
	// Valid values: **tls_cipher_policy\_1\_0** (default), **tls_cipher_policy\_1\_1**, **tls_cipher_policy\_1\_2**, **tls_cipher_policy\_1\_2\_strict**, and **tls_cipher_policy\_1\_2\_strict_with\_1\_3**.
	//
	// > This parameter takes effect only for listeners that use SSL over TCP.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The first port in the listener port range. Valid values: **0** to **65535**.
	//
	// > This parameter is required when **ListenerPort** is set to **0**.
	StartPort *int32                      `json:"StartPort,omitempty" xml:"StartPort,omitempty"`
	Tag       []*CreateListenerRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (CreateListenerRequest) GoString

func (s CreateListenerRequest) GoString() string

func (*CreateListenerRequest) SetAlpnEnabled

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

func (*CreateListenerRequest) SetAlpnPolicy

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

func (*CreateListenerRequest) SetCaCertificateIds

func (s *CreateListenerRequest) SetCaCertificateIds(v []*string) *CreateListenerRequest

func (*CreateListenerRequest) SetCaEnabled

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

func (*CreateListenerRequest) SetCertificateIds

func (s *CreateListenerRequest) SetCertificateIds(v []*string) *CreateListenerRequest

func (*CreateListenerRequest) SetClientToken

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

func (*CreateListenerRequest) SetCps

func (*CreateListenerRequest) SetDryRun

func (*CreateListenerRequest) SetEndPort

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) SetMss added in v1.0.3

func (*CreateListenerRequest) SetProxyProtocolEnabled

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

func (*CreateListenerRequest) SetRegionId

func (*CreateListenerRequest) SetSecSensorEnabled

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

func (*CreateListenerRequest) SetSecurityPolicyId

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

func (*CreateListenerRequest) SetServerGroupId

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

func (*CreateListenerRequest) SetStartPort

func (*CreateListenerRequest) SetTag added in v1.0.10

func (CreateListenerRequest) String

func (s CreateListenerRequest) String() string

type CreateListenerRequestTag added in v1.0.10

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

func (CreateListenerRequestTag) GoString added in v1.0.10

func (s CreateListenerRequestTag) GoString() string

func (*CreateListenerRequestTag) SetKey added in v1.0.10

func (*CreateListenerRequestTag) SetValue added in v1.0.10

func (CreateListenerRequestTag) String added in v1.0.10

func (s CreateListenerRequestTag) String() string

type CreateListenerResponse

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

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 asynchronous task ID.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The listener ID.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The request ID.
	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 protocol version. Valid values:
	//
	// *   **ipv4:** IPv4. This is the default value.
	// *   **DualStack:** dual stack.
	AddressIpVersion *string `json:"AddressIpVersion,omitempty" xml:"AddressIpVersion,omitempty"`
	// The type of IPv4 address used by the NLB instance. Valid values:
	//
	// *   **Internet**: The NLB instance uses a public IP address. The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet.
	// *   **Intranet**: The NLB instance uses a private IP address. The domain name of the NLB instance is resolved to the private IP address. Therefore, the NLB instance can be accessed over the virtual private cloud (VPC) where the NLB instance is deployed.
	//
	// >  To enable a public IPv6 address for an NLB instance, call the [EnableLoadBalancerIpv6Internet](~~445878~~) operation.
	AddressType *string `json:"AddressType,omitempty" xml:"AddressType,omitempty"`
	// The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
	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 value, but you must make sure that it is unique among different requests. The client token can contain only ASCII characters.
	//
	// >  If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** for each API request is different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The configuration of the deletion protection feature.
	DeletionProtectionConfig *CreateLoadBalancerRequestDeletionProtectionConfig `json:"DeletionProtectionConfig,omitempty" xml:"DeletionProtectionConfig,omitempty" type:"Struct"`
	// Specifies whether to perform a dry run. Valid values:
	//
	// *   **true**: performs a dry run. The system checks the required parameters, request syntax, and 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. This is the default value. 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 billing settings of the NLB instance.
	LoadBalancerBillingConfig *CreateLoadBalancerRequestLoadBalancerBillingConfig `json:"LoadBalancerBillingConfig,omitempty" xml:"LoadBalancerBillingConfig,omitempty" type:"Struct"`
	// The name of the NLB instance.
	//
	// The value must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The value must start with a letter.
	LoadBalancerName *string `json:"LoadBalancerName,omitempty" xml:"LoadBalancerName,omitempty"`
	// The type of the instance. Set the value to **network**, which specifies an NLB instance.
	LoadBalancerType *string `json:"LoadBalancerType,omitempty" xml:"LoadBalancerType,omitempty"`
	// The configuration of the configuration read-only mode.
	ModificationProtectionConfig *CreateLoadBalancerRequestModificationProtectionConfig `json:"ModificationProtectionConfig,omitempty" xml:"ModificationProtectionConfig,omitempty" type:"Struct"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// 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 VPC where the NLB instance is deployed.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The mappings between zones and vSwitches. You must add at least two zones. You can add a maximum of 10 zones.
	ZoneMappings []*CreateLoadBalancerRequestZoneMappings `json:"ZoneMappings,omitempty" xml:"ZoneMappings,omitempty" type:"Repeated"`
}

func (CreateLoadBalancerRequest) GoString

func (s CreateLoadBalancerRequest) GoString() string

func (*CreateLoadBalancerRequest) SetAddressIpVersion

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

func (*CreateLoadBalancerRequest) SetAddressType

func (*CreateLoadBalancerRequest) SetBandwidthPackageId added in v1.0.2

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

func (*CreateLoadBalancerRequest) SetClientToken

func (*CreateLoadBalancerRequest) SetDeletionProtectionConfig added in v1.0.8

func (*CreateLoadBalancerRequest) SetDryRun

func (*CreateLoadBalancerRequest) SetLoadBalancerBillingConfig added in v1.0.2

func (*CreateLoadBalancerRequest) SetLoadBalancerName

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

func (*CreateLoadBalancerRequest) SetLoadBalancerType

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

func (*CreateLoadBalancerRequest) SetModificationProtectionConfig added in v1.0.8

func (*CreateLoadBalancerRequest) SetRegionId

func (*CreateLoadBalancerRequest) SetResourceGroupId

func (*CreateLoadBalancerRequest) SetTag added in v1.0.10

func (*CreateLoadBalancerRequest) SetVpcId

func (*CreateLoadBalancerRequest) SetZoneMappings

func (CreateLoadBalancerRequest) String

func (s CreateLoadBalancerRequest) String() string

type CreateLoadBalancerRequestDeletionProtectionConfig added in v1.0.8

type CreateLoadBalancerRequestDeletionProtectionConfig struct {
	// Specifies whether to enable deletion protection. Valid values:
	//
	// *   **true**: yes
	// *   **false** (default): no
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The reason why the deletion protection feature is enabled or disabled. The value must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The value must start with a letter.
	Reason *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
}

func (CreateLoadBalancerRequestDeletionProtectionConfig) GoString added in v1.0.8

func (*CreateLoadBalancerRequestDeletionProtectionConfig) SetEnabled added in v1.0.8

func (*CreateLoadBalancerRequestDeletionProtectionConfig) SetReason added in v1.0.8

func (CreateLoadBalancerRequestDeletionProtectionConfig) String added in v1.0.8

type CreateLoadBalancerRequestLoadBalancerBillingConfig added in v1.0.2

type CreateLoadBalancerRequestLoadBalancerBillingConfig struct {
	// The billing method of the NLB 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 added in v1.0.2

func (*CreateLoadBalancerRequestLoadBalancerBillingConfig) SetPayType added in v1.0.2

func (CreateLoadBalancerRequestLoadBalancerBillingConfig) String added in v1.0.2

type CreateLoadBalancerRequestModificationProtectionConfig added in v1.0.8

type CreateLoadBalancerRequestModificationProtectionConfig struct {
	// The reason why the configuration read-only mode is enabled. The value must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The value must start with a letter.
	//
	// >  This parameter takes effect only if the **Status** parameter is set to **ConsoleProtection**.
	Reason *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
	// Specifies whether to enable the configuration read-only mode. Valid values:
	//
	// *   **NonProtection**: does not enable the configuration read-only mode. You cannot set the **Reason** parameter. If the **Reason** parameter is set, the value is cleared.
	// *   **ConsoleProtection**: enables the configuration read-only mode. You can set the **Reason** parameter.
	//
	// >  If you set this parameter to **ConsoleProtection**, you cannot use the NLB 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 added in v1.0.8

func (*CreateLoadBalancerRequestModificationProtectionConfig) SetReason added in v1.0.8

func (*CreateLoadBalancerRequestModificationProtectionConfig) SetStatus added in v1.0.8

func (CreateLoadBalancerRequestModificationProtectionConfig) String added in v1.0.8

type CreateLoadBalancerRequestTag added in v1.0.10

type CreateLoadBalancerRequestTag struct {
	// The key of the tag. You can specify up to 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 value of the tag. You can specify up to 20 tag values. The tag value can be an empty string.
	//
	// 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://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateLoadBalancerRequestTag) GoString added in v1.0.10

func (s CreateLoadBalancerRequestTag) GoString() string

func (*CreateLoadBalancerRequestTag) SetKey added in v1.0.10

func (*CreateLoadBalancerRequestTag) SetValue added in v1.0.10

func (CreateLoadBalancerRequestTag) String added in v1.0.10

type CreateLoadBalancerRequestZoneMappings

type CreateLoadBalancerRequestZoneMappings struct {
	// The ID of the elastic IP address (EIP) that is associated with the Internet-facing NLB instance. You can specify one EIP for each zone. You must add at least two zones. You can add a maximum of 10 zones.
	AllocationId *string `json:"AllocationId,omitempty" xml:"AllocationId,omitempty"`
	// The private IP address. You must add at least two zones. You can add a maximum of 10 zones.
	PrivateIPv4Address *string `json:"PrivateIPv4Address,omitempty" xml:"PrivateIPv4Address,omitempty"`
	// The vSwitch in the zone. You can specify only one vSwitch (subnet) in each zone of an NLB instance. You must add at least two zones. You can add a maximum of 10 zones.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the zone of the NLB instance. You must add at least two zones. You can add a maximum of 10 zones.
	//
	// You can call the [DescribeZones](~~443890~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateLoadBalancerRequestZoneMappings) GoString

func (*CreateLoadBalancerRequestZoneMappings) SetAllocationId

func (*CreateLoadBalancerRequestZoneMappings) SetPrivateIPv4Address

func (*CreateLoadBalancerRequestZoneMappings) SetVSwitchId

func (*CreateLoadBalancerRequestZoneMappings) SetZoneId

func (CreateLoadBalancerRequestZoneMappings) String

type CreateLoadBalancerResponse

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

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 NLB instance.
	LoadbalancerId *string `json:"LoadbalancerId,omitempty" xml:"LoadbalancerId,omitempty"`
	// The ID of the order for the NLB instance.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateLoadBalancerResponseBody) GoString

func (*CreateLoadBalancerResponseBody) SetLoadbalancerId

func (*CreateLoadBalancerResponseBody) SetOrderId added in v1.0.3

func (*CreateLoadBalancerResponseBody) SetRequestId

func (CreateLoadBalancerResponseBody) String

type CreateSecurityPolicyRequest

type CreateSecurityPolicyRequest struct {
	// The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
	//
	// TLS 1.0 and TLS 1.1 support the following cipher suites:
	//
	// *   **ECDHE-ECDSA-AES128-SHA**
	// *   **ECDHE-ECDSA-AES256-SHA**
	// *   **ECDHE-RSA-AES128-SHA**
	// *   **ECDHE-RSA-AES256-SHA**
	// *   **AES128-SHA**
	// *   **AES256-SHA**
	// *   **DES-CBC3-SHA**
	//
	// TLS 1.2 supports the following cipher suites:
	//
	// *   **ECDHE-ECDSA-AES128-SHA**
	// *   **ECDHE-ECDSA-AES256-SHA**
	// *   **ECDHE-RSA-AES128-SHA**
	// *   **ECDHE-RSA-AES256-SHA**
	// *   **AES128-SHA**
	// *   **AES256-SHA**
	// *   **DES-CBC3-SHA**
	// *   **ECDHE-ECDSA-AES128-GCM-SHA256**
	// *   **ECDHE-ECDSA-AES256-GCM-SHA384**
	// *   **ECDHE-ECDSA-AES128-SHA256**
	// *   **ECDHE-ECDSA-AES256-SHA384**
	// *   **ECDHE-RSA-AES128-GCM-SHA256**
	// *   **ECDHE-RSA-AES256-GCM-SHA384**
	// *   **ECDHE-RSA-AES128-SHA256**
	// *   **ECDHE-RSA-AES256-SHA384**
	// *   **AES128-GCM-SHA256**
	// *   **AES256-GCM-SHA384**
	// *   **AES128-SHA256**
	// *   **AES256-SHA256**
	//
	// TLS 1.3 supports the following cipher suites:
	//
	// *   **TLS_AES\_128\_GCM_SHA256**
	// *   **TLS_AES\_256\_GCM_SHA384**
	// *   **TLS_CHACHA20\_POLY1305\_SHA256**
	// *   **TLS_AES\_128\_CCM_SHA256**
	// *   **TLS_AES\_128\_CCM\_8\_SHA256**
	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 value, but you must ensure that it is unique among all requests. ClientToken can contain only ASCII characters.
	//
	// >  If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** for each API request may be different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether only to precheck the request. Valid values:
	//
	// *   **true**: checks the request but does not create the security policy. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
	// *   **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The name of the security policy.
	//
	// The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-).
	SecurityPolicyName *string `json:"SecurityPolicyName,omitempty" xml:"SecurityPolicyName,omitempty"`
	// 标签列表。
	Tag []*CreateSecurityPolicyRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The supported versions of the Transport Layer Security (TLS) protocol. Valid values: **TLSv1.0**, **TLSv1.1**, **TLSv1.2**, and **TLSv1.3**.
	TlsVersions []*string `json:"TlsVersions,omitempty" xml:"TlsVersions,omitempty" type:"Repeated"`
}

func (CreateSecurityPolicyRequest) GoString

func (s CreateSecurityPolicyRequest) GoString() string

func (*CreateSecurityPolicyRequest) SetCiphers

func (*CreateSecurityPolicyRequest) SetClientToken

func (*CreateSecurityPolicyRequest) SetDryRun

func (*CreateSecurityPolicyRequest) SetRegionId

func (*CreateSecurityPolicyRequest) SetResourceGroupId

func (*CreateSecurityPolicyRequest) SetSecurityPolicyName

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

func (*CreateSecurityPolicyRequest) SetTag added in v1.0.10

func (*CreateSecurityPolicyRequest) SetTlsVersions

func (CreateSecurityPolicyRequest) String

type CreateSecurityPolicyRequestTag added in v1.0.10

type CreateSecurityPolicyRequestTag struct {
	// 标签键。最多支持128个字符,不能以`aliyun`或`acs:`开头,不能包含`http://`或`https://`。
	//
	// 一次调用最多支持添加20个标签。
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// 标签值。最多支持128个字符,不能以`aliyun`或`acs:`开头,不能包含`http://`或`https://`。
	//
	// 一次调用最多支持添加20个标签。
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateSecurityPolicyRequestTag) GoString added in v1.0.10

func (*CreateSecurityPolicyRequestTag) SetKey added in v1.0.10

func (*CreateSecurityPolicyRequestTag) SetValue added in v1.0.10

func (CreateSecurityPolicyRequestTag) String added in v1.0.10

type CreateSecurityPolicyResponse

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

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 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"`
	// The ID of the TLS security policy.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
}

func (CreateSecurityPolicyResponseBody) GoString

func (*CreateSecurityPolicyResponseBody) SetJobId

func (*CreateSecurityPolicyResponseBody) SetRequestId

func (*CreateSecurityPolicyResponseBody) SetSecurityPolicyId

func (CreateSecurityPolicyResponseBody) String

type CreateServerGroupRequest

type CreateServerGroupRequest struct {
	// The protocol version. Valid values:
	//
	// *   **ipv4** (default): IPv4
	// *   **DualStack**: dual stack
	AddressIPVersion *string `json:"AddressIPVersion,omitempty" xml:"AddressIPVersion,omitempty"`
	// Specifies whether to enable all-port forwarding. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	AnyPortEnabled *bool `json:"AnyPortEnabled,omitempty" xml:"AnyPortEnabled,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 enable connection draining. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	ConnectionDrainEnabled *bool `json:"ConnectionDrainEnabled,omitempty" xml:"ConnectionDrainEnabled,omitempty"`
	// The timeout period of connection draining. Unit: seconds. Valid values: **10** to **900**.
	ConnectionDrainTimeout *int32 `json:"ConnectionDrainTimeout,omitempty" xml:"ConnectionDrainTimeout,omitempty"`
	// Specifies whether to perform 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 configurations of the health check feature.
	HealthCheckConfig *CreateServerGroupRequestHealthCheckConfig `json:"HealthCheckConfig,omitempty" xml:"HealthCheckConfig,omitempty" type:"Struct"`
	// Specifies whether to enable client IP preservation. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	PreserveClientIpEnabled *bool `json:"PreserveClientIpEnabled,omitempty" xml:"PreserveClientIpEnabled,omitempty"`
	// The protocol used to forward requests to the backend servers. Valid values:
	//
	// *   **TCP** (default)
	// *   **UDP**
	// *   **TCPSSL**
	Protocol    *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
	QuicVersion *string `json:"QuicVersion,omitempty" xml:"QuicVersion,omitempty"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which the server group belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The scheduling algorithm. Valid values:
	//
	// *   **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
	// *   **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
	// *   **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
	// *   **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
	// *   **qch**: QUIC ID hashing. Requests that contain the same QUIC ID are forwarded to the same backend server.
	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**: allows you to add servers of the **Ecs**, **Ens**, or **Eci** type. This is the default value.
	// *   **Ip**: allows you to add servers by specifying IP addresses.
	ServerGroupType *string `json:"ServerGroupType,omitempty" xml:"ServerGroupType,omitempty"`
	// The tags.
	Tag []*CreateServerGroupRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The ID of the virtual private cloud (VPC) to which the server group belongs.
	//
	// > If **ServerGroupType** is set to **Instance**, only servers in the specified VPC can be added to the server group.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (CreateServerGroupRequest) GoString

func (s CreateServerGroupRequest) GoString() string

func (*CreateServerGroupRequest) SetAddressIPVersion

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

func (*CreateServerGroupRequest) SetAnyPortEnabled added in v1.0.6

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

func (*CreateServerGroupRequest) SetClientToken

func (*CreateServerGroupRequest) SetConnectionDrainEnabled

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

func (*CreateServerGroupRequest) SetConnectionDrainTimeout

func (s *CreateServerGroupRequest) SetConnectionDrainTimeout(v int32) *CreateServerGroupRequest

func (*CreateServerGroupRequest) SetDryRun

func (*CreateServerGroupRequest) SetHealthCheckConfig

func (*CreateServerGroupRequest) SetPreserveClientIpEnabled

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

func (*CreateServerGroupRequest) SetProtocol

func (*CreateServerGroupRequest) SetQuicVersion added in v1.1.1

func (*CreateServerGroupRequest) SetRegionId

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) SetTag added in v1.0.10

func (*CreateServerGroupRequest) SetVpcId

func (CreateServerGroupRequest) String

func (s CreateServerGroupRequest) String() string

type CreateServerGroupRequestHealthCheckConfig

type CreateServerGroupRequestHealthCheckConfig struct {
	// The port that you want to use for health checks on backend servers.
	//
	// Valid values: **0** to **65535**.
	//
	// Default value: **0**. If you set the value to 0, the port of the backend server is used for health checks.
	HealthCheckConnectPort *int32 `json:"HealthCheckConnectPort,omitempty" xml:"HealthCheckConnectPort,omitempty"`
	// The maximum timeout period of a health check. Unit: seconds. Valid values: **1** to **300**. Default value: **5**.
	HealthCheckConnectTimeout *int32 `json:"HealthCheckConnectTimeout,omitempty" xml:"HealthCheckConnectTimeout,omitempty"`
	// The domain name that you want to use for health checks. Valid values:
	//
	// *   **$SERVER_IP**: the private IP address of a backend server.
	// *   **domain**: a specified domain name. The domain name must be 1 to 80 characters in length, and can contain lowercase letters, digits, hyphens (-), and periods (.).
	//
	// > This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
	HealthCheckDomain *string `json:"HealthCheckDomain,omitempty" xml:"HealthCheckDomain,omitempty"`
	// Specifies whether to enable the health check feature. Valid values:
	//
	// *   **true** (default)
	// *   **false**
	HealthCheckEnabled *bool `json:"HealthCheckEnabled,omitempty" xml:"HealthCheckEnabled,omitempty"`
	// The HTTP status codes to return for health checks. Separate multiple HTTP status codes with commas (,). Valid values: **http\_2xx** (default), **http\_3xx**, **http\_4xx**, and **http\_5xx**.
	//
	// > This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
	HealthCheckHttpCode []*string `json:"HealthCheckHttpCode,omitempty" xml:"HealthCheckHttpCode,omitempty" type:"Repeated"`
	// The interval at which health checks are performed. Unit: seconds.
	//
	// Valid values: **5** to **50**.
	//
	// Default value: **10**.
	HealthCheckInterval *int32 `json:"HealthCheckInterval,omitempty" xml:"HealthCheckInterval,omitempty"`
	// The protocol that you want to use for health checks. Valid values: **TCP** (default) and **HTTP**.
	HealthCheckType *string `json:"HealthCheckType,omitempty" xml:"HealthCheckType,omitempty"`
	// The path to which health check requests are sent.
	//
	// The path must be 1 to 80 characters in length, and can contain letters, digits, and the following special characters: `- / . % ? # &`. It must start with a forward slash (/).
	//
	// > This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
	HealthCheckUrl *string `json:"HealthCheckUrl,omitempty" xml:"HealthCheckUrl,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: **2**.
	HealthyThreshold *int32 `json:"HealthyThreshold,omitempty" xml:"HealthyThreshold,omitempty"`
	// The HTTP method that is used for health checks. Valid values: **GET** (default) and **HEAD**.
	//
	// > This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
	HttpCheckMethod *string `json:"HttpCheckMethod,omitempty" xml:"HttpCheckMethod,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: **2**.
	UnhealthyThreshold *int32 `json:"UnhealthyThreshold,omitempty" xml:"UnhealthyThreshold,omitempty"`
}

func (CreateServerGroupRequestHealthCheckConfig) GoString

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckConnectPort

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckConnectTimeout

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckDomain

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckEnabled

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckHttpCode

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckInterval

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckType

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthCheckUrl

func (*CreateServerGroupRequestHealthCheckConfig) SetHealthyThreshold

func (*CreateServerGroupRequestHealthCheckConfig) SetHttpCheckMethod

func (*CreateServerGroupRequestHealthCheckConfig) SetUnhealthyThreshold

func (CreateServerGroupRequestHealthCheckConfig) String

type CreateServerGroupRequestTag added in v1.0.10

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://`.
	//
	// You can add up to 20 tags in each call.
	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://`.
	//
	// You can add up to 20 tags in each call.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateServerGroupRequestTag) GoString added in v1.0.10

func (s CreateServerGroupRequestTag) GoString() string

func (*CreateServerGroupRequestTag) SetKey added in v1.0.10

func (*CreateServerGroupRequestTag) SetValue added in v1.0.10

func (CreateServerGroupRequestTag) String added in v1.0.10

type CreateServerGroupResponse

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

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 task.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (CreateServerGroupResponseBody) GoString

func (*CreateServerGroupResponseBody) SetJobId

func (*CreateServerGroupResponseBody) SetRequestId

func (*CreateServerGroupResponseBody) SetServerGroupId

func (CreateServerGroupResponseBody) 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 value, but you must ensure that it is unique among all requests. ClientToken can contain only ASCII characters.
	//
	// >  If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** of each API request may be different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether only to precheck the request. Valid values:
	//
	// *   **true**: prechecks the request but does not delete the listener. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
	// *   **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,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) SetRegionId

func (DeleteListenerRequest) String

func (s DeleteListenerRequest) String() string

type DeleteListenerResponse

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

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 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 (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 value, but you must ensure that it is unique among all requests. ClientToken can contain only ASCII characters.
	//
	// >  If you do not set this parameter, the system uses **RequestId** as **ClientToken**. **RequestId** may be different for each API request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to only precheck this request. Valid values:
	//
	// *   **true**: prechecks the request without deleting the NLB instance. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
	// *   **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the NLB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DeleteLoadBalancerRequest) GoString

func (s DeleteLoadBalancerRequest) GoString() string

func (*DeleteLoadBalancerRequest) SetClientToken

func (*DeleteLoadBalancerRequest) SetDryRun

func (*DeleteLoadBalancerRequest) SetLoadBalancerId

func (*DeleteLoadBalancerRequest) SetRegionId

func (DeleteLoadBalancerRequest) String

func (s DeleteLoadBalancerRequest) String() string

type DeleteLoadBalancerResponse

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

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 ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteLoadBalancerResponseBody) GoString

func (*DeleteLoadBalancerResponseBody) SetJobId

func (*DeleteLoadBalancerResponseBody) SetRequestId

func (DeleteLoadBalancerResponseBody) 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 value, but you must make sure that it is unique among different requests. The token can only contain ASCII characters.
	//
	// >  If you do not set this parameter, the system automatically uses the value of **RequestId** as the value of **ClientToken**. **RequestId** of each API request may be different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform a dry run. Valid values:
	//
	// *   **true**: performs a dry run. The system checks the required parameters, request syntax, and 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 region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the available regions.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the TLS security policy.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
}

func (DeleteSecurityPolicyRequest) GoString

func (s DeleteSecurityPolicyRequest) GoString() string

func (*DeleteSecurityPolicyRequest) SetClientToken

func (*DeleteSecurityPolicyRequest) SetDryRun

func (*DeleteSecurityPolicyRequest) SetRegionId

func (*DeleteSecurityPolicyRequest) SetSecurityPolicyId

func (DeleteSecurityPolicyRequest) String

type DeleteSecurityPolicyResponse

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

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 ID of the request.
	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 value, but you must make sure that it is unique among different requests. The token can only contain ASCII characters.
	//
	// >  If you do not set this parameter, the system automatically uses the value of **RequestId** as the value of **ClientToken**. **RequestId** of each API request may be different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform a dry run. Valid values:
	//
	// *   **true**: performs a dry run. The system checks the required parameters, request syntax, and 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 region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,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) SetRegionId

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" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteServerGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 task.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// The ID of the request.
	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** (default): English
	// *   **ja**: Japanese
	AcceptLanguage *string `json:"AcceptLanguage,omitempty" xml:"AcceptLanguage,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 all requests. ClientToken can contain only ASCII characters.
	//
	// >  If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** for each API request may be different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The service code. Set the value to **nlb**.
	ServiceCode *string `json:"ServiceCode,omitempty" xml:"ServiceCode,omitempty"`
}

func (DescribeRegionsRequest) GoString

func (s DescribeRegionsRequest) GoString() string

func (*DescribeRegionsRequest) SetAcceptLanguage

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

func (*DescribeRegionsRequest) SetClientToken

func (*DescribeRegionsRequest) SetServiceCode

func (DescribeRegionsRequest) String

func (s DescribeRegionsRequest) String() string

type DescribeRegionsResponse

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

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 {
	// A list of 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 the 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

type DescribeZonesRequest struct {
	// The supported natural language. Valid values:
	//
	// *   **zh-CN**: Chinese
	// *   **en-US** (default): English
	// *   **ja**: Japanese
	AcceptLanguage *string `json:"AcceptLanguage,omitempty" xml:"AcceptLanguage,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 all requests. ClientToken can contain only ASCII characters.
	//
	// >  If you do not set this parameter, the system uses **RequestId** as **ClientToken**. **RequestId** may be different for each API request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the region to which the zone belongs. You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The service code. Set the value to **nlb**.
	ServiceCode *string `json:"ServiceCode,omitempty" xml:"ServiceCode,omitempty"`
}

func (DescribeZonesRequest) GoString

func (s DescribeZonesRequest) GoString() string

func (*DescribeZonesRequest) SetAcceptLanguage

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

func (*DescribeZonesRequest) SetClientToken

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

func (*DescribeZonesRequest) SetRegionId

func (*DescribeZonesRequest) SetServiceCode

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

func (DescribeZonesRequest) String

func (s DescribeZonesRequest) String() string

type DescribeZonesResponse

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

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 ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The list of 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 ID of the zone.
	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 ID of the EIP bandwidth plan.
	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 value, but you must ensure that it is unique among all requests. ClientToken can contain only ASCII characters.
	//
	// >  If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** of each API request may be different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether only to precheck the request. Valid values:
	//
	// *   **true**: prechecks the request but does not disassociate the NLB instance from the EIP bandwidth plan. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
	// *   **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the NLB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) 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" require:"true"`
	StatusCode *int32                                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DetachCommonBandwidthPackageFromLoadBalancerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DetachCommonBandwidthPackageFromLoadBalancerResponse) GoString

func (*DetachCommonBandwidthPackageFromLoadBalancerResponse) SetHeaders

func (*DetachCommonBandwidthPackageFromLoadBalancerResponse) SetStatusCode

func (DetachCommonBandwidthPackageFromLoadBalancerResponse) String

type DetachCommonBandwidthPackageFromLoadBalancerResponseBody

type DetachCommonBandwidthPackageFromLoadBalancerResponseBody struct {
	// 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 (DetachCommonBandwidthPackageFromLoadBalancerResponseBody) GoString

func (*DetachCommonBandwidthPackageFromLoadBalancerResponseBody) SetJobId

func (*DetachCommonBandwidthPackageFromLoadBalancerResponseBody) SetRequestId

func (DetachCommonBandwidthPackageFromLoadBalancerResponseBody) String

type DisableLoadBalancerIpv6InternetRequest

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 client 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 NLB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DisableLoadBalancerIpv6InternetRequest) GoString

func (*DisableLoadBalancerIpv6InternetRequest) SetClientToken

func (*DisableLoadBalancerIpv6InternetRequest) SetDryRun

func (*DisableLoadBalancerIpv6InternetRequest) SetLoadBalancerId

func (*DisableLoadBalancerIpv6InternetRequest) SetRegionId

func (DisableLoadBalancerIpv6InternetRequest) String

type DisableLoadBalancerIpv6InternetResponse

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

func (DisableLoadBalancerIpv6InternetResponse) GoString

func (*DisableLoadBalancerIpv6InternetResponse) SetHeaders

func (*DisableLoadBalancerIpv6InternetResponse) SetStatusCode

func (DisableLoadBalancerIpv6InternetResponse) String

type DisableLoadBalancerIpv6InternetResponseBody

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

func (DisableLoadBalancerIpv6InternetResponseBody) GoString

func (*DisableLoadBalancerIpv6InternetResponseBody) SetRequestId

func (DisableLoadBalancerIpv6InternetResponseBody) String

type DisassociateAdditionalCertificatesWithListenerRequest added in v1.0.10

type DisassociateAdditionalCertificatesWithListenerRequest struct {
	AdditionalCertificateIds []*string `json:"AdditionalCertificateIds,omitempty" xml:"AdditionalCertificateIds,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 only precheck this request. Valid values:
	//
	// *   **true**: prechecks the request without creating the resource. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
	// *   **false** (default): sends the request. If the request passes the precheck, 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"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DisassociateAdditionalCertificatesWithListenerRequest) GoString added in v1.0.10

func (*DisassociateAdditionalCertificatesWithListenerRequest) SetAdditionalCertificateIds added in v1.0.10

func (*DisassociateAdditionalCertificatesWithListenerRequest) SetClientToken added in v1.0.10

func (*DisassociateAdditionalCertificatesWithListenerRequest) SetDryRun added in v1.0.10

func (*DisassociateAdditionalCertificatesWithListenerRequest) SetListenerId added in v1.0.10

func (*DisassociateAdditionalCertificatesWithListenerRequest) SetRegionId added in v1.0.10

func (DisassociateAdditionalCertificatesWithListenerRequest) String added in v1.0.10

type DisassociateAdditionalCertificatesWithListenerResponse added in v1.0.10

type DisassociateAdditionalCertificatesWithListenerResponse struct {
	Headers    map[string]*string                                          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DisassociateAdditionalCertificatesWithListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DisassociateAdditionalCertificatesWithListenerResponse) GoString added in v1.0.10

func (*DisassociateAdditionalCertificatesWithListenerResponse) SetHeaders added in v1.0.10

func (*DisassociateAdditionalCertificatesWithListenerResponse) SetStatusCode added in v1.0.10

func (DisassociateAdditionalCertificatesWithListenerResponse) String added in v1.0.10

type DisassociateAdditionalCertificatesWithListenerResponseBody added in v1.0.10

type DisassociateAdditionalCertificatesWithListenerResponseBody struct {
	// 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 (DisassociateAdditionalCertificatesWithListenerResponseBody) GoString added in v1.0.10

func (*DisassociateAdditionalCertificatesWithListenerResponseBody) SetJobId added in v1.0.10

func (*DisassociateAdditionalCertificatesWithListenerResponseBody) SetRequestId added in v1.0.10

func (DisassociateAdditionalCertificatesWithListenerResponseBody) String added in v1.0.10

type EnableLoadBalancerIpv6InternetRequest

type EnableLoadBalancerIpv6InternetRequest 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 it is unique among all requests. ClientToken can contain only ASCII characters.
	//
	// >  If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** for each API request may be different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether only to precheck the request. Valid values:
	//
	// *   **true**: prechecks the request but does not change the network type of the NLB instance. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
	// *   **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the NLB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (EnableLoadBalancerIpv6InternetRequest) GoString

func (*EnableLoadBalancerIpv6InternetRequest) SetClientToken

func (*EnableLoadBalancerIpv6InternetRequest) SetDryRun

func (*EnableLoadBalancerIpv6InternetRequest) SetLoadBalancerId

func (*EnableLoadBalancerIpv6InternetRequest) SetRegionId

func (EnableLoadBalancerIpv6InternetRequest) String

type EnableLoadBalancerIpv6InternetResponse

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

func (EnableLoadBalancerIpv6InternetResponse) GoString

func (*EnableLoadBalancerIpv6InternetResponse) SetHeaders

func (*EnableLoadBalancerIpv6InternetResponse) SetStatusCode

func (EnableLoadBalancerIpv6InternetResponse) String

type EnableLoadBalancerIpv6InternetResponseBody

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

func (EnableLoadBalancerIpv6InternetResponseBody) GoString

func (*EnableLoadBalancerIpv6InternetResponseBody) SetRequestId

func (EnableLoadBalancerIpv6InternetResponseBody) String

type GetJobStatusRequest

type GetJobStatusRequest 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 it is unique among all requests. ClientToken can contain only ASCII characters.
	//
	// >  If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** of each API request may be different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the asynchronous task.
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
}

func (GetJobStatusRequest) GoString

func (s GetJobStatusRequest) GoString() string

func (*GetJobStatusRequest) SetClientToken

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

func (*GetJobStatusRequest) SetJobId

func (GetJobStatusRequest) String

func (s GetJobStatusRequest) String() string

type GetJobStatusResponse

type GetJobStatusResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetJobStatusResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetJobStatusResponse) GoString

func (s GetJobStatusResponse) GoString() string

func (*GetJobStatusResponse) SetBody

func (*GetJobStatusResponse) SetHeaders

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

func (*GetJobStatusResponse) SetStatusCode

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

func (GetJobStatusResponse) String

func (s GetJobStatusResponse) String() string

type GetJobStatusResponseBody

type GetJobStatusResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The state of the task. Valid values:
	//
	// *   **Succeeded**: The task is successful.
	// *   **processing**: The ticket is being executed.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetJobStatusResponseBody) GoString

func (s GetJobStatusResponseBody) GoString() string

func (*GetJobStatusResponseBody) SetRequestId

func (*GetJobStatusResponseBody) SetStatus

func (GetJobStatusResponseBody) String

func (s GetJobStatusResponseBody) String() string

type GetListenerAttributeRequest

type GetListenerAttributeRequest 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 it is unique among all requests. ClientToken can contain only ASCII characters.
	//
	// >  If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** of each API request may be different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether only to precheck the request. Valid values:
	//
	// *   **true**: checks the request but does not query the listener details. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
	// *   **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The ID of the region where the Network Load Balancer (NLB) instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (GetListenerAttributeRequest) GoString

func (s GetListenerAttributeRequest) GoString() string

func (*GetListenerAttributeRequest) SetClientToken

func (*GetListenerAttributeRequest) SetDryRun

func (*GetListenerAttributeRequest) SetListenerId

func (*GetListenerAttributeRequest) SetRegionId

func (GetListenerAttributeRequest) String

type GetListenerAttributeResponse

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

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 {
	// Indicates whether Application-Layer Protocol Negotiation (ALPN) is enabled. Valid values:
	//
	// *   **true**: yes
	// *   **false**: no
	AlpnEnabled *bool `json:"AlpnEnabled,omitempty" xml:"AlpnEnabled,omitempty"`
	// The ALPN policy. Valid values:
	//
	// *   **HTTP1Only**
	// *   **HTTP2Only**
	// *   **HTTP2Preferred**
	// *   **HTTP2Optional**
	AlpnPolicy *string `json:"AlpnPolicy,omitempty" xml:"AlpnPolicy,omitempty"`
	// The CA certificates. Only one CA certificate is supported.
	//
	// >  This parameter takes effect only for listeners that use SSL over TCP.
	CaCertificateIds []*string `json:"CaCertificateIds,omitempty" xml:"CaCertificateIds,omitempty" type:"Repeated"`
	// Indicates whether mutual authentication is enabled. Valid values:
	//
	// *   **true**: yes
	// *   **false**: no
	CaEnabled *bool `json:"CaEnabled,omitempty" xml:"CaEnabled,omitempty"`
	// The server certificates. Only one server certificate is supported.
	//
	// >  This parameter takes effect only for listeners that use SSL over TCP.
	CertificateIds []*string `json:"CertificateIds,omitempty" xml:"CertificateIds,omitempty" type:"Repeated"`
	// The maximum number of connections that can be created per second on the NLB instance. Valid values: **0** to **1000000**. **0** specifies that the number of connections is unlimited.
	Cps *int32 `json:"Cps,omitempty" xml:"Cps,omitempty"`
	// The last port in the listening port range. Valid values: **0** to **65535**. The number of the last port must be smaller than that of the first port.
	EndPort *string `json:"EndPort,omitempty" xml:"EndPort,omitempty"`
	// The timeout period of an idle connection. Unit: seconds. Valid values: **1** to **900**.
	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, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\_), and hyphens (-).
	ListenerDescription *string `json:"ListenerDescription,omitempty" xml:"ListenerDescription,omitempty"`
	// The ID of the listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The listening port. Valid values: **0** to **65535**. A value of **0** specifies all ports. If you set the value to **0**, you must also set the **StartPort** and **EndPort** parameters.
	ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"`
	// The listening protocol. Valid values: **TCP**, **UDP**, and **TCPSSL**.
	ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"`
	// The status of the listener. Valid values:
	//
	// *   **Provisioning**: The listener is being created.
	// *   **Running**: The listener is running.
	// *   **Configuring**: The listener is being configured.
	// *   **Stopping**: The listener is being stopped.
	// *   **Stopped**: The listener is stopped.
	// *   **Starting**: The listener is being started.
	// *   **Deleting**: The listener is being deleted.
	// *   **Deleted**: The listener is deleted.
	ListenerStatus *string `json:"ListenerStatus,omitempty" xml:"ListenerStatus,omitempty"`
	// The ID of the NLB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The size of the largest TCP segment. Unit: bytes. Valid values: **0** to **1500**. **0** specifies that the maximum segment size remains unchanged.
	//
	// >  This parameter is supported only by listeners that use SSL over TCP.
	Mss *int32 `json:"Mss,omitempty" xml:"Mss,omitempty"`
	// Indicates whether the Proxy protocol is used to pass client IP addresses to backend servers. Valid values:
	//
	// *   **true**: yes
	// *   **false**: no
	ProxyProtocolEnabled *bool `json:"ProxyProtocolEnabled,omitempty" xml:"ProxyProtocolEnabled,omitempty"`
	// The ID of the region where the NLB instance is deployed.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether fine-grained monitoring is enabled. Valid values:
	//
	// *   **true**: yes
	// *   **false**: no
	SecSensorEnabled *bool `json:"SecSensorEnabled,omitempty" xml:"SecSensorEnabled,omitempty"`
	// The ID of the security policy. System security policies and custom security policies are supported.
	//
	// Valid values: **tls_cipher_policy\_1\_0**, **tls_cipher_policy\_1\_1**, **tls_cipher_policy\_1\_2**, **tls_cipher_policy\_1\_2\_strict**, and **tls_cipher_policy\_1\_2\_strict_with\_1\_3**.
	//
	// >  This parameter takes effect only for listeners that use SSL over TCP.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The first port in the listening port range. Valid values: **0** to **65535**.
	StartPort *string `json:"StartPort,omitempty" xml:"StartPort,omitempty"`
	// The tags.
	Tags []*GetListenerAttributeResponseBodyTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
}

func (GetListenerAttributeResponseBody) GoString

func (*GetListenerAttributeResponseBody) SetAlpnEnabled

func (*GetListenerAttributeResponseBody) SetAlpnPolicy

func (*GetListenerAttributeResponseBody) SetCaCertificateIds

func (*GetListenerAttributeResponseBody) SetCaEnabled

func (*GetListenerAttributeResponseBody) SetCertificateIds

func (*GetListenerAttributeResponseBody) SetCps

func (*GetListenerAttributeResponseBody) SetEndPort added in v1.0.2

func (*GetListenerAttributeResponseBody) SetIdleTimeout

func (*GetListenerAttributeResponseBody) SetListenerDescription

func (*GetListenerAttributeResponseBody) SetListenerId

func (*GetListenerAttributeResponseBody) SetListenerPort

func (*GetListenerAttributeResponseBody) SetListenerProtocol

func (*GetListenerAttributeResponseBody) SetListenerStatus

func (*GetListenerAttributeResponseBody) SetLoadBalancerId

func (*GetListenerAttributeResponseBody) SetMss added in v1.0.3

func (*GetListenerAttributeResponseBody) SetProxyProtocolEnabled

func (*GetListenerAttributeResponseBody) SetRegionId

func (*GetListenerAttributeResponseBody) SetRequestId

func (*GetListenerAttributeResponseBody) SetSecSensorEnabled

func (*GetListenerAttributeResponseBody) SetSecurityPolicyId

func (*GetListenerAttributeResponseBody) SetServerGroupId

func (*GetListenerAttributeResponseBody) SetStartPort added in v1.0.2

func (*GetListenerAttributeResponseBody) SetTags added in v1.0.10

func (GetListenerAttributeResponseBody) String

type GetListenerAttributeResponseBodyTags added in v1.0.10

type GetListenerAttributeResponseBodyTags struct {
	// The key of the tag that you want to remove. You can remove up to 20 tags in each call.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The value of the tag.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (GetListenerAttributeResponseBodyTags) GoString added in v1.0.10

func (*GetListenerAttributeResponseBodyTags) SetTagKey added in v1.0.10

func (*GetListenerAttributeResponseBodyTags) SetTagValue added in v1.0.10

func (GetListenerAttributeResponseBodyTags) String added in v1.0.10

type GetListenerHealthStatusRequest

type GetListenerHealthStatusRequest struct {
	// The ID of the listener of the NLB instance.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,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 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 parameter to the value of NextToken that is returned from the last call.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (GetListenerHealthStatusRequest) GoString

func (*GetListenerHealthStatusRequest) SetListenerId

func (*GetListenerHealthStatusRequest) SetMaxResults

func (*GetListenerHealthStatusRequest) SetNextToken

func (*GetListenerHealthStatusRequest) SetRegionId

func (GetListenerHealthStatusRequest) String

type GetListenerHealthStatusResponse

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

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 number of entries returned per page.
	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 a value of **NextToken** is returned, the value is the token 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 number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (GetListenerHealthStatusResponseBody) GoString

func (*GetListenerHealthStatusResponseBody) SetMaxResults

func (*GetListenerHealthStatusResponseBody) SetNextToken

func (*GetListenerHealthStatusResponseBody) SetRequestId

func (*GetListenerHealthStatusResponseBody) SetTotalCount

func (GetListenerHealthStatusResponseBody) String

type GetListenerHealthStatusResponseBodyListenerHealthStatus

type GetListenerHealthStatusResponseBodyListenerHealthStatus struct {
	// The ID of the listener of the NLB instance.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The listening port.
	ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"`
	// The listening protocol. Valid values: **TCP**, **UDP**, and **TCPSSL**.
	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 {
	// Indicates whether the health check feature is enabled. Valid values:
	//
	// *   **true**: enabled
	// *   **false**: disabled
	HeathCheckEnabled *bool `json:"HeathCheckEnabled,omitempty" xml:"HeathCheckEnabled,omitempty"`
	// A list of unhealthy backend servers.
	NonNormalServers []*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServers `json:"NonNormalServers,omitempty" xml:"NonNormalServers,omitempty" type:"Repeated"`
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfos) GoString

func (*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfos) SetHeathCheckEnabled

func (*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfos) SetServerGroupId

func (GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfos) String

type GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServers added in v1.0.3

type GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServers struct {
	// The backend port.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The cause of the health check failure.
	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 health check status. 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 added in v1.0.3

func (*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServers) SetPort added in v1.0.3

func (*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServers) SetServerId added in v1.0.3

func (*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServers) SetServerIp added in v1.0.3

func (*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServers) SetStatus added in v1.0.3

func (GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServers) String added in v1.0.3

type GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason added in v1.0.3

type GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason struct {
	// The reason why the **status** is abnormal. Valid values:
	//
	// *   **CONNECT_TIMEOUT**: The NLB instance failed to connect to the backend server within the specified period of time.
	// *   **CONNECT_FAILED**: The NLB instance failed to connect to the backend server.
	// *   **RECV_RESPONSE_TIMEOUT**: The NLB instance failed to receive a response from the backend server within the specified period of time.
	// *   **CONNECT_INTERRUPT**: The connection between the health check and the backend servers was interrupted.
	// *   **HTTP_CODE_NOT_MATCH**: The HTTP status code from the backend servers was not the expected one.
	// *   **HTTP_INVALID_HEADER**: The format of the response from the backend servers is invalid.
	ReasonCode *string `json:"ReasonCode,omitempty" xml:"ReasonCode,omitempty"`
}

func (GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason) GoString added in v1.0.3

func (*GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason) SetReasonCode added in v1.0.3

func (GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason) String added in v1.0.3

type GetLoadBalancerAttributeRequest

type GetLoadBalancerAttributeRequest struct {
	ClientToken    *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	DryRun         *bool   `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	RegionId       *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (GetLoadBalancerAttributeRequest) GoString

func (*GetLoadBalancerAttributeRequest) SetClientToken

func (*GetLoadBalancerAttributeRequest) SetDryRun

func (*GetLoadBalancerAttributeRequest) SetLoadBalancerId

func (*GetLoadBalancerAttributeRequest) SetRegionId

func (GetLoadBalancerAttributeRequest) String

type GetLoadBalancerAttributeResponse

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

func (GetLoadBalancerAttributeResponse) GoString

func (*GetLoadBalancerAttributeResponse) SetHeaders

func (*GetLoadBalancerAttributeResponse) SetStatusCode

func (GetLoadBalancerAttributeResponse) String

type GetLoadBalancerAttributeResponseBody

type GetLoadBalancerAttributeResponseBody struct {
	AddressIpVersion *string `json:"AddressIpVersion,omitempty" xml:"AddressIpVersion,omitempty"`
	// The IPv4 network type of the NLB instance. Valid values:
	//
	// *   **Internet** The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet.
	// *   **Intranet** The domain name of the NLB instance is resolved to the private IP address. Therefore, the NLB instance can be accessed over the VPC in which the NLB instance is deployed.
	AddressType        *string `json:"AddressType,omitempty" xml:"AddressType,omitempty"`
	BandwidthPackageId *string `json:"BandwidthPackageId,omitempty" xml:"BandwidthPackageId,omitempty"`
	// The maximum number of connections per second that can be created on the NLB instance. Valid values: **0** to **1000000**.
	//
	// **0** indicates that the number of connections is unlimited.
	Cps        *int32  `json:"Cps,omitempty" xml:"Cps,omitempty"`
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// Indicates whether the NLB instance is accessible across zones. Valid values:
	//
	// *   **true**
	// *   **false**
	CrossZoneEnabled         *bool                                                         `json:"CrossZoneEnabled,omitempty" xml:"CrossZoneEnabled,omitempty"`
	DNSName                  *string                                                       `json:"DNSName,omitempty" xml:"DNSName,omitempty"`
	DeletionProtectionConfig *GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig `json:"DeletionProtectionConfig,omitempty" xml:"DeletionProtectionConfig,omitempty" type:"Struct"`
	// The IPv6 network type of the NLB instance. Valid values:
	//
	// *   **Internet**: The NLB instance uses a public IP address. The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet.
	// *   **Intranet**: The NLB instance uses a private IP address. The domain name of the NLB instance is resolved to the private IP address. In this case, the NLB instance can be accessed over the VPC where the NLB instance is deployed.
	Ipv6AddressType *string `json:"Ipv6AddressType,omitempty" xml:"Ipv6AddressType,omitempty"`
	// The billing information of the NLB instance.
	LoadBalancerBillingConfig *GetLoadBalancerAttributeResponseBodyLoadBalancerBillingConfig `json:"LoadBalancerBillingConfig,omitempty" xml:"LoadBalancerBillingConfig,omitempty" type:"Struct"`
	// The status of workloads on the NLB instance. Valid values:
	//
	// *   **Abnormal**
	// *   **Normal**
	LoadBalancerBusinessStatus *string `json:"LoadBalancerBusinessStatus,omitempty" xml:"LoadBalancerBusinessStatus,omitempty"`
	// The NLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The NLB instance 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.
	LoadBalancerName *string `json:"LoadBalancerName,omitempty" xml:"LoadBalancerName,omitempty"`
	// The NLB instance status. Valid values:
	//
	// *   **Inactive**: The NLB instance is disabled. The listeners of NLB instances in the Inactive state do not forward traffic.
	// *   **Active**: The NLB instance is running.
	// *   **Provisioning**: The NLB instance is being created.
	// *   **Configuring**: The NLB instance is being modified.
	// *   **CreateFailed**: The system failed to create the NLB instance. In this case, you are not charged for the NLB instance. You can only delete the NLB instance.
	LoadBalancerStatus           *string                                                           `json:"LoadBalancerStatus,omitempty" xml:"LoadBalancerStatus,omitempty"`
	LoadBalancerType             *string                                                           `json:"LoadBalancerType,omitempty" xml:"LoadBalancerType,omitempty"`
	ModificationProtectionConfig *GetLoadBalancerAttributeResponseBodyModificationProtectionConfig `json:"ModificationProtectionConfig,omitempty" xml:"ModificationProtectionConfig,omitempty" type:"Struct"`
	// The information about the locked NLB instance. This parameter is returned only when `LoadBalancerBussinessStatus` is **Abnormal**.
	OperationLocks []*GetLoadBalancerAttributeResponseBodyOperationLocks `json:"OperationLocks,omitempty" xml:"OperationLocks,omitempty" type:"Repeated"`
	// The region ID of the NLB instance.
	RegionId        *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	RequestId       *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The ID of the security group associated with the NLB instance.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" xml:"SecurityGroupIds,omitempty" type:"Repeated"`
	// The tags.
	Tags []*GetLoadBalancerAttributeResponseBodyTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The VPC ID of the NLB instance.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The list of zones and vSwitches in the zones. You must specify 2 to 10 zones.
	ZoneMappings []*GetLoadBalancerAttributeResponseBodyZoneMappings `json:"ZoneMappings,omitempty" xml:"ZoneMappings,omitempty" type:"Repeated"`
}

func (GetLoadBalancerAttributeResponseBody) GoString

func (*GetLoadBalancerAttributeResponseBody) SetAddressIpVersion

func (*GetLoadBalancerAttributeResponseBody) SetAddressType

func (*GetLoadBalancerAttributeResponseBody) SetBandwidthPackageId added in v1.0.2

func (*GetLoadBalancerAttributeResponseBody) SetCps

func (*GetLoadBalancerAttributeResponseBody) SetCreateTime

func (*GetLoadBalancerAttributeResponseBody) SetCrossZoneEnabled added in v1.0.3

func (*GetLoadBalancerAttributeResponseBody) SetDNSName

func (*GetLoadBalancerAttributeResponseBody) SetDeletionProtectionConfig added in v1.0.8

func (*GetLoadBalancerAttributeResponseBody) SetIpv6AddressType added in v1.0.3

func (*GetLoadBalancerAttributeResponseBody) SetLoadBalancerBusinessStatus

func (*GetLoadBalancerAttributeResponseBody) SetLoadBalancerId

func (*GetLoadBalancerAttributeResponseBody) SetLoadBalancerName

func (*GetLoadBalancerAttributeResponseBody) SetLoadBalancerStatus

func (*GetLoadBalancerAttributeResponseBody) SetLoadBalancerType

func (*GetLoadBalancerAttributeResponseBody) SetModificationProtectionConfig added in v1.0.8

func (*GetLoadBalancerAttributeResponseBody) SetRegionId

func (*GetLoadBalancerAttributeResponseBody) SetRequestId

func (*GetLoadBalancerAttributeResponseBody) SetResourceGroupId

func (*GetLoadBalancerAttributeResponseBody) SetSecurityGroupIds

func (*GetLoadBalancerAttributeResponseBody) SetTags added in v1.0.10

func (*GetLoadBalancerAttributeResponseBody) SetVpcId

func (GetLoadBalancerAttributeResponseBody) String

type GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig added in v1.0.8

type GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig struct {
	Enabled     *bool   `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	EnabledTime *string `json:"EnabledTime,omitempty" xml:"EnabledTime,omitempty"`
	Reason      *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig) GoString added in v1.0.8

func (*GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig) SetEnabled added in v1.0.8

func (*GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig) SetEnabledTime added in v1.0.8

func (*GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig) SetReason added in v1.0.8

func (GetLoadBalancerAttributeResponseBodyDeletionProtectionConfig) String added in v1.0.8

type GetLoadBalancerAttributeResponseBodyLoadBalancerBillingConfig

type GetLoadBalancerAttributeResponseBodyLoadBalancerBillingConfig struct {
	// The billing method of the NLB instance. Set the value to **PostPay**, which specifies 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 GetLoadBalancerAttributeResponseBodyModificationProtectionConfig added in v1.0.8

type GetLoadBalancerAttributeResponseBodyModificationProtectionConfig struct {
	EnabledTime *string `json:"EnabledTime,omitempty" xml:"EnabledTime,omitempty"`
	Reason      *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
	Status      *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyModificationProtectionConfig) GoString added in v1.0.8

func (*GetLoadBalancerAttributeResponseBodyModificationProtectionConfig) SetEnabledTime added in v1.0.8

func (*GetLoadBalancerAttributeResponseBodyModificationProtectionConfig) SetReason added in v1.0.8

func (*GetLoadBalancerAttributeResponseBodyModificationProtectionConfig) SetStatus added in v1.0.8

func (GetLoadBalancerAttributeResponseBodyModificationProtectionConfig) String added in v1.0.8

type GetLoadBalancerAttributeResponseBodyOperationLocks

type GetLoadBalancerAttributeResponseBodyOperationLocks struct {
	// The reason why the NLB instance is locked.
	LockReason *string `json:"LockReason,omitempty" xml:"LockReason,omitempty"`
	// The type of the lock. Valid values:
	//
	// *   **SecurityLocked**: The NLB instance is locked due to security reasons.
	// *   **RelatedResourceLocked**: The NLB instance is locked due to other resources associated with the NLB instance.
	// *   **FinancialLocked**: The NLB instance is locked due to overdue payments.
	// *   **ResidualLocked**: The NLB instance is locked because the associated resources have overdue payments and the resources are released.
	LockType *string `json:"LockType,omitempty" xml:"LockType,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyOperationLocks) GoString

func (*GetLoadBalancerAttributeResponseBodyOperationLocks) SetLockReason

func (*GetLoadBalancerAttributeResponseBodyOperationLocks) SetLockType

func (GetLoadBalancerAttributeResponseBodyOperationLocks) String

type GetLoadBalancerAttributeResponseBodyTags added in v1.0.10

type GetLoadBalancerAttributeResponseBodyTags struct {
	// The tag key.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyTags) GoString added in v1.0.10

func (*GetLoadBalancerAttributeResponseBodyTags) SetTagKey added in v1.0.10

func (*GetLoadBalancerAttributeResponseBodyTags) SetTagValue added in v1.0.10

func (GetLoadBalancerAttributeResponseBodyTags) String added in v1.0.10

type GetLoadBalancerAttributeResponseBodyZoneMappings

type GetLoadBalancerAttributeResponseBodyZoneMappings struct {
	// The information about the IP addresses used by the NLB instance.
	LoadBalancerAddresses []*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses `json:"LoadBalancerAddresses,omitempty" xml:"LoadBalancerAddresses,omitempty" type:"Repeated"`
	// The zone status. Valid values:
	//
	// *   **Active**: The zone is available.
	// *   **Stopped**: The zone is disabled. You can set the zone to this status only by using Cloud Architect Design Tools (CADT).
	// *   **Shifted**: The DNS record is removed.
	// *   **Starting**: The zone is being enabled. You can set the zone to this status only by using CADT.
	// *   **Stopping** You can set the zone to this status only by using CADT.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID of the vSwitch in the zone. By default, each zone contains one vSwitch and one subnet.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the zone. You can call the [DescribeZones](~~443890~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyZoneMappings) GoString

func (*GetLoadBalancerAttributeResponseBodyZoneMappings) SetStatus added in v1.0.10

func (*GetLoadBalancerAttributeResponseBodyZoneMappings) SetVSwitchId

func (*GetLoadBalancerAttributeResponseBodyZoneMappings) SetZoneId

func (GetLoadBalancerAttributeResponseBodyZoneMappings) String

type GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses added in v1.0.2

type GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses struct {
	// The ID of the elastic IP address (EIP).
	AllocationId *string `json:"AllocationId,omitempty" xml:"AllocationId,omitempty"`
	// The ID of the elastic network interface (ENI).
	EniId *string `json:"EniId,omitempty" xml:"EniId,omitempty"`
	// The IPv6 address of the NLB instance.
	Ipv6Address *string `json:"Ipv6Address,omitempty" xml:"Ipv6Address,omitempty"`
	// The private IPv4 address of the NLB instance.
	PrivateIPv4Address *string `json:"PrivateIPv4Address,omitempty" xml:"PrivateIPv4Address,omitempty"`
	// The health status of the private IPv4 address of the NLB instance. Valid values:
	//
	// *   **Healthy**
	// *   **Unhealthy**
	//
	// > This parameter is returned only when the **Status** of the zone is **Active**.
	PrivateIPv4HcStatus *string `json:"PrivateIPv4HcStatus,omitempty" xml:"PrivateIPv4HcStatus,omitempty"`
	// The health status of the IPv6 address of the NLB instance. Valid values:
	//
	// *   **Healthy**
	// *   **Unhealthy**
	//
	// > This parameter is returned only when the **Status** of the zone is **Active**.
	PrivateIPv6HcStatus *string `json:"PrivateIPv6HcStatus,omitempty" xml:"PrivateIPv6HcStatus,omitempty"`
	// The public IPv4 address of the NLB instance.
	PublicIPv4Address *string `json:"PublicIPv4Address,omitempty" xml:"PublicIPv4Address,omitempty"`
}

func (GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) GoString added in v1.0.2

func (*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) SetAllocationId added in v1.0.2

func (*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) SetEniId added in v1.0.2

func (*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) SetIpv6Address added in v1.0.2

func (*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) SetPrivateIPv4Address added in v1.0.2

func (*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) SetPrivateIPv4HcStatus added in v1.0.10

func (*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) SetPrivateIPv6HcStatus added in v1.0.10

func (*GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) SetPublicIPv4Address added in v1.0.2

func (GetLoadBalancerAttributeResponseBodyZoneMappingsLoadBalancerAddresses) String added in v1.0.2

type ListListenerCertificatesRequest

type ListListenerCertificatesRequest struct {
	// The type of the certificate. Valid values:
	//
	// *   **Server**: a server certificate.
	// *   **Ca**: Certificate Authority Certificate
	CertType *string `json:"CertType,omitempty" xml:"CertType,omitempty"`
	// The ID of the listener. Specify the ID of a listener that uses SSL over TCP.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,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 ID of the region where the Network Load Balancer (NLB) instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (ListListenerCertificatesRequest) GoString

func (*ListListenerCertificatesRequest) SetCertType added in v1.0.10

func (*ListListenerCertificatesRequest) SetListenerId

func (*ListListenerCertificatesRequest) SetMaxResults

func (*ListListenerCertificatesRequest) SetNextToken

func (*ListListenerCertificatesRequest) SetRegionId

func (ListListenerCertificatesRequest) String

type ListListenerCertificatesResponse

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

func (ListListenerCertificatesResponse) GoString

func (*ListListenerCertificatesResponse) SetHeaders

func (*ListListenerCertificatesResponse) SetStatusCode

func (ListListenerCertificatesResponse) String

type ListListenerCertificatesResponseBody

type ListListenerCertificatesResponseBody struct {
	// The server certificates.
	CertificateIds []*string `json:"CertificateIds,omitempty" xml:"CertificateIds,omitempty" type:"Repeated"`
	// The certificates.
	Certificates []*ListListenerCertificatesResponseBodyCertificates `json:"Certificates,omitempty" xml:"Certificates,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:
	//
	// *   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 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) SetCertificateIds

func (*ListListenerCertificatesResponseBody) SetCertificates added in v1.0.10

func (*ListListenerCertificatesResponseBody) SetMaxResults

func (*ListListenerCertificatesResponseBody) SetNextToken

func (*ListListenerCertificatesResponseBody) SetRequestId

func (*ListListenerCertificatesResponseBody) SetTotalCount

func (ListListenerCertificatesResponseBody) String

type ListListenerCertificatesResponseBodyCertificates added in v1.0.10

type ListListenerCertificatesResponseBodyCertificates struct {
	// The ID of the certificate.
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
	// The type of the certificate.
	//
	// -  Server
	// - Ca
	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 added in v1.0.10

func (*ListListenerCertificatesResponseBodyCertificates) SetCertificateId added in v1.0.10

func (*ListListenerCertificatesResponseBodyCertificates) SetCertificateType added in v1.0.10

func (*ListListenerCertificatesResponseBodyCertificates) SetIsDefault added in v1.0.10

func (*ListListenerCertificatesResponseBodyCertificates) SetStatus added in v1.0.10

func (ListListenerCertificatesResponseBodyCertificates) String added in v1.0.10

type ListListenersRequest

type ListListenersRequest struct {
	// The listener IDs.
	ListenerIds []*string `json:"ListenerIds,omitempty" xml:"ListenerIds,omitempty" type:"Repeated"`
	// The listening protocol. Valid values: **TCP**, **UDP**, and **TCPSSL**.
	ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"`
	// The ID of the NLB instance. You can query up to 20 NLB instances at a time.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" xml:"LoadBalancerIds,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 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 parameter to the value of NextToken that is returned from the last call.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,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) SetRegionId

func (*ListListenersRequest) SetTag added in v1.0.10

func (ListListenersRequest) String

func (s ListListenersRequest) String() string

type ListListenersRequestTag added in v1.0.10

type ListListenersRequestTag struct {
	// The key of the tag. You can specify up to 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 value of the tag. 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 (ListListenersRequestTag) GoString added in v1.0.10

func (s ListListenersRequestTag) GoString() string

func (*ListListenersRequestTag) SetKey added in v1.0.10

func (*ListListenersRequestTag) SetValue added in v1.0.10

func (ListListenersRequestTag) String added in v1.0.10

func (s ListListenersRequestTag) String() string

type ListListenersResponse

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

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 list of listeners.
	Listeners []*ListListenersResponseBodyListeners `json:"Listeners,omitempty" xml:"Listeners,omitempty" type:"Repeated"`
	// The number of entries returned per page.
	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 a value of **NextToken** is returned, the value is the token 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 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 {
	// Indicates whether Application-Layer Protocol Negotiation (ALPN) is enabled. Valid values:
	//
	// *   **true**: enabled
	// *   **false**: disabled
	AlpnEnabled *bool `json:"AlpnEnabled,omitempty" xml:"AlpnEnabled,omitempty"`
	// The ALPN policy. Valid values:
	//
	// *   **HTTP1Only**
	// *   **HTTP2Only**
	// *   **HTTP2Preferred**
	// *   **HTTP2Optional**
	AlpnPolicy *string `json:"AlpnPolicy,omitempty" xml:"AlpnPolicy,omitempty"`
	// The list of CA certificates.
	//
	// >  This parameter takes effect only for listeners that use SSL over TCP.
	CaCertificateIds []*string `json:"CaCertificateIds,omitempty" xml:"CaCertificateIds,omitempty" type:"Repeated"`
	// Indicates whether mutual authentication is enabled. Valid values:
	//
	// *   **true**: yes
	// *   **false**: no
	CaEnabled *bool `json:"CaEnabled,omitempty" xml:"CaEnabled,omitempty"`
	// The list of server certificates.
	//
	// >  This parameter takes effect only for listeners that use SSL over TCP.
	CertificateIds []*string `json:"CertificateIds,omitempty" xml:"CertificateIds,omitempty" type:"Repeated"`
	// The maximum number of connections that can be created per second on the NLB instance. Valid values: **0** to **1000000**. **0** indicates that the number of connections is unlimited.
	Cps *int32 `json:"Cps,omitempty" xml:"Cps,omitempty"`
	// The last port in the listening port range.
	EndPort *string `json:"EndPort,omitempty" xml:"EndPort,omitempty"`
	// The timeout period of an idle connection. Unit: seconds. Valid values: **1** to **900**. Default value: **900**.
	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, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\_), and hyphens (-).
	ListenerDescription *string `json:"ListenerDescription,omitempty" xml:"ListenerDescription,omitempty"`
	// The ID of the listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The listening port.
	ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"`
	// The listening protocol. Valid values: **TCP**, **UDP**, and **TCPSSL**.
	ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"`
	// The status of the listener. Valid values:
	//
	// *   **Provisioning**
	// *   **Running**
	// *   **Configuring**
	// *   **Stopping**
	// *   **Stopped**
	// *   **Starting**
	// *   **Deleting**
	// *   **Deleted**
	ListenerStatus *string `json:"ListenerStatus,omitempty" xml:"ListenerStatus,omitempty"`
	// The ID of the NLB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The maximum size of a TCP segment. Unit: bytes. Valid values: **0** to **1500**. **0** indicates that the maximum segment size remains unchanged.
	//
	// >  This parameter is supported only by listeners that use SSL over TCP.
	Mss *int32 `json:"Mss,omitempty" xml:"Mss,omitempty"`
	// Indicates whether the Proxy protocol is used to pass client IP addresses to backend servers. Valid values:
	//
	// *   **true**: enabled
	// *   **false**: disabled
	ProxyProtocolEnabled *bool `json:"ProxyProtocolEnabled,omitempty" xml:"ProxyProtocolEnabled,omitempty"`
	// The ID of the region where the NLB instance is deployed.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// Indicates whether fine-grained monitoring is enabled. Valid values:
	//
	// *   **true**: enabled
	// *   **false**: disabled
	SecSensorEnabled *bool `json:"SecSensorEnabled,omitempty" xml:"SecSensorEnabled,omitempty"`
	// The ID of the security policy.
	//
	// >  This parameter takes effect only for listeners that use SSL over TCP.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The first port in the listening port range.
	StartPort *string `json:"StartPort,omitempty" xml:"StartPort,omitempty"`
	// The tag key.
	Tags []*ListListenersResponseBodyListenersTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
}

func (ListListenersResponseBodyListeners) GoString

func (*ListListenersResponseBodyListeners) SetAlpnEnabled

func (*ListListenersResponseBodyListeners) SetAlpnPolicy

func (*ListListenersResponseBodyListeners) SetCaCertificateIds

func (*ListListenersResponseBodyListeners) SetCaEnabled

func (*ListListenersResponseBodyListeners) SetCertificateIds

func (*ListListenersResponseBodyListeners) SetCps added in v1.0.3

func (*ListListenersResponseBodyListeners) SetEndPort added in v1.0.2

func (*ListListenersResponseBodyListeners) SetIdleTimeout

func (*ListListenersResponseBodyListeners) SetListenerDescription

func (*ListListenersResponseBodyListeners) SetListenerId

func (*ListListenersResponseBodyListeners) SetListenerPort

func (*ListListenersResponseBodyListeners) SetListenerProtocol

func (*ListListenersResponseBodyListeners) SetListenerStatus

func (*ListListenersResponseBodyListeners) SetLoadBalancerId

func (*ListListenersResponseBodyListeners) SetMss added in v1.0.3

func (*ListListenersResponseBodyListeners) SetProxyProtocolEnabled

func (*ListListenersResponseBodyListeners) SetRegionId

func (*ListListenersResponseBodyListeners) SetSecSensorEnabled

func (*ListListenersResponseBodyListeners) SetSecurityPolicyId

func (*ListListenersResponseBodyListeners) SetServerGroupId

func (*ListListenersResponseBodyListeners) SetStartPort added in v1.0.2

func (*ListListenersResponseBodyListeners) SetTags added in v1.0.10

func (ListListenersResponseBodyListeners) String

type ListListenersResponseBodyListenersTags added in v1.0.10

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

func (ListListenersResponseBodyListenersTags) GoString added in v1.0.10

func (*ListListenersResponseBodyListenersTags) SetKey added in v1.0.10

func (*ListListenersResponseBodyListenersTags) SetValue added in v1.0.10

func (ListListenersResponseBodyListenersTags) String added in v1.0.10

type ListLoadBalancersRequest

type ListLoadBalancersRequest struct {
	// The protocol version. Valid values:
	//
	// *   **ipv4**: IPv4
	// *   **DualStack**: dual stack
	AddressIpVersion *string `json:"AddressIpVersion,omitempty" xml:"AddressIpVersion,omitempty"`
	// The type of IPv4 address used by the NLB instance. Valid values:
	//
	// *   **Internet**: The NLB instance uses a public IP address. The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet.
	// *   **Intranet**: The NLB instance uses a private IP address. The domain name of the NLB instance is resolved to the private IP address. Therefore, the NLB instance can be accessed over the VPC where the NLB instance is deployed.
	AddressType *string `json:"AddressType,omitempty" xml:"AddressType,omitempty"`
	// The domain name of the NLB instance.
	DNSName *string `json:"DNSName,omitempty" xml:"DNSName,omitempty"`
	// The type of IPv6 address used by the NLB instance. Valid values:
	//
	// *   **Internet**: a public IP address. The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet.
	// *   **Intranet**: a private IP address. The domain name of the NLB instance is resolved to the private IP address. Therefore, the NLB instance can be accessed over the VPC where the NLB instance is deployed.
	Ipv6AddressType *string `json:"Ipv6AddressType,omitempty" xml:"Ipv6AddressType,omitempty"`
	// The business status of the NLB instance. Valid values:
	//
	// *   **Abnormal**: The NLB instance is not working as expected.
	// *   **Normal**: The NLB instance is working as expected.
	LoadBalancerBusinessStatus *string `json:"LoadBalancerBusinessStatus,omitempty" xml:"LoadBalancerBusinessStatus,omitempty"`
	// The ID of the NLB instance. You can query up to 20 NLB instances at a time.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" xml:"LoadBalancerIds,omitempty" type:"Repeated"`
	// The name of the NLB instance. You can specify up to 20 names at a time.
	LoadBalancerNames []*string `json:"LoadBalancerNames,omitempty" xml:"LoadBalancerNames,omitempty" type:"Repeated"`
	// The status of the NLB instance. Valid values:
	//
	// *   **Inactive**: The NLB instance is disabled. Listeners of NLB instances in the Inactive state do not forward traffic.
	// *   **Active**: The NLB instance is running.
	// *   **Provisioning**: The NLB instance is being created.
	// *   **Configuring**: The NLB instance is being modified.
	// *   **Deleting**: The NLB instance is being deleted.
	// *   **Deleted**: The NLB instance is deleted.
	LoadBalancerStatus *string `json:"LoadBalancerStatus,omitempty" xml:"LoadBalancerStatus,omitempty"`
	// The type of the Server Load Balancer (SLB) instance. Set the value to **network**, which specifies NLB.
	LoadBalancerType *string `json:"LoadBalancerType,omitempty" xml:"LoadBalancerType,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 token that determines the start point of the next query. Valid values:
	//
	// *   If this is your first query and no subsequent queries are to be sent, ignore this parameter.
	// *   If a subsequent query is to be sent, set the parameter to the value of NextToken that is returned from the last call.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The tags of the NLB instance.
	Tag []*ListLoadBalancersRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The ID of the virtual private cloud (VPC) where the NLB instance is deployed. You can specify up to 10 VPC IDs at a time.
	VpcIds []*string `json:"VpcIds,omitempty" xml:"VpcIds,omitempty" type:"Repeated"`
	// The name of the zone. You can call the [DescribeZones](~~443890~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (ListLoadBalancersRequest) GoString

func (s ListLoadBalancersRequest) GoString() string

func (*ListLoadBalancersRequest) SetAddressIpVersion

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

func (*ListLoadBalancersRequest) SetAddressType

func (*ListLoadBalancersRequest) SetDNSName

func (*ListLoadBalancersRequest) SetIpv6AddressType added in v1.0.3

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

func (*ListLoadBalancersRequest) SetLoadBalancerBusinessStatus

func (s *ListLoadBalancersRequest) SetLoadBalancerBusinessStatus(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) SetLoadBalancerType

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

func (*ListLoadBalancersRequest) SetMaxResults

func (*ListLoadBalancersRequest) SetNextToken

func (*ListLoadBalancersRequest) SetRegionId

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 key of the tag. You can specify up to 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 value of the tag. You can specify up to 20 tag values. The tag value can be an empty string.
	//
	// 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://`.
	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" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListLoadBalancersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 NLB 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"`
	// The token that determines the start point of the next query. Valid values:
	//
	// *   If this is your first query and no subsequent queries are to be sent, ignore this parameter.
	// *   If a subsequent query is to be sent, set the parameter to the value of NextToken that is returned from the last call.
	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 (ListLoadBalancersResponseBody) GoString

func (*ListLoadBalancersResponseBody) SetMaxResults

func (*ListLoadBalancersResponseBody) SetNextToken

func (*ListLoadBalancersResponseBody) SetRequestId

func (*ListLoadBalancersResponseBody) SetTotalCount

func (ListLoadBalancersResponseBody) String

type ListLoadBalancersResponseBodyLoadBalancers

type ListLoadBalancersResponseBodyLoadBalancers struct {
	// The IP version. Valid values:
	//
	// *   **ipv4**: IPv4
	// *   **DualStack**: dual stack
	AddressIpVersion *string `json:"AddressIpVersion,omitempty" xml:"AddressIpVersion,omitempty"`
	// The type of IPv4 address used by the NLB instance. Valid values:
	//
	// *   **Internet**: The NLB instance uses a public IP address. The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet.
	// *   **Intranet**: The NLB instance uses a private IP address. The domain name of the NLB instance is resolved to the private IP address. Therefore, the NLB instance can be accessed over the VPC where the NLB 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. The time is displayed in UTC in the `yyyy-MM-ddTHH:mm:ssZ` format.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// Indicates whether cross-zone load balancing is enabled for the NLB instance. Valid values:
	//
	// *   **true**: enabled
	// *   **false**: disabled
	CrossZoneEnabled *bool `json:"CrossZoneEnabled,omitempty" xml:"CrossZoneEnabled,omitempty"`
	// The domain name of the NLB instance.
	DNSName *string `json:"DNSName,omitempty" xml:"DNSName,omitempty"`
	// The configuration of the deletion protection feature.
	DeletionProtectionConfig *ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig `json:"DeletionProtectionConfig,omitempty" xml:"DeletionProtectionConfig,omitempty" type:"Struct"`
	// The type of IPv6 address used by the NLB instance. Valid values:
	//
	// *   **Internet**: The NLB instance uses a public IP address. The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet.
	// *   **Intranet**: The NLB instance uses a private IP address. The domain name of the NLB instance is resolved to the private IP address. Therefore, the NLB instance can be accessed over the VPC where the NLB instance is deployed.
	Ipv6AddressType *string `json:"Ipv6AddressType,omitempty" xml:"Ipv6AddressType,omitempty"`
	// The billing settings of the NLB instance.
	LoadBalancerBillingConfig *ListLoadBalancersResponseBodyLoadBalancersLoadBalancerBillingConfig `json:"LoadBalancerBillingConfig,omitempty" xml:"LoadBalancerBillingConfig,omitempty" type:"Struct"`
	// The business status of the NLB instance. Valid values:
	//
	// *   **Abnormal**: The NLB instance is not working as expected.
	// *   **Normal**: The NLB instance is working as expected.
	LoadBalancerBusinessStatus *string `json:"LoadBalancerBusinessStatus,omitempty" xml:"LoadBalancerBusinessStatus,omitempty"`
	// The ID of the NLB instance.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The name of the NLB instance.
	LoadBalancerName *string `json:"LoadBalancerName,omitempty" xml:"LoadBalancerName,omitempty"`
	// The status of the NLB instance. Valid values:
	//
	// *   **Inactive**: The NLB instance is disabled. Listeners of NLB instances in the Inactive state do not forward traffic.
	// *   **Active**: The NLB instance is running.
	// *   **Provisioning**: The NLB instance is being created.
	// *   **Configuring**: The NLB instance is being modified.
	// *   **Deleting**: The NLB instance is being deleted.
	// *   **Deleted**: The NLB instance is deleted.
	LoadBalancerStatus *string `json:"LoadBalancerStatus,omitempty" xml:"LoadBalancerStatus,omitempty"`
	// The type of the SLB instance. Only **Network** is returned, which indicates NLB.
	LoadBalancerType *string `json:"LoadBalancerType,omitempty" xml:"LoadBalancerType,omitempty"`
	// The configuration of the configuration read-only mode.
	ModificationProtectionConfig *ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig `json:"ModificationProtectionConfig,omitempty" xml:"ModificationProtectionConfig,omitempty" type:"Struct"`
	// The configuration of the operation lock. This parameter takes effect if the value of `LoadBalancerBussinessStatus` is **Abnormal**.
	OperationLocks []*ListLoadBalancersResponseBodyLoadBalancersOperationLocks `json:"OperationLocks,omitempty" xml:"OperationLocks,omitempty" type:"Repeated"`
	// The ID of the region where the NLB instance is deployed.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The security group to which the NLB instance is added.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" xml:"SecurityGroupIds,omitempty" type:"Repeated"`
	// A list of tags.
	Tags []*ListLoadBalancersResponseBodyLoadBalancersTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The ID of the VPC where the NLB instance is deployed.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The mappings between zones and vSwitches.
	ZoneMappings []*ListLoadBalancersResponseBodyLoadBalancersZoneMappings `json:"ZoneMappings,omitempty" xml:"ZoneMappings,omitempty" type:"Repeated"`
}

func (ListLoadBalancersResponseBodyLoadBalancers) GoString

func (*ListLoadBalancersResponseBodyLoadBalancers) SetAddressIpVersion

func (*ListLoadBalancersResponseBodyLoadBalancers) SetAddressType

func (*ListLoadBalancersResponseBodyLoadBalancers) SetBandwidthPackageId added in v1.0.2

func (*ListLoadBalancersResponseBodyLoadBalancers) SetCreateTime

func (*ListLoadBalancersResponseBodyLoadBalancers) SetCrossZoneEnabled

func (*ListLoadBalancersResponseBodyLoadBalancers) SetDNSName

func (*ListLoadBalancersResponseBodyLoadBalancers) SetIpv6AddressType added in v1.0.3

func (*ListLoadBalancersResponseBodyLoadBalancers) SetLoadBalancerBusinessStatus

func (*ListLoadBalancersResponseBodyLoadBalancers) SetLoadBalancerId

func (*ListLoadBalancersResponseBodyLoadBalancers) SetLoadBalancerName

func (*ListLoadBalancersResponseBodyLoadBalancers) SetLoadBalancerStatus

func (*ListLoadBalancersResponseBodyLoadBalancers) SetLoadBalancerType

func (*ListLoadBalancersResponseBodyLoadBalancers) SetRegionId

func (*ListLoadBalancersResponseBodyLoadBalancers) SetResourceGroupId

func (*ListLoadBalancersResponseBodyLoadBalancers) SetSecurityGroupIds

func (*ListLoadBalancersResponseBodyLoadBalancers) SetVpcId

func (ListLoadBalancersResponseBodyLoadBalancers) String

type ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig added in v1.0.8

type ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig struct {
	// Indicates whether deletion protection is enabled. Valid values:
	//
	// *   **true**: enabled
	// *   **false**: disabled
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The time when deletion protection was enabled. The time is displayed in UTC in `yyyy-MM-ddTHH:mm:ssZ` format.
	EnabledTime *string `json:"EnabledTime,omitempty" xml:"EnabledTime,omitempty"`
	// The reason why the deletion protection feature is enabled or disabled. 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.
	Reason *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
}

func (ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig) GoString added in v1.0.8

func (*ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig) SetEnabled added in v1.0.8

func (*ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig) SetEnabledTime added in v1.0.8

func (*ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig) SetReason added in v1.0.8

func (ListLoadBalancersResponseBodyLoadBalancersDeletionProtectionConfig) String added in v1.0.8

type ListLoadBalancersResponseBodyLoadBalancersLoadBalancerBillingConfig

type ListLoadBalancersResponseBodyLoadBalancersLoadBalancerBillingConfig struct {
	// The billing method of the NLB instance. Only **PostPay** is supported, 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 ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig added in v1.0.8

type ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig struct {
	// The time when the configuration read-only mode was enabled. The time is displayed in UTC in `yyyy-MM-ddTHH:mm:ssZ` format.
	EnabledTime *string `json:"EnabledTime,omitempty" xml:"EnabledTime,omitempty"`
	// The reason why the configuration read-only mode is 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 takes effect only if **Status** is set to **ConsoleProtection**.
	Reason *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
	// Indicates whether the configuration read-only mode is enabled. Valid values:
	//
	// *   **NonProtection**: disabled. In this case, **Reason** is not returned. If **Reason** is set, the value is cleared.
	// *   **ConsoleProtection**: enabled. In this case, **Reason** is returned.
	//
	// >  If you set this parameter to **ConsoleProtection**, you cannot use the NLB 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 added in v1.0.8

func (*ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig) SetEnabledTime added in v1.0.8

func (*ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig) SetReason added in v1.0.8

func (*ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig) SetStatus added in v1.0.8

func (ListLoadBalancersResponseBodyLoadBalancersModificationProtectionConfig) String added in v1.0.8

type ListLoadBalancersResponseBodyLoadBalancersOperationLocks

type ListLoadBalancersResponseBodyLoadBalancersOperationLocks struct {
	// The reason why the NLB instance is locked.
	LockReason *string `json:"LockReason,omitempty" xml:"LockReason,omitempty"`
	// The type of lock. Valid values:
	//
	// *   **SecurityLocked**: The NLB instance is locked due to security reasons.
	// *   **RelatedResourceLocked**: The NLB instance is locked due to association issues.
	// *   **FinancialLocked**: The NLB instance is locked due to overdue payments.
	// *   **ResidualLocked**: The NLB instance is locked because the payments of the associated resources are overdue and the resources are released.
	LockType *string `json:"LockType,omitempty" xml:"LockType,omitempty"`
}

func (ListLoadBalancersResponseBodyLoadBalancersOperationLocks) GoString

func (*ListLoadBalancersResponseBodyLoadBalancersOperationLocks) SetLockReason

func (*ListLoadBalancersResponseBodyLoadBalancersOperationLocks) SetLockType

func (ListLoadBalancersResponseBodyLoadBalancersOperationLocks) 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 ListLoadBalancersResponseBodyLoadBalancersZoneMappings

type ListLoadBalancersResponseBodyLoadBalancersZoneMappings struct {
	// The IP addresses that are used by the NLB instance.
	LoadBalancerAddresses []*ListLoadBalancersResponseBodyLoadBalancersZoneMappingsLoadBalancerAddresses `json:"LoadBalancerAddresses,omitempty" xml:"LoadBalancerAddresses,omitempty" type:"Repeated"`
	Status                *string                                                                        `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID of the vSwitch in the zone. By default, each zone contains one vSwitch and one subnet.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The name of the zone. You can call the [DescribeZones](~~443890~~) operation to query the zones.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (ListLoadBalancersResponseBodyLoadBalancersZoneMappings) GoString

func (*ListLoadBalancersResponseBodyLoadBalancersZoneMappings) SetStatus added in v1.0.10

func (*ListLoadBalancersResponseBodyLoadBalancersZoneMappings) SetVSwitchId

func (*ListLoadBalancersResponseBodyLoadBalancersZoneMappings) SetZoneId

func (ListLoadBalancersResponseBodyLoadBalancersZoneMappings) String

type ListLoadBalancersResponseBodyLoadBalancersZoneMappingsLoadBalancerAddresses added in v1.0.2

type ListLoadBalancersResponseBodyLoadBalancersZoneMappingsLoadBalancerAddresses struct {
	// The ID of the elastic IP address (EIP).
	AllocationId *string `json:"AllocationId,omitempty" xml:"AllocationId,omitempty"`
	// The ID of the elastic network interface (ENI) attached to the NLB instance.
	EniId *string `json:"EniId,omitempty" xml:"EniId,omitempty"`
	// The IPv6 address used by the NLB instance.
	Ipv6Address *string `json:"Ipv6Address,omitempty" xml:"Ipv6Address,omitempty"`
	// The private IPv4 address of the NLB instance.
	PrivateIPv4Address  *string `json:"PrivateIPv4Address,omitempty" xml:"PrivateIPv4Address,omitempty"`
	PrivateIPv4HcStatus *string `json:"PrivateIPv4HcStatus,omitempty" xml:"PrivateIPv4HcStatus,omitempty"`
	PrivateIPv6HcStatus *string `json:"PrivateIPv6HcStatus,omitempty" xml:"PrivateIPv6HcStatus,omitempty"`
	// The public IPv4 address of the NLB instance.
	PublicIPv4Address *string `json:"PublicIPv4Address,omitempty" xml:"PublicIPv4Address,omitempty"`
}

func (ListLoadBalancersResponseBodyLoadBalancersZoneMappingsLoadBalancerAddresses) GoString added in v1.0.2

func (*ListLoadBalancersResponseBodyLoadBalancersZoneMappingsLoadBalancerAddresses) SetAllocationId added in v1.0.2

func (*ListLoadBalancersResponseBodyLoadBalancersZoneMappingsLoadBalancerAddresses) SetEniId added in v1.0.2

func (*ListLoadBalancersResponseBodyLoadBalancersZoneMappingsLoadBalancerAddresses) SetIpv6Address added in v1.0.2

func (*ListLoadBalancersResponseBodyLoadBalancersZoneMappingsLoadBalancerAddresses) SetPrivateIPv4Address added in v1.0.2

func (*ListLoadBalancersResponseBodyLoadBalancersZoneMappingsLoadBalancerAddresses) SetPrivateIPv4HcStatus added in v1.0.10

func (*ListLoadBalancersResponseBodyLoadBalancersZoneMappingsLoadBalancerAddresses) SetPrivateIPv6HcStatus added in v1.0.10

func (*ListLoadBalancersResponseBodyLoadBalancersZoneMappingsLoadBalancerAddresses) SetPublicIPv4Address added in v1.0.2

func (ListLoadBalancersResponseBodyLoadBalancersZoneMappingsLoadBalancerAddresses) String added in v1.0.2

type ListSecurityPolicyRequest

type ListSecurityPolicyRequest struct {
	// The number of entries to return 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 region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The IDs of the TLS security policies. You can specify at most 20 policy IDs in each call.
	SecurityPolicyIds []*string `json:"SecurityPolicyIds,omitempty" xml:"SecurityPolicyIds,omitempty" type:"Repeated"`
	// The names of the TLS security policies. You can specify at most 20 policy names.
	SecurityPolicyNames []*string `json:"SecurityPolicyNames,omitempty" xml:"SecurityPolicyNames,omitempty" type:"Repeated"`
	// The tags.
	Tag []*ListSecurityPolicyRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListSecurityPolicyRequest) GoString

func (s ListSecurityPolicyRequest) GoString() string

func (*ListSecurityPolicyRequest) SetMaxResults

func (*ListSecurityPolicyRequest) SetNextToken

func (*ListSecurityPolicyRequest) SetRegionId

func (*ListSecurityPolicyRequest) SetResourceGroupId

func (*ListSecurityPolicyRequest) SetSecurityPolicyIds

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

func (*ListSecurityPolicyRequest) SetSecurityPolicyNames

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

func (*ListSecurityPolicyRequest) SetTag

func (ListSecurityPolicyRequest) String

func (s ListSecurityPolicyRequest) String() string

type ListSecurityPolicyRequestTag

type ListSecurityPolicyRequestTag 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 (ListSecurityPolicyRequestTag) GoString

func (s ListSecurityPolicyRequestTag) GoString() string

func (*ListSecurityPolicyRequestTag) SetKey

func (*ListSecurityPolicyRequestTag) SetValue

func (ListSecurityPolicyRequestTag) String

type ListSecurityPolicyResponse

type ListSecurityPolicyResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListSecurityPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListSecurityPolicyResponse) GoString

func (s ListSecurityPolicyResponse) GoString() string

func (*ListSecurityPolicyResponse) SetBody

func (*ListSecurityPolicyResponse) SetHeaders

func (*ListSecurityPolicyResponse) SetStatusCode

func (ListSecurityPolicyResponse) String

type ListSecurityPolicyResponseBody

type ListSecurityPolicyResponseBody 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, specify the value 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 TLS security policies.
	SecurityPolicies []*ListSecurityPolicyResponseBodySecurityPolicies `json:"SecurityPolicies,omitempty" xml:"SecurityPolicies,omitempty" type:"Repeated"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListSecurityPolicyResponseBody) GoString

func (*ListSecurityPolicyResponseBody) SetMaxResults

func (*ListSecurityPolicyResponseBody) SetNextToken

func (*ListSecurityPolicyResponseBody) SetRequestId

func (*ListSecurityPolicyResponseBody) SetTotalCount

func (ListSecurityPolicyResponseBody) String

type ListSecurityPolicyResponseBodySecurityPolicies

type ListSecurityPolicyResponseBodySecurityPolicies struct {
	// The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
	//
	// TLS 1.0 and TLS 1.1 support the following cipher suites:
	//
	// *   **ECDHE-ECDSA-AES128-SHA**
	// *   **ECDHE-ECDSA-AES256-SHA**
	// *   **ECDHE-RSA-AES128-SHA**
	// *   **ECDHE-RSA-AES256-SHA**
	// *   **AES128-SHA**
	// *   **AES256-SHA**
	// *   **DES-CBC3-SHA**
	//
	// TLS 1.2 supports the following cipher suites:
	//
	// *   **ECDHE-ECDSA-AES128-SHA**
	// *   **ECDHE-ECDSA-AES256-SHA**
	// *   **ECDHE-RSA-AES128-SHA**
	// *   **ECDHE-RSA-AES256-SHA**
	// *   **AES128-SHA**
	// *   **AES256-SHA**
	// *   **DES-CBC3-SHA**
	// *   **ECDHE-ECDSA-AES128-GCM-SHA256**
	// *   **ECDHE-ECDSA-AES256-GCM-SHA384**
	// *   **ECDHE-ECDSA-AES128-SHA256**
	// *   **ECDHE-ECDSA-AES256-SHA384**
	// *   **ECDHE-RSA-AES128-GCM-SHA256**
	// *   **ECDHE-RSA-AES256-GCM-SHA384**
	// *   **ECDHE-RSA-AES128-SHA256**
	// *   **ECDHE-RSA-AES256-SHA384**
	// *   **AES128-GCM-SHA256**
	// *   **AES256-GCM-SHA384**
	// *   **AES128-SHA256**
	// *   **AES256-SHA256**
	//
	// TLS 1.3 supports the following cipher suites:
	//
	// *   **TLS_AES\_128\_GCM_SHA256**
	// *   **TLS_AES\_256\_GCM_SHA384**
	// *   **TLS_CHACHA20\_POLY1305\_SHA256**
	// *   **TLS_AES\_128\_CCM_SHA256**
	// *   **TLS_AES\_128\_CCM\_8\_SHA256**
	Ciphers *string `json:"Ciphers,omitempty" xml:"Ciphers,omitempty"`
	// The region ID of the NLB instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The listeners that are associated with the NLB instance.
	RelatedListeners []*ListSecurityPolicyResponseBodySecurityPoliciesRelatedListeners `json:"RelatedListeners,omitempty" xml:"RelatedListeners,omitempty" type:"Repeated"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The ID of the TLS security policy.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The name of the TLS security policy.
	SecurityPolicyName *string `json:"SecurityPolicyName,omitempty" xml:"SecurityPolicyName,omitempty"`
	// The status of the TLS security policy. Valid values:
	//
	// *   **Configuring**
	// *   **Available**
	SecurityPolicyStatus *string `json:"SecurityPolicyStatus,omitempty" xml:"SecurityPolicyStatus,omitempty"`
	// The tags.
	Tags []*ListSecurityPolicyResponseBodySecurityPoliciesTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The supported versions of the TLS protocol. Valid values: **TLSv1.0**, **TLSv1.1**, **TLSv1.2**, and **TLSv1.3**.
	TlsVersion *string `json:"TlsVersion,omitempty" xml:"TlsVersion,omitempty"`
}

func (ListSecurityPolicyResponseBodySecurityPolicies) GoString

func (*ListSecurityPolicyResponseBodySecurityPolicies) SetCiphers

func (*ListSecurityPolicyResponseBodySecurityPolicies) SetRegionId

func (*ListSecurityPolicyResponseBodySecurityPolicies) SetResourceGroupId

func (*ListSecurityPolicyResponseBodySecurityPolicies) SetSecurityPolicyId

func (*ListSecurityPolicyResponseBodySecurityPolicies) SetSecurityPolicyName

func (*ListSecurityPolicyResponseBodySecurityPolicies) SetSecurityPolicyStatus

func (*ListSecurityPolicyResponseBodySecurityPolicies) SetTlsVersion

func (ListSecurityPolicyResponseBodySecurityPolicies) String

type ListSecurityPolicyResponseBodySecurityPoliciesRelatedListeners

type ListSecurityPolicyResponseBodySecurityPoliciesRelatedListeners 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. Valid value: **TCPSSL**.
	ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"`
	// The NLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
}

func (ListSecurityPolicyResponseBodySecurityPoliciesRelatedListeners) GoString

func (*ListSecurityPolicyResponseBodySecurityPoliciesRelatedListeners) SetListenerId

func (*ListSecurityPolicyResponseBodySecurityPoliciesRelatedListeners) SetListenerPort

func (*ListSecurityPolicyResponseBodySecurityPoliciesRelatedListeners) SetListenerProtocol

func (*ListSecurityPolicyResponseBodySecurityPoliciesRelatedListeners) SetLoadBalancerId

func (ListSecurityPolicyResponseBodySecurityPoliciesRelatedListeners) String

type ListSecurityPolicyResponseBodySecurityPoliciesTags

type ListSecurityPolicyResponseBodySecurityPoliciesTags 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 (ListSecurityPolicyResponseBodySecurityPoliciesTags) GoString

func (*ListSecurityPolicyResponseBodySecurityPoliciesTags) SetKey

func (*ListSecurityPolicyResponseBodySecurityPoliciesTags) SetValue

func (ListSecurityPolicyResponseBodySecurityPoliciesTags) String

type ListServerGroupServersRequest

type ListServerGroupServersRequest 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 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 parameter to the value of NextToken that is returned from the last call.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	RegionId  *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The IDs of the servers.
	ServerIds []*string `json:"ServerIds,omitempty" xml:"ServerIds,omitempty" type:"Repeated"`
	// The IP addresses of the servers.
	ServerIps []*string `json:"ServerIps,omitempty" xml:"ServerIps,omitempty" type:"Repeated"`
}

func (ListServerGroupServersRequest) GoString

func (*ListServerGroupServersRequest) SetMaxResults

func (*ListServerGroupServersRequest) SetNextToken

func (*ListServerGroupServersRequest) SetRegionId added in v1.1.0

func (*ListServerGroupServersRequest) SetServerGroupId

func (*ListServerGroupServersRequest) SetServerIds

func (*ListServerGroupServersRequest) SetServerIps

func (ListServerGroupServersRequest) String

type ListServerGroupServersResponse

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

func (ListServerGroupServersResponse) GoString

func (*ListServerGroupServersResponse) SetHeaders

func (*ListServerGroupServersResponse) SetStatusCode

func (ListServerGroupServersResponse) String

type ListServerGroupServersResponseBody

type ListServerGroupServersResponseBody struct {
	// The number of entries returned per page.
	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 parameter to the value of NextToken that is returned from the last call.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// A list of backend servers.
	Servers []*ListServerGroupServersResponseBodyServers `json:"Servers,omitempty" xml:"Servers,omitempty" type:"Repeated"`
	// The 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"`
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The ID of the 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 type of the backend server. Valid values:
	//
	// *   **Ecs**: an Elastic Compute Service (ECS) instance
	// *   **Eni**: an elastic network interface (ENI)
	// *   **Eci**: an elastic container instance
	// *   **Ip**: an IP address
	ServerType *string `json:"ServerType,omitempty" xml:"ServerType,omitempty"`
	// Indicates the status of the backend server. Valid values:
	//
	// *   **Adding**: The backend server is being added.
	// *   **Available**: The backend server is added.
	// *   **Configuring**: The backend server is being configured.
	// *   **Removing**: The backend server is being removed.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The weight of the backend server.
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
	// The zone ID of the server.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (ListServerGroupServersResponseBodyServers) GoString

func (*ListServerGroupServersResponseBodyServers) SetDescription

func (*ListServerGroupServersResponseBodyServers) SetPort

func (*ListServerGroupServersResponseBodyServers) SetServerGroupId

func (*ListServerGroupServersResponseBodyServers) SetServerId

func (*ListServerGroupServersResponseBodyServers) SetServerIp

func (*ListServerGroupServersResponseBodyServers) SetServerType

func (*ListServerGroupServersResponseBodyServers) SetStatus

func (*ListServerGroupServersResponseBodyServers) SetWeight

func (*ListServerGroupServersResponseBodyServers) SetZoneId

func (ListServerGroupServersResponseBodyServers) String

type ListServerGroupsRequest

type ListServerGroupsRequest 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 region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which the server group belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The server group ID. You can specify up to 20 server group IDs in each call.
	ServerGroupIds []*string `json:"ServerGroupIds,omitempty" xml:"ServerGroupIds,omitempty" type:"Repeated"`
	// The names of the server groups to be queried. You can specify up to 20 names in each call.
	ServerGroupNames []*string `json:"ServerGroupNames,omitempty" xml:"ServerGroupNames,omitempty" type:"Repeated"`
	// The type of server group. Valid values:
	//
	// *   **Instance** : allows you to add servers of the **Ecs**, **Ens**, and **Eci** types.
	// *   **Ip**: allows you to add servers by specifying IP addresses.
	ServerGroupType *string `json:"ServerGroupType,omitempty" xml:"ServerGroupType,omitempty"`
	// The tags.
	Tag []*ListServerGroupsRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The ID of the virtual private cloud (VPC) to which the server group belongs.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (ListServerGroupsRequest) GoString

func (s ListServerGroupsRequest) GoString() string

func (*ListServerGroupsRequest) SetMaxResults

func (*ListServerGroupsRequest) SetNextToken

func (*ListServerGroupsRequest) SetRegionId

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

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 key of the tag. 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 value of the tag. 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" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListServerGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 per page. Valid values: **1** to **100**.
	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"`
	// 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 {
	// The IP version. Valid values:
	//
	// *   **ipv4**
	// *   **DualStack**
	AddressIPVersion *string `json:"AddressIPVersion,omitempty" xml:"AddressIPVersion,omitempty"`
	// The ID of the Alibaba Cloud account.
	AliUid *int64 `json:"AliUid,omitempty" xml:"AliUid,omitempty"`
	// Indicates whether the feature of forwarding requests to all ports is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	AnyPortEnabled *bool `json:"AnyPortEnabled,omitempty" xml:"AnyPortEnabled,omitempty"`
	// Indicates whether connection draining is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	ConnectionDrainEnabled *bool `json:"ConnectionDrainEnabled,omitempty" xml:"ConnectionDrainEnabled,omitempty"`
	// The timeout period of connection draining. Unit: seconds. Valid values: **10** to **900**.
	ConnectionDrainTimeout *int32 `json:"ConnectionDrainTimeout,omitempty" xml:"ConnectionDrainTimeout,omitempty"`
	// The configurations of health checks.
	HealthCheck *ListServerGroupsResponseBodyServerGroupsHealthCheck `json:"HealthCheck,omitempty" xml:"HealthCheck,omitempty" type:"Struct"`
	// Indicates whether client IP preservation is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > This parameter is set to **true** by default when **AddressIPVersion** is set to **ipv4**. This parameter is set to **false** when **AddressIPVersion** is set to **ipv6**. **true** will be supported by later versions.
	PreserveClientIpEnabled *bool `json:"PreserveClientIpEnabled,omitempty" xml:"PreserveClientIpEnabled,omitempty"`
	// The protocol used to forward requests to the backend servers. Valid values: **TCP**, **UDP**, and **TCPSSL**.
	Protocol    *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
	QuicVersion *string `json:"QuicVersion,omitempty" xml:"QuicVersion,omitempty"`
	// The region ID of the NLB instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The NLB instances.
	RelatedLoadBalancerIds []*string `json:"RelatedLoadBalancerIds,omitempty" xml:"RelatedLoadBalancerIds,omitempty" type:"Repeated"`
	// The ID of the resource group to which the server group belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The routing algorithm. Valid values:
	//
	// *   **Wrr**: Backend servers with higher weights receive more requests than backend servers with lower weights.
	// *   **rr**: Requests are forwarded to the backend servers in sequence. sch: Requests are forwarded to the backend servers based on source IP address hashing.
	// *   **sch**: Requests from the same source IP address are forwarded to the same backend server.
	// *   **tch**: Four-element hashing, which specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
	// *   **qch**: QUIC ID hashing. Requests that contain the same QUIC ID are forwarded to the same backend server.
	Scheduler *string `json:"Scheduler,omitempty" xml:"Scheduler,omitempty"`
	// The number of server groups associated with the NLB instances.
	ServerCount *int32 `json:"ServerCount,omitempty" xml:"ServerCount,omitempty"`
	// The server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The server group name.
	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** : contains servers of the **Ecs**, **Ens**, and **Eci** types.
	// *   **Ip**: contains servers specified by IP addresses.
	ServerGroupType *string `json:"ServerGroupType,omitempty" xml:"ServerGroupType,omitempty"`
	// The tag.
	Tags []*ListServerGroupsResponseBodyServerGroupsTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The ID of the VPC to which the server group belongs.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (ListServerGroupsResponseBodyServerGroups) GoString

func (*ListServerGroupsResponseBodyServerGroups) SetAddressIPVersion

func (*ListServerGroupsResponseBodyServerGroups) SetAliUid

func (*ListServerGroupsResponseBodyServerGroups) SetAnyPortEnabled added in v1.0.6

func (*ListServerGroupsResponseBodyServerGroups) SetConnectionDrainEnabled

func (*ListServerGroupsResponseBodyServerGroups) SetConnectionDrainTimeout

func (*ListServerGroupsResponseBodyServerGroups) SetPreserveClientIpEnabled

func (*ListServerGroupsResponseBodyServerGroups) SetProtocol

func (*ListServerGroupsResponseBodyServerGroups) SetQuicVersion added in v1.1.1

func (*ListServerGroupsResponseBodyServerGroups) SetRegionId

func (*ListServerGroupsResponseBodyServerGroups) SetRelatedLoadBalancerIds

func (*ListServerGroupsResponseBodyServerGroups) SetResourceGroupId

func (*ListServerGroupsResponseBodyServerGroups) SetScheduler

func (*ListServerGroupsResponseBodyServerGroups) SetServerCount

func (*ListServerGroupsResponseBodyServerGroups) SetServerGroupId

func (*ListServerGroupsResponseBodyServerGroups) SetServerGroupName

func (*ListServerGroupsResponseBodyServerGroups) SetServerGroupStatus

func (*ListServerGroupsResponseBodyServerGroups) SetServerGroupType

func (*ListServerGroupsResponseBodyServerGroups) SetVpcId

func (ListServerGroupsResponseBodyServerGroups) String

type ListServerGroupsResponseBodyServerGroupsHealthCheck

type ListServerGroupsResponseBodyServerGroupsHealthCheck struct {
	// The backend port that is used for health checks.
	//
	// 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"`
	// The maximum timeout period of a health check. Unit: seconds. Valid values: **1** to **300**.
	HealthCheckConnectTimeout *int32 `json:"HealthCheckConnectTimeout,omitempty" xml:"HealthCheckConnectTimeout,omitempty"`
	// The domain name that you want to use for health checks. Valid values:
	//
	// *   **$SERVER_IP**: the private IP address of a backend server.
	// *   **domain**: a specified domain name. The domain name must be 1 to 80 characters in length, and can contain lowercase letters, digits, hyphens (-), and periods (.).
	//
	// > This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
	HealthCheckDomain *string `json:"HealthCheckDomain,omitempty" xml:"HealthCheckDomain,omitempty"`
	// Indicates whether the health check feature is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	HealthCheckEnabled *bool `json:"HealthCheckEnabled,omitempty" xml:"HealthCheckEnabled,omitempty"`
	// The HTTP status codes returned for health checks. Multiple HTTP status codes are separated by commas (,). Valid values: **http\_2xx**, **http\_3xx**, **http\_4xx**, and **http\_5xx**.
	//
	// > This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
	HealthCheckHttpCode []*string `json:"HealthCheckHttpCode,omitempty" xml:"HealthCheckHttpCode,omitempty" type:"Repeated"`
	// The interval at which health checks are performed. Unit: seconds.
	//
	// Valid values: **5** to **50**.
	HealthCheckInterval *int32 `json:"HealthCheckInterval,omitempty" xml:"HealthCheckInterval,omitempty"`
	// The protocol that is used for health checks. Valid values: **TCP** and **HTTP**.
	HealthCheckType *string `json:"HealthCheckType,omitempty" xml:"HealthCheckType,omitempty"`
	// The path to which health check probes are sent.
	//
	// > This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
	HealthCheckUrl *string `json:"HealthCheckUrl,omitempty" xml:"HealthCheckUrl,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**.
	HealthyThreshold *int32 `json:"HealthyThreshold,omitempty" xml:"HealthyThreshold,omitempty"`
	// The HTTP method that is used for health checks. Valid values: **GET** and **HEAD**.
	//
	// > This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
	HttpCheckMethod *string `json:"HttpCheckMethod,omitempty" xml:"HttpCheckMethod,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**.
	UnhealthyThreshold *int32 `json:"UnhealthyThreshold,omitempty" xml:"UnhealthyThreshold,omitempty"`
}

func (ListServerGroupsResponseBodyServerGroupsHealthCheck) GoString

func (*ListServerGroupsResponseBodyServerGroupsHealthCheck) SetHealthCheckConnectPort

func (*ListServerGroupsResponseBodyServerGroupsHealthCheck) SetHealthCheckConnectTimeout

func (*ListServerGroupsResponseBodyServerGroupsHealthCheck) SetHealthCheckDomain

func (*ListServerGroupsResponseBodyServerGroupsHealthCheck) SetHealthCheckEnabled

func (*ListServerGroupsResponseBodyServerGroupsHealthCheck) SetHealthCheckHttpCode

func (*ListServerGroupsResponseBodyServerGroupsHealthCheck) SetHealthCheckInterval

func (*ListServerGroupsResponseBodyServerGroupsHealthCheck) SetHealthCheckType

func (*ListServerGroupsResponseBodyServerGroupsHealthCheck) SetHealthCheckUrl

func (*ListServerGroupsResponseBodyServerGroupsHealthCheck) SetHealthyThreshold

func (*ListServerGroupsResponseBodyServerGroupsHealthCheck) SetHttpCheckMethod

func (*ListServerGroupsResponseBodyServerGroupsHealthCheck) SetUnhealthyThreshold

func (ListServerGroupsResponseBodyServerGroupsHealthCheck) String

type ListServerGroupsResponseBodyServerGroupsTags

type ListServerGroupsResponseBodyServerGroupsTags struct {
	// The tag key. At most 10 tag keys are returned.
	//
	// 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. At most 10 tag values are returned.
	//
	// 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 (ListServerGroupsResponseBodyServerGroupsTags) GoString

func (*ListServerGroupsResponseBodyServerGroupsTags) SetKey

func (*ListServerGroupsResponseBodyServerGroupsTags) SetValue

func (ListServerGroupsResponseBodyServerGroupsTags) String

type ListSystemSecurityPolicyRequest

type ListSystemSecurityPolicyRequest struct {
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (ListSystemSecurityPolicyRequest) GoString

func (*ListSystemSecurityPolicyRequest) SetRegionId

func (ListSystemSecurityPolicyRequest) String

type ListSystemSecurityPolicyResponse

type ListSystemSecurityPolicyResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListSystemSecurityPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListSystemSecurityPolicyResponse) GoString

func (*ListSystemSecurityPolicyResponse) SetHeaders

func (*ListSystemSecurityPolicyResponse) SetStatusCode

func (ListSystemSecurityPolicyResponse) String

type ListSystemSecurityPolicyResponseBody

type ListSystemSecurityPolicyResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// A list of TLS security policies.
	SecurityPolicies []*ListSystemSecurityPolicyResponseBodySecurityPolicies `json:"SecurityPolicies,omitempty" xml:"SecurityPolicies,omitempty" type:"Repeated"`
}

func (ListSystemSecurityPolicyResponseBody) GoString

func (*ListSystemSecurityPolicyResponseBody) SetRequestId

func (ListSystemSecurityPolicyResponseBody) String

type ListSystemSecurityPolicyResponseBodySecurityPolicies

type ListSystemSecurityPolicyResponseBodySecurityPolicies struct {
	// The cipher suites.
	Ciphers *string `json:"Ciphers,omitempty" xml:"Ciphers,omitempty"`
	// The TLS policy ID.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The TLS policy name.
	SecurityPolicyName *string `json:"SecurityPolicyName,omitempty" xml:"SecurityPolicyName,omitempty"`
	// The version of the TLS protocol.
	TlsVersion *string `json:"TlsVersion,omitempty" xml:"TlsVersion,omitempty"`
}

func (ListSystemSecurityPolicyResponseBodySecurityPolicies) GoString

func (*ListSystemSecurityPolicyResponseBodySecurityPolicies) SetCiphers

func (*ListSystemSecurityPolicyResponseBodySecurityPolicies) SetSecurityPolicyId

func (*ListSystemSecurityPolicyResponseBodySecurityPolicies) SetSecurityPolicyName

func (*ListSystemSecurityPolicyResponseBodySecurityPolicies) SetTlsVersion

func (ListSystemSecurityPolicyResponseBodySecurityPolicies) String

type ListTagResourcesRequest

type ListTagResourcesRequest struct {
	// The number of entries per page. Valid values: **1** to **50**. Default value: **50**.
	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"`
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource ID.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of resource to query. Valid values:
	//
	// *   **loadbalancer**: a Network Load Balancer (NLB) instance
	// *   **securitypolicy**: a security policy
	// *   **servergroup**: a server group
	// *   **listener**: a listener
	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) SetRegionId

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" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 details about the resource and its tags, including the resource ID, the resource type, and the keys and values of the tags.
	TagResources []*ListTagResourcesResponseBodyTagResources `json:"TagResources,omitempty" xml:"TagResources,omitempty" type:"Repeated"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListTagResourcesResponseBody) GoString

func (s ListTagResourcesResponseBody) GoString() string

func (*ListTagResourcesResponseBody) SetMaxResults

func (*ListTagResourcesResponseBody) SetNextToken

func (*ListTagResourcesResponseBody) SetRequestId

func (*ListTagResourcesResponseBody) SetTagResources

func (*ListTagResourcesResponseBody) SetTotalCount

func (ListTagResourcesResponseBody) String

type ListTagResourcesResponseBodyTagResources

type ListTagResourcesResponseBodyTagResources struct {
	// The UID of the Alibaba Cloud account.
	AliUid *int64 `json:"AliUid,omitempty" xml:"AliUid,omitempty"`
	// The type of the tag. Valid values:
	//
	// *   **Custom**
	// *   **System**
	// *   **All**
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The region information.
	RegionNo *string `json:"RegionNo,omitempty" xml:"RegionNo,omitempty"`
	// The resource ID.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of resource. Valid values:
	//
	// *   **loadbalancer**: an NLB instance
	// *   **securitypolicy**: a security policy
	// *   **servergroup**: a server group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The visible range of the tags.
	Scope *string `json:"Scope,omitempty" xml:"Scope,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) SetAliUid

func (*ListTagResourcesResponseBodyTagResources) SetCategory

func (*ListTagResourcesResponseBodyTagResources) SetRegionNo

func (*ListTagResourcesResponseBodyTagResources) SetResourceId

func (*ListTagResourcesResponseBodyTagResources) SetResourceType

func (*ListTagResourcesResponseBodyTagResources) SetScope

func (*ListTagResourcesResponseBodyTagResources) SetTagKey

func (*ListTagResourcesResponseBodyTagResources) SetTagValue

func (ListTagResourcesResponseBodyTagResources) String

type LoadBalancerJoinSecurityGroupRequest added in v1.0.9

type LoadBalancerJoinSecurityGroupRequest 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 client 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 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 NLB instance to be associated with the security group.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The security group ID of the instance.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" xml:"SecurityGroupIds,omitempty" type:"Repeated"`
}

func (LoadBalancerJoinSecurityGroupRequest) GoString added in v1.0.9

func (*LoadBalancerJoinSecurityGroupRequest) SetClientToken added in v1.0.9

func (*LoadBalancerJoinSecurityGroupRequest) SetDryRun added in v1.0.9

func (*LoadBalancerJoinSecurityGroupRequest) SetLoadBalancerId added in v1.0.9

func (*LoadBalancerJoinSecurityGroupRequest) SetRegionId added in v1.0.9

func (*LoadBalancerJoinSecurityGroupRequest) SetSecurityGroupIds added in v1.0.9

func (LoadBalancerJoinSecurityGroupRequest) String added in v1.0.9

type LoadBalancerJoinSecurityGroupResponse added in v1.0.9

type LoadBalancerJoinSecurityGroupResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *LoadBalancerJoinSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (LoadBalancerJoinSecurityGroupResponse) GoString added in v1.0.9

func (*LoadBalancerJoinSecurityGroupResponse) SetBody added in v1.0.9

func (*LoadBalancerJoinSecurityGroupResponse) SetHeaders added in v1.0.9

func (*LoadBalancerJoinSecurityGroupResponse) SetStatusCode added in v1.0.9

func (LoadBalancerJoinSecurityGroupResponse) String added in v1.0.9

type LoadBalancerJoinSecurityGroupResponseBody added in v1.0.9

type LoadBalancerJoinSecurityGroupResponseBody 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 (LoadBalancerJoinSecurityGroupResponseBody) GoString added in v1.0.9

func (*LoadBalancerJoinSecurityGroupResponseBody) SetJobId added in v1.0.9

func (*LoadBalancerJoinSecurityGroupResponseBody) SetRequestId added in v1.0.9

func (LoadBalancerJoinSecurityGroupResponseBody) String added in v1.0.9

type LoadBalancerLeaveSecurityGroupRequest added in v1.0.9

type LoadBalancerLeaveSecurityGroupRequest 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 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 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 NLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to obtain the region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the security group to be disassociated.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" xml:"SecurityGroupIds,omitempty" type:"Repeated"`
}

func (LoadBalancerLeaveSecurityGroupRequest) GoString added in v1.0.9

func (*LoadBalancerLeaveSecurityGroupRequest) SetClientToken added in v1.0.9

func (*LoadBalancerLeaveSecurityGroupRequest) SetDryRun added in v1.0.9

func (*LoadBalancerLeaveSecurityGroupRequest) SetLoadBalancerId added in v1.0.9

func (*LoadBalancerLeaveSecurityGroupRequest) SetRegionId added in v1.0.9

func (*LoadBalancerLeaveSecurityGroupRequest) SetSecurityGroupIds added in v1.0.9

func (LoadBalancerLeaveSecurityGroupRequest) String added in v1.0.9

type LoadBalancerLeaveSecurityGroupResponse added in v1.0.9

type LoadBalancerLeaveSecurityGroupResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *LoadBalancerLeaveSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (LoadBalancerLeaveSecurityGroupResponse) GoString added in v1.0.9

func (*LoadBalancerLeaveSecurityGroupResponse) SetBody added in v1.0.9

func (*LoadBalancerLeaveSecurityGroupResponse) SetHeaders added in v1.0.9

func (*LoadBalancerLeaveSecurityGroupResponse) SetStatusCode added in v1.0.9

func (LoadBalancerLeaveSecurityGroupResponse) String added in v1.0.9

type LoadBalancerLeaveSecurityGroupResponseBody added in v1.0.9

type LoadBalancerLeaveSecurityGroupResponseBody 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 (LoadBalancerLeaveSecurityGroupResponseBody) GoString added in v1.0.9

func (*LoadBalancerLeaveSecurityGroupResponseBody) SetJobId added in v1.0.9

func (*LoadBalancerLeaveSecurityGroupResponseBody) SetRequestId added in v1.0.9

func (LoadBalancerLeaveSecurityGroupResponseBody) String added in v1.0.9

type MoveResourceGroupRequest added in v1.0.10

type MoveResourceGroupRequest struct {
	// The ID of the new resource group.
	//
	// You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
	NewResourceGroupId *string `json:"NewResourceGroupId,omitempty" xml:"NewResourceGroupId,omitempty"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to obtain the region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the bastion host for which you want to change the resource group.
	//
	// >  You can call the [DescribeInstances](~~153281~~) operation to query the ID of the bastion host.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of the resource. Valid values:
	//
	// *   **loadbalancer**: a Network Load Balancer (NLB) instance
	// *   **securitypolicy**: a security policy
	// *   **servergroup**: a server group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (MoveResourceGroupRequest) GoString added in v1.0.10

func (s MoveResourceGroupRequest) GoString() string

func (*MoveResourceGroupRequest) SetNewResourceGroupId added in v1.0.10

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

func (*MoveResourceGroupRequest) SetRegionId added in v1.0.10

func (*MoveResourceGroupRequest) SetResourceId added in v1.0.10

func (*MoveResourceGroupRequest) SetResourceType added in v1.0.10

func (MoveResourceGroupRequest) String added in v1.0.10

func (s MoveResourceGroupRequest) String() string

type MoveResourceGroupResponse added in v1.0.10

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

func (MoveResourceGroupResponse) GoString added in v1.0.10

func (s MoveResourceGroupResponse) GoString() string

func (*MoveResourceGroupResponse) SetBody added in v1.0.10

func (*MoveResourceGroupResponse) SetHeaders added in v1.0.10

func (*MoveResourceGroupResponse) SetStatusCode added in v1.0.10

func (MoveResourceGroupResponse) String added in v1.0.10

func (s MoveResourceGroupResponse) String() string

type MoveResourceGroupResponseBody added in v1.0.10

type MoveResourceGroupResponseBody struct {
	// The data returned.
	Data *MoveResourceGroupResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The HTTP status code returned.
	HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request was successful. Valid values:
	//
	// *   **true**
	// *   **false**
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (MoveResourceGroupResponseBody) GoString added in v1.0.10

func (*MoveResourceGroupResponseBody) SetData added in v1.0.10

func (*MoveResourceGroupResponseBody) SetHttpStatusCode added in v1.0.10

func (*MoveResourceGroupResponseBody) SetRequestId added in v1.0.10

func (*MoveResourceGroupResponseBody) SetSuccess added in v1.0.10

func (MoveResourceGroupResponseBody) String added in v1.0.10

type MoveResourceGroupResponseBodyData added in v1.0.10

type MoveResourceGroupResponseBodyData struct {
	// The ID of the resource. You can specify up to 50 resource IDs in each call.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
}

func (MoveResourceGroupResponseBodyData) GoString added in v1.0.10

func (*MoveResourceGroupResponseBodyData) SetResourceId added in v1.0.10

func (MoveResourceGroupResponseBodyData) String added in v1.0.10

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 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 region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,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 []*RemoveServersFromServerGroupRequestServers `json:"Servers,omitempty" xml:"Servers,omitempty" type:"Repeated"`
}

func (RemoveServersFromServerGroupRequest) GoString

func (*RemoveServersFromServerGroupRequest) SetClientToken

func (*RemoveServersFromServerGroupRequest) SetDryRun

func (*RemoveServersFromServerGroupRequest) SetRegionId

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**.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The backend server ID.
	//
	// *   If the server group type is **Instance**, set this parameter to the ID of an Elastic Compute Service (ECS) instance, an elastic network interface (ENI), or an elastic container instance. The backend servers are specified by **Ecs**, **Eni**, or **Eci**.
	// *   If the server group type is **Ip**, set this parameter to an IP address.
	ServerId *string `json:"ServerId,omitempty" xml:"ServerId,omitempty"`
	// The IP address of the backend server. If the server group type is **Ip**, you must specify an IP address.
	ServerIp *string `json:"ServerIp,omitempty" xml:"ServerIp,omitempty"`
	// The type of the backend server. Valid values:
	//
	// *   **Ecs**: ECS instance
	// *   **Eni**: ENI
	// *   **Eci**: elastic container instance
	// *   **Ip**: IP address
	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" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *RemoveServersFromServerGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (RemoveServersFromServerGroupResponse) GoString

func (*RemoveServersFromServerGroupResponse) SetHeaders

func (*RemoveServersFromServerGroupResponse) SetStatusCode

func (RemoveServersFromServerGroupResponse) String

type RemoveServersFromServerGroupResponseBody

type RemoveServersFromServerGroupResponseBody 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 server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (RemoveServersFromServerGroupResponseBody) GoString

func (*RemoveServersFromServerGroupResponseBody) SetJobId

func (*RemoveServersFromServerGroupResponseBody) SetRequestId

func (*RemoveServersFromServerGroupResponseBody) SetServerGroupId

func (RemoveServersFromServerGroupResponseBody) 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 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"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,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) SetRegionId

func (StartListenerRequest) String

func (s StartListenerRequest) String() string

type StartListenerResponse

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

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 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 (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 v1.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 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 NLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,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 v1.1.0

func (*StartShiftLoadBalancerZonesRequest) SetClientToken added in v1.1.0

func (*StartShiftLoadBalancerZonesRequest) SetDryRun added in v1.1.0

func (*StartShiftLoadBalancerZonesRequest) SetLoadBalancerId added in v1.1.0

func (*StartShiftLoadBalancerZonesRequest) SetRegionId added in v1.1.0

func (*StartShiftLoadBalancerZonesRequest) SetZoneMappings added in v1.1.0

func (StartShiftLoadBalancerZonesRequest) String added in v1.1.0

type StartShiftLoadBalancerZonesRequestZoneMappings added in v1.1.0

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

func (StartShiftLoadBalancerZonesRequestZoneMappings) GoString added in v1.1.0

func (*StartShiftLoadBalancerZonesRequestZoneMappings) SetVSwitchId added in v1.1.0

func (*StartShiftLoadBalancerZonesRequestZoneMappings) SetZoneId added in v1.1.0

func (StartShiftLoadBalancerZonesRequestZoneMappings) String added in v1.1.0

type StartShiftLoadBalancerZonesResponse added in v1.1.0

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

func (StartShiftLoadBalancerZonesResponse) GoString added in v1.1.0

func (*StartShiftLoadBalancerZonesResponse) SetBody added in v1.1.0

func (*StartShiftLoadBalancerZonesResponse) SetHeaders added in v1.1.0

func (*StartShiftLoadBalancerZonesResponse) SetStatusCode added in v1.1.0

func (StartShiftLoadBalancerZonesResponse) String added in v1.1.0

type StartShiftLoadBalancerZonesResponseBody added in v1.1.0

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

func (StartShiftLoadBalancerZonesResponseBody) GoString added in v1.1.0

func (*StartShiftLoadBalancerZonesResponseBody) SetRequestId added in v1.1.0

func (StartShiftLoadBalancerZonesResponseBody) String added in v1.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 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 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"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,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) SetRegionId

func (s *StopListenerRequest) SetRegionId(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" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StopListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 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 (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 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. The client 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**. The value of **RequestId** is different for each API request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform a dry run. Valid values:
	//
	// *   **true**: performs a dry run. The system checks the required parameters, request syntax, and 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 region ID of the resource.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource. You can specify up to 50 resource IDs in each call.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource. Valid values:
	//
	// *   **loadbalancer**: a Network Load Balancer (NLB) 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) SetClientToken

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

func (*TagResourcesRequest) SetDryRun

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

func (*TagResourcesRequest) SetRegionId

func (s *TagResourcesRequest) SetRegionId(v string) *TagResourcesRequest

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://`.
	//
	// You can add up to 20 tags in each call.
	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://`.
	//
	// You can add up to 20 tags in each call.
	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" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *TagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 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 (TagResourcesResponseBody) GoString

func (s TagResourcesResponseBody) GoString() string

func (*TagResourcesResponseBody) SetJobId

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**: removes all tags from the specified resource.
	// *   **false**: does not remove all tags from the specified resource. This is the default value.
	All *bool `json:"All,omitempty" xml:"All,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. The client 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**. The value of **RequestId** is different for each API request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform a dry run. Valid values:
	//
	// *   **true**: performs a dry run. The system checks the required parameters, request syntax, and 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 region ID of the resource.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource. You can specify up to 50 resource IDs in each call.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource from which you want to remove tags. Valid values:
	//
	// *   **loadbalancer**: a Network Load Balancer (NLB) instance
	// *   **securitypolicy**: a security policy
	// *   **servergroup**: a server group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The key of the tag that you want to remove. You can remove up to 20 tags in each call.
	TagKey []*string `json:"TagKey,omitempty" xml:"TagKey,omitempty" type:"Repeated"`
}

func (UntagResourcesRequest) GoString

func (s UntagResourcesRequest) GoString() string

func (*UntagResourcesRequest) SetAll

func (*UntagResourcesRequest) SetClientToken

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

func (*UntagResourcesRequest) SetDryRun

func (*UntagResourcesRequest) SetRegionId

func (*UntagResourcesRequest) SetResourceId

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

func (*UntagResourcesRequest) SetResourceType

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

func (*UntagResourcesRequest) SetTagKey

func (UntagResourcesRequest) String

func (s UntagResourcesRequest) String() string

type UntagResourcesResponse

type UntagResourcesResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UntagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 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 (UntagResourcesResponseBody) GoString

func (s UntagResourcesResponseBody) GoString() string

func (*UntagResourcesResponseBody) SetJobId

func (*UntagResourcesResponseBody) SetRequestId

func (UntagResourcesResponseBody) String

type UpdateListenerAttributeRequest

type UpdateListenerAttributeRequest struct {
	// Specifies whether to enable Application-Layer Protocol Negotiation (ALPN). Valid values:
	//
	// *   **true**: yes
	// *   **false**: no
	AlpnEnabled *bool `json:"AlpnEnabled,omitempty" xml:"AlpnEnabled,omitempty"`
	// The ALPN policy.
	AlpnPolicy       *string   `json:"AlpnPolicy,omitempty" xml:"AlpnPolicy,omitempty"`
	CaCertificateIds []*string `json:"CaCertificateIds,omitempty" xml:"CaCertificateIds,omitempty" type:"Repeated"`
	// Specifies whether to enable mutual authentication. Valid values:
	//
	// *   **true**: yes
	// *   **false** (default): no
	CaEnabled      *bool     `json:"CaEnabled,omitempty" xml:"CaEnabled,omitempty"`
	CertificateIds []*string `json:"CertificateIds,omitempty" xml:"CertificateIds,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 ensure that it is unique among all requests. ClientToken can contain only ASCII characters.
	//
	// >  If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** of each API request may be different.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The maximum number of connections that can be created per second on the NLB instance. Valid values: **0** to **1000000**. **0** specifies that the number of connections is unlimited.
	Cps *int32 `json:"Cps,omitempty" xml:"Cps,omitempty"`
	// Specifies whether only to precheck the request. Valid values:
	//
	// *   **true**: prechecks the request but does not update the configurations of the listener. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
	// *   **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The timeout period of an idle connection. Unit: seconds. Valid values: **1** to **900**.
	IdleTimeout *int32 `json:"IdleTimeout,omitempty" xml:"IdleTimeout,omitempty"`
	// Enter a name for the listener.
	//
	// The description must be 2 to 256 characters in length, and can contain letters, digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\_), and hyphens (-).
	ListenerDescription *string `json:"ListenerDescription,omitempty" xml:"ListenerDescription,omitempty"`
	// The ID of the listener.
	ListenerId *string `json:"ListenerId,omitempty" xml:"ListenerId,omitempty"`
	// The size of the largest TCP segment. Unit: bytes. Valid values: **0** to **1500**. **0** specifies that the maximum segment size remains unchanged. This parameter is supported only by listeners that use SSL over TCP.
	Mss *int32 `json:"Mss,omitempty" xml:"Mss,omitempty"`
	// Specifies whether to use the Proxy protocol to pass client IP addresses to backend servers. Valid values:
	//
	// *   **true**: yes
	// *   **false**: no
	ProxyProtocolEnabled *bool `json:"ProxyProtocolEnabled,omitempty" xml:"ProxyProtocolEnabled,omitempty"`
	// The ID of the region where the NLB instance is deployed.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// Specifies whether to enable fine-grained monitoring. Valid values:
	//
	// *   **true**: yes
	// *   **false**: no
	SecSensorEnabled *bool `json:"SecSensorEnabled,omitempty" xml:"SecSensorEnabled,omitempty"`
	// The ID of the security policy.
	//
	// >  This parameter takes effect only for listeners that use SSL over TCP.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The ID of the server group.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (UpdateListenerAttributeRequest) GoString

func (*UpdateListenerAttributeRequest) SetAlpnEnabled

func (*UpdateListenerAttributeRequest) SetAlpnPolicy

func (*UpdateListenerAttributeRequest) SetCaCertificateIds

func (*UpdateListenerAttributeRequest) SetCaEnabled

func (*UpdateListenerAttributeRequest) SetCertificateIds

func (*UpdateListenerAttributeRequest) SetClientToken

func (*UpdateListenerAttributeRequest) SetCps

func (*UpdateListenerAttributeRequest) SetDryRun

func (*UpdateListenerAttributeRequest) SetIdleTimeout

func (*UpdateListenerAttributeRequest) SetListenerDescription

func (*UpdateListenerAttributeRequest) SetListenerId

func (*UpdateListenerAttributeRequest) SetMss added in v1.0.3

func (*UpdateListenerAttributeRequest) SetProxyProtocolEnabled

func (*UpdateListenerAttributeRequest) SetRegionId

func (*UpdateListenerAttributeRequest) SetSecSensorEnabled

func (*UpdateListenerAttributeRequest) SetSecurityPolicyId

func (*UpdateListenerAttributeRequest) SetServerGroupId

func (UpdateListenerAttributeRequest) String

type UpdateListenerAttributeResponse

type UpdateListenerAttributeResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateListenerAttributeResponse) GoString

func (*UpdateListenerAttributeResponse) SetHeaders

func (*UpdateListenerAttributeResponse) SetStatusCode

func (UpdateListenerAttributeResponse) String

type UpdateListenerAttributeResponseBody

type UpdateListenerAttributeResponseBody struct {
	// 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 (UpdateListenerAttributeResponseBody) GoString

func (*UpdateListenerAttributeResponseBody) SetJobId

func (*UpdateListenerAttributeResponseBody) SetRequestId

func (UpdateListenerAttributeResponseBody) String

type UpdateLoadBalancerAddressTypeConfigRequest

type UpdateLoadBalancerAddressTypeConfigRequest struct {
	// The new network type. Valid values:
	//
	// *   **Internet**: The NLB instance uses a public IP address. The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet.
	// *   **Intranet**: The NLB instance uses a private IP address. The domain name of the NLB instance is resolved to the private IP address. In this case, the NLB instance can be accessed over the virtual private cloud (VPC) where the NLB 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 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 NLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The mappings between zones and vSwitches. You can specify at most 10 zones in each call.
	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) SetRegionId

func (UpdateLoadBalancerAddressTypeConfigRequest) String

type UpdateLoadBalancerAddressTypeConfigRequestZoneMappings

type UpdateLoadBalancerAddressTypeConfigRequestZoneMappings struct {
	// The ID of the elastic IP address (EIP).
	AllocationId *string `json:"AllocationId,omitempty" xml:"AllocationId,omitempty"`
	// The type of the EIP. Valid values:
	//
	// *   **Common**
	// *   **Anycast**
	//
	// > Anycast EIPs are supported only by NLB instances in the China (Hong Kong) region. This parameter is required when **AddressType** is set to **Internet**.
	EipType *string `json:"EipType,omitempty" xml:"EipType,omitempty"`
	// The ID of the vSwitch in the zone. Each zone can contain only one vSwitch and one subnet.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID of the NLB instance.
	//
	// You can call the [DescribeZones](~~443890~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (UpdateLoadBalancerAddressTypeConfigRequestZoneMappings) GoString

func (*UpdateLoadBalancerAddressTypeConfigRequestZoneMappings) SetAllocationId

func (*UpdateLoadBalancerAddressTypeConfigRequestZoneMappings) SetEipType added in v1.0.10

func (*UpdateLoadBalancerAddressTypeConfigRequestZoneMappings) SetVSwitchId

func (*UpdateLoadBalancerAddressTypeConfigRequestZoneMappings) SetZoneId

func (UpdateLoadBalancerAddressTypeConfigRequestZoneMappings) String

type UpdateLoadBalancerAddressTypeConfigResponse

type UpdateLoadBalancerAddressTypeConfigResponse struct {
	Headers    map[string]*string                               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateLoadBalancerAddressTypeConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateLoadBalancerAddressTypeConfigResponse) GoString

func (*UpdateLoadBalancerAddressTypeConfigResponse) SetHeaders

func (*UpdateLoadBalancerAddressTypeConfigResponse) SetStatusCode

func (UpdateLoadBalancerAddressTypeConfigResponse) String

type UpdateLoadBalancerAddressTypeConfigResponseBody

type UpdateLoadBalancerAddressTypeConfigResponseBody 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 (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"`
	// The maximum number of connections that can be created per second on the NLB instance. Valid values: **1** to **1000000**.
	Cps *int32 `json:"Cps,omitempty" xml:"Cps,omitempty"`
	// Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
	//
	// *   **true**
	// *   **false**
	CrossZoneEnabled *bool `json:"CrossZoneEnabled,omitempty" xml:"CrossZoneEnabled,omitempty"`
	// Specifies whether to perform 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 NLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The NLB instance 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.
	LoadBalancerName *string `json:"LoadBalancerName,omitempty" xml:"LoadBalancerName,omitempty"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (UpdateLoadBalancerAttributeRequest) GoString

func (*UpdateLoadBalancerAttributeRequest) SetClientToken

func (*UpdateLoadBalancerAttributeRequest) SetCps

func (*UpdateLoadBalancerAttributeRequest) SetCrossZoneEnabled

func (*UpdateLoadBalancerAttributeRequest) SetDryRun

func (*UpdateLoadBalancerAttributeRequest) SetLoadBalancerId

func (*UpdateLoadBalancerAttributeRequest) SetLoadBalancerName

func (*UpdateLoadBalancerAttributeRequest) SetRegionId

func (UpdateLoadBalancerAttributeRequest) String

type UpdateLoadBalancerAttributeResponse

type UpdateLoadBalancerAttributeResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateLoadBalancerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateLoadBalancerAttributeResponse) GoString

func (*UpdateLoadBalancerAttributeResponse) SetHeaders

func (*UpdateLoadBalancerAttributeResponse) SetStatusCode

func (UpdateLoadBalancerAttributeResponse) String

type UpdateLoadBalancerAttributeResponseBody

type UpdateLoadBalancerAttributeResponseBody 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 (UpdateLoadBalancerAttributeResponseBody) GoString

func (*UpdateLoadBalancerAttributeResponseBody) SetJobId

func (*UpdateLoadBalancerAttributeResponseBody) SetRequestId

func (UpdateLoadBalancerAttributeResponseBody) String

type UpdateLoadBalancerProtectionRequest added in v1.0.8

type UpdateLoadBalancerProtectionRequest 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 enable deletion protection. Valid values:
	//
	// *   **true**
	// *   **false**
	DeletionProtectionEnabled *bool `json:"DeletionProtectionEnabled,omitempty" xml:"DeletionProtectionEnabled,omitempty"`
	// The reason why deletion protection is 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 takes effect only when **DeletionProtectionEnabled** is set to **true**.
	DeletionProtectionReason *string `json:"DeletionProtectionReason,omitempty" xml:"DeletionProtectionReason,omitempty"`
	// Specifies whether to perform 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 NLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The reason why the configuration read-only mode is 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 takes effect only if **Status** is set to **ConsoleProtection**.
	ModificationProtectionReason *string `json:"ModificationProtectionReason,omitempty" xml:"ModificationProtectionReason,omitempty"`
	// Specifies whether to enable the configuration read-only mode. Valid values:
	//
	// *   **NonProtection**: disables the configuration read-only mode. In this case, you cannot set the **ModificationProtectionReason** parameter. If you specify **ModificationProtectionReason**, the value 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 NLB console to modify instance configurations. However, you can call API operations to modify instance configurations.
	ModificationProtectionStatus *string `json:"ModificationProtectionStatus,omitempty" xml:"ModificationProtectionStatus,omitempty"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (UpdateLoadBalancerProtectionRequest) GoString added in v1.0.8

func (*UpdateLoadBalancerProtectionRequest) SetClientToken added in v1.0.8

func (*UpdateLoadBalancerProtectionRequest) SetDeletionProtectionEnabled added in v1.0.8

func (*UpdateLoadBalancerProtectionRequest) SetDeletionProtectionReason added in v1.0.8

func (*UpdateLoadBalancerProtectionRequest) SetDryRun added in v1.0.8

func (*UpdateLoadBalancerProtectionRequest) SetLoadBalancerId added in v1.0.8

func (*UpdateLoadBalancerProtectionRequest) SetModificationProtectionReason added in v1.0.8

func (*UpdateLoadBalancerProtectionRequest) SetModificationProtectionStatus added in v1.0.8

func (*UpdateLoadBalancerProtectionRequest) SetRegionId added in v1.0.8

func (UpdateLoadBalancerProtectionRequest) String added in v1.0.8

type UpdateLoadBalancerProtectionResponse added in v1.0.8

type UpdateLoadBalancerProtectionResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateLoadBalancerProtectionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateLoadBalancerProtectionResponse) GoString added in v1.0.8

func (*UpdateLoadBalancerProtectionResponse) SetBody added in v1.0.8

func (*UpdateLoadBalancerProtectionResponse) SetHeaders added in v1.0.8

func (*UpdateLoadBalancerProtectionResponse) SetStatusCode added in v1.0.8

func (UpdateLoadBalancerProtectionResponse) String added in v1.0.8

type UpdateLoadBalancerProtectionResponseBody added in v1.0.8

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

func (UpdateLoadBalancerProtectionResponseBody) GoString added in v1.0.8

func (*UpdateLoadBalancerProtectionResponseBody) SetRequestId added in v1.0.8

func (UpdateLoadBalancerProtectionResponseBody) String added in v1.0.8

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**: sends the request. If the request passes the check, an 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 NLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to obtain the region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The mappings between zones and vSwitches. You can specify at most 10 zones.
	ZoneMappings []*UpdateLoadBalancerZonesRequestZoneMappings `json:"ZoneMappings,omitempty" xml:"ZoneMappings,omitempty" type:"Repeated"`
}

func (UpdateLoadBalancerZonesRequest) GoString

func (*UpdateLoadBalancerZonesRequest) SetClientToken

func (*UpdateLoadBalancerZonesRequest) SetDryRun

func (*UpdateLoadBalancerZonesRequest) SetLoadBalancerId

func (*UpdateLoadBalancerZonesRequest) SetRegionId

func (UpdateLoadBalancerZonesRequest) String

type UpdateLoadBalancerZonesRequestZoneMappings

type UpdateLoadBalancerZonesRequestZoneMappings struct {
	// The ID of the elastic IP address (EIP) or Anycast EIP.
	AllocationId *string `json:"AllocationId,omitempty" xml:"AllocationId,omitempty"`
	// The type of the EIP. Valid values:
	//
	// *   **Common**
	// *   **Anycast**
	//
	// > Anycast EIPs are supported only by NLB instances in the China (Hong Kong) region. This parameter is required when **AddressType** is set to **Internet**.
	EipType *string `json:"EipType,omitempty" xml:"EipType,omitempty"`
	// The private IP addresses.
	PrivateIPv4Address *string `json:"PrivateIPv4Address,omitempty" xml:"PrivateIPv4Address,omitempty"`
	// 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](~~443890~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (UpdateLoadBalancerZonesRequestZoneMappings) GoString

func (*UpdateLoadBalancerZonesRequestZoneMappings) SetAllocationId

func (*UpdateLoadBalancerZonesRequestZoneMappings) SetEipType added in v1.0.10

func (*UpdateLoadBalancerZonesRequestZoneMappings) SetPrivateIPv4Address

func (*UpdateLoadBalancerZonesRequestZoneMappings) SetVSwitchId

func (*UpdateLoadBalancerZonesRequestZoneMappings) SetZoneId

func (UpdateLoadBalancerZonesRequestZoneMappings) String

type UpdateLoadBalancerZonesResponse

type UpdateLoadBalancerZonesResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateLoadBalancerZonesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 UpdateSecurityPolicyAttributeRequest

type UpdateSecurityPolicyAttributeRequest struct {
	// The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
	//
	// TLS 1.0 and TLS 1.1 support the following cipher suites:
	//
	// *   **ECDHE-ECDSA-AES128-SHA**
	// *   **ECDHE-ECDSA-AES256-SHA**
	// *   **ECDHE-RSA-AES128-SHA**
	// *   **ECDHE-RSA-AES256-SHA**
	// *   **AES128-SHA**
	// *   **AES256-SHA**
	// *   **DES-CBC3-SHA**
	//
	// TLS 1.2 supports the following cipher suites:
	//
	// *   **ECDHE-ECDSA-AES128-SHA**
	// *   **ECDHE-ECDSA-AES256-SHA**
	// *   **ECDHE-RSA-AES128-SHA**
	// *   **ECDHE-RSA-AES256-SHA**
	// *   **AES128-SHA**
	// *   **AES256-SHA**
	// *   **DES-CBC3-SHA**
	// *   **ECDHE-ECDSA-AES128-GCM-SHA256**
	// *   **ECDHE-ECDSA-AES256-GCM-SHA384**
	// *   **ECDHE-ECDSA-AES128-SHA256**
	// *   **ECDHE-ECDSA-AES256-SHA384**
	// *   **ECDHE-RSA-AES128-GCM-SHA256**
	// *   **ECDHE-RSA-AES256-GCM-SHA384**
	// *   **ECDHE-RSA-AES128-SHA256**
	// *   **ECDHE-RSA-AES256-SHA384**
	// *   **AES128-GCM-SHA256**
	// *   **AES256-GCM-SHA384**
	// *   **AES128-SHA256**
	// *   **AES256-SHA256**
	//
	// TLS 1.3 supports the following cipher suites:
	//
	// *   **TLS_AES\_128\_GCM_SHA256**
	// *   **TLS_AES\_256\_GCM_SHA384**
	// *   **TLS_CHACHA20\_POLY1305\_SHA256**
	// *   **TLS_AES\_128\_CCM_SHA256**
	// *   **TLS_AES\_128\_CCM\_8\_SHA256**
	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 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 region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to obtain the region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the TLS security policy.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
	// The name of the security policy.
	//
	// The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-).
	SecurityPolicyName *string `json:"SecurityPolicyName,omitempty" xml:"SecurityPolicyName,omitempty"`
	// The supported versions of the Transport Layer Security (TLS) protocol. Valid values: **TLSv1.0**, **TLSv1.1**, **TLSv1.2**, and **TLSv1.3**. You can specify at most four 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) SetRegionId

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" require:"true"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateSecurityPolicyAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateSecurityPolicyAttributeResponse) GoString

func (*UpdateSecurityPolicyAttributeResponse) SetHeaders

func (*UpdateSecurityPolicyAttributeResponse) SetStatusCode

func (UpdateSecurityPolicyAttributeResponse) String

type UpdateSecurityPolicyAttributeResponseBody

type UpdateSecurityPolicyAttributeResponseBody 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 ID of the TLS security policy.
	SecurityPolicyId *string `json:"SecurityPolicyId,omitempty" xml:"SecurityPolicyId,omitempty"`
}

func (UpdateSecurityPolicyAttributeResponseBody) GoString

func (*UpdateSecurityPolicyAttributeResponseBody) SetJobId

func (*UpdateSecurityPolicyAttributeResponseBody) SetRequestId

func (*UpdateSecurityPolicyAttributeResponseBody) SetSecurityPolicyId

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"`
	// Specifies whether to enable connection draining. Valid values:
	//
	// *   **true**
	// *   **false**
	ConnectionDrainEnabled *bool `json:"ConnectionDrainEnabled,omitempty" xml:"ConnectionDrainEnabled,omitempty"`
	// The timeout period of connection draining. Unit: seconds. Valid values: **10** to **900**.
	ConnectionDrainTimeout *int32 `json:"ConnectionDrainTimeout,omitempty" xml:"ConnectionDrainTimeout,omitempty"`
	// Specifies whether to perform 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 configurations of the health check feature.
	HealthCheckConfig *UpdateServerGroupAttributeRequestHealthCheckConfig `json:"HealthCheckConfig,omitempty" xml:"HealthCheckConfig,omitempty" type:"Struct"`
	// Specifies whether to enable client IP preservation. Valid values:
	//
	// *   **true**
	// *   **false**
	PreserveClientIpEnabled *bool   `json:"PreserveClientIpEnabled,omitempty" xml:"PreserveClientIpEnabled,omitempty"`
	QuicVersion             *string `json:"QuicVersion,omitempty" xml:"QuicVersion,omitempty"`
	// The region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to obtain the region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The routing algorithm. Valid values:
	//
	// *   **Wrr**: Backend servers with higher weights receive more requests than backend servers with lower weights.
	// *   **rr**: Requests are forwarded to backend servers in sequence.
	// *   **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
	// *   **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
	// *   **qch**: QUIC ID hashing. Requests that contain the same QUIC ID are forwarded 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 new 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"`
}

func (UpdateServerGroupAttributeRequest) GoString

func (*UpdateServerGroupAttributeRequest) SetClientToken

func (*UpdateServerGroupAttributeRequest) SetConnectionDrainEnabled

func (*UpdateServerGroupAttributeRequest) SetConnectionDrainTimeout

func (*UpdateServerGroupAttributeRequest) SetDryRun

func (*UpdateServerGroupAttributeRequest) SetPreserveClientIpEnabled

func (*UpdateServerGroupAttributeRequest) SetQuicVersion added in v1.1.1

func (*UpdateServerGroupAttributeRequest) SetRegionId

func (*UpdateServerGroupAttributeRequest) SetScheduler

func (*UpdateServerGroupAttributeRequest) SetServerGroupId

func (*UpdateServerGroupAttributeRequest) SetServerGroupName

func (UpdateServerGroupAttributeRequest) String

type UpdateServerGroupAttributeRequestHealthCheckConfig

type UpdateServerGroupAttributeRequestHealthCheckConfig struct {
	// 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.
	HealthCheckConnectPort *int32 `json:"HealthCheckConnectPort,omitempty" xml:"HealthCheckConnectPort,omitempty"`
	// The maximum timeout period of a health check. Unit: seconds. Valid values: **1** to **300**.
	HealthCheckConnectTimeout *int32 `json:"HealthCheckConnectTimeout,omitempty" xml:"HealthCheckConnectTimeout,omitempty"`
	// The domain name that you want to use for health checks. Valid values:
	//
	// *   **$SERVER_IP**: the private IP address of a backend server.
	// *   **domain**: a specified domain name. The domain name must be 1 to 80 characters in length, and can contain lowercase letters, digits, hyphens (-), and periods (.).
	//
	// > This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
	HealthCheckDomain *string `json:"HealthCheckDomain,omitempty" xml:"HealthCheckDomain,omitempty"`
	// Specifies whether to enable the health check feature. Valid values:
	//
	// *   **true**
	// *   **false**
	HealthCheckEnabled *bool `json:"HealthCheckEnabled,omitempty" xml:"HealthCheckEnabled,omitempty"`
	// The HTTP status codes to return for health checks. Separate multiple HTTP status codes with commas (,). Valid values: **http\_2xx** (default), **http\_3xx**, **http\_4xx**, and **http\_5xx**.
	//
	// > This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
	HealthCheckHttpCode []*string `json:"HealthCheckHttpCode,omitempty" xml:"HealthCheckHttpCode,omitempty" type:"Repeated"`
	// The interval at which health checks are performed. Unit: seconds.
	//
	// Valid values: **5** to **50**.
	HealthCheckInterval *int32 `json:"HealthCheckInterval,omitempty" xml:"HealthCheckInterval,omitempty"`
	// The protocol that you want to use for health checks. Valid values: **TCP** and **HTTP**.
	HealthCheckType *string `json:"HealthCheckType,omitempty" xml:"HealthCheckType,omitempty"`
	// The path to which health check requests are sent.
	//
	// 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 only when **HealthCheckType** is set to **HTTP**.
	HealthCheckUrl *string `json:"HealthCheckUrl,omitempty" xml:"HealthCheckUrl,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**.
	HealthyThreshold *int32 `json:"HealthyThreshold,omitempty" xml:"HealthyThreshold,omitempty"`
	// The HTTP method that is used for health checks. Valid values: **GET** and **HEAD**.
	//
	// > This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
	HttpCheckMethod *string `json:"HttpCheckMethod,omitempty" xml:"HttpCheckMethod,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**.
	UnhealthyThreshold *int32 `json:"UnhealthyThreshold,omitempty" xml:"UnhealthyThreshold,omitempty"`
}

func (UpdateServerGroupAttributeRequestHealthCheckConfig) GoString

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckConnectPort

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckConnectTimeout

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckDomain

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckEnabled

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckHttpCode

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckInterval

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckType

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthCheckUrl

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHealthyThreshold

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetHttpCheckMethod

func (*UpdateServerGroupAttributeRequestHealthCheckConfig) SetUnhealthyThreshold

func (UpdateServerGroupAttributeRequestHealthCheckConfig) String

type UpdateServerGroupAttributeResponse

type UpdateServerGroupAttributeResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateServerGroupAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateServerGroupAttributeResponse) GoString

func (*UpdateServerGroupAttributeResponse) SetHeaders

func (*UpdateServerGroupAttributeResponse) SetStatusCode

func (UpdateServerGroupAttributeResponse) String

type UpdateServerGroupAttributeResponseBody

type UpdateServerGroupAttributeResponseBody 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 server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (UpdateServerGroupAttributeResponseBody) GoString

func (*UpdateServerGroupAttributeResponseBody) SetJobId

func (*UpdateServerGroupAttributeResponseBody) SetRequestId

func (*UpdateServerGroupAttributeResponseBody) SetServerGroupId

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 **request ID** may be different for each request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to perform 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 region ID of the NLB instance.
	//
	// You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
	// The backend servers that you want to modify. 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) SetRegionId

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, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\_), and hyphens (-).
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The port that is used by the backend server. Valid values: **1** to **65535**. You can specify at most 40 backend servers in each call.
	//
	// > This is parameter cannot be modified.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The backend server ID. You can specify at most 40 backend servers in each call.
	//
	// *   If the server group type is **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 the server group type is **Ip**, set this parameter to an IP address.
	ServerId *string `json:"ServerId,omitempty" xml:"ServerId,omitempty"`
	// The IP address of the backend server. If the server group type is **Ip**, you must specify an IP address.
	//
	// > You can specify at most 40 backend servers in each call.
	ServerIp *string `json:"ServerIp,omitempty" xml:"ServerIp,omitempty"`
	// The type of the backend server. Valid values:
	//
	// *   **Ecs**: ECS instance
	// *   **Eni**: ENI
	// *   **Eci**: an elastic container instance
	// *   **Ip**: an IP address
	//
	// > You can specify at most 40 backend servers in each call.
	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 backend servers in each call.
	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" require:"true"`
	StatusCode *int32                                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateServerGroupServersAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateServerGroupServersAttributeResponse) GoString

func (*UpdateServerGroupServersAttributeResponse) SetHeaders

func (*UpdateServerGroupServersAttributeResponse) SetStatusCode

func (UpdateServerGroupServersAttributeResponse) String

type UpdateServerGroupServersAttributeResponseBody

type UpdateServerGroupServersAttributeResponseBody 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 server group ID.
	ServerGroupId *string `json:"ServerGroupId,omitempty" xml:"ServerGroupId,omitempty"`
}

func (UpdateServerGroupServersAttributeResponseBody) GoString

func (*UpdateServerGroupServersAttributeResponseBody) SetJobId

func (*UpdateServerGroupServersAttributeResponseBody) SetRequestId

func (*UpdateServerGroupServersAttributeResponseBody) SetServerGroupId

func (UpdateServerGroupServersAttributeResponseBody) String

Jump to

Keyboard shortcuts

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