Home / API Documentation / Operations center / Rules

Rules

API API name
POST /apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheusrules Create an alarm policy
GET /apis/monitoring.coreos.com/v1/prometheusrules View the list of alarm policies
GET /apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheusrules View the list of alarm policies under the specified namespace
GET /apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheusrules/{name} View rule details
PATCH /apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheusrules/{name} Differentiated update alert policy
PUT /apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheusrules/{name} Update the rule
DELETE /apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheusrules/{name} Removes the specified rule
DELETE /apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheusrules Delete alarm policies in bulk