Freigeben über


ArmMonitorModelFactory.NotificationContext(String, String) Methode

Definition

Initialisiert eine neue instance von NotificationContext.

public static Azure.ResourceManager.Monitor.Models.NotificationContext NotificationContext (string notificationSource = default, string contextType = default);
static member NotificationContext : string * string -> Azure.ResourceManager.Monitor.Models.NotificationContext
Public Shared Function NotificationContext (Optional notificationSource As String = Nothing, Optional contextType As String = Nothing) As NotificationContext

Parameter

notificationSource
String

Die Quelle der Benachrichtigungsanforderung.

contextType
String

Der Kontext-ID-Typ.

Gibt zurück

Eine neue NotificationContext instance zum Simulieren.

Gilt für: