Binds agent storage to a VPC.
Try it now
Test
RAM authorization
Request syntax
POST /v2/openapi/bindagentstorage2vpc HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body parameters. |
|
| VpcId |
string |
Yes |
VPC ID |
vpc-2ze***********g31n7 |
| VirtualSwitchId |
string |
Yes |
The vSwitch ID. |
vsw-uf6***********ez6ge |
| AgentStorageName |
string |
Yes |
The agent storage name. |
agent-test |
| AgentStorageVpcName |
string |
Yes |
The VPC name. |
remua |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| RequestId |
string |
The request ID, which can be used to troubleshoot and locate issues. |
39871ED2-62C0-578F-A32E-B88072D5582F |
| Domain |
string |
The domain name. |
remua-agent-test.cn-beijing.vpc.ots.aliyuncs.com |
| Endpoint |
string |
The endpoint of the instance. |
172.**.***.34 |
Examples
Success response
JSON format
{
"RequestId": "39871ED2-62C0-578F-A32E-B88072D5582F",
"Domain": "remua-agent-test.cn-beijing.vpc.ots.aliyuncs.com",
"Endpoint": "172.**.***.34"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.