Share via


Automation Constructors

Definition

Overloads

Automation()

Initializes a new instance of the Automation class.

Automation(String, String, String, String, String, String, IDictionary<String, String>, String, Nullable<Boolean>, IList<AutomationScope>, IList<AutomationSource>, IList<AutomationAction>)

Initializes a new instance of the Automation class.

Automation()

Initializes a new instance of the Automation class.

public Automation ();
Public Sub New ()

Applies to

Automation(String, String, String, String, String, String, IDictionary<String, String>, String, Nullable<Boolean>, IList<AutomationScope>, IList<AutomationSource>, IList<AutomationAction>)

Initializes a new instance of the Automation class.

public Automation (string id = default, string name = default, string type = default, string location = default, string kind = default, string etag = default, System.Collections.Generic.IDictionary<string,string> tags = default, string description = default, bool? isEnabled = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Security.Models.AutomationScope> scopes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Security.Models.AutomationSource> sources = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Security.Models.AutomationAction> actions = default);
new Microsoft.Azure.Management.Security.Models.Automation : string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Security.Models.AutomationScope> * System.Collections.Generic.IList<Microsoft.Azure.Management.Security.Models.AutomationSource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Security.Models.AutomationAction> -> Microsoft.Azure.Management.Security.Models.Automation
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional kind As String = Nothing, Optional etag As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional description As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional scopes As IList(Of AutomationScope) = Nothing, Optional sources As IList(Of AutomationSource) = Nothing, Optional actions As IList(Of AutomationAction) = Nothing)

Parameters

id
String

Resource Id

name
String

Resource name

type
String

Resource type

location
String

Location where the resource is stored

kind
String

Kind of the resource

etag
String

Entity tag is used for comparing two or more entities from the same requested resource.

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
IList<AutomationScope>

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
IList<AutomationSource>

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

actions
IList<AutomationAction>

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

Applies to