Package | Description |
---|---|
com.tencentcloudapi.vpc.v20170312 | |
com.tencentcloudapi.vpc.v20170312.models |
Modifier and Type | Method and Description |
---|---|
CreateSubnetsResponse |
VpcClient.CreateSubnets(CreateSubnetsRequest req)
本接口(CreateSubnets)用于批量创建子网。
创建子网前必须创建好 VPC。
子网创建成功后,子网网段不能修改。子网网段必须在VPC网段内,可以和VPC网段相同(VPC有且只有一个子网时),建议子网网段在VPC网段内,预留网段给其他子网使用。
您可以创建的最小网段子网掩码为28(有16个IP地址),最大网段子网掩码为16(65,536个IP地址)。
同一个VPC内,多个子网的网段不能重叠。
子网创建后会自动关联到默认路由表。
创建子网同时可以绑定标签, 应答里的标签列表代表添加成功的标签。
|
Constructor and Description |
---|
CreateSubnetsResponse(CreateSubnetsResponse 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.
|
Copyright © 2022. All rights reserved.