public class ZoneInstanceCountISP extends AbstractModel
Constructor and Description |
---|
ZoneInstanceCountISP() |
ZoneInstanceCountISP(ZoneInstanceCountISP 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 |
---|---|
Long |
getInstanceCount()
Get Number of instances to be created in the current AZ.
|
Long |
getIpv6AddressCount()
Get Number of the IPv6 addresses to be randomly generated for the ENI, which cannot be greater than 1.
|
String |
getISP()
Get ISP name.
|
String[] |
getPrivateIpAddresses()
Get Private IP of the specified primary ENI.
|
String |
getSubnetId()
Get ID of the specified subnet.
|
String |
getVpcId()
Get ID of the specified VPC.
|
String |
getZone()
Get The AZ in which to create an instance.
|
void |
setInstanceCount(Long InstanceCount)
Set Number of instances to be created in the current AZ.
|
void |
setIpv6AddressCount(Long Ipv6AddressCount)
Set Number of the IPv6 addresses to be randomly generated for the ENI, which cannot be greater than 1.
|
void |
setISP(String ISP)
Set ISP name.
|
void |
setPrivateIpAddresses(String[] PrivateIpAddresses)
Set Private IP of the specified primary ENI.
|
void |
setSubnetId(String SubnetId)
Set ID of the specified subnet.
|
void |
setVpcId(String VpcId)
Set ID of the specified VPC.
|
void |
setZone(String Zone)
Set The AZ in which to create an instance.
|
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 ZoneInstanceCountISP()
public ZoneInstanceCountISP(ZoneInstanceCountISP source)
public String getZone()
public void setZone(String Zone)
Zone
- The AZ in which to create an instance.public Long getInstanceCount()
public void setInstanceCount(Long InstanceCount)
InstanceCount
- Number of instances to be created in the current AZ.public String getISP()
public void setISP(String ISP)
ISP
- ISP name. Valid values:
CTCC: China Telecom
CUCC: China Unicom
CMCC: China Mobile
If there are multiple ISP names, you need to separate them by semicolons, such as `CMCC;CUCC;CTCC`. To use multiple ISPs, contact Tencent Cloud customer service for assistance.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- ID of the specified VPC. You must specify both `SubnetId` and `VpcId` or neitherpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- ID of the specified subnet. You must specify both `SubnetId` and `VpcId` or neitherpublic String[] getPrivateIpAddresses()
public void setPrivateIpAddresses(String[] PrivateIpAddresses)
PrivateIpAddresses
- Private IP of the specified primary ENI. You must specify both `SubnetId` and `VpcId` at the same time. The number of IP addresses must be the same as `InstanceCount`. You can get the private IP of the secondary ENI of a multi-IP server through DHCP in the same subnet.public Long getIpv6AddressCount()
public void setIpv6AddressCount(Long Ipv6AddressCount)
Ipv6AddressCount
- Number of the IPv6 addresses to be randomly generated for the ENI, which cannot be greater than 1.Copyright © 2023. All rights reserved.