Queries the minimum plan edition required for a site plan quota to take effect, that is, the minimum plan edition to which the quota must be upgraded for use.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
No |
The site ID. You can call the ListSites operation to obtain the site ID. |
123456**** |
| QuotaNames |
string |
Yes |
The plan quota names, separated by commas (,). Valid values:
|
waf:phase:http_anti_scan:actions |
| InstanceId |
string |
No |
The plan instance ID. You can call the ListSites operation to obtain the instance ID. You must specify at least one of this parameter and SiteId. |
esa-site-aug976vv2u4g |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F |
| Quotas |
array<object> |
The list of minimum effective plan editions for quotas. |
|
|
array<object> |
The details of the minimum effective plan edition for a quota. |
||
| QuotaName |
string |
The quota name. Valid values:
|
waf:phase:http_anti_scan:actions |
| QuotaValueType |
string |
The threshold type of the quota. Valid values:
|
value |
| QuotaValueDetail |
array<object> |
The list of quota threshold details. |
|
|
object |
The quota threshold details. |
||
| Value |
string |
quotaValue1 |
|
| IsEffect |
string |
true |
|
| MinEffectPlan |
string |
basic |
Examples
Success response
JSON format
{
"RequestId": "3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F",
"Quotas": [
{
"QuotaName": "waf:phase:http_anti_scan:actions",
"QuotaValueType": "value",
"QuotaValueDetail": [
{
"Value": "quotaValue1",
"IsEffect": "true",
"MinEffectPlan": "basic"
}
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 400 | QuotaNotExist | The quota item does not exist or the purchased plan has not taken effect. Confirm and try again. | The quota item does not exist or the purchased plan has not taken effect. Confirm and try again. |
| 400 | InstanceNotExist | The instance does not exist. Check whether the specified instance ID is correct or whether the instance belongs to your account. | The instance does not exist. Check whether the specified instance ID is correct or whether the instance belongs to your account. |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | NoPermission | You do not have permissions to access or operate on the resource.Contact your account administrator to attach the AliyunESAFullAccess policy to the current user. | You do not have permissions to access or operate on the resource.Contact your account administrator to attach the AliyunESAFullAccess policy to the current user. |
| 403 | Site.NotExist | The specified website does not exist or is not recognized by the system.Check whether the specified website identifier is valid and matches a website that is active, defined, and recognized by the system.If you want to add a new website, make sure that the creation and registration process is complete to integrate the website to the system. | The specified website does not exist or is not recognized by the system.Check whether the specified website identifier is valid and matches a website that is active, defined, and recognized by the system.If you want to add a new website, make sure that the creation and registration process is complete to integrate the website to the system. |
| 404 | SiteNotFound | The website does not exist or does not belong to you. | The website does not exist or does not belong to you. |
| 404 | UnsupportQuota | Unsupported quota is specified. Check and try again. | Unsupported quota is specified. Check and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.