![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.consumption.kotlin.outputs.GetBudgetSubscriptionResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.consumption.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getBudgetSubscription.
* @property amount The total amount of cost to track with the budget.
* @property filters A `filter` block as defined below.
* @property id The provider-assigned unique ID for this managed resource.
* @property name The name of the tag to use for the filter.
* @property notifications A `notification` block as defined below.
* @property subscriptionId
* @property timeGrain The time covered by a budget.
* @property timePeriods A `time_period` block as defined below.
*/
public data class GetBudgetSubscriptionResult(
public val amount: Double,
public val filters: List,
public val id: String,
public val name: String,
public val notifications: List,
public val subscriptionId: String,
public val timeGrain: String,
public val timePeriods: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.consumption.outputs.GetBudgetSubscriptionResult): GetBudgetSubscriptionResult = GetBudgetSubscriptionResult(
amount = javaType.amount(),
filters = javaType.filters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.consumption.kotlin.outputs.GetBudgetSubscriptionFilter.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
name = javaType.name(),
notifications = javaType.notifications().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.consumption.kotlin.outputs.GetBudgetSubscriptionNotification.Companion.toKotlin(args0)
})
}),
subscriptionId = javaType.subscriptionId(),
timeGrain = javaType.timeGrain(),
timePeriods = javaType.timePeriods().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.consumption.kotlin.outputs.GetBudgetSubscriptionTimePeriod.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy