com.pulumi.azure.elasticsan.kotlin.outputs.ElasticSanSku.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.elasticsan.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @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 ElasticSanSku(
public val name: String,
public val tier: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.elasticsan.outputs.ElasticSanSku): ElasticSanSku = ElasticSanSku(
name = javaType.name(),
tier = javaType.tier().map({ args0 -> args0 }).orElse(null),
)
}
}