describe_vswitches
Query Alibaba Cloud VSwitch lists by region, VPC, zone, name, or resource group. Supports pagination to filter and retrieve specific VSwitches.
Instructions
Query VSwitch list.
Args:
region_id: The region ID of the VSwitch. At least one of region_id or vpc_id must be specified.
vpc_id: The ID of the VPC to which the VSwitch belongs. At least one of region_id or vpc_id must be specified.
vswitch_id: The ID of the VSwitch to query.
zone_id: The zone ID of the VSwitch.
vswitch_name: The name of the VSwitch.
resource_group_id: The resource group ID of the VSwitch.
page_number: The page number of the list. Default: 1.
page_size: The number of entries per page. Maximum value: 50. Default: 10.
Returns:
Dict[str, Any]: The response containing the list of VSwitches.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region_id | No | ||
| vpc_id | No | ||
| vswitch_id | No | ||
| zone_id | No | ||
| vswitch_name | No | ||
| is_default | No | ||
| resource_group_id | No | ||
| page_number | No | ||
| page_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |