You need to enable JavaScript to run this app.
导航
ListAlarmHistory - 查询告警历史
最近更新时间:2024.03.07 12:02:16首次发布时间:2022.12.27 10:18:24

请求参数

接口参数

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

业务变量参数

参数类型位置是否必填描述
ProviderCodestringBody产品提供方
QuotaCodestringBody配额名称
RuleNamestringBody配额告警名称
AlertTimeStartstringBody告警开始时间,例如:2022-12-03T11:31:28
AlertTimeEndstringBody告警结束时间,例如:2022-12-04T11:31:28
NextTokenstringBody分页参数
MaxResultsintBody最多一次返回数量,默认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"
    }
}