Domain name for API request: dayu.tencentcloudapi.com.
This API is used to set the DDoS alarm threshold for Anti-DDoS Basic, which is only supported for Anti-DDoS Basic.
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: CreateBasicDDoSAlarmThreshold. |
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 (basic : Anti-DDoS Basic) |
Method | Yes | String | get : read alarm threshold, set : set alarm threshold |
AlarmType | No | Integer | Alarm threshold type. 1: inbound traffic, 2: cleansed traffic. This field is required if Method is set ; |
AlarmThreshold | No | Integer | Alarm threshold. It is required if Method is set . If it is set to 0, it means to clear the alarm threshold configuration; |
Parameter Name | Type | Description |
---|---|---|
AlarmThreshold | Integer | If there is an alarm threshold configuration, the returned alarm threshold will be greater than 0; otherwise, the returned alarm threshold will be 0; |
AlarmType | Integer | Alarm threshold type. 1: inbound traffic, 2: cleansed traffic. This field is valid if AlarmThreshold is above 0; |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://dayu.tencentcloudapi.com/?Action=CreateBasicDDoSAlarmThreshold
&Business=bgpip
&Method=set
&AlarmThreshold=1000
&AlarmType=1
&<Common request parameters>
{
"Response": {
"RequestId": "eac6b301-a322-493a-8e36-83b295459397",
"AlarmThreshold": 1000,
"AlarmType": 1
}
}
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.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Was this page helpful?