Domain name for API request: dayu.tencentcloudapi.com.
This API is used to modify the CC protection threshold.
A maximum of 10 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter. The value used for this API: ModifyCCThreshold. |
Version | Yes | String | Common parameter. The value used for this API: 2018-07-09. |
Region | No | String | Common parameter. This parameter is not required for this API. |
Business | Yes | String | Anti-DDoS service type. bgpip : Anti-DDoS Advanced, bgp : Anti-DDoS Pro (single IP), bgp-multip : Anti-DDoS Pro (multi-IP), net : Anti-DDoS Ultimate, basic : Anti-DDoS Basic |
Threshold | Yes | Integer | CC protection threshold. Valid values: (0 100 150 240 350 480 550 700 850 1000 1500 2000 3000 5000 10000 20000); If Business is Anti-DDoS Advanced or Anti-DDoS Ultimate, its maximum CC protection threshold is subject to the base protection bandwidth in the following way:Base bandwidth: maximum CC protection threshold 10: 20000, 20: 40000, 30: 70000, 40: 100000, 50: 150000, 60: 200000, 80: 250000, 100: 300000, |
Id | No | String | Anti-DDoS instance ID |
Protocol | No | String | CC protection type, which is optional. Valid values: [http (HTTP CC protection), https (HTTPS CC protection)]; if this field is left empty, HTTPS CC protection will be used by default; if https is entered, the RuleId field is required; |
RuleId | No | String | HTTPS layer-7 forwarding rule ID (which is optional and can be obtained from the layer-7 forwarding rule API); Required if Protocol is https ; |
BasicIp | No | String | Queried IP address (only provided by Anti-DDoS Basic), such as 1.1.1.1 |
BasicRegion | No | String | IP region (only provided for Anti-DDoS Basic). Valid values: region abbreviations such as gz, bj, sh, and hk |
BasicBizType | No | String | Zone type (only provided for Anti-DDoS Basic). Valid values: public (public cloud zone), bm (BM zone), nat (NAT server zone), channel (internet channel). |
BasicDeviceType | No | String | Device type (only provided for Anti-DDoS Basic). Valid values: cvm (CVM), clb (public CLB), lb (BM CLB), nat (NAT server), channel (internet channel). |
BasicIpInstance | No | String | IPInstance Nat gateway (only provided for Anti-DDoS Basic), which is optional. (If the device type to be queried is a NAT server, this parameter is required, which can be obtained through the NAT resource query API) |
BasicIspCode | No | Integer | ISP line (only provided for Anti-DDoS Basic), which is optional. (If the device type to be queried is a NAT server, this parameter should be 5) |
Domain | No | String | This optional field must be specified when HTTPS protocol is used. |
Parameter Name | Type | Description |
---|---|---|
Success | SuccessCode | Success code |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://dayu.tencentcloudapi.com/?Action=ModifyCCThreshold
&Business=bgpip
&Id=bgpip-000000xe
&Threshold=1000
&<Common request parameters>
{
"Response": {
"RequestId": "eac6b301-a322-493a-8e36-83b295459397",
"Success": {
"Code": "Success",
"Message": "Success"
}
}
}
This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
ResourceUnavailable | The resource is unavailable |
Was this page helpful?