Associates a network with a CEN instance.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
CenId String  Yes cen-7qthudw0ll6jmc****

The ID of the CEN instance.

ChildInstanceId String Yes vpc-bp18sth14qii3pnvx****

The ID of the network to associate.

ChildInstanceRegionId String Yes cn-hangzhou

The ID of the region to which the network belongs.

ChildInstanceType String Yes VPC

The type of the network. Valid values:

  • VPC
  • VBR
  • CCN
Action String No AttachCenChildInstance

Optional. The name of this action. Value: AttachCenChildInstance

ChildInstanceOwnerId Long No 1231579085529123

Optional. The ID of the account to which the network belongs in the case of cross-account association.

Response parameters

Parameter Type Example value Description
RequestId String A278B8A6-A5B8-4FDE-9F70-95F0F6A1D68A

The ID of the request.


Request example

http(s)://[Endpoint]/? Action=AttachCenChildInstance

Response examples

XML format


JSON format



HTTP status code Error code Error message Description
409 Forbbiden.AttachChildInstanceAcrossUid Operation is invalid because the child-instance is not authorized to CEN. Failed to associate the network with the CEN instance. Please grant permissions to the CEN instance and try again.
403 Forbidden.AttachChildInstance The attached VBR on some access device models are not supported. Please submit a ticket to continue using this VBR on CEN. The VBR cannot be associated with the CEN instance. Please open a ticket to solve this problem.
409 InvalidOperation.ChildInstanceAlreadyAttached Operation is invalid because the child-instance has already been attached to another CEN. Failed to associate the network with the CEN instance. The network has already been associated with another CEN instance.

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