区块链服务 BCS-查询服务实例告警统计接口:URI

时间:2023-11-01 16:18:49

URI

POST /v2/{project_id}/blockchains/{blockchain_id}/events/statistic

表1 路径参数

参数

是否必选

参数类型

描述

project_id

String

租户从IAM申请到的projectid,一般为32位字符串。

blockchain_id

String

区块链服务id

表2 Query参数

参数

是否必选

参数类型

描述

type

String

查询类型。type=active_alert代表查询活动告警,type=history_alert代表查询历史告警。不传或者传其他值则返回指定查询条件的所有信息

枚举值:

  • history_alert

  • active_alert

support.huaweicloud.com/api-bcs/ListBcsEventsStatistic.html