Queries a specified network instance that is attached to a Cloud Enterprise Network (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-5mv960yjhja0dh****

The ID of the CEN instance.

ChildInstanceId String Yes vpc-2zebdboka7d7t37vo****

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

ChildInstanceRegionId String Yes cn-beijing

The region ID of the network instance.

You can call the DescribeRegions operation to query the most recent region list.

ChildInstanceType String Yes VPC

The type of the network instance. Valid values:

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

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.

The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mmZ format. The time is displayed in UTC.

ChildInstanceId String vpc-2zebdboka7d7t37vo****

The ID of the network instance.

ChildInstanceName String defaultvpc

The name of the network instance.

ChildInstanceOwnerId Long 1688000000000000

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

ChildInstanceRegionId String cn-beijing

The region ID of the network instance.

ChildInstanceType String VPC

The type of the network instance. Valid values:

  • VPC: VPC
  • VBR: VBR
  • CCN: CCN instance
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.

  • Attaching: The network instance is being attached to the CEN instance.
  • Attached: The network instance is attached to the CEN instance.
  • Detaching: The network instance is being detached from the CEN instance.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeCenAttachedChildInstanceAttribute
&CenId=cen-5mv960yjhja0dh****
&ChildInstanceId=vpc-2zebdboka7d7t37vo****
&ChildInstanceRegionId=cn-beijing
&ChildInstanceType=VPC
&<Common request parameters>

Sample success responses

XML format

<DescribeCenAttachedChildInstanceAttributeResponse>
    <Status>Attached</Status>
    <ChildInstanceOwnerId>1688000000000000</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>
</DescribeCenAttachedChildInstanceAttributeResponse>

JSON format

{
    "Status": "Attached",
    "ChildInstanceOwnerId": "1688000000000000",
    "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
400 SystemBusy The system is busy. Please try again later. The error message returned because the system is busy. Try again later.

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