Share via


AutomationRuleAction Class

Definition

Describes an automation rule action

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

Constructors

AutomationRuleAction()

Creates an new AutomationRuleAction instance.

Properties

ActionType

The type of the automation rule action

Order

The order of execution of the automation rule action

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AutomationRuleAction.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AutomationRuleAction.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IAutomationRuleAction. Note: the Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IAutomationRuleAction 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 AutomationRuleAction, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AutomationRuleAction into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to