Delen via


SecurityInsightsAutomationRuleData Constructor

Definition

Initializes a new instance of SecurityInsightsAutomationRuleData.

public SecurityInsightsAutomationRuleData (string displayName, int order, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAutomationRuleTriggeringLogic triggeringLogic, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAutomationRuleAction> actions);
new Azure.ResourceManager.SecurityInsights.SecurityInsightsAutomationRuleData : string * int * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAutomationRuleTriggeringLogic * seq<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAutomationRuleAction> -> Azure.ResourceManager.SecurityInsights.SecurityInsightsAutomationRuleData
Public Sub New (displayName As String, order As Integer, triggeringLogic As SecurityInsightsAutomationRuleTriggeringLogic, actions As IEnumerable(Of SecurityInsightsAutomationRuleAction))

Parameters

displayName
String

The display name of the automation rule.

order
Int32

The order of execution of the automation rule.

triggeringLogic
SecurityInsightsAutomationRuleTriggeringLogic

Describes automation rule triggering logic.

actions
IEnumerable<SecurityInsightsAutomationRuleAction>

The actions to execute when the automation rule is triggered. Please note SecurityInsightsAutomationRuleAction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AutomationRuleAddIncidentTaskAction, AutomationRuleModifyPropertiesAction and AutomationRuleRunPlaybookAction.

Exceptions

displayName, triggeringLogic or actions is null.

Applies to