Package | Description |
---|---|
com.tencentcloudapi.vpc.v20170312 | |
com.tencentcloudapi.vpc.v20170312.models |
Modifier and Type | Method and Description |
---|---|
CreateDefaultVpcResponse |
VpcClient.CreateDefaultVpc(CreateDefaultVpcRequest req)
本接口(CreateDefaultVpc)用于创建默认私有网络(VPC)。
默认VPC适用于快速入门和启动公共实例,您可以像使用任何其他VPC一样使用默认VPC。如果您想创建标准VPC,即指定VPC名称、VPC网段、子网网段、子网可用区,请使用常规创建VPC接口(CreateVpc)
正常情况,本接口并不一定生产默认VPC,而是根据用户账号的网络属性(DescribeAccountAttributes)来决定的
支持基础网络、VPC,返回VpcId为0
只支持VPC,返回默认VPC信息
您也可以通过 Force 参数,强制返回默认VPC。
|
Constructor and Description |
---|
CreateDefaultVpcRequest(CreateDefaultVpcRequest 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 © 2024. All rights reserved.