调用DescribeDcdnWafService查询DCDN WAF服务状态,包括服务开通时间、版本信息、当前业务状态、请求数计费方式、规则数计费方式等。
使用说明
单用户调用频率:20次/秒。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeDcdnWafService |
系统规定参数。取值:DescribeDcdnWafService。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Status | String | Normal |
业务状态,取值:
|
RequestBillingType | String | dcdn_waf_req |
请求数计费方式。 |
Edition | String | dcdnwaf_afterpay |
WAF版本信息。 |
RequestId | String | 4A95CA90-E0F2-1BF6-99E0-8C1510CAF649 |
请求ID。 |
OpeningTime | String | 2021-09-26T16:00:00Z |
服务开通时间。 |
Enabled | String | on |
服务开通状态。
|
RuleBillingType | String | dcdn_waf_rule |
规则数计费方式,按SeCU数量计费。 |
示例
请求示例
http(s)://dcdn.aliyuncs.com/?Action=DescribeDcdnWafService
&公共请求参数
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeDcdnWafServiceResponse>
<RequestId>4A95CA90-E0F2-1BF6-99E0-8C1510CAF649</RequestId>
<RuleBillingType>dcdn_waf_rule</RuleBillingType>
<OpeningTime>2022-01-13T02:30:55Z</OpeningTime>
<RequestBillingType>dcdn_waf_req</RequestBillingType>
<Edition>dcdnwaf_afterpay</Edition>
<Status>Normal</Status>
<Enabled>on</Enabled>
</DescribeDcdnWafServiceResponse>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "4A95CA90-E0F2-1BF6-99E0-8C1510CAF649",
"RuleBillingType" : "dcdn_waf_rule",
"OpeningTime" : "2022-01-13T02:30:55Z",
"RequestBillingType" : "dcdn_waf_req",
"Edition" : "dcdnwaf_afterpay",
"Status" : "Normal",
"Enabled" : "on"
}
错误码
访问错误中心查看更多错误码。