Creates a CEN instance.

Debug

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

Request parameters

Parameter Type Required? Example value Description
Action String No CreateCen

Optional. The name of this action. Value: CreateCen

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

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

Description String No Cloud Enterprise Network

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

Name String No test

Optional. The name 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 or a Chinese character. It cannot start with http:// or https://.

ProtectionLevel String No FULL

Optional. The level of the routing overlapping function. Valid values:

  • FULL: No overlapped routes are allowed.
  • REDUCE: Overlapping routes are allowed. However, the overlapped routes cannot be the same.

Response parameters

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

The ID of the CEN instance.

RequestId String 455AC20C-7061-446A-BDBD-B3BEE0856304

The ID of the request.

Examples

Request example


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

Response examples

XML format

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

JSON format

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

Errors

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