Enable/Disable Custom CC Policy

Last updated: 2020-06-09 15:24:08

    Note:

    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 (SetCustomCCStrategyStatus) is used to enable/disable a CC custom policy. The policy can be enabled/disabled only when CC protection is enabled/disabled for the Anti-DDoS Advanced instance. This API identifies the policy by field bgpId and name, and enables/disables the policy.
    Protocol: HTTPS
    Domain Name: bgpip.api.qcloud.com
    API: SetCustomCCStrategyStatus

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

    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.
    status Yes Integer Description of status. 1: Enabled. 0: Disabled.

    Response Parameters

    None.

    Was this page helpful?

    Was this page helpful?

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