参数 | 类型 | 位置 | 是否必填 | 描述 |
---|---|---|---|---|
Action | string | Query | 是 | ListQuotaAlarmRules |
Version | string | Query | 是 | 2022-07-01 |
参数 | 类型 | 位置 | 是否必填 | 描述 |
---|---|---|---|---|
ProviderCode | string | Body | 否 | 产品提供方 |
QuotaCode | string | Body | 否 | 配额名称 |
Dimensions | string | Body | 否 | 配额维度
|
RuleName | string | Body | 否 | 告警策略名 |
NextToken | string | Body | 否 | 分页参数 |
MaxResults | int | Body | 否 | 最多一次返回数量,默认10 |
http://open.volcengineapi.com/?Version=2022-07-01&Action=ListQuotaAlarmRules &MaxResults=10 &NextToken=7 &QuotaCode=quota_test
{ "ResponseMetadata": { "RequestId": "2022122212573081DB52B1D061E5B89F47" }, "Result": { "QuotaAlarmRuleList": [ { "RuleID": "1603382028890275840", "RuleName": "策略名1", "ProviderCode": "platformServices", "ProductName": "平台服务", "QuotaCode": "quota_test", "QuotaType": "normal", "Description": "", "Dimensions": "[{\"Name\":\"region_code\",\"Value\":\"\"}]", "AlarmType": "usage", "Threshold": "15", "SilenceTime": 30, "ReportWays": [ "Mail", "Sms", "Inmail" ], "EnableState": "enable", "Statistics": "avg", "MetricUnit": "Count", "CreatedTime": "2022-12-15 21:30:40", "UpdatedTime": "2022-12-21 12:10:56" }, { "RuleID": "1605781619627524096", "RuleName": "策略名2", "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" } ], "NextToken": "" } }