All Products
Search
Document Center

WUYING Workspace:VerifyCen

Last Updated:Apr 11, 2024

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

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

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 WUYING Workspace.
  • 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.

string

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.****"]
RouteEntriesobject []

The routes provided by 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
2021-10-28The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: VerifyCode