Creates a CEN instance.

Make the API call

You can use OpenAPI Explorer to make API calls, search for API calls, perform debugging, and generate SDK example code.

Request parameters

Parameter Type Required? Example value Description
Action String No CreateCen

The name of this action. Value: CreateCen.

ClientToken String No 123e4567-e89b-12d3-a456-426655440000

The client token that guarantees the idempotence of the request. The value of this parameter is generated by the client. The value is unique among different requests and is 1 to 64 ASCII characters in length.

Name String No test

The ID of the CEN instance. The name must be 2 to 128 characters in length and can contain letters, numbers, periods (.), underscores (_), and hyphens (-). The name must start with a letter, but cannot start with http:// or https://.

Description String No CEN

The description of the CEN instance. The description must be 2 to 256 characters in length. It must start with a letter, and cannot start with http:// or https://.

ProtectionLevel String No FULL

Indicates the allowed level of CIDR block overlapping. Valid values:

  • FULL: No overlapping CIDR blocks are allowed.
  • REDUCE: Overlapping CIDR blocks are allowed. However, the overlapping CIDR blocks cannot be identical.

Response parameters

Parameter Type Example value Description
RequestId String 455AC20C-7061-446A-BDBD-B3BEE0856304

The ID of the request.

CenId String cen-7qthudw0ll6jmc****

The ID of the created CEN instance.

Examples

Request example

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

Response example

JSON format

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

XML format

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

Errors

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