CreateDefaultVpc

Last Updated At: 2026-08-02 00:06:20

1. Interface Description

Interface request domain name: vpc.api3.convergecloud.com.

This API (CreateDefaultVpc) is used to create a default VPC.

The default VPC is suitable for quick start and launching public instances. You can use it like any other VPC. If you want to create a standard VPC, i.e., specify the VPC name, VPC IP range, subnet IP range, and subnet availability zone, use the regular API for creating VPCs (CreateVpc).

Normally, this API does not necessarily produce a default VPC, but is determined by the network attributes of the user's account (DescribeAccountAttributes).

  • It supports basic networks and VPCs, and returns VpcId of 0.
  • It supports VPCs only, and returns default VPC information.

You can also force a return of the default VPC through the Force parameter.

Default interface request rate limit: 100 times per second.

Interface update time: 2025-04-30 17:21:29.

The interface only verifies the signature but does not authenticate.

2. Input Parameters

The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.

Parameter name Required Allow NULL Type Description
Action Yes No String Public parameter, The value of this interface: CreateDefaultVpc
Version Yes No String Public parameter, The value of this interface: 2017-03-12
Region No No String Public parameter,Regional information A list of supported geographies is available through the DescribeRegions interface
Zone No No String Subnet's availability zone ID. If it is not specified, an availability zone will be selected randomly.
Example: ap-region-1
Force No No Bool Whether to force return to the default VPC.
Example: true

3. Output Parameters

Parameter name Type Description
Vpc DefaultVpcSubnet Default VPC and subnet ID
Example:View
RequestId String Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem.

4. Error Code

The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.

Error Code Description
ResourceNotFound The resource does not exist