Freigeben über


ArmMonitorModelFactory.ActivityLogAlertData Methode

Definition

Initialisiert eine neue instance von ActivityLogAlertData.

public static Azure.ResourceManager.Monitor.ActivityLogAlertData ActivityLogAlertData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IEnumerable<string> scopes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.ActivityLogAlertAnyOfOrLeafCondition> conditionAllOf = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.ActivityLogAlertActionGroup> actionsActionGroups = default, bool? isEnabled = default, string description = default);
static member ActivityLogAlertData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * seq<string> * seq<Azure.ResourceManager.Monitor.Models.ActivityLogAlertAnyOfOrLeafCondition> * seq<Azure.ResourceManager.Monitor.Models.ActivityLogAlertActionGroup> * Nullable<bool> * string -> Azure.ResourceManager.Monitor.ActivityLogAlertData
Public Shared Function ActivityLogAlertData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional scopes As IEnumerable(Of String) = Nothing, Optional conditionAllOf As IEnumerable(Of ActivityLogAlertAnyOfOrLeafCondition) = Nothing, Optional actionsActionGroups As IEnumerable(Of ActivityLogAlertActionGroup) = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional description As String = Nothing) As ActivityLogAlertData

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemData.

tags
IDictionary<String,String>

Die Tags.

location
AzureLocation

Der Speicherort.

scopes
IEnumerable<String>

Eine Liste der 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.

conditionAllOf
IEnumerable<ActivityLogAlertAnyOfOrLeafCondition>

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

actionsActionGroups
IEnumerable<ActivityLogAlertActionGroup>

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

isEnabled
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.

Gibt zurück

Eine neue ActivityLogAlertData instance zum Simulieren.

Gilt für: