All Products
Search
Document Center

Edge Security Acceleration:DescribeDcdnWafService

Last Updated:Oct 17, 2024

Queries the information about Dynamic Content Delivery Network (DCDN) Web Application Firewall WAF), including the time when WAF is enabled, edition of WAF, current status of WAF, metering method for requests, and metering method for rules.

Operation description

Usage notes

You can call this operation up to 20 times per second per account.

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

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object
Statusstring

The status of WAF. Valid values:

  • Normal
  • WaitForExpire
  • Expired
  • Released
Normal
RequestBillingTypestring

The metering method for requests.

dcdn_waf_req
Editionstring

The edition of WAF.

dcdnwaf_afterpay
RequestIdstring

The ID of the request.

4A95CA90-E0F2-1BF6-99E0-8C1510CAF649
OpeningTimestring

The time when WAF was enabled.

2021-09-26T16:00:00Z
Enabledstring

The status of WAF. Valid values:

  • on
  • off
on
RuleBillingTypestring

The metering method for rules. You are charged for the number of SeCUs.

dcdn_waf_rule

Examples

Sample success responses

JSONformat

{
  "Status": "Normal",
  "RequestBillingType": "dcdn_waf_req",
  "Edition": "dcdnwaf_afterpay",
  "RequestId": "4A95CA90-E0F2-1BF6-99E0-8C1510CAF649",
  "OpeningTime": "2021-09-26T16:00:00Z",
  "Enabled": "on",
  "RuleBillingType": "dcdn_waf_rule"
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history