Share via


ActivityLogAlertResource Konstruktoren

Definition

Überlädt

ActivityLogAlertResource()

Initialisiert eine neue instance der ActivityLogAlertResource-Klasse.

ActivityLogAlertResource(String, IList<String>, AlertRuleAllOfCondition, ActionList, String, String, String, String, String, IDictionary<String, String>, Nullable<Boolean>, String)

Initialisiert eine neue instance der ActivityLogAlertResource-Klasse.

ActivityLogAlertResource()

Initialisiert eine neue instance der ActivityLogAlertResource-Klasse.

public ActivityLogAlertResource ();
Public Sub New ()

Gilt für:

ActivityLogAlertResource(String, IList<String>, AlertRuleAllOfCondition, ActionList, String, String, String, String, String, IDictionary<String, String>, Nullable<Boolean>, String)

Initialisiert eine neue instance der ActivityLogAlertResource-Klasse.

public ActivityLogAlertResource (string location, System.Collections.Generic.IList<string> scopes, Microsoft.Azure.Management.Monitor.Models.AlertRuleAllOfCondition condition, Microsoft.Azure.Management.Monitor.Models.ActionList actions, string id = default, string name = default, string type = default, string kind = default, string identity = default, System.Collections.Generic.IDictionary<string,string> tags = default, bool? enabled = default, string description = default);
new Microsoft.Azure.Management.Monitor.Models.ActivityLogAlertResource : string * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Monitor.Models.AlertRuleAllOfCondition * Microsoft.Azure.Management.Monitor.Models.ActionList * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * string -> Microsoft.Azure.Management.Monitor.Models.ActivityLogAlertResource
Public Sub New (location As String, scopes As IList(Of String), condition As AlertRuleAllOfCondition, actions As ActionList, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional identity As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional description As String = Nothing)

Parameter

location
String

Ressourcenspeicherort

scopes
IList<String>

Eine Liste von Ressourcen-IDs, die als Präfixe verwendet werden. Die Warnung gilt nur für Aktivitätsprotokollereignisse mit Ressourcen-IDs, die unter eines dieser Präfixe fallen. Diese Liste muss mindestens ein Element enthalten.

condition
AlertRuleAllOfCondition

Die Bedingung, die dazu führt, dass diese Warnung aktiviert wird.

actions
ActionList

Die Aktionen, die aktiviert werden, wenn die Bedingung erfüllt ist.

id
String

Azure-Ressourcen-ID

name
String

Name der Azure-Ressource

type
String

Azure-Ressourcentyp

kind
String

Azure-Ressourcenart

identity
String

Azure-Ressourcenidentität

tags
IDictionary<String,String>

Ressourcentags

enabled
Nullable<Boolean>

Gibt an, ob diese Aktivitätsprotokollwarnungsregel aktiviert ist. Wenn eine Aktivitätsprotokollwarnungsregel nicht aktiviert ist, wird keine ihrer Aktionen aktiviert.

description
String

Eine Beschreibung dieser Aktivitätsprotokollwarnungsregel.

Gilt für: