Megosztás a következőn keresztül:


AlertRuleProperties Class

Definition

An Azure Activity Log Alert rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRulePropertiesTypeConverter))]
public class AlertRuleProperties : Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IAlertRuleProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRulePropertiesTypeConverter))>]
type AlertRuleProperties = class
    interface IAlertRuleProperties
    interface IJsonSerializable
Public Class AlertRuleProperties
Implements IAlertRuleProperties
Inheritance
AlertRuleProperties
Attributes
Implements

Constructors

AlertRuleProperties()

Creates an new AlertRuleProperties instance.

Properties

ActionGroup

The list of the Action Groups.

ConditionAllOf

The list of Activity Log Alert rule conditions.

Description

A description of this Activity Log Alert rule.

Enabled

Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated.

Scope

A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AlertRuleProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AlertRuleProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IAlertRuleProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AlertRuleProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to