Partilhar via


ArmSecurityInsightsModelFactory.SecurityInsightsAutomationRuleData Method

Definition

Initializes a new instance of SecurityInsightsAutomationRuleData.

public static Azure.ResourceManager.SecurityInsights.SecurityInsightsAutomationRuleData SecurityInsightsAutomationRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, int order = 0, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAutomationRuleTriggeringLogic triggeringLogic = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAutomationRuleAction> actions = default, DateTimeOffset? lastModifiedOn = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsClientInfo lastModifiedBy = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsClientInfo createdBy = default, Azure.ETag? etag = default);
static member SecurityInsightsAutomationRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * int * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAutomationRuleTriggeringLogic * seq<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAutomationRuleAction> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsClientInfo * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsClientInfo * Nullable<Azure.ETag> -> Azure.ResourceManager.SecurityInsights.SecurityInsightsAutomationRuleData
Public Shared Function SecurityInsightsAutomationRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional order As Integer = 0, Optional triggeringLogic As SecurityInsightsAutomationRuleTriggeringLogic = Nothing, Optional actions As IEnumerable(Of SecurityInsightsAutomationRuleAction) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedBy As SecurityInsightsClientInfo = Nothing, Optional createdBy As SecurityInsightsClientInfo = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As SecurityInsightsAutomationRuleData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

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.

lastModifiedOn
Nullable<DateTimeOffset>

The last time the automation rule was updated.

createdOn
Nullable<DateTimeOffset>

The time the automation rule was created.

lastModifiedBy
SecurityInsightsClientInfo

Information on the client (user or application) that made some action.

createdBy
SecurityInsightsClientInfo

Information on the client (user or application) that made some action.

etag
Nullable<ETag>

Etag of the azure resource.

Returns

A new SecurityInsightsAutomationRuleData instance for mocking.

Applies to