Share via


AutomationRuleCondition Class

Definition

Describes an automation rule condition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.AutomationRuleConditionTypeConverter))]
public class AutomationRuleCondition : Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IAutomationRuleCondition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.AutomationRuleConditionTypeConverter))>]
type AutomationRuleCondition = class
    interface IAutomationRuleCondition
    interface IJsonSerializable
Public Class AutomationRuleCondition
Implements IAutomationRuleCondition
Inheritance
AutomationRuleCondition
Attributes
Implements

Constructors

AutomationRuleCondition()

Creates an new AutomationRuleCondition instance.

Properties

ConditionType

The type of the automation rule condition

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AutomationRuleCondition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AutomationRuleCondition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IAutomationRuleCondition. Note: the Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IAutomationRuleCondition interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AutomationRuleCondition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to