PrometheusRuleGroupProperties interface

An Azure Prometheus rule group.

Properties

clusterName

Apply rule to data from a specific cluster.

description

Rule group description.

enabled

Enable/disable rule group.

interval

The interval in which to run the Prometheus rule group represented in ISO 8601 duration format. Should be between 1 and 15 minutes

rules

Defines the rules in the Prometheus rule group.

scopes

Target Azure Monitor workspaces resource ids. This api-version is currently limited to creating with one scope. This may change in future.

Property Details

clusterName

Apply rule to data from a specific cluster.

clusterName?: string

Property Value

string

description

Rule group description.

description?: string

Property Value

string

enabled

Enable/disable rule group.

enabled?: boolean

Property Value

boolean

interval

The interval in which to run the Prometheus rule group represented in ISO 8601 duration format. Should be between 1 and 15 minutes

interval?: string

Property Value

string

rules

Defines the rules in the Prometheus rule group.

rules: PrometheusRule[]

Property Value

scopes

Target Azure Monitor workspaces resource ids. This api-version is currently limited to creating with one scope. This may change in future.

scopes: string[]

Property Value

string[]