public class CreateLoadBalancerRequest extends AbstractModel
Constructor and Description |
---|
CreateLoadBalancerRequest() |
CreateLoadBalancerRequest(CreateLoadBalancerRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddressIPVersion()
Get IP version.
|
String |
getBandwidthPackageId()
Get Bandwidth package ID.
|
String |
getClientToken()
Get A unique string supplied by the client to ensure that the request is idempotent.
|
String |
getClusterTag()
Get Tag for the STGW exclusive cluster.
|
String |
getEipAddressId()
Get Unique ID of an EIP, which can only be used when binding the EIP of a private network CLB instance.
|
ExclusiveCluster |
getExclusiveCluster()
Get Dedicated cluster information
|
Long |
getForward()
Get CLB instance type.
|
InternetAccessible |
getInternetAccessible()
Get CLB network billing mode.
|
String |
getLoadBalancerName()
Get CLB instance name, which takes effect only when only one instance is to be created in the request.
|
String |
getLoadBalancerType()
Get CLB instance network type:
OPEN: public network; INTERNAL: private network.
|
String |
getMasterZoneId()
Get Sets the primary AZ ID for cross-AZ disaster recovery, such as 100001 or ap-guangzhou-1, which is applicable only to public network CLB.
|
Long |
getNumber()
Get Number of CLBs to be created.
|
Long |
getProjectId()
Get ID of the project to which a CLB instance belongs, which can be obtained through the DescribeProject API.
|
String |
getSlaveZoneId()
Get Sets the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`, which is applicable only to public network CLB instances.
|
SnatIp[] |
getSnatIps()
Get Creates `SnatIp` when the binding IPs of other VPCs feature is enabled
|
Boolean |
getSnatPro()
Get Whether Binding IPs of other VPCs feature switch
|
String |
getSubnetId()
Get A subnet ID must be specified when you purchase a private network CLB instance in a VPC, and the VIP of this instance will be generated in this subnet.
|
TagInfo[] |
getTags()
Get Tags a CLB instance when purchasing it
|
String |
getVip()
Get Applies for CLB instances for a specified VIP
|
String |
getVipIsp()
Get This parameter is applicable only to public network CLB instances.
|
String |
getVpcId()
Get Network ID of the backend target server of CLB, which can be obtained through the DescribeVpcEx API.
|
String |
getZoneId()
Get Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances.
|
void |
setAddressIPVersion(String AddressIPVersion)
Set IP version.
|
void |
setBandwidthPackageId(String BandwidthPackageId)
Set Bandwidth package ID.
|
void |
setClientToken(String ClientToken)
Set A unique string supplied by the client to ensure that the request is idempotent.
|
void |
setClusterTag(String ClusterTag)
Set Tag for the STGW exclusive cluster.
|
void |
setEipAddressId(String EipAddressId)
Set Unique ID of an EIP, which can only be used when binding the EIP of a private network CLB instance.
|
void |
setExclusiveCluster(ExclusiveCluster ExclusiveCluster)
Set Dedicated cluster information
|
void |
setForward(Long Forward)
Set CLB instance type.
|
void |
setInternetAccessible(InternetAccessible InternetAccessible)
Set CLB network billing mode.
|
void |
setLoadBalancerName(String LoadBalancerName)
Set CLB instance name, which takes effect only when only one instance is to be created in the request.
|
void |
setLoadBalancerType(String LoadBalancerType)
Set CLB instance network type:
OPEN: public network; INTERNAL: private network.
|
void |
setMasterZoneId(String MasterZoneId)
Set Sets the primary AZ ID for cross-AZ disaster recovery, such as 100001 or ap-guangzhou-1, which is applicable only to public network CLB.
|
void |
setNumber(Long Number)
Set Number of CLBs to be created.
|
void |
setProjectId(Long ProjectId)
Set ID of the project to which a CLB instance belongs, which can be obtained through the DescribeProject API.
|
void |
setSlaveZoneId(String SlaveZoneId)
Set Sets the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`, which is applicable only to public network CLB instances.
|
void |
setSnatIps(SnatIp[] SnatIps)
Set Creates `SnatIp` when the binding IPs of other VPCs feature is enabled
|
void |
setSnatPro(Boolean SnatPro)
Set Whether Binding IPs of other VPCs feature switch
|
void |
setSubnetId(String SubnetId)
Set A subnet ID must be specified when you purchase a private network CLB instance in a VPC, and the VIP of this instance will be generated in this subnet.
|
void |
setTags(TagInfo[] Tags)
Set Tags a CLB instance when purchasing it
|
void |
setVip(String Vip)
Set Applies for CLB instances for a specified VIP
|
void |
setVipIsp(String VipIsp)
Set This parameter is applicable only to public network CLB instances.
|
void |
setVpcId(String VpcId)
Set Network ID of the backend target server of CLB, which can be obtained through the DescribeVpcEx API.
|
void |
setZoneId(String ZoneId)
Set Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateLoadBalancerRequest()
public CreateLoadBalancerRequest(CreateLoadBalancerRequest source)
public String getLoadBalancerType()
public void setLoadBalancerType(String LoadBalancerType)
LoadBalancerType
- CLB instance network type:
OPEN: public network; INTERNAL: private network.public Long getForward()
public void setForward(Long Forward)
Forward
- CLB instance type. Valid value: 1 (generic CLB instance).public String getLoadBalancerName()
public void setLoadBalancerName(String LoadBalancerName)
LoadBalancerName
- CLB instance name, which takes effect only when only one instance is to be created in the request. It can consist 1 to 60 letters, digits, hyphens (-), or underscores (_).
Note: if the name of the new CLB instance already exists, a default name will be generated automatically.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- Network ID of the backend target server of CLB, which can be obtained through the DescribeVpcEx API. If this parameter is not passed in, it will default to a basic network ("0").public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- A subnet ID must be specified when you purchase a private network CLB instance in a VPC, and the VIP of this instance will be generated in this subnet.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- ID of the project to which a CLB instance belongs, which can be obtained through the DescribeProject API. If this parameter is not passed in, the default project will be used.public String getAddressIPVersion()
public void setAddressIPVersion(String AddressIPVersion)
AddressIPVersion
- IP version. Valid values: IPv4, IPv6, IPv6FullChain. Default value: IPv4. This parameter is applicable only to public network CLB instances.public Long getNumber()
public void setNumber(Long Number)
Number
- Number of CLBs to be created. Default value: 1.public String getMasterZoneId()
public void setMasterZoneId(String MasterZoneId)
MasterZoneId
- Sets the primary AZ ID for cross-AZ disaster recovery, such as 100001 or ap-guangzhou-1, which is applicable only to public network CLB.
Note: A primary AZ carries traffic, while a secondary AZ does not carry traffic by default and will be used only if the primary AZ becomes unavailable. The platform will automatically select the optimal secondary AZ. The list of primary AZs in a specific region can be queried through the DescribeMasterZones API.public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances.public InternetAccessible getInternetAccessible()
public void setInternetAccessible(InternetAccessible InternetAccessible)
InternetAccessible
- CLB network billing mode. This parameter is applicable only to public network CLB instances.public String getVipIsp()
public void setVipIsp(String VipIsp)
VipIsp
- This parameter is applicable only to public network CLB instances. Valid values: CMCC (China Mobile), CTCC (China Telecom), CUCC (China Unicom). If this parameter is not specified, BGP will be used by default. ISPs supported in a region can be queried with the `DescribeSingleIsp` API. If an ISP is specified, only bill-by-bandwidth-package (BANDWIDTH_PACKAGE) can be used as the network billing mode.public TagInfo[] getTags()
public void setTags(TagInfo[] Tags)
Tags
- Tags a CLB instance when purchasing itpublic String getVip()
public void setVip(String Vip)
Vip
- Applies for CLB instances for a specified VIPpublic String getBandwidthPackageId()
public void setBandwidthPackageId(String BandwidthPackageId)
BandwidthPackageId
- Bandwidth package ID. If this parameter is specified, the network billing mode (`InternetAccessible.InternetChargeType`) will only support bill-by-bandwidth package (`BANDWIDTH_PACKAGE`).public ExclusiveCluster getExclusiveCluster()
public void setExclusiveCluster(ExclusiveCluster ExclusiveCluster)
ExclusiveCluster
- Dedicated cluster informationpublic String getClientToken()
public void setClientToken(String ClientToken)
ClientToken
- A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.public Boolean getSnatPro()
public void setSnatPro(Boolean SnatPro)
SnatPro
- Whether Binding IPs of other VPCs feature switchpublic SnatIp[] getSnatIps()
public void setSnatIps(SnatIp[] SnatIps)
SnatIps
- Creates `SnatIp` when the binding IPs of other VPCs feature is enabledpublic String getClusterTag()
public void setClusterTag(String ClusterTag)
ClusterTag
- Tag for the STGW exclusive cluster.public String getSlaveZoneId()
public void setSlaveZoneId(String SlaveZoneId)
SlaveZoneId
- Sets the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`, which is applicable only to public network CLB instances.
Note: A secondary AZ will load traffic if the primary AZ has failures. The API `DescribeMasterZones` is used to query the primary and secondary AZ list of a region.public String getEipAddressId()
public void setEipAddressId(String EipAddressId)
EipAddressId
- Unique ID of an EIP, which can only be used when binding the EIP of a private network CLB instance. E.g., `eip-11112222`.Copyright © 2021. All rights reserved.