Compartilhar via


ArmMonitorModelFactory.AutoscaleNotification Método

Definição

Inicializa uma nova instância de 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

Parâmetros

operation
MonitorOperationType

a operação associada à notificação e seu valor deve ser "scale".

email
EmailNotification

a notificação por email.

webhooks
IEnumerable<WebhookNotification>

a coleção de notificações de webhook.

Retornos

Uma nova AutoscaleNotification instância para zombar.

Aplica-se a