Get Custom CC Policy

Last updated: 2020-06-09 15:19:34


    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new Anti-DDoS Advanced API 3.0 which is standardized and faster.

    API Description

    This API (GetCustomCCStrategy) is used to obtain the information of a custom CC protection policy.
    Protocol: HTTPS
    Domain Name:
    API: GetCustomCCStrategy

    Request Parameters

    Below is a list of API request parameters. You need to add common request parameters to your request when calling this API. For more information, see Common Request Parameters. The Action field for this API is GetCustomCCStrategy.

    Parameter Required Type Description
    bgpId Yes String Resource ID of the Anti-DDoS Advanced instance
    name Yes String Policy name. Must be unique in the instance

    Response Parameters

    Parameter Type Description
    smode String Policy mode:
    matching: by matching
    speedlimit: by limiting the speed
    exemode String Execution mode:
    alg: by verification codes
    drop: by blocking
    status Integer Status of CC protection.
    1: enabled
    0: disabled
    exeduration Integer Execution duration.
    frequency Integer Number of queries per minute. When the policy mode is speedlimit, this parameter is returned.
    rulelist Array When the smode is matching, this parameter is required.

    Key: host, cgi, ua, referer
    Operate: include, not_include, equal
    Value: string(no more than 31 characters)

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback