This operation describes a list of VPCs.
Try it now

RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
polardb:DescribeRdsVpcs | get | *DBCluster
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | Yes | The region ID. >You can call the DescribeRegions operation to query available regions. | cn-hangzhou |
ZoneId | string | No | The ID of the zone. | cn-hangzhou-k |
ResourceGroupId | string | No | The ID of the resource group. | rg-************ |
Response elements
Element | Type | Description | Example |
object | |||
Vpcs | object | A list of VPCs. | |
Vpc | array<object> | VPC information. | |
object | VPC information. | ||
Status | string | The status of the VPC. Valid values:
| Available |
VpcName | string | The name of the VPC. | fc-webide |
VpcId | string | The ID of the VPC. | vpc-************* |
IsDefault | boolean | Indicates whether the VPC is the default VPC. | true |
CidrBlock | string | The CIDR block of the VPC. | 10.21.0.0/16 |
RegionNo | string | The region ID. | cn-hangzhou |
GmtCreate | string | The time when the VPC was created. | 2025-08-28T02:25:41Z |
AliUid | string | The ID of the Alibaba Cloud account. | 1485293698****** |
VSwitchs | array<object> | Information about the vSwitches in the VPC. | |
object | The vSwitch information. | ||
Status | string | The status of the vSwitch. Available indicates that the vSwitch is available. | Available |
VSwitchId | string | The ID of the vSwitch. | vsw-********** |
IsDefault | boolean | Indicates whether the vSwitch is the default vSwitch. Valid values:
| true |
CidrBlock | string | The vSwitch CIDR block. | 192.168.7.0/24 |
GmtCreate | string | The time when the vSwitch was created. | 2025-05-12 18:17:25 |
GmtModified | string | The time when the vSwitch was last modified. | 2025-01-07T15:10:32+08:00 |
IzNo | string | The ID of the zone. | cn-hangzhou-k |
VSwitchName | string | The name of the vSwitch. | test |
GmtModified | string | The time when the VPC was last modified. | 2025-04-30T09:41:14+08:00 |
Bid | string | The type of the cloud account. This parameter is used to differentiate between public cloud, Alibaba Finance Cloud, and Alibaba Gov Cloud accounts. | 26842 |
RequestId | string | The request ID. | B45E8D29-EA17-5141-AE09-F7A399760C9E |
Examples
Success response
JSON
format
{ "Vpcs": { "Vpc": [ { "Status": "Available", "VpcName": "fc-webide", "VpcId": "vpc-*************", "IsDefault": true, "CidrBlock": "10.21.0.0/16", "RegionNo": "cn-hangzhou", "GmtCreate": "2025-08-28T02:25:41Z", "AliUid": "1485293698******", "VSwitchs": [ { "Status": "Available", "VSwitchId": "vsw-**********", "IsDefault": true, "CidrBlock": "192.168.7.0/24", "GmtCreate": "2025-05-12 18:17:25", "GmtModified": "2025-01-07T15:10:32+08:00", "IzNo": "cn-hangzhou-k", "VSwitchName": "test" } ], "GmtModified": "2025-04-30T09:41:14+08:00", "Bid": "26842" } ] }, "RequestId": "B45E8D29-EA17-5141-AE09-F7A399760C9E" }
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.