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

com.pulumi.azure.elasticsan.kotlin.inputs.ElasticSanSkuArgs.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.elasticsan.kotlin.inputs

import com.pulumi.azure.elasticsan.inputs.ElasticSanSkuArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property name The SKU name. Possible values are `Premium_LRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
 * > **NOTE** `Premium_ZRS` SKU is only available in limited Azure regions including `France Central`, `North Europe`, `West Europe`, and `West US 2`. Please refer to this [document](https://azure.microsoft.com/updates/regional-expansion-azure-elastic-san-public-preview-is-now-available-in-more-regions) for more details.
 * @property tier The SKU tier. The only possible value is `Premium`. Defaults to `Premium`.
 */
public data class ElasticSanSkuArgs(
    public val name: Output,
    public val tier: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.elasticsan.inputs.ElasticSanSkuArgs =
        com.pulumi.azure.elasticsan.inputs.ElasticSanSkuArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .tier(tier?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ElasticSanSkuArgs].
 */
@PulumiTagMarker
public class ElasticSanSkuArgsBuilder internal constructor() {
    private var name: Output? = null

    private var tier: Output? = null

    /**
     * @param value The SKU name. Possible values are `Premium_LRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
     * > **NOTE** `Premium_ZRS` SKU is only available in limited Azure regions including `France Central`, `North Europe`, `West Europe`, and `West US 2`. Please refer to this [document](https://azure.microsoft.com/updates/regional-expansion-azure-elastic-san-public-preview-is-now-available-in-more-regions) for more details.
     */
    @JvmName("lojpalmbsricgumt")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The SKU tier. The only possible value is `Premium`. Defaults to `Premium`.
     */
    @JvmName("xlccnbkfseffssxa")
    public suspend fun tier(`value`: Output) {
        this.tier = value
    }

    /**
     * @param value The SKU name. Possible values are `Premium_LRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
     * > **NOTE** `Premium_ZRS` SKU is only available in limited Azure regions including `France Central`, `North Europe`, `West Europe`, and `West US 2`. Please refer to this [document](https://azure.microsoft.com/updates/regional-expansion-azure-elastic-san-public-preview-is-now-available-in-more-regions) for more details.
     */
    @JvmName("xepokgaibdgvmgbf")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The SKU tier. The only possible value is `Premium`. Defaults to `Premium`.
     */
    @JvmName("rdlsyktgvtfmpeuh")
    public suspend fun tier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tier = mapped
    }

    internal fun build(): ElasticSanSkuArgs = ElasticSanSkuArgs(
        name = name ?: throw PulumiNullFieldException("name"),
        tier = tier,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy