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
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.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
cen:OpenTransitRouterService | none |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ClientToken | string | No | 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
Examples
Sample success responses
JSON
format
{
"OrderId": "21370700730****",
"RequestId": "866DEBE1-6411-51EC-80D8-975349B9FB4A"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | Risk.RiskControlRejection | The error message returned because the order is suspended due to security concerns. Contact customer service for details. | |
400 | Order.Opened | The error message returned because the service has been activated. You can log on to the console to manage it. | |
400 | OperationFailed.NoAvailablePaymentMethod | No 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. |
400 | OperationFailed.BasicInfoUncompleted | Your 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. |
400 | PayFor.CreditPayInsufficientBalance | The error message returned because your Alibaba Cloud account does not have a sufficient balance. Contact your channel partner to top up your account balance. | |
400 | NoPermission.AliyunServiceRoleForCEN | No permission to open AliyunServiceRole for CEN. | The error message returned because you do not have the required permissions. |
400 | OperationFailed.PurchaseQuantityLimit | You 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. |
400 | OperationFailed.QuotaNotEnough | The quota is not enough. | The error message returned because the resource quota is exhausted and you cannot create more. |
400 | OperationFailed.ConcurrentOperation | The operation failed caused by concurrent operation. | The error message returned because the concurrent operations failed. Do not frequently perform this operation. Try again later. |
400 | OperationFailed.Risk | The 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. | |
400 | OperationFailed.UseStoredCardFailed | Operation failed because use stored card failed. | The error message returned because you failed to complete the payment with the specified stored-value card. |
400 | PayFor.AccountMoneyValidateError | The error message returned because your Alibaba Cloud account does not have a sufficient balance. | |
400 | EntityNotExist.Account | The role not exists: AliyunServiceRoleForCEN. | The error message returned because AliyunServiceRoleForCEN does not exist. |
400 | OperationFailed.InsufficientAvailableQuota | Operation failed due to the account quota is insufficient. | The available amount of the account is insufficient. |
400 | OperationFailed.NoRealNameAuthentication | No real-name authentication was applied. | No real-name authentication was performed. |
400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
400 | Unauthorized | The 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 time | Summary of changes | Operation |
---|---|---|
2024-07-10 | The Error code has changed | View Change Details |
2021-09-24 | Add Operation | View Change Details |