最近更新时间:2024.03.07 12:02:16
首次发布时间:2022.12.27 10:18:24
参数 | 类型 | 位置 | 是否必填 | 描述 |
---|---|---|---|---|
Action | string | Query | 是 | ListAlarmHistory |
Version | string | Query | 是 | 2022-07-01 |
参数 | 类型 | 位置 | 是否必填 | 描述 |
---|---|---|---|---|
ProviderCode | string | Body | 否 | 产品提供方 |
QuotaCode | string | Body | 否 | 配额名称 |
RuleName | string | Body | 否 | 配额告警名称 |
AlertTimeStart | string | Body | 否 | 告警开始时间,例如:2022-12-03T11:31:28 |
AlertTimeEnd | string | Body | 否 | 告警结束时间,例如:2022-12-04T11:31:28 |
NextToken | string | Body | 否 | 分页参数 |
MaxResults | int | Body | 否 | 最多一次返回数量,默认10 |
http://open.volcengineapi.com/?Version=2022-07-01&Action=ListAlarmHistory &ProviderCode=platformServices &QuotaCode=quota_test &RuleName=策略名 &MaxResults=1
{ "ResponseMetadata": { "RequestId": "2022122213050631C0FB91AA8495CE8F94" }, "Result": { "AlarmRecordList": [ { "RuleID": "1605781619627524096", "ProviderCode": "platformServices", "ProductName": "平台服务", "QuotaCode": "quota_test", "QuotaType": "normal", "Dimensions": "[{\"Name\":\"region_code\",\"Value\":\"\"}]", "RuleName": "策略名", "ReportWays": [ "Inmail" ], "AlarmType": "usage", "Threshold": "10", "AlarmValue": "12.000000", "MetricUnit": "Count", "AlarmTime": "2022-12-15 18:03:51" } ], "NextToken": "392354" } }