ArmMonitorModelFactory.AutoscaleNotification Method

Definition

Initializes a new instance of 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

Parameters

operation
MonitorOperationType

the operation associated with the notification and its value must be "scale".

email
EmailNotification

the email notification.

webhooks
IEnumerable<WebhookNotification>

the collection of webhook notifications.

Returns

A new AutoscaleNotification instance for mocking.

Applies to