All Products
Search
Document Center

Cloud Enterprise Network:DescribeCenAttachedChildInstanceAttribute

Last Updated:Aug 07, 2025

Queries the information about a network instance, such as a virtual private cloud (VPC), a virtual border router, or a Cloud Connect Network (CCN) instance, that is attached to a Cloud Enterprise Network (CEN) instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that support authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cen:DescribeCenAttachedChildInstanceAttribute

get

*CenInstance

acs:cen:*:{#accountId}:ceninstance/{#ceninstanceId}

None None

Request parameters

Parameter

Type

Required

Description

Example

CenId

string

Yes

The ID of the CEN instance.

cen-5mv960yjhja0dh****

ChildInstanceId

string

Yes

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

vpc-2zebdboka7d7t37vo****

ChildInstanceType

string

Yes

The type of the network instance. Valid values:

  • VPC: virtual private cloud (VPC)

  • VBR: virtual border router (VBR)

  • CCN: Cloud Connect Network (CCN) instance

VPC

ChildInstanceRegionId

string

Yes

The region ID of the network instance.

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

cn-beijing

Response parameters

Parameter

Type

Description

Example

object

Status

string

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.

Attached

ChildInstanceType

string

The type of the network instance. Valid values:

  • VPC: VPC

  • VBR: VBR

  • CCN: CCN instance

VPC

ChildInstanceRegionId

string

The region ID of the network instance.

cn-beijing

RequestId

string

The ID of the request.

ADD98358-D265-4060-87CB-A2427F5A8944

ChildInstanceOwnerId

integer

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

1688000000000000

ChildInstanceId

string

The ID of the network instance.

vpc-2zebdboka7d7t37vo****

CenId

string

The ID of the CEN instance.

cen-5mv960yjhja0dh****

ManagedService

string

The cloud service that the network instance belongs to. Its standard code is only returned when the VPC is connected to the transit router. For self-managed VPCs, no code is returned.

swas

ChildInstanceAttachTime

string

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.

2018-07-30T07:53Z

ChildInstanceAttributes

object

The details about the network instance.

CidrBlock

string

The IPv4 CIDR block of the VPC.

192.168.0.0/16

SecondaryCidrBlocks

object

secondaryCidrBlock

array

The information about the VPC secondary CIDR block.

string

The secondary IPv4 CIDR block of the VPC.

192.168.20.0/24

Ipv6CidrBlock

string

The IPv6 CIDR block of the VPC.

2408:XXXX:0:a600::/56

Ipv6CidrBlocks

object

ipv6CidrBlock

array<object>

The IPv6 CIDR blocks of the VPC.

object

The IPv6 CIDR blocks of the VPC.

Ipv6Isp

string

The type of the IPv6 CIDR block of the VPC. Valid values:

  • BGP (default): Alibaba Cloud Border Gateway Protocol (BGP) IPv6

  • ChinaMobile: China Mobile (single line)

  • ChinaUnicom: China Unicom (single line)

  • ChinaTelecom: China Telecom (single line)

Note

If you are on the whitelist of single-line bandwidth, you can set this parameter to ChinaTelecom, ChinaUnicom, or ChinaMobile.

BGP

Ipv6CidrBlock

string

The IPv6 CIDR blocks of the VPC.

2408:XXXX:0:6a::/56

ChildInstanceName

string

The name of the network instance.

defaultvpc

Examples

Success response

JSON format

{
  "Status": "Attached",
  "ChildInstanceType": "VPC",
  "ChildInstanceRegionId": "cn-beijing",
  "RequestId": "ADD98358-D265-4060-87CB-A2427F5A8944",
  "ChildInstanceOwnerId": 1688000000000000,
  "ChildInstanceId": "vpc-2zebdboka7d7t37vo****",
  "CenId": "cen-5mv960yjhja0dh****",
  "ManagedService": "swas",
  "ChildInstanceAttachTime": "2018-07-30T07:53Z",
  "ChildInstanceAttributes": {
    "CidrBlock": "192.168.0.0/16",
    "SecondaryCidrBlocks": {
      "secondaryCidrBlock": [
        "192.168.20.0/24"
      ]
    },
    "Ipv6CidrBlock": "2408:XXXX:0:a600::/56",
    "Ipv6CidrBlocks": {
      "ipv6CidrBlock": [
        {
          "Ipv6Isp": "BGP",
          "Ipv6CidrBlock": "2408:XXXX:0:6a::/56"
        }
      ]
    }
  },
  "ChildInstanceName": "defaultvpc"
}

Error codes

HTTP status code

Error code

Error message

Description

400 SystemBusy The system is busy. Please try again later. The error message returned because the system is unavailable. Try again later.
400 InvalidParameter Invalid parameter. The error message returned because the parameter is set to an invalid value.
400 Unauthorized The AccessKeyId is unauthorized. The error message returned because you do not have the permissions to perform this operation.
404 ParameterError The parameter is error.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.