Creates an edge security drop-down list in the Dynamic Route for CDN (DCDN) console.

Note The maximum number of times that users can call this operation per second is 50.

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 SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeDcdnSecFuncInfo

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

Lang String Yes en

The language. Valid values: en and zh. Default value: en.

SecFuncType String Yes RobotRuleName

The type of the drop-down list. Valid values: RobotRuleName and RobotObject.

Response parameters

Parameter Type Example Description
Content Array of Content

The parameters required by the code.

Label String ai_defense

The language (Chinese or English).

Value String ai_defense

The options in the drop-down list.

Description String OK

The description of HTTP responses.

HttpStatus String 200

The HTTP status code.

RequestId String 30A3A25A-86B3-4C1D-BAA8-12B8607A5CFD

The ID of the request.

RetCode String 0

The return value for HTTP requests.

  • 0: OK.
  • Values other than 0: an error.

Example

Sample requests

http://cdn.aliyuncs.com?Action=DescribeDcdnSecFuncInfo
&SecFuncType=RobotRuleName
&Lang=en
&<Common request parameters>

Sample success responses

XML format

<RequestId>30A3A25A-86B3-4C1D-BAA8-12B8607A5CFD</RequestId>
<Content>
    <Label>ai_defense</Label>
    <Language>en</Language>
    <Value>ai_defense</Value>
</Content>
<Content>
    <Label>legal_spiders</Label>
    <Language>en</Language>
    <Value>legal_spiders</Value>
</Content>
<Content>
    <Label>threat_intelligence</Label>
    <Language>en</Language>
    <Value>threat_intelligence</Value>
</Content>
<Description>OK</Description>
<RetCode>0</RetCode>
<HttpStatus>200</HttpStatus>

JSON format

{
    "RequestId":"30A3A25A-86B3-4C1D-BAA8-12B8607A5CFD",
    "Content":[
     {
        "Label": "ai_defense",
        "Language": "en",
        "Value": "ai_defense"
      },
      {
        "Label": "legal_spiders",
        "Language": "en",
        "Value": "legal_spiders"
      },
      {
        "Label": "threat_intelligence",
        "Language": "en",
        "Value": "threat_intelligence"
      }
    ],
    "Description":"OK",
    "RetCode":"0",
    "HttpStatus":"200"
}

Error codes

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