
com.pulumi.azure.desktopvirtualization.kotlin.inputs.ScalingPlanHostPoolArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.desktopvirtualization.kotlin.inputs
import com.pulumi.azure.desktopvirtualization.inputs.ScalingPlanHostPoolArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property hostpoolId The ID of the HostPool to assign the Scaling Plan to.
* @property scalingPlanEnabled Specifies if the scaling plan is enabled or disabled for the HostPool.
*/
public data class ScalingPlanHostPoolArgs(
public val hostpoolId: Output,
public val scalingPlanEnabled: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.desktopvirtualization.inputs.ScalingPlanHostPoolArgs =
com.pulumi.azure.desktopvirtualization.inputs.ScalingPlanHostPoolArgs.builder()
.hostpoolId(hostpoolId.applyValue({ args0 -> args0 }))
.scalingPlanEnabled(scalingPlanEnabled.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ScalingPlanHostPoolArgs].
*/
@PulumiTagMarker
public class ScalingPlanHostPoolArgsBuilder internal constructor() {
private var hostpoolId: Output? = null
private var scalingPlanEnabled: Output? = null
/**
* @param value The ID of the HostPool to assign the Scaling Plan to.
*/
@JvmName("yebcvjcldlptmcky")
public suspend fun hostpoolId(`value`: Output) {
this.hostpoolId = value
}
/**
* @param value Specifies if the scaling plan is enabled or disabled for the HostPool.
*/
@JvmName("fspuywxcjursmjxq")
public suspend fun scalingPlanEnabled(`value`: Output) {
this.scalingPlanEnabled = value
}
/**
* @param value The ID of the HostPool to assign the Scaling Plan to.
*/
@JvmName("cursfbavsipgwhwj")
public suspend fun hostpoolId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.hostpoolId = mapped
}
/**
* @param value Specifies if the scaling plan is enabled or disabled for the HostPool.
*/
@JvmName("acujmiaclskdaule")
public suspend fun scalingPlanEnabled(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.scalingPlanEnabled = mapped
}
internal fun build(): ScalingPlanHostPoolArgs = ScalingPlanHostPoolArgs(
hostpoolId = hostpoolId ?: throw PulumiNullFieldException("hostpoolId"),
scalingPlanEnabled = scalingPlanEnabled ?: throw PulumiNullFieldException("scalingPlanEnabled"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy