ArmMonitorModelFactory.EmailNotification 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.
Email notification of an autoscale event.
public static Azure.ResourceManager.Monitor.Models.EmailNotification EmailNotification(bool? sendToSubscriptionAdministrator = default, bool? sendToSubscriptionCoAdministrators = default, System.Collections.Generic.IEnumerable<string> customEmails = default);
static member EmailNotification : Nullable<bool> * Nullable<bool> * seq<string> -> Azure.ResourceManager.Monitor.Models.EmailNotification
Public Shared Function EmailNotification (Optional sendToSubscriptionAdministrator As Nullable(Of Boolean) = Nothing, Optional sendToSubscriptionCoAdministrators As Nullable(Of Boolean) = Nothing, Optional customEmails As IEnumerable(Of String) = Nothing) As EmailNotification
Parameters
a value indicating whether to send email to subscription administrator.
a value indicating whether to send email to subscription co-administrators.
- customEmails
- IEnumerable<String>
the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored.
Returns
A new EmailNotification instance for mocking.