public class CreateLoadBalancerRequest extends AbstractModel
Constructor and Description |
---|
CreateLoadBalancerRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getAddressIPVersion()
Get IP version.
|
String |
getClientToken()
Get A unique string supplied by the client to ensure that the request is idempotent.
|
Long |
getForward()
Get CLB instance type.
|
InternetAccessible |
getInternetAccessible()
Get CLB network billing mode.
|
String |
getLoadBalancerName()
Get CLB instance name, which takes effect only when an instance is created.
|
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 |
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 |
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.
|
void |
setAddressIPVersion(String AddressIPVersion)
Set IP version.
|
void |
setClientToken(String ClientToken)
Set A unique string supplied by the client to ensure that the request is idempotent.
|
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 an instance is created.
|
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 |
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 |
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.
|
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 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. 1: generic CLB instance. Currently, only 1 can be passed inpublic String getLoadBalancerName()
public void setLoadBalancerName(String LoadBalancerName)
LoadBalancerName
- CLB instance name, which takes effect only when an instance is created. Rule: 1-50 letters, digits, dashes (-), or underscores (_).
Note: If this name is the same as the name of an existing CLB instance in the system, the system will automatically generate a name for this newly created instance.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.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 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.Copyright © 2020. All rights reserved.