AlertTemplate [alerttemplates.aiops.alauda.io/v1beta1]
- 类型
object
规格
.spec
- 描述
- spec contains specification parameters for a template resource
- 类型
object
.spec.templates
- 描述
- templates is a list of alert template
- 类型
array
.spec.templates[]
- 描述
- template item
- 类型
object- 必填
comparemetricnamethresholdwait
.spec.templates[].annotations
- 描述
- rule annotations
- 类型
object
.spec.templates[].labels
- 描述
- rule labels
- 类型
object
.spec.templates[].metric
- 描述
- metric info for this alert
- 类型
object
.spec.templates[].metric.queries
- 描述
- queries array for this metric
- 类型
array
.spec.templates[].metric.queries[]
- 类型
object
.spec.templates[].metric.queries[].labels
- 描述
- labels for alert object
- 类型
array
.spec.templates[].metric.queries[].labels[]
- 类型
object
.spec.templates[].notifications
- 描述
- notifcations triggered by this alert
- 类型
array
.spec.templates[].notifications[]
- 类型
object
API 端点
可用的 API 端点如下:
/apis/aiops.alauda.io/v1beta1/alerttemplatesDELETE: delete collection of AlertTemplateGET: list objects of kind AlertTemplatePOST: create a new AlertTemplate
/apis/aiops.alauda.io/v1beta1/alerttemplates/{name}DELETE: delete the specified AlertTemplateGET: read the specified AlertTemplatePATCH: partially update the specified AlertTemplatePUT: replace the specified AlertTemplate
/apis/aiops.alauda.io/v1beta1/alerttemplates
- HTTP 方法
DELETE- 描述
- delete collection of AlertTemplate
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind AlertTemplate
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new AlertTemplate
- 查询参数
- 请求体参数
- HTTP 响应
/apis/aiops.alauda.io/v1beta1/alerttemplates/{name}
- HTTP 方法
DELETE- 描述
- delete the specified AlertTemplate
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified AlertTemplate
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified AlertTemplate
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified AlertTemplate
- 查询参数
- 请求体参数
- HTTP 响应