Query the networks attached to a CEN instance.

Request parameters

Name Type  Required Description
Action String

The action to perform.  Valid value:

DescribeCenAttachedChildInstances

CenId String YES

The ID of the CEN instance.

PageNumber Integer No

The number of pages to return. Default value is 1.

PageSize Integer No

The number of rows per page. The maximum value is 50 and the default value is 10.

Response parameters

Name Type Description
RequestId String The ID of the request.
TotalCount String The number of queried entries.
PageNumber Integer The current page number.
PageSize String The number of entries on the current page.
Cens. List A list of the attached networks.
Table 1. CEN list
Name Type Description
CenId String The ID of the CEN instance.
ChildInstanceId String The ID of the network.
ChildInstanceType String The type of the network.
ChildInstanceRegionId String he ID of the region where the network is located.
Status Status The status of the network: attaching, attached, and detaching.
ChildInstanceOwnerId Long The account ID to which the network belongs.

Examples

Request example

https://cbn.aliyuncs.com/?Action=DescribeCenAttachedChildInstances
&CenId=cen-kojok19x3j0q6kx
&Common parameters
Return example
  • XML format

    <? xml version="1.0" encoding="UTF-8"? >
    <DescribeCenAttachedChildInstancesResponse>
       <ChildInstances <ChildInstance>
                <CenId>cen-kojok19x3j0q6kx5qf</CenId>
                <ChildInstanceId>vpc-hp3kz27b1uv9hsmm9vqiv</ChildInstanceId>
                <ChildInstanceOwnerId>1894573272823690</ChildInstanceOwnerId>
                <ChildInstanceRegionId>cn-huhehaote</ChildInstanceRegionId>
                <ChildInstanceType>VPC</ChildInstanceType>
                <Status>Attached</Satus>
            </ChildIntance>
            <ChildInstance>
                <CenId>cen-kojok19x3j0q6kx5qf</CenId>
                <ChildInstanceId>vpc-gw85r5kr8urw957szm455</ChildInstanceId>
                <ChildInstanceOwnerId>1894573272823690</ChildInstanceOwnerId>
                <ChildInstanceRegionId>eu-central-1</ChildInstanceRegionId>
                <ChildInstanceType>VPC</ChildInstanceType>
                <Status>Attched</Status>
        e>
          </ChildInstance>
       </ChildInstances>
       <PageNumber>1</PageNumber>
       <PageSize>10</PageSize>
       <RequestId>50F8E0AB-A225-41C0-AC88-FFB51A4F5C72</RequestId>
       <TotalCount>3</TotalCount>
    </DescribeCenAttachedChildInstancesResponse>
  • JSON format

    {
       "PageNumber":1,
       "ChildInstances":{
          "ChildInstance":[
             {
                "Status":"Attached",
                "ChildInstanceOwnerId":"1894573272823690",
                "ChildInstanceId":"vpc-hp3kz27b1uv9hsmm9vqiv",
                "ChildInstanceRegionId":"cn-huhehaote",
                "CenId":"cen-kojok19x3j0q6kx5qf",
                "ChildInstanceType":"VPC"
             },
             {
                "Status":"Attached",
                "ChildInstanceOwnerId":"1894573272823690",
                "ChildInstanceId":"vpc-gw85r5kr8urw957szm455",
                "ChildInstanceRegionId":"eu-central-1",
                "CenId":"cen-kojok19x3j0q6kx5qf",
                "ChildInstanceType":"VPC"
             }
          ]
       },
       "TotalCount":3,
       "PageSize":10,
       "RequestId":"50F8E0AB-A225-41C0-AC88-FFB51A4F5C72"
    }