This API is used to query the details of one or more VPCs. You can filter the query results with the VPC ID, VPC name, subnet ID and availability region ID.
2. Input Parameters
The following request parameter list only provides API request parameters.
Parameter Name
Required
Type
Description
vpcIds
No
Array of String
VPC ID(s).
The maximum number of VPCs in each request is 100.
cidrBlock
No
String
CIDR block of VPC.
vpcStatus
No
String
vpcName
No
String
Name of VPC.
vpcRegionId
No
String
Availability region ID of VPC.
resourceGroupId
No
String
Resource group ID.
If the value is null, then return all the VPCs in the authorized resource groups.
pageSize
No
Integer
Number of items in the current page result.
Default value: 20;
Maximum value: 1000.
pageNum
No
Integer
Number of pages returned.
Default value: 1.
3. Output Parameters
Parameter Name
Type
Description
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.