Mengikat instans ke VPC.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ots:BindInstance2Vpc |
update |
*全部资源
|
None | None |
Sintaks permintaan
POST /v2/openapi/bindinstance2vpc HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
Parameter badan permintaan. |
|
| VpcId |
string |
Yes |
The VPC ID. |
vpc-2ze***********g31n7 |
| VirtualSwitchId |
string |
Yes |
The vSwitch ID. |
vsw-uf6***********ez6ge |
| InstanceName |
string |
Yes |
The instance name. |
mkdd-test |
| InstanceVpcName |
string |
Yes |
The VPC name. |
xu6666 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. Use this ID to troubleshoot issues. |
E734979F-5A44-5993-9CE5-C23103576923 |
| Domain |
string |
The domain name. |
xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com |
| Endpoint |
string |
The endpoint used to connect to the instance. |
172.**.***.34 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "E734979F-5A44-5993-9CE5-C23103576923",
"Domain": "xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com",
"Endpoint": "172.**.***.34"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.