All Products
Search
Document Center

Cloud Enterprise Network:OpenTransitRouterService

Last Updated:Mar 25, 2024

Activates the transit router feature.

Operation description

You can call the OpenTransitRouterService operation to activate the transit router feature free of charge. After the OpenTransitRouterService operation succeeds, an order is automatically generated. You can use the returned order ID to query the order information in Alibaba Cloud User Center.

Debugging

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

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:
    • The required resource types are displayed in bold characters.
    • 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
cen:OpenTransitRouterServiceWrite
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ClientTokenstringNo

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 make sure that it is unique among different requests. The client token can contain only ASCII characters.

02fb3da4-130e-11e9-8e44-001****

Response parameters

ParameterTypeDescriptionExample
object

The response.

OrderIdstring

The ID of the order.

21370700730****
RequestIdstring

The ID of the request.

866DEBE1-6411-51EC-80D8-975349B9FB4A

Examples

Sample success responses

JSONformat

{
  "OrderId": "21370700730****",
  "RequestId": "866DEBE1-6411-51EC-80D8-975349B9FB4A"
}

Error codes

HTTP status codeError codeError messageDescription
400Risk.RiskControlRejectionThe error message returned because the order is suspended due to security concerns. Contact customer service for details.
400Order.OpenedThe error message returned because the service has been activated. You can log on to the console to manage it.
400OperationFailed.NoAvailablePaymentMethodNo payment method is specified for your account. We recommend that you add a payment method.The error message returned because no payment method is specified for your account. Specify a payment method and try again.
400OperationFailed.BasicInfoUncompletedYour information is incomplete. Complete your information before the operation.The error message returned because your basic information is incomplete. Complete your basic information and try again.
400PayFor.CreditPayInsufficientBalanceThe error message returned because your Alibaba Cloud account does not have a sufficient balance. Contact your channel partner to top up your account balance.
400NoPermission.AliyunServiceRoleForCENNo permission to open AliyunServiceRole for CEN.The error message returned because you do not have the required permissions.
400OperationFailed.PurchaseQuantityLimitYou have exceeded the maximum quantity you can purchase.The error message returned because the number of instances has reached the upper limit and you cannot purchase more.
400OperationFailed.QuotaNotEnoughThe quota is not enough.The error message returned because the resource quota is exhausted and you cannot create more.
400OperationFailed.ConcurrentOperationThe operation failed caused by concurrent operation.The error message returned because the concurrent operations failed. Do not frequently perform this operation. Try again later.
400OperationFailed.RiskThe error message returned because a security risk with your payment method is detected. Click the URL in your email or internal message to verify your payment method and then place your order again.
400OperationFailed.UseStoredCardFailedOperation failed because use stored card failed.The error message returned because you failed to complete the payment with the specified stored-value card.
400PayFor.AccountMoneyValidateErrorThe error message returned because your Alibaba Cloud account does not have a sufficient balance.
400EntityNotExist.AccountThe role not exists: AliyunServiceRoleForCEN.The error message returned because AliyunServiceRoleForCEN does not exist.
400InvalidParameterInvalid parameter.The error message returned because the parameter is set to an invalid value.
400UnauthorizedThe AccessKeyId is unauthorized.The error message returned because you do not have the permissions to perform this operation.

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

Change history

Change timeSummary of changesOperation
2021-09-24Add Operationsee changesets