NotificationArgs

data class NotificationArgs(val contactEmails: Output<List<String>>, val contactGroups: Output<List<String>>? = null, val contactRoles: Output<List<String>>? = null, val enabled: Output<Boolean>, val locale: Output<Either<String, CultureCode>>? = null, val operator: Output<Either<String, OperatorType>>, val threshold: Output<Double>, val thresholdType: Output<Either<String, ThresholdType>>? = null) : ConvertibleToJava<NotificationArgs>

The notification associated with a budget.

Constructors

Link copied to clipboard
constructor(contactEmails: Output<List<String>>, contactGroups: Output<List<String>>? = null, contactRoles: Output<List<String>>? = null, enabled: Output<Boolean>, locale: Output<Either<String, CultureCode>>? = null, operator: Output<Either<String, OperatorType>>, threshold: Output<Double>, thresholdType: Output<Either<String, ThresholdType>>? = null)

Properties

Link copied to clipboard
val contactEmails: Output<List<String>>

Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified.

Link copied to clipboard
val contactGroups: Output<List<String>>? = null

Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes.

Link copied to clipboard
val contactRoles: Output<List<String>>? = null

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

Link copied to clipboard
val enabled: Output<Boolean>

The notification is enabled or not.

Link copied to clipboard
val locale: Output<Either<String, CultureCode>>? = null

Language in which the recipient will receive the notification

Link copied to clipboard
val operator: Output<Either<String, OperatorType>>

The comparison operator.

Link copied to clipboard
val threshold: Output<Double>

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.

Link copied to clipboard
val thresholdType: Output<Either<String, ThresholdType>>? = null

The type of threshold

Functions

Link copied to clipboard
open override fun toJava(): NotificationArgs