Queries configurations of security features.

Note The maximum number of times that each user can call this operation per second is 30. 

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different software development kits (SDKs).

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeCdnUserConfigs

The operation that you want to perform. Set the value to DescribeCdnUserConfigs.

FunctionName String Yes domain_business_control

The configuration item that you want to query. Valid values:

  • domain_business_control: Alibaba Cloud CDN configurations
  • waf: Web Application Firewall (WAF) configurations

Response parameters

Parameter Type Example Description
Configs Array of Config

The configurations of Alibaba Cloud CDN.

ArgName String allow_function

The name of the parameter.

The configurations set by enterprise or government users.

ArgValue String {\"scdn_allow\":[\"cc_rule\",\"ddos_dispatch\"]}

The value of the configuration. Valid values:

  • cc_rule: HTTP flood protection rules
  • ddos_dispatch: integration with Anti-DDoS
  • edge_safe: application security settings on edge nodes
  • blocked_regions: blocked regions
  • http_acl_policy: access control list (ACL) rules
  • bot_manager: bot traffic management
  • ip_reputation: IP reputation library
FunctionName String domain_business_control

The name of the feature.

RequestId String 06D29681-B7CD-4034-A8CC-28AFFA213539

The ID of the request.

Examples

Sample requests

http(s)://cdn.aliyuncs.com?Action=DescribeCdnUserConfigs
&FunctionName=domain_business_control
&<Common request parameters>

Sample success responses

XML format

<DescribeCdnUserConfigsResponse>
  <RequestId>06D29681-B7CD-4034-A8CC-28AFFA213539</RequestId>
  <Configs>
        <FunctionName>domain_business_control</FunctionName>
        <ArgValue>{"scdn_allow":["cc_rule","ddos_dispatch"]}</ArgValue>
        <ArgName>allow_function</ArgName>
  </Configs>
</DescribeCdnUserConfigsResponse>

JSON format

{
    "RequestId": "06D29681-B7CD-4034-A8CC-28AFFA213539",
    "Configs": [
        {
            "FunctionName": "domain_business_control",
            "ArgValue": "{\"scdn_allow\":[\"cc_rule\",\"ddos_dispatch\"]}",
            "ArgName": "allow_function"
        }
    ]
}

Error codes

HttpCode Error code Error message Description
400 InvalidArgValue.Malformed The specified ArgValue is invalid. The error message returned because the parameter is set in an invalid format. Set the parameter in a valid format and try again.

For a list of error codes, visit the API Error Center.