All Products
Search
Document Center

Elastic Desktop Service:VerifyCen

Last Updated:Nov 14, 2025

Verifies the ID of a Cloud Enterprise Network (CEN) instance and the ID of the Alibaba Cloud account to which the instance belongs and checks whether a CIDR block conflict exists between the routes of the instance and the IPv4 CIDR blocks of the associated office network.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ecd:VerifyCennone
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
CenIdstringYes

The ID of the CEN instance.

cen-3gwy16dojz1m65****
CenOwnerIdlongNo

The Alibaba Cloud account to which the CEN instance belongs.

  • If you own the CEN instance, you can skip this parameter.
  • If you do not own the CEN instance, you must specify the ID of the account that owns the CEN instance.
102681951715****
CidrBlockstringYes

The IPv4 CIDR block of the associated office network.

47.100.XX.XX
VerifyCodestringNo

The verification code. If you do not own the CEN instance, you must call the SendVerifyCode operation to obtain a verification code.

12****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

Statusstring

The check result of CIDR block conflict.

Valid values:

  • InvalidCen.CenUidInvalid: The Alibaba Cloud account is invalid or the Alibaba Cloud account does not have the permission to access Elastic Desktop Service.
  • VerifyCode.InvalidTokenCode: The verification code is invalid.
  • VerifyCode.ReachTokenRetryTime: The maximum number of times for entering a verification code reaches the limit.
  • Conflict: A CIDR block conflict exists. If the verification result of at least one route is Conflict, Conflict is returned for this parameter.
  • Access: The verification is passed. If the verification result for all routes is Access, Access is returned for this parameter.
  • InvalidCen.ParameterCenInstanceId: The Alibaba Cloud account does not own the CEN instance.
Access
RequestIdstring

The ID of the request.

0AF9D857-AE96-53D6-B317-5DD665EC4EC0
CidrBlocksarray

The recommended IPv4 CIDR blocks. Three CIDR blocks are randomly recommended. This parameter is returned when the Status value is Conflict.

CidrBlockstring

The recommended IPv4 CIDR blocks. Three CIDR blocks are randomly recommended. This parameter is returned when the Status value is Conflict.

["10.0.0.****","172.24.0.****","192.168.128.****"]
RouteEntriesarray<object>

The routes provided by the CEN instance.

RouteEntryobject

The information about the routes of the CEN instance.

Statusstring

The verification result of the route.

Valid values:

  • Conflict: A CIDR block conflict exists.
  • Access: The verification is passed.
Access
NextHopInstanceIdstring

The ID of the instance corresponding to the route.

vpc-uf62bu0xs5j8md54p****
DestinationCidrBlockstring

The CIDR block of the route.

172.16.111.3****
RegionIdstring

The region ID of the route.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "Status": "Access",
  "RequestId": "0AF9D857-AE96-53D6-B317-5DD665EC4EC0",
  "CidrBlocks": [
    [
      "10.0.0.****",
      "172.24.0.****",
      "192.168.128.****"
    ]
  ],
  "RouteEntries": [
    {
      "Status": "Access",
      "NextHopInstanceId": "vpc-uf62bu0xs5j8md54p****",
      "DestinationCidrBlock": "172.16.111.3****",
      "RegionId": "cn-hangzhou"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-09-23The Error code has changedView Change Details
2021-10-28The request parameters of the API has changedView Change Details