Creates 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 CreateCen

The operation that you want to perform.

Set the value to CreateCen.

ClientToken String No 02fb3da4-130e-11e9-8e44-001****

The client token that is used to ensure the idempotence of the request.

You can use the client to generate a token, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

Name String No testname

The name of the CEN instance.

The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter or Chinese character but cannot start with http:// or https://.

Description String No testdesc

The description of the CEN instance.

The description must be 2 to 256 characters in length. It must start with a letter or Chinese character but cannot start with http:// or https://.

ProtectionLevel String No REDUCED

The level of CIDR block overlapping.

Set the value to REDUCED (default). This value specifies that CIDR blocks can overlap but CIDR blocks cannot match.

Response parameters

Parameter Type Example Description
CenId String cen-dc4vwznpwbobrl****

The ID of the CEN instance.

RequestId String 0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=CreateCen
&<Common request parameters>

Sample success responses

XML format

<CreateCenResponse>
       <CenId>cen-dc4vwznpwbobrl****</CenId>
       <RequestId>0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50</RequestId>
</CreateCenResponse>

JSON format

{
    "CenId": "cen-dc4vwznpwbobrl****",
    "RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}

Error codes

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