Queries the VPC endpoints 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-kmsiwlxxdcva****

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region.

ModuleName String No chart

The name of the module that you want to access. Valid values:

  • Registry: the image repository.
  • Chart: Helm Chart.

Response parameters

Parameter Type Example Description
Code String success

The return value.

Domains List null


Enable Boolean true

Indicates whether the endpoint is enabled.

IsSuccess Boolean true

Indicates whether the operation is successful.

LinkedVpcs Array of LinkedVpcs

The VPCs associated with the instance.

DefaultAccess Boolean false

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

Ip String null

The IP address of the instance resolved in the VPC.

Status String CREATING

The association status of the VPC.

VpcId String vpc-uf6aamu2nomfr1thd****


VswitchId String vsw-uf62m5vmxl2e72dk7****

The ID of the vSwitch.

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

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "Domains": "null",
    "IsSuccess": true,
    "RequestId": "BAE9349D-A587-4F9A-B574-9DA0EF2638D1",
    "Enable": true,
    "Code": "success",
    "LinkedVpcs": {
        "Status": "CREATING",
        "VpcId": "vpc-uf6aamu2nomfr1thd****",
        "Ip": "null",
        "DefaultAccess": false,
        "VswitchId": "vsw-uf62m5vmxl2e72dk7****"

Error codes

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