Freigeben über


ArmMonitorModelFactory.AutoscaleNotification Methode

Definition

Initialisiert eine neue instance von AutoscaleNotification.

public static Azure.ResourceManager.Monitor.Models.AutoscaleNotification AutoscaleNotification (Azure.ResourceManager.Monitor.Models.MonitorOperationType operation = default, Azure.ResourceManager.Monitor.Models.EmailNotification email = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.WebhookNotification> webhooks = default);
static member AutoscaleNotification : Azure.ResourceManager.Monitor.Models.MonitorOperationType * Azure.ResourceManager.Monitor.Models.EmailNotification * seq<Azure.ResourceManager.Monitor.Models.WebhookNotification> -> Azure.ResourceManager.Monitor.Models.AutoscaleNotification
Public Shared Function AutoscaleNotification (Optional operation As MonitorOperationType = Nothing, Optional email As EmailNotification = Nothing, Optional webhooks As IEnumerable(Of WebhookNotification) = Nothing) As AutoscaleNotification

Parameter

operation
MonitorOperationType

der Vorgang, der der Benachrichtigung zugeordnet ist, und deren Wert muss "skalierung" sein.

email
EmailNotification

die E-Mail-Benachrichtigung.

webhooks
IEnumerable<WebhookNotification>

die Sammlung von Webhookbenachrichtigungen.

Gibt zurück

Eine neue AutoscaleNotification instance zum Mocking.

Gilt für: