Share via


AlertRulePatchObject Class

Definition

An Activity Log Alert rule object for the body of patch operations.

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

Constructors

AlertRulePatchObject()

Creates an new AlertRulePatchObject instance.

Properties

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.

Tag

The resource tags

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AlertRulePatchObject.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AlertRulePatchObject.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AlertRulePatchObject into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to