![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.consumption.kotlin.outputs.ForecastSpendResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.consumption.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
/**
* The forecasted cost which is being tracked for a budget.
* @property amount The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type.
* @property unit The unit of measure for the budget amount.
*/
public data class ForecastSpendResponse(
public val amount: Double,
public val unit: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.consumption.outputs.ForecastSpendResponse): ForecastSpendResponse = ForecastSpendResponse(
amount = javaType.amount(),
unit = javaType.unit(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy