All Products
Search
Document Center

Smart Access Gateway:AttachCcnInstanceToCen

Last Updated:Jul 08, 2026

Binds a Cloud Connect Network (CCN) instance to a Cloud Enterprise Network (CEN) instance.

Operation description

Binds a Cloud Connect Network (CCN) instance 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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

CcnId

string

No

The ID of the Cloud Connect Network (CCN) instance to attach.

ccn-isdjvvkexkrpk*****

CenId

string

No

The ID of the CEN instance to authorize.

cen-joimmi1s2ob3rdxw79

RegionId

string

No

The region ID of the Cloud Connect Network (CCN) instance. You can invoke the DescribeRegions operation to query the regions supported by Smart Access Gateway and the corresponding region IDs.

cn-shanghai

Subnet

string

No

The Internet CIDR block used when the Cloud Connect Network (CCN) instance is attached to the CEN instance.

172.16.55.0/24

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

551CD836-9E46-4F2C-A167-B4363180A647

Examples

Success response

JSON format

{
  "RequestId": "551CD836-9E46-4F2C-A167-B4363180A647"
}

Error codes

HTTP status code

Error code

Error message

Description

400 CcnExistCen CCN already exists in CEN. CCN Join CEN record already exists.
400 IllegalParam The parameter is invalid. A parameter is set to an invalid value.
400 MissingParam You must specify the parameter. A required parameter is not set.
400 CenNotExist CEN does not exist. CEN does not exist.
400 CcnCenCallFailed CCN bind CEN call failed. CCN bind CEN call failed.
400 CcnNotSupportNewAgw The specified cloud connect network does not support this operation. CCN does not support this operation. Please refresh the page and try again.
500 PermissionError No permission to operate the instance. You do not have permissions to manage the specified instance.
500 TunnelIdDistributeError Tunnel id distribute error. An error occurred while distributing tunnel IDs.
403 InvalidId.CCN Invalid cloud connect network id. The ID of the CCN instance is invalid.
403 TunnelIdNotEnough Tunnel id is not enough. Tunnel IDs are insufficient.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.