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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property endDate The end date for the budget. If not set this will be 10 years after the start date.
 * @property startDate The start date for the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. Changing this forces a new Subscription Consumption Budget to be created.
 */
public data class BudgetSubscriptionTimePeriod(
    public val endDate: String? = null,
    public val startDate: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.consumption.outputs.BudgetSubscriptionTimePeriod): BudgetSubscriptionTimePeriod = BudgetSubscriptionTimePeriod(
            endDate = javaType.endDate().map({ args0 -> args0 }).orElse(null),
            startDate = javaType.startDate(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy