![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.compute.kotlin.inputs.CloudServiceRoleSkuArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.compute.kotlin.inputs
import com.pulumi.azurenative.compute.inputs.CloudServiceRoleSkuArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Describes the cloud service role sku.
* @property capacity Specifies the number of role instances in the cloud service.
* @property name The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
* @property tier Specifies the tier of the cloud service. Possible Values are
**Standard**
**Basic**
*/
public data class CloudServiceRoleSkuArgs(
public val capacity: Output? = null,
public val name: Output? = null,
public val tier: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.compute.inputs.CloudServiceRoleSkuArgs =
com.pulumi.azurenative.compute.inputs.CloudServiceRoleSkuArgs.builder()
.capacity(capacity?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.tier(tier?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CloudServiceRoleSkuArgs].
*/
@PulumiTagMarker
public class CloudServiceRoleSkuArgsBuilder internal constructor() {
private var capacity: Output? = null
private var name: Output? = null
private var tier: Output? = null
/**
* @param value Specifies the number of role instances in the cloud service.
*/
@JvmName("cglaillcjolgturr")
public suspend fun capacity(`value`: Output) {
this.capacity = value
}
/**
* @param value The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
*/
@JvmName("ljxthemfateyrufo")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Specifies the tier of the cloud service. Possible Values are
**Standard**
**Basic**
*/
@JvmName("cdrgcugyxctxoorm")
public suspend fun tier(`value`: Output) {
this.tier = value
}
/**
* @param value Specifies the number of role instances in the cloud service.
*/
@JvmName("mbnqcjlcjllsbmic")
public suspend fun capacity(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.capacity = mapped
}
/**
* @param value The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
*/
@JvmName("thkstaeskgupcbys")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Specifies the tier of the cloud service. Possible Values are
**Standard**
**Basic**
*/
@JvmName("utpfctfmkvplsfgq")
public suspend fun tier(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tier = mapped
}
internal fun build(): CloudServiceRoleSkuArgs = CloudServiceRoleSkuArgs(
capacity = capacity,
name = name,
tier = tier,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy