Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.mssql.kotlin.inputs
import com.pulumi.azure.mssql.inputs.ElasticPoolSkuArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property capacity The scale up/out capacity, representing server's compute units. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools).
* @property family The `family` of hardware `Gen4`, `Gen5`, `Fsv2` or `DC`.
* @property name Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either `vCore` based or `DTU` based. Possible `DTU` based values are `BasicPool`, `StandardPool`, `PremiumPool` while possible `vCore` based values are `GP_Gen4`, `GP_Gen5`, `GP_Fsv2`, `GP_DC`, `BC_Gen4`, `BC_Gen5`, `BC_DC`, `HS_PRMS`, or `HS_Gen5`.
* @property tier The tier of the particular SKU. Possible values are `GeneralPurpose`, `BusinessCritical`, `Basic`, `Standard`, `Premium`, or `HyperScale`. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools).
*/
public data class ElasticPoolSkuArgs(
public val capacity: Output,
public val family: Output? = null,
public val name: Output,
public val tier: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.mssql.inputs.ElasticPoolSkuArgs =
com.pulumi.azure.mssql.inputs.ElasticPoolSkuArgs.builder()
.capacity(capacity.applyValue({ args0 -> args0 }))
.family(family?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.tier(tier.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ElasticPoolSkuArgs].
*/
@PulumiTagMarker
public class ElasticPoolSkuArgsBuilder internal constructor() {
private var capacity: Output? = null
private var family: Output? = null
private var name: Output? = null
private var tier: Output? = null
/**
* @param value The scale up/out capacity, representing server's compute units. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools).
*/
@JvmName("svrvbritknkajrtj")
public suspend fun capacity(`value`: Output) {
this.capacity = value
}
/**
* @param value The `family` of hardware `Gen4`, `Gen5`, `Fsv2` or `DC`.
*/
@JvmName("jppvkdxnyakyvfki")
public suspend fun family(`value`: Output) {
this.family = value
}
/**
* @param value Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either `vCore` based or `DTU` based. Possible `DTU` based values are `BasicPool`, `StandardPool`, `PremiumPool` while possible `vCore` based values are `GP_Gen4`, `GP_Gen5`, `GP_Fsv2`, `GP_DC`, `BC_Gen4`, `BC_Gen5`, `BC_DC`, `HS_PRMS`, or `HS_Gen5`.
*/
@JvmName("gussbiiyttnckeyl")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The tier of the particular SKU. Possible values are `GeneralPurpose`, `BusinessCritical`, `Basic`, `Standard`, `Premium`, or `HyperScale`. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools).
*/
@JvmName("dnbpuotpmwpefmtb")
public suspend fun tier(`value`: Output) {
this.tier = value
}
/**
* @param value The scale up/out capacity, representing server's compute units. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools).
*/
@JvmName("neoyfbxobvatokri")
public suspend fun capacity(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.capacity = mapped
}
/**
* @param value The `family` of hardware `Gen4`, `Gen5`, `Fsv2` or `DC`.
*/
@JvmName("gtrnblehhfcpnxxv")
public suspend fun family(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.family = mapped
}
/**
* @param value Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either `vCore` based or `DTU` based. Possible `DTU` based values are `BasicPool`, `StandardPool`, `PremiumPool` while possible `vCore` based values are `GP_Gen4`, `GP_Gen5`, `GP_Fsv2`, `GP_DC`, `BC_Gen4`, `BC_Gen5`, `BC_DC`, `HS_PRMS`, or `HS_Gen5`.
*/
@JvmName("qvhtifnpcdjfckpf")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The tier of the particular SKU. Possible values are `GeneralPurpose`, `BusinessCritical`, `Basic`, `Standard`, `Premium`, or `HyperScale`. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools).
*/
@JvmName("mnmqmfsprwashjpl")
public suspend fun tier(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tier = mapped
}
internal fun build(): ElasticPoolSkuArgs = ElasticPoolSkuArgs(
capacity = capacity ?: throw PulumiNullFieldException("capacity"),
family = family,
name = name ?: throw PulumiNullFieldException("name"),
tier = tier ?: throw PulumiNullFieldException("tier"),
)
}