describe_vpcs
Query Alibaba Cloud VPCs by region, ID, name, tags, or owner, with pagination support for listing virtual private clouds.
Instructions
Query VPC list.
Args:
region_id: The region ID of the VPC.
vpc_id: The ID of the VPC. Up to 20 VPC IDs can be specified, separated by commas.
vpc_name: The name of the VPC.
resource_group_id: The resource group ID of the VPC to query.
page_number: The page number of the list. Default: 1.
page_size: The number of entries per page. Maximum value: 50. Default: 10.
vpc_owner_id: The Alibaba Cloud account ID of the VPC owner.
tags: The tags of the resource.
Returns:
Dict[str, Any]: The response containing the list of VPCs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| vpc_id | No | ||
| vpc_name | No | ||
| page_size | No | ||
| region_id | Yes | ||
| page_number | No | ||
| vpc_owner_id | No | ||
| resource_group_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |