cls_describe_alarms
Retrieve and filter alarm strategies for Tencent Cloud Log Service, enabling monitoring of conditions, trigger rules, and notification channels with pagination support.
Instructions
查询告警策略列表。获取当前账号下的告警策略信息,支持分页和过滤。
参数说明
offset: 分页偏移量,默认 0
limit: 每页条数,默认 20,最大 100
name: 按告警策略名称过滤(可选,模糊匹配)
topic_id: 按关联日志主题 ID 过滤(可选)。如不确定 ID,可先通过 cls_describe_topics 按名称搜索
region: 地域(可选),如 ap-guangzhou、na-ashburn,不传则使用默认地域,可通过 cls_describe_regions 查询所有可用地域
返回信息
告警策略 ID、名称、状态(开启/关闭)
监控条件、触发规则、通知渠道
创建和最近修改时间
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| limit | No | ||
| name | No | ||
| topic_id | No | ||
| region | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |