Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PageNumber | integer | Yes | The number of the page to return. | 1 |
PageSize | integer | Yes | The number of entries to return per page. | 1 |
RegionId | string | Yes | The region ID. | cn-hangzhou |
VpcId | string | Yes | The ID of the virtual private cloud (VPC). | vpc-2ze22scdz2ebdfjasdfjkqhf4pyj |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "200",
"HttpStatusCode": 200,
"Message": "",
"PageNumber": 1,
"PageSize": 5,
"RequestId": "0235E5FC-4C7C-5F0C-843C-FC674F15F947",
"Success": true,
"VSwitchCount": 6,
"VSwitchList": [
{
"AvailableIpAddressCount": 1000,
"MaxAgentCount": 1000,
"VSwitchId": "vsw-bp1eil9df23rsd8l1sevebiszooj",
"VSwitchName": "my-vswitch",
"VpcId": "vpc-wz9bpdaebft6j23fesdf84v2f1um3a"
}
]
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
403 | Code | The specified parameter is invalid. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-04-12 | The Error code has changed. The response structure of the API has changed | View Change Details |
2022-04-12 | Add Operation | View Change Details |