Menjelaskan daftar VPC.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeRdsVpcs |
get |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region. > Anda dapat memanggil operasi DescribeRegions untuk mengkueri region yang tersedia. |
cn-hangzhou |
| ZoneId |
string |
No |
ID zona. |
cn-hangzhou-k |
| ResourceGroupId |
string |
No |
ID grup sumber daya. |
rg-************ |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Vpcs |
object |
Daftar VPC. |
|
| Vpc |
array<object> |
Detail VPC. |
|
|
array<object> |
Detail VPC. |
||
| 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 one. |
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> |
The information about the vSwitches in the VPC. |
|
|
object |
|||
| 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 CIDR block of the vSwitch. |
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 account. This distinguishes between Alibaba Finance Cloud, Alibaba Gov Cloud, and public cloud accounts. |
26842 |
| RequestId |
string |
ID permintaan. |
B45E8D29-EA17-5141-AE09-F7A399760C9E |
Contoh
Respons sukses
JSONformat
{
"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"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.