Purchases a new Anti-DDoS Pro or Anti-DDoS Premium instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteInstanceId |
string |
Yes |
The site instance. |
esa-site-23kde***** |
| DDoSBurstableDomesticProtection |
string |
Yes |
The instance specifications for the Chinese mainland. |
cn_300 |
| DDoSBurstableOverseasProtection |
string |
Yes |
The instance specifications for outside China. |
overseas_300 |
| DDoSBillingMode |
string |
Yes |
The billing method. |
CleanTraffic |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| RequestId |
string |
The request ID. |
F61CDR30-E83C-4FDA-BF73-9A94CDD44229 |
| OrderId |
string |
The order ID. |
2223332122*** |
| InstanceId |
string |
The instance ID. |
esa-ddos-9tuv********* |
Examples
Success response
JSON format
{
"RequestId": "F61CDR30-E83C-4FDA-BF73-9A94CDD44229",
"OrderId": "2223332122***\n",
"InstanceId": "esa-ddos-9tuv*********"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | CheckOrderFailed | Invalid order parameter. | Invalid order parameter. |
| 400 | InternalError | An internal exception occurred, please try again later. | An inner exception was triggered. Please try again later. |
| 400 | InvalidSiteICP | The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. | The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. |
| 400 | InvalidSiteName | Invalid website name. Check and try again. | Invalid website name. Check and try again. |
| 400 | SYSTEM.NoSpecificCodeFailed | Invalid subscription duration. Check and try again. | Invalid subscription duration. Check and try again. |
| 400 | CheckPlanFailed | Invalid plan name or code. Check and try again. | Invalid plan name or code. Check and try again. |
| 400 | SubSiteUnavailable | Subdomains are allowed only in Enterprise plans. Upgrade your plan to add a subdomain to ESA. | Your plan does not support creating sites with subdomains, please upgrade your plan. |
| 400 | InsufficientAvailableQuota | Your account balance is insufficient. | Your account is in arrears, please pay the arrears before purchasing. |
| 400 | InsufficientBalance | Your account balance is insufficient. | Your account balance is insufficient, please recharge before purchasing. |
| 400 | InvalidComponent | The order parameters is invalid. | The order parameters is invalid. |
| 400 | RamAuthFailed | The sub-account has no operation permission. | The RAM user does not have the required permissions to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.