Notification Constructors
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.
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.
Email addresses to send the budget notification to when the threshold is exceeded.
Contact roles to send the budget notification to when the threshold is exceeded.
Action groups to send the budget notification to when the threshold is exceeded.