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

com.pulumi.azurenative.compute.kotlin.inputs.SkuArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.compute.kotlin.inputs

import com.pulumi.azurenative.compute.inputs.SkuArgs.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 a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.
 * @property capacity Specifies the number of virtual machines in the scale set.
 * @property name The sku name.
 * @property tier Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic** */ public data class SkuArgs( public val capacity: Output? = null, public val name: Output? = null, public val tier: Output? = null, ) : ConvertibleToJava { override fun toJava(): com.pulumi.azurenative.compute.inputs.SkuArgs = com.pulumi.azurenative.compute.inputs.SkuArgs.builder() .capacity(capacity?.applyValue({ args0 -> args0 })) .name(name?.applyValue({ args0 -> args0 })) .tier(tier?.applyValue({ args0 -> args0 })).build() } /** * Builder for [SkuArgs]. */ @PulumiTagMarker public class SkuArgsBuilder internal constructor() { private var capacity: Output? = null private var name: Output? = null private var tier: Output? = null /** * @param value Specifies the number of virtual machines in the scale set. */ @JvmName("yrtkehvypooebjyj") public suspend fun capacity(`value`: Output) { this.capacity = value } /** * @param value The sku name. */ @JvmName("wcpeolpwpjxwoudp") public suspend fun name(`value`: Output) { this.name = value } /** * @param value Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic** */ @JvmName("efnkqfewvkvmrnxm") public suspend fun tier(`value`: Output) { this.tier = value } /** * @param value Specifies the number of virtual machines in the scale set. */ @JvmName("ctsppnuytyafwnom") public suspend fun capacity(`value`: Double?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.capacity = mapped } /** * @param value The sku name. */ @JvmName("iosvhywwmnobhglx") 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 virtual machines in a scale set.

Possible Values:

**Standard**

**Basic** */ @JvmName("elpybrelgulubnjn") public suspend fun tier(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.tier = mapped } internal fun build(): SkuArgs = SkuArgs( capacity = capacity, name = name, tier = tier, ) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy