Condividi tramite


Notification Constructors

Definition

Overloads

Notification()

Initializes a new instance of the Notification class.

Notification(Boolean, String, Decimal, IList<String>, IList<String>, IList<String>)

Initializes a new instance of the Notification class.

Notification()

Initializes a new instance of the Notification class.

public Notification ();
Public Sub New ()

Applies to

Notification(Boolean, String, Decimal, IList<String>, IList<String>, IList<String>)

Initializes a new instance of the Notification class.

public Notification (bool enabled, string operatorProperty, decimal threshold, System.Collections.Generic.IList<string> contactEmails, System.Collections.Generic.IList<string> contactRoles = default, System.Collections.Generic.IList<string> contactGroups = default);
new Microsoft.Azure.Management.Consumption.Models.Notification : bool * string * decimal * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Consumption.Models.Notification
Public Sub New (enabled As Boolean, operatorProperty As String, threshold As Decimal, contactEmails As IList(Of String), Optional contactRoles As IList(Of String) = Nothing, Optional contactGroups As IList(Of String) = Nothing)

Parameters

enabled
Boolean

The notification is enabled or not.

operatorProperty
String

The comparison operator. Possible values include: 'EqualTo', 'GreaterThan', 'GreaterThanOrEqualTo'

threshold
Decimal

Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.

contactEmails
IList<String>

Email addresses to send the budget notification to when the threshold is exceeded.

contactRoles
IList<String>

Contact roles to send the budget notification to when the threshold is exceeded.

contactGroups
IList<String>

Action groups to send the budget notification to when the threshold is exceeded.

Applies to