SecurityInsightsAutomationRuleData Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.