Creates a Cloud Enterprise Network (CEN) instance.
Debugging
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 | 123e4567-e89b-12d3-a456-426655440000 |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length. |
Name | String | No | test |
The name of the CEN instance. The name must be 2 to 128 characters in length, and can contain digits, periods (.),
underscores (_), and hyphens (-). It must start with a letter and cannot start with
|
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.
It cannot start with |
ProtectionLevel | String | No | REDUCED |
The level of CIDR block overlapping. Set the value to REDUCED. REDUCED indicates that the CIDR blocks can overlap with each other but must not be the same. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
CenId | String | cen-7qthudw0ll6jmc**** |
The ID of the newly created CEN instance. |
RequestId | String | 455AC20C-7061-446A-BDBD-B3BEE0856304 |
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.