Share via


IPrometheusRuleGroupProperties Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.PrometheusRuleGroupPropertiesTypeConverter))]
public interface IPrometheusRuleGroupProperties : Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.PrometheusRuleGroupPropertiesTypeConverter))>]
type IPrometheusRuleGroupProperties = interface
    interface IJsonSerializable
Public Interface IPrometheusRuleGroupProperties
Implements IJsonSerializable
Derived
Attributes
Implements

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

Rule

Defines the rules in the Prometheus rule group.

Scope

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

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to