You need to enable JavaScript to run this app.
导航
GetAlarmRule - 获取配额告警
最近更新时间:2022.12.27 10:18:24首次发布时间:2022.12.27 10:18:24

请求参数

接口参数

参数类型位置是否必填描述
ActionstringQueryGetAlarmRule
VersionstringQuery2022-07-01

业务变量参数

参数类型位置是否必填描述
IDstringBody告警策略ID

请求示例

http://open.volcengineapi.com/?Version=2022-07-01&Action=GetAlarmRule
&ID=1605781619627524096

返回示例

{
    "ResponseMetadata": {
        "RequestId": "20221222130006CE11B28C4C5299E7788C"
    },
    "Result": {
        "QuotaAlarmRule": {
            "RuleID": "1605781619627524096",
            "RuleName": "策略名",
            "ProviderCode": "platformServices",
            "ProductName": "平台服务",
            "QuotaCode": "quota_test",
            "QuotaType": "normal",
            "Description": "",
            "Dimensions": "[{\"Name\":\"region_code\",\"Value\":\"cn-exclusive-test1\"}]",
            "AlarmType": "usage",
            "Threshold": "35",
            "SilenceTime": 60,
            "ReportWays": [
                "Sms"
            ],
            "EnableState": "enable",
            "Statistics": "avg",
            "MetricUnit": "Count",
            "CreatedTime": "2022-12-22 12:25:47",
            "UpdatedTime": "2022-12-22 12:25:47"
        }
    }
}