Get Custom CC Protection Policy List

Last updated: 2019-05-07 10:23:40

PDF

API Description

This API (GetCustomCCStrategyList) is used to obtain the list of CC custom policies of an Anti-DDoS Advanced instance.
Protocol: HTTPS
Domain Name: bgpip.api.qcloud.com
API: GetCustomCCStrategyList

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 the Common Request Parameters. The Action field for this API is GetCustomCCStrategyList.

Parameter Required Type Description
bgpId Yes String Resource ID of the Anti-DDoS Advanced instance

Response Parameters

Parameter Type Description
strategy_list Array Policy list. For more information, see Example: strategy_list.


Example: strategy_list

"strategy_list": [
  {
      "createtime": "2017-09-20 18:14:42",
      "exemode": "drop",
      "name": "testname1",
      "rulelist": [
          {
              "key": "host",
              "operate": "include",
              "value": "1"
          }
      ],
      "smode": "matching",
      "status": "1"
  },
  {
    "createtime": "2017-09-25 20:54:16",
    "exemode": "alg",
    "name": "testname2",
    "rulelist": [
        {
            "key": "host",
            "operate": "include",
            "value": "chen"
        }
    ],
    "smode": "matching",
    "status": "1"
    }
]