ListAlerts
列出指定Project下的告警规则
服务地址:
华东1 金融云
输入参数
只看必填
projectProject名称
offset查询开始行
size分页查询时
logstore获取指定Logstore下的告警规则
插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

请求语法

GET /alerts HTTP/1.1

请求参数

字段名称字段详情
projectstring

Project 名称

示例值:ali-test-project
offsetinteger<int32>

查询开始行。默认值为 0。

示例值:0
sizeinteger<int32>

分页查询时,设置的每页行数。最大值为 200。默认值为 10。

示例值:10
logstorestring

获取指定 Logstore 下的告警规则。默认值为空。

示例值:ali-test-logstore

返回参数

字段名称字段详情
totalinteger<int32>

Project 下告警总数量

示例值:80
countinteger<int32>

当前返回的告警数量

示例值:10
resultsarray<Alert>

告警配置结果列表

变更历史
暂无变更历史