cvm — Cloud Virtual Machine
cvm · type

VirtualPrivateCloud

5 fields

FieldTypeDescription
VpcIdstringvpc ID, such as `vpc-xxx`. valid vpc ids can be queried by logging in to the console or by calling the API DescribeVpcs and obtaining the `VpcId` field from the API response. if both VpcId and SubnetId are input as `DEFAULT` when creating an instance, the DEFAULT vpc network will be forcibly used.
SubnetIdstringvpc subnet ID, in the form of `subnet-xxx`. valid vpc subnet ids can be queried by logging in to the console; or they can be obtained from the `SubnetId` field in the API response by calling the DescribeSubnets API. if SubnetId and VpcId are both input as `DEFAULT` when creating an instance, the DEFAULT vpc network will be forcibly used.
AsVpcGatewaybooleanWhether it is used as a public gateway. A public gateway can only be used normally when an instance has a public IP address and is in a VPC. Valid values: true: It is used as a public gateway. false: It is not used as a public gateway. Default value: false.
PrivateIpAddressesstring[]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.
Ipv6AddressCountintegerNumber of IPv6 addresses randomly generated for the ENI.

Returned or accepted by

Nested inside