describe_vpcs
Fetch and filter VPC details on Alibaba Cloud by region, ID, name, tags, or owner. Supports pagination and resource group filtering for efficient VPC management.
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 |
---|---|---|---|
page_number | No | ||
page_size | No | ||
region_id | Yes | ||
resource_group_id | No | ||
tags | No | ||
vpc_id | No | ||
vpc_name | No | ||
vpc_owner_id | No |
Input Schema (JSON Schema)
{
"properties": {
"page_number": {
"default": 1,
"title": "Page Number",
"type": "integer"
},
"page_size": {
"default": 10,
"title": "Page Size",
"type": "integer"
},
"region_id": {
"title": "Region Id",
"type": "string"
},
"resource_group_id": {
"default": null,
"title": "Resource Group Id",
"type": "string"
},
"tags": {
"default": null,
"items": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"title": "Tags",
"type": "array"
},
"vpc_id": {
"default": null,
"title": "Vpc Id",
"type": "string"
},
"vpc_name": {
"default": null,
"title": "Vpc Name",
"type": "string"
},
"vpc_owner_id": {
"default": null,
"title": "Vpc Owner Id",
"type": "integer"
}
},
"required": [
"region_id"
],
"title": "describe_vpcsArguments",
"type": "object"
}