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

com.pulumi.azure.compute.kotlin.outputs.CapacityReservationSku.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.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