All Products
Search
Document Center

Edge Security Acceleration:ListInstanceQuotas

Last Updated:Nov 07, 2025

Queries the quota details in a subscription plan.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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:
    • For mandatory resource types, indicate with a prefix of * .
    • 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
esa:ListInstanceQuotaslist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringNo

The plan ID, which can be obtained by calling the ListSites operation.

sp-xcdn-96wblslz****
SiteIdlongNo

The website ID, which can be obtained by calling the ListSites operation.

2882900****
QuotaNamesstringYes

The quota names in the plan. Separate multiple names with commas (,). Valid values:

  • waf:phase:http_anti_scan:actions: the actions in WAF scan protection rules.
  • waf:phase:http_bot:actions: all actions in WAF bot management rules.
  • waf:phase:http_bot:http_custom_cc_dev:characteristic:fields: the statistical objects for the custom device-based throttling in WAF bot management rules.
  • waf:phase:http_bot:http_custom_cc_ip:characteristic:fields: the statistical objects for the custom IP address-based throttling in WAF bot management rules.
  • waf:phase:http_bot:match:symbols: the match operators in WAF bot management rules.
  • waf:phase:http_bot:http_custom_cc:characteristic:fields: the statistical objects for the custom session-based throttling in WAF bot management rules.
  • waf:phase:http_bot:match:fields: the match fields in WAF bot management rules.
  • waf:phase:http_whitelist:match:symbols: the match operators in WAF whitelist rules.
  • waf:phase:http_whitelist:match:fields: the match fields in WAF whitelist rules.
  • waf:phase:http_anti_scan:http_directory_traversal:characteristic:fields: the statistical objects for directory traversal blocking in WAF scan protection rules.
  • waf:phase:http_anti_scan:http_high_frequency:characteristic:fields: the statistical objects for high-frequency scanning blocking in WAF scan protection rules.
  • waf:phase:http_anti_scan:match:symbols: the match operators in WAF scan protection rules.
  • waf:phase:http_anti_scan:match:fields: the match fields in WAF scan protection rules.
  • waf:phase:http_managed:actions: the actions in WAF managed rules.
  • waf:phase:http_managed:group:reference:ids: the referenced rule groups in WAF managed rules.
  • waf:phase:http_ratelimit:actions: the actions in WAF rate limiting rules.
  • waf:phase:http_ratelimit:ttls: the action durations in WAF rate limiting rules.
  • waf:phase:http_ratelimit:intervals: the statistical durations in WAF rate limiting rules.
  • waf:phase:http_ratelimit:http_ratelimit:characteristic:fields: the match characteristics in WAF rate limiting rules.
  • waf:phase:http_ratelimit:match:symbols: the match operators in WAF rate limiting rules.
  • waf:phase:http_ratelimit:match:fields: the match fields in WAF rate limiting rules.
  • waf:phase:http_custom:actions: the actions in custom WAF rules.
  • waf:phase:http_custom:match:symbols: the match operators in custom WAF rules.
  • waf:phase:http_custom:match:fields: the match fields in custom WAF rules.
  • waiting_room|queuing_method: the queuing method in Waiting Room.
  • origin_rules|origin_scheme: the origin protocol in origin rules.
  • origin_rules|origin_sni: the origin Server Name Indication (SNI) in origin rules.
  • origin_rules|origin_host: the origin host in origin rules.
  • fourlayeracceleration: TCP/UDP proxy.
  • rtlog_service: the availability to collect real-time logs.
  • dashboard_traffic: the value-added capability of traffic analytics.
  • custom_name_server: the availability to configure custom nameservers.
  • waf:phase:http_bot:enable: the availability to enable WAF bot management.
  • waf:phase:http_whitelist:enable: the availability to configure WAF whitelist rules.
  • instantlog: the availability to collect instant logs.
  • waf:phase:http_anti_scan:enable: the availability to enable WAF scan protection.
  • waf:phase:http_managed:group:reference:enable: the availability to configure reference rule groups in WAF managed rules.
  • waf:phase:http_managed:enable: the availability to configure WAF managed rules.
  • waf:phase:http_ratelimit:on_hit:enable: the availability to configure whether to apply rate limiting to all requests that hit the cache.
  • ddos: DDoS mitigation.
  • waf:phase:http_ratelimit:enable: the availability to configure WAF rate limiting.
  • waf:phase:http_custom:enable: the availability to configure custom WAF rules.
  • waf:phase:all:page:reference:enable: the availability to configure custom error pages.
  • rules_support_regex: the support for regular expressions in rules engine.
  • waiting_room_event: scheduled events in Waiting Room.
  • waiting_room_rule: the availability to allow requests to bypass the waiting room.
  • waiting_room|json_response: the availability to enable JSON response in Waiting Room.
  • waiting_room|disable_session_renewal: the availability to disable session renewal in Waiting Room.
  • origin_rules|dns_record: DNS records in origin rules.
  • managed_transforms|add_client_geolocation_headers: the availability to configure whether to add geolocation headers in transform rules.
  • tiered_cache|regional_enable: regional tiered cache.
  • real_client_ip_header: the availability to configure whether to add the real IP address of a client to the request header.
  • data_timerange: minute-level time range for data query.
  • cache_rules|edge_cache_ttl: POP cache TTL.
  • cache_rules|browser_cache_ttl: browser cache TTL.
  • fourLayerRecordCount: the maximum number of records of websites for which TCP/UDP acceleration is enabled.
  • waitingroomRuleCount: the maximum number of rules per waiting room.
  • waitingroomEventCount: the maximum number of events per waiting room.
  • waitingroom_custom_pathhost: the availability to configure the hostname and path in Waiting Room.
  • er_routers: Edge Routine routes.
  • cache_rules|rule_quota: the maximum number of cache rules.
  • configuration_rules|rule_quota: the maximum number of configuration rules.
  • redirect_rules|rule_quota: the redirect rules.
  • compression_rules|rule_quota: the maximum number of compression rules.
  • origin_rules|rule_quota: the maximum number of origin rules.
  • waf:phase:http_bot:rulesets_per_instance:less_than_or_equal: the maximum number of rulesets in WAF bot management per plan.
  • waf:phase:http_whitelist:rules_per_instance:less_than_or_equal: the maximum number of WAF whitelist rules per plan.
  • rtlog_quota: the maximum number of real-time log delivery tasks.
  • waf:phase:http_anti_scan:rulesets_per_instance:less_than_or_equal: the maximum number of rulesets in WAF scan protection per plan.
  • ddos_instance: the number of Anti-DDoS Proxy instances.
  • waf:phase:http_ratelimit:rules_per_instance:less_than_or_equal: the maximum number of WAF rate limiting rules.
  • waf:phase:http_custom:rules_per_instance:less_than_or_equal: the maximum number of custom WAF rules per plan.
  • ruleNestedConditionalCount: the number of nested layers in a rule.
  • waiting_room_rule: Waiting Room.
  • transition_rule: the maximum number of transform rules.
  • customHttpCert: the maximum number of custom certificates.
  • free_cert: the maximum number of free certificates.
  • preload: prefetch.
  • refresh_cache_tag: purge by cache tag.
  • refresh_ignore_param: purge by URL with specified parameters ignored.
  • refresh_directory: purge by directory.
  • refresh_hostname: purge by hostname.
  • refresh_all: purge all cache.
  • refresh_file: purge by URL.
  • wildcard: the maximum number of wildcard domains.
  • recordCount: the maximum number of Layer 7 records.
  • siteCount: the maximum number of websites that can be associated with the plan.
  • https|rule_quota: the maximum number of SSL/TLS rules.
preload, free_cert

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

15C66C7B-671A-4297-9187-2C4477247B78
InstanceIdstring

The plan ID.

sp-xcdn-96wblslz****
Statusstring

The plan status. Valid values:

  • online: The plan is in service.
  • offline: The plan has expired within an allowable period. In this state, the plan is unavailable.
  • disable: The plan is released.
online
Quotasarray<object>

The quotas in the plan.

Itemobject

The quota details in the plan.

QuotaNamestring

The quota name.

customHttpCert
QuotaValuestring

The quota value.

10
QuotaValueTypestring

The threshold type of the quota. Valid values:

  • value: enumerates the values of the quota.
  • bool: specifies whether the quota is available.
  • num: the upper limit of the quota.
  • range: the value range for the quota.
  • custom: other types than the preceding four quota threshold types.
bool

Examples

Sample success responses

JSONformat

{
  "RequestId": "15C66C7B-671A-4297-9187-2C4477247B78",
  "InstanceId": "sp-xcdn-96wblslz****",
  "Status": "online",
  "Quotas": [
    {
      "QuotaName": "customHttpCert",
      "QuotaValue": 10,
      "QuotaValueType": "bool"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameterThe specified parameter is invalid.The specified parameter is invalid.
400QuotaNotExistThe 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.
400InstanceNotExistThe 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.
400ErService.HasOpenedYou have already activated Edge Routine.You have already activated Edge Routine.
403Site.NotExistThe 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.
404SiteNotFoundThe website does not exist or does not belong to you.The website does not exist or does not belong to you.
404UnsupportQuotaUnsupported quota is specified. Check and try again.Unsupported quota is specified. Check and try again.

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

Change history

Change timeSummary of changesOperation
2024-10-15The Error code has changedView Change Details