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 Exclusive 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.
|
Boolean |
getLoadBalancerPassToTarget()
Get Whether to allow CLB traffic to the target group.
|
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 |
getSlaType()
Get Creates an LCU-supported CLB instance
To create an LCU-supported CLB, this field is required and the value is `SLA`.
|
String |
getSlaveZoneId()
Get Specifies the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`.
|
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 the CLB instance when purchasing it.
|
String |
getVip()
Get Specifies a VIP for the CLB instance.
|
String |
getVipIsp()
Get This parameter is applicable only to public network CLB instances.
|
String |
getVpcId()
Get Network ID of the target device on the CLB backend, such as `vpc-12345678`, 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 Exclusive 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 |
setLoadBalancerPassToTarget(Boolean LoadBalancerPassToTarget)
Set Whether to allow CLB traffic to the target group.
|
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 |
setSlaType(String SlaType)
Set Creates an LCU-supported CLB instance
To create an LCU-supported CLB, this field is required and the value is `SLA`.
|
void |
setSlaveZoneId(String SlaveZoneId)
Set Specifies the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`.
|
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 the CLB instance when purchasing it.
|
void |
setVip(String Vip)
Set Specifies a VIP for the CLB instance.
|
void |
setVipIsp(String VipIsp)
Set This parameter is applicable only to public network CLB instances.
|
void |
setVpcId(String VpcId)
Set Network ID of the target device on the CLB backend, such as `vpc-12345678`, 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 target device on the CLB backend, such as `vpc-12345678`, which can be obtained through the `DescribeVpcEx` API. If this parameter is not entered, `DefaultVPC` is used by default. This parameter is required when creating a private network instance.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. This parameter is required for creating a CLB instance.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 entered, the default project will be used.public String getAddressIPVersion()
public void setAddressIPVersion(String AddressIPVersion)
AddressIPVersion
- IP version. Valid values: `IPV4` (default), `IPV6` (IPV6 NAT64 version) or `IPv6FullChain` (IPv6 version). This parameter is only for 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: By default, the traffic goes to the primary AZ. The secondary AZs only carry traffic when the primary AZ is unavailable. The optimal secondary AZ is chosen automatically. You can query the primary and secondary AZ of a region by calling [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1).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 the CLB instance when purchasing it. Up to 20 tag key value pairs are supported.public String getVip()
public void setVip(String Vip)
Vip
- Specifies a VIP for the CLB instance.
public 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
- Exclusive cluster information. This parameter is required for creating exclusive clusters of CLB instances.public String getSlaType()
public void setSlaType(String SlaType)
SlaType
- Creates an LCU-supported CLB instance
public 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
- Specifies the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`. It is applicable only to public network CLB.
Note: The traffic only goes to the secondary AZ when the primary AZ is unavailable. You can query the list of primary and secondary AZ of a region by calling [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1).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`.public Boolean getLoadBalancerPassToTarget()
public void setLoadBalancerPassToTarget(Boolean LoadBalancerPassToTarget)
LoadBalancerPassToTarget
- Whether to allow CLB traffic to the target group. `true`: allows CLB traffic to the target group and verifies security groups only on CLB; `false`: denies CLB traffic to the target group and verifies security groups on both CLB and backend instances.Copyright © 2022. All rights reserved.