Retrieves the list of VPC information stored in an agent storage.
Try it now
Test
RAM authorization
Request syntax
GET /v2/openapi/listvpcinfobyagentstorage HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AgentStorageName |
string |
Yes |
The agent storage name. |
agent-test |
| PageNum |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of VPCs per page for the query. |
8 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| RequestId |
string |
The request ID, which can be used for troubleshooting. |
39871ED2-62C0-578F-A32E-B88072D5582F |
| PageNum |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
8 |
| TotalCount |
integer |
The total number of VPCs. |
1 |
| AgentStorageName |
string |
The agent storage name. |
agent-test |
| VpcInfos |
array<object> |
The VPC details. |
|
|
object |
The VPC information. |
||
| VpcId |
string |
VPC ID |
vpc-2z***********n7w3dl |
| Domain |
string |
The VPC access address. |
http://remua-agent-test.cn-beijing.vpc.ots.aliyuncs.com |
| AgentStorageVpcName |
string |
The VPC name. |
remua |
| RegionNo |
string |
The region ID. |
cn-beijing |
| Endpoint |
string |
The endpoint of the agent storage. |
http://172.**.***.34:80/ |
Examples
Success response
JSON format
{
"RequestId": "39871ED2-62C0-578F-A32E-B88072D5582F",
"PageNum": 1,
"PageSize": 8,
"TotalCount": 1,
"AgentStorageName": "agent-test",
"VpcInfos": [
{
"VpcId": "vpc-2z***********n7w3dl",
"Domain": "http://remua-agent-test.cn-beijing.vpc.ots.aliyuncs.com",
"AgentStorageVpcName": "remua",
"RegionNo": "cn-beijing",
"Endpoint": "http://172.**.***.34:80/"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.