You need to enable JavaScript to run this app.
文档中心
托管 Prometheus

托管 Prometheus

复制全文
下载 pdf
告警模版
UpgradeAlertingRuleGroups
复制全文
下载 pdf
UpgradeAlertingRuleGroups
升级告警规则组。​
请求说明​
  • 请求方式:POST​
  • 请求地址:https://vmp.cn-beijing.volcengineapi.com?Action=UpgradeAlertingRuleGroups&Version=2021-03-03​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
​
参数​
类型​
是否必选​
示例值​
描述​
Action​
String​
是​
UpgradeAlertingRuleGroups​
接口名称。当前 API 的名称为 UpgradeAlertingRuleGroups。​
Version​
String​
是​
2021-03-03​
接口版本。当前 API 的版本为 2021-03-03。​
Filter​
否​
-​
规则组过滤条件。​
​
UpgradeAlertingRuleGroupFilter​
​
参数​
类型​
是否必选​
示例值​
描述​
Ids​
Array of String​
否​
["e28a-****-1e0e****"]​
按告警规则组 ID 过滤,精确查询。​
​
请求示例​
​
POST https://vmp.cn-beijing.volcengineapi.com?Action=UpgradeAlertingRuleGroups&Version=2021-03-03​
Content-Type: application/json​
{​
"Filter": {​
"Ids": [​
"e28a-****-1e0e****"​
]​
}​
}
​
返回参数​
​
参数​
类型​
示例值​
描述​
SuccessfulItems​
Array of String​
["e28a-****-1e0e****"]​
成功操作的 ID 列表。​
UnsuccessfulItems​
Array of UnsuccessfulItem​
e28-****-abf4***​
未成功操作的列表。​
​
UnsuccessfulItem​
​
参数​
类型​
示例值​
描述​
Id​
String​
e28-****-abf4***​
未成功操作的对象 ID。​
Error​
-​
未成功操作的原因。​
​
UnsuccessfulItemError​
​
参数​
类型​
示例值​
描述​
Code​
String​
NotFound.Ids​
错误码。详情请参见下文 错误码 或 公共错误码。​
Message​
String​
The specified Contact abc is not found.​
错误信息。详情请参见下文 错误码 或 公共错误码。​
Data​
JSON Map​
-​
错误元数据。​
​
返回示例​
​
HTTP/1.1: 200 OK​
Content-Type: application/json​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "UpgradeAlertingRuleGroups",​
"Version": "2021-03-03",​
"Service": "vmp",​
"Region": "cn-beijing"​
},​
"Result": {​
"SuccessfulItems": [​
"e28a-****-1e0e****"​
],​
"UnsuccessfulItems": [​
{​
"Id": "e28-****-abf4***",​
"Error": {​
"Code": "NotFound.Ids",​
"Message": "The specified Contact abc is not found."​
}​
}​
]​
}​
}
​
错误码​
本接口错误码如下表所示,公共错误码请参见 公共错误码。​
​
HTTP 状态码​
错误码​
错误信息​
说明​
403​
ProductUnsubscribed​
You are not subscribed to VMP. Please go to the VMP console web page to subscribe to the service​
当前账号未订阅 VMP 服务。​
400​
InvalidParameter.{{parameter}}​
The specified parameter {{parameter}} is invalid.​
输入不合法,如工作区名称不合法等。​
​
最近更新时间:2026.10.22 14:32:44
这个页面对您有帮助吗?
有用
有用
无用
无用