describe_vswitches
Retrieve detailed information about VSwitches within Alibaba Cloud RDS by specifying region, VPC, zone, or other parameters to filter and organize results efficiently.
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 |
|---|---|---|---|
| is_default | No | ||
| page_number | No | ||
| page_size | No | ||
| region_id | No | ||
| resource_group_id | No | ||
| vpc_id | No | ||
| vswitch_id | No | ||
| vswitch_name | No | ||
| zone_id | No |
Input Schema (JSON Schema)
{
"properties": {
"is_default": {
"default": null,
"title": "Is Default",
"type": "boolean"
},
"page_number": {
"default": 1,
"title": "Page Number",
"type": "integer"
},
"page_size": {
"default": 10,
"title": "Page Size",
"type": "integer"
},
"region_id": {
"default": null,
"title": "Region Id",
"type": "string"
},
"resource_group_id": {
"default": null,
"title": "Resource Group Id",
"type": "string"
},
"vpc_id": {
"default": null,
"title": "Vpc Id",
"type": "string"
},
"vswitch_id": {
"default": null,
"title": "Vswitch Id",
"type": "string"
},
"vswitch_name": {
"default": null,
"title": "Vswitch Name",
"type": "string"
},
"zone_id": {
"default": null,
"title": "Zone Id",
"type": "string"
}
},
"title": "describe_vswitchesArguments",
"type": "object"
}