ArmMonitorModelFactory.AutoscaleNotification Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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".
- EmailNotification
the email notification.
- webhooks
- IEnumerable<WebhookNotification>
the collection of webhook notifications.
Returns
A new AutoscaleNotification instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET