ArmSecurityCenterModelFactory.SecurityAutomationPatch Method

Definition

public static Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationPatch SecurityAutomationPatch(System.Collections.Generic.IDictionary<string,string> tags = default, string description = default, bool? isEnabled = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationScope> scopes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationSource> sources = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationAction> actions = default);
static member SecurityAutomationPatch : System.Collections.Generic.IDictionary<string, string> * string * Nullable<bool> * seq<Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationScope> * seq<Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationSource> * seq<Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationAction> -> Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationPatch
Public Shared Function SecurityAutomationPatch (Optional tags As IDictionary(Of String, String) = Nothing, Optional description As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional scopes As IEnumerable(Of SecurityAutomationScope) = Nothing, Optional sources As IEnumerable(Of SecurityAutomationSource) = Nothing, Optional actions As IEnumerable(Of SecurityAutomationAction) = Nothing) As SecurityAutomationPatch

Parameters

tags
IDictionary<String,String>

A list of key value pairs that describe the resource.

description
String

The security automation description.

isEnabled
Nullable<Boolean>

Indicates whether the security automation is enabled.

scopes
IEnumerable<SecurityAutomationScope>

A collection of scopes on which the security automations logic is applied. Supported scopes are the subscription itself or a resource group under that subscription. The automation will only apply on defined scopes.

sources
IEnumerable<SecurityAutomationSource>

A collection of the source event types which evaluate the security automation set of rules.

actions
IEnumerable<SecurityAutomationAction>

A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true.

Returns

A new SecurityAutomationPatch instance for mocking.

Applies to