public class VirtualPrivateCloud extends AbstractModel
Constructor and Description |
---|
VirtualPrivateCloud() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAsVpcGateway()
Get Whether to use an instance as a public gateway.
|
Long |
getIpv6AddressCount()
Get
|
String[] |
getPrivateIpAddresses()
Get Array of VPC subnet IPs.
|
String |
getSubnetId()
Get VPC subnet ID in the format `subnet-xxx`.
|
String |
getVpcId()
Get
|
void |
setAsVpcGateway(Boolean AsVpcGateway)
Set Whether to use an instance as a public gateway.
|
void |
setIpv6AddressCount(Long Ipv6AddressCount)
Set
|
void |
setPrivateIpAddresses(String[] PrivateIpAddresses)
Set Array of VPC subnet IPs.
|
void |
setSubnetId(String SubnetId)
Set VPC subnet ID in the format `subnet-xxx`.
|
void |
setVpcId(String VpcId)
Set
|
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 getVpcId()
public void setVpcId(String VpcId)
VpcId
- public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- VPC subnet ID in the format `subnet-xxx`. To obtain valid subnet IDs, you can log in to the [console](https://console.cloud.tencent.com/vpc/subnet?rid=1) or call [DescribeSubnets](/document/api/215/15784) and look for the `unSubnetId` fields in the response. If you specify `DEFAULT` for both `SubnetId` and `VpcId` when creating an instance, the default VPC will be used.public Boolean getAsVpcGateway()
public void setAsVpcGateway(Boolean AsVpcGateway)
AsVpcGateway
- Whether to use an instance as a public gateway. An instance can be used as a public gateway only when it has a public IP and resides in a VPC. Valid values: public String[] getPrivateIpAddresses()
public void setPrivateIpAddresses(String[] PrivateIpAddresses)
PrivateIpAddresses
- Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.public Long getIpv6AddressCount()
public void setIpv6AddressCount(Long Ipv6AddressCount)
Ipv6AddressCount
- Copyright © 2020. All rights reserved.