You need to enable JavaScript to run this app.
导航
UpdateAtkAlarmThreshold-更新实例的攻击报警阈值
最近更新时间:2025.05.28 18:54:51首次发布时间:2024.06.27 22:21:40
我的收藏
有用
有用
无用
无用

如果告警阈值过低,可能导致告警事件过于频繁,造成干扰;而告警阈值过高,可能导致漏掉攻击事件信息,影响正常业务。因此,建议根据业务实际场景调整告警阈值。

注意事项

调用时请将{region}替换成实际地域 ID,地域详情参见地域信息

请求说明

  • 请求方式:POST
  • 请求地址:https://origin_defence.{region}.volcengineapi.com/?Action=UpdateAtkAlarmThreshold&Version=2022-01-01

请求参数

Query

参数类型是否必选示例值描述
ActionStringUpdateAtkAlarmThreshold接口名称。当前 API 的名称为 UpdateAtkAlarmThreshold
VersionString2022-01-01接口版本。当前 API 的版本为 2022-01-01

Body

参数类型是否必选示例值描述
BandWidthInteger1000自定义告警攻击带宽阈值,单位:Mbps。当 ThresType=1,即配置类型攻击带宽阈值时生效。取值范围:0~1,000,000,默认为 100。
InsIdInteger66防护实例的 ID,可调用DescInstanceList接口获取具体值。
PpsInteger100000自定义告警包速率阈值,单位:pps。当 ThresType=2,即配置类型攻击包速率阈值时生效。取值范围:0~450,000,000,默认为 50,000。

ThresType

Integer

1

配置类型。

  • 0:恢复默认值,即攻击带宽 100 Mbps 或攻击包速率 50,000 pps 时触发告警。
  • 1:自定义攻击带宽阈值。
  • 2:自定义攻击包速率阈值。

返回参数

无。

请求示例

POST https://origin_defence.{region}.volcengineapi.com/?Action=UpdateAtkAlarmThreshold&Version=2022-01-01
{
    "BandWidth": 1000,
    "InsId": 66,
    "Pps": 100000,
    "ThresType": 1
}

返回示例

{
    "ResponseMetadata": {
        "Action": "UpdateAtkAlarmThreshold",
        "Region": "cn-beijing",
        "RequestId": "20230604110420****100232280022D31",
        "Service": "origin_defence",
        "Version": "2022-01-01"
    }
}