Queries plan pricing, including plan type and status.
Operation description
The purchase period is measured in months.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:DescribeRatePlanPrice |
create |
*All Resource
|
None |
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
|
Period |
integer |
No |
The purchase duration, in months. |
1 |
|
PlanName |
string |
No |
The plan name. |
basic |
|
Amount |
integer |
No |
The number of plans. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
|
RequestId |
string |
The request ID. |
50423A7F-A83D-1E24-B80E-86DD25790759 |
| PriceModel |
object |
The pricing information. |
|
| RatePlan |
object |
|
|
| PlanPriceList |
array<object> |
The plan price information. |
|
|
object |
|
||
|
PlanName |
string |
The plan name. |
basic |
|
PlanType |
string |
The plan type. Valid values:
|
normal |
|
PlanStatus |
string |
The plan status. Valid values:
|
unsaled |
|
Currency |
string |
The currency. Valid values:
|
CNY |
|
TotalPrice |
number |
The original order price, equal to the sum of the transaction price and discount amount. |
2 |
|
DiscountPrice |
number |
The order discount amount. |
1 |
|
Price |
number |
The final order price. |
1 |
|
Coverages |
string |
The acceleration regions supported by the plan. |
overseas,global,domestic |
|
Position |
integer |
The plan priority. |
1 |
|
ChargeType |
string |
The billing method. Valid values:
|
PREPAY |
|
PlanTraffic |
string |
The plan capacity. |
1000 |
|
EdgeCompute |
string |
Edge computing. |
er_on |
|
EdgeWaf |
string |
Edge WAF. |
waf_off |
|
DcdnPlan |
string |
The plan edition. |
basicplan |
|
AccelerateType |
string |
The acceleration type. |
smartrouting_off |
|
EdgeDdos7Layer |
string |
Layer 7 edge DDoS. |
ddos_off |
|
Layer4Traffic |
string |
The capacity for Layer 4 acceleration. |
1000 |
|
EdgeDdos4Layer |
string |
Layer 4 edge DDoS. |
ddos_off |
|
CrossborderTraffic |
string |
China network optimization. |
1000 |
|
EdgeLb7Layer |
string |
Layer 7 load balancing. |
lb_off |
|
EdgeLb4Layer |
string |
Layer 4 load balancing. |
lb_off |
|
Layer4TrafficIntl |
string |
The capacity for Layer 4 acceleration outside the Chinese mainland. |
1000 |
|
EdgeDdos4LayerIntl |
string |
Layer 4 edge DDoS outside the Chinese mainland. |
ddos_off |
|
EdgeLb4LayerIntl |
string |
Layer 4 load balancing outside the Chinese mainland. |
lb_off |
|
EdgeDdosInstanceCn |
string |
The DDoS instance in the Chinese mainland. |
cn_300 |
|
EdgeDdosInstanceIntl |
string |
The DDoS instance outside the Chinese mainland. |
overseas_300 |
|
EdgeWafInstance |
string |
The WAF instance. |
enterprise_bot |
| Rule |
object |
|
|
| RuleList |
array<object> |
The matched policy. |
|
|
object |
|
||
|
Name |
string |
The policy name. |
Policy A |
|
RuleDescId |
integer |
The policy ID. |
1 |
Examples
Success response
JSON format
{
"RequestId": "50423A7F-A83D-1E24-B80E-86DD25790759",
"PriceModel": {
"RatePlan": {
"PlanPriceList": [
{
"PlanName": "basic",
"PlanType": "normal",
"PlanStatus": "unsaled",
"Currency": "CNY",
"TotalPrice": 2,
"DiscountPrice": 1,
"Price": 1,
"Coverages": "overseas,global,domestic",
"Position": 1,
"ChargeType": "PREPAY",
"PlanTraffic": "1000",
"EdgeCompute": "er_on",
"EdgeWaf": "waf_off",
"DcdnPlan": "basicplan",
"AccelerateType": "smartrouting_off",
"EdgeDdos7Layer": "ddos_off",
"Layer4Traffic": "1000",
"EdgeDdos4Layer": "ddos_off",
"CrossborderTraffic": "1000",
"EdgeLb7Layer": "lb_off",
"EdgeLb4Layer": "lb_off",
"Layer4TrafficIntl": "1000",
"EdgeDdos4LayerIntl": "ddos_off",
"EdgeLb4LayerIntl": "lb_off",
"EdgeDdosInstanceCn": "cn_300",
"EdgeDdosInstanceIntl": "overseas_300",
"EdgeWafInstance": "enterprise_bot"
}
]
},
"Rule": {
"RuleList": [
{
"Name": "Policy A",
"RuleDescId": 1
}
]
}
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|
400 |
InternalError |
An internal exception occurred, please try again later. |
An inner exception was triggered. Please try again later. |
|
400 |
CheckPlanFailed |
Invalid plan name or code. Check and try again. |
Invalid plan name or code. Check and try again. |
|
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 |
InvalidInstance |
The instance ID is missing or invalid. Make sure that the instance ID is valid and try again. |
The instance ID is missing or invalid. Make sure that the instance ID is valid and try again. |
|
400 |
InvalidComponent |
The order parameters is invalid. |
The order parameters is invalid. |
|
400 |
EnterpriseAmountErr |
Enterprise plans do not support bulk purchase. |
Enterprise plans do not support bulk purchase. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.