Queries detailed information about the network instances (VPCs, VBRs and CCN instances) that are attached to a CEN instance.

Debugging

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 No DescribeCenAttachedChildInstanceAttribute

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

CenId String Yes cen-3cub0ges01xmvm****

The ID of the CEN instance.

ChildInstanceId String Yes vpc-sa17uy0itvgxiq9gb****

The ID of the network instance that is attached to the CEN instance.

ChildInstanceRegionId String Yes cn-hangzhou

The ID of the region where the attached network instance is created.

ChildInstanceType String Yes VPC

The type of the attached network instance. Valid values:

  • VPC: a virtual private cloud (VPC)
  • VBR: a virtual border router (VBR)
  • CCN: a Cloud Connect Network (CCN) instance in mainland China

Response parameters

Parameter Type Example Description
CenId String cen-5mv960yjhja0dh****

The ID of the CEN instance.

ChildInstanceAttachTime String 2018-07-30T07:53Z

The time when the network instance was attached to the CEN instance.

ChildInstanceId String vpc-2zebdboka7d7t37vo****

The ID of the network instance.

ChildInstanceName String defaultvpc

The name of the network instance.

ChildInstanceOwnerId Long 123456789

The ID of the account to which the network instance belongs.

ChildInstanceRegionId String cn-beijing

The ID of the region where the network instance is created.

ChildInstanceType String VPC

The type of the network instance that is attached to the CEN instance. Valid values:

  • VPC: a VPC
  • VBR: a VBR
  • CCN: a CCN instance in mainland China
RequestId String ADD98358-D265-4060-87CB-A2427F5A8944

The ID of the request.

Status String Attached

Indicates whether the network instance is attached to the CEN instance.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeCenAttachedChildInstanceAttribute
&CenId=cen-3cub0ges01xmvm****
&ChildInstanceId=vpc-sa17uy0itvgxiq9gb****
&ChildInstanceRegionId=cn-hangzhou
&ChildInstanceType=VPC
&<Common request parameters>

Sample success responses

XML format

<DescribeCenAttachedChildInstanceAttribute>
    <Status>Attached</Status>
    <ChildInstanceOwnerId>123456789</ChildInstanceOwnerId>
    <ChildInstanceId>vpc-2zebdboka7d7t37vo****</ChildInstanceId>
    <RequestId>ADD98358-D265-4060-87CB-A2427F5A8944</RequestId>
    <ChildInstanceName>defaultvpc</ChildInstanceName>
    <ChildInstanceRegionId>cn-beijing</ChildInstanceRegionId>
    <CenId>cen-5mv960yjhja0dh****</CenId>
    <ChildInstanceAttachTime>2018-07-30T07:53Z</ChildInstanceAttachTime>
    <ChildInstanceType>VPC</ChildInstanceType>
</DescribeCenAttachedChildInstanceAttribute>

JSON format

{
    "Status": "Attached",
    "ChildInstanceOwnerId": "123456789",
    "ChildInstanceId": "vpc-2zebdboka7d7t37vo****",
    "RequestId": "ADD98358-D265-4060-87CB-A2427F5A8944",
    "ChildInstanceName": "defaultvpc",
    "ChildInstanceRegionId": "cn-beijing",
    "CenId": "cen-5mv960yjhja0dh****",
    "ChildInstanceAttachTime": "2018-07-30T07:53Z",
    "ChildInstanceType": "VPC"
}

Error codes

HttpCode Error code Error message Description
404 ParameterError The parameter is error. The error message returned because the parameter is invalid.

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