![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.outputs.CapacityReservationSku.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.compute.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property capacity Specifies the number of instances to be reserved. It must be greater than or equal to `0` and not exceed the quota in the subscription.
* @property name Name of the sku, such as `Standard_F2`. Changing this forces a new resource to be created.
*/
public data class CapacityReservationSku(
public val capacity: Int,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.CapacityReservationSku): CapacityReservationSku = CapacityReservationSku(
capacity = javaType.capacity(),
name = javaType.name(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy