Partager via


BudgetAssociatedNotification Constructeur

Définition

Initialise une nouvelle instance de BudgetAssociatedNotification.

public BudgetAssociatedNotification (bool isEnabled, Azure.ResourceManager.Consumption.Models.NotificationAlertTriggerType operator, decimal threshold, System.Collections.Generic.IEnumerable<string> contactEmails);
new Azure.ResourceManager.Consumption.Models.BudgetAssociatedNotification : bool * Azure.ResourceManager.Consumption.Models.NotificationAlertTriggerType * decimal * seq<string> -> Azure.ResourceManager.Consumption.Models.BudgetAssociatedNotification
Public Sub New (isEnabled As Boolean, operator As NotificationAlertTriggerType, threshold As Decimal, contactEmails As IEnumerable(Of String))

Paramètres

isEnabled
Boolean

La notification est activée ou non. Nom sérialisé : Notification.enabled

operator
NotificationAlertTriggerType

Opérateur de comparaison. Nom sérialisé : Notification.operator

threshold
Decimal

Valeur de seuil associée à une notification. Une notification est envoyée lorsque le coût a dépassé le seuil. Il est toujours pourcentage et doit être compris entre 0 et 1000. Nom sérialisé : Notification.threshold

contactEmails
IEnumerable<String>

Email adresses à laquelle envoyer la notification budgétaire lorsque le seuil est dépassé. Doit avoir au moins un e-mail de contact ou un groupe de contacts spécifié dans les étendues Abonnement ou Groupe de ressources. Toutes les autres étendues doivent avoir au moins un e-mail de contact spécifié. Nom sérialisé : Notification.contactEmails

Exceptions

contactEmails a la valeur null.

S’applique à