Queries the virtual private clouds (VPCs) associated with an instance.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes GetInstanceVpcEndpoint

The operation that you want to perform. Set the value to GetInstanceVpcEndpoint.

InstanceId String Yes cri-kmsiwlxxdcvaduwb

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region.

ModuleName String No chart

The name of the module in the instance.

Response parameters

Parameter Type Example Description
IsSuccess Boolean true

Indicates whether the operation is successful.

Code String success

The return value.

RequestId String BAE9349D-A587-4F9A-B574-9DA0EF2638D1

The ID of the request.

Enable Boolean true

Indicates whether the VPC is enabled.

LinkedVpcs Array N/A

The VPCs associated with the instance.

VpcId String vpc-uf6aamu2nomfr1thdmovq

The ID of the VPC.

VswitchId String vsw-uf62m5vmxl2e72dk7rsd5

The ID of the vSwitch.

Ip String null

The IP address of the instance resolved in the VPC.

DefaultAccess Boolean false

Indicates whether the default policy is used to access the instance.

Status String CREATING

The association status of the VPC.

Domains List null



Sample requests

http(s)://[Endpoint]/? Action=GetInstanceVpcEndpoint
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.