All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.consumption.kotlin.outputs.GetBudgetSubscriptionNotification.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.consumption.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property contactEmails A list of email addresses to send the budget notification to when the threshold is exceeded.
 * @property contactGroups A list of Action Group IDs to send the budget notification to when the threshold is exceeded.
 * @property contactRoles A list of contact roles to send the budget notification to when the threshold is exceeded.
 * @property enabled Whether the notification is enabled.
 * @property operator The operator to used for comparison.
 * @property threshold Threshold value associated with the notification.
 * @property thresholdType
 */
public data class GetBudgetSubscriptionNotification(
    public val contactEmails: List,
    public val contactGroups: List,
    public val contactRoles: List,
    public val enabled: Boolean,
    public val `operator`: String,
    public val threshold: Int,
    public val thresholdType: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.consumption.outputs.GetBudgetSubscriptionNotification): GetBudgetSubscriptionNotification = GetBudgetSubscriptionNotification(
            contactEmails = javaType.contactEmails().map({ args0 -> args0 }),
            contactGroups = javaType.contactGroups().map({ args0 -> args0 }),
            contactRoles = javaType.contactRoles().map({ args0 -> args0 }),
            enabled = javaType.enabled(),
            `operator` = javaType.`operator`(),
            threshold = javaType.threshold(),
            thresholdType = javaType.thresholdType(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy