Partager via


PrometheusRuleGroupAction Class

Definition

An alert action. Only relevant for alerts.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.PrometheusRuleGroupActionTypeConverter))]
public class PrometheusRuleGroupAction : Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.IPrometheusRuleGroupAction
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.PrometheusRuleGroupActionTypeConverter))>]
type PrometheusRuleGroupAction = class
    interface IPrometheusRuleGroupAction
    interface IJsonSerializable
Public Class PrometheusRuleGroupAction
Implements IPrometheusRuleGroupAction
Inheritance
PrometheusRuleGroupAction
Attributes
Implements

Constructors

PrometheusRuleGroupAction()

Creates an new PrometheusRuleGroupAction instance.

Properties

ActionGroupId

The resource id of the action group to use.

ActionProperty

The properties of an action group object.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PrometheusRuleGroupAction.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PrometheusRuleGroupAction.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.IPrometheusRuleGroupAction.

FromJsonString(String)

Creates a new instance of PrometheusRuleGroupAction, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of PrometheusRuleGroupAction into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to