![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.labservices.kotlin.inputs.ResourceSetArgs.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.labservices.kotlin.inputs
import com.pulumi.azurenative.labservices.inputs.ResourceSetArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Represents a VM and the setting Id it was created for.
* @property resourceSettingId resourceSettingId for the environment
* @property vmResourceId VM resource Id for the environment
*/
public data class ResourceSetArgs(
public val resourceSettingId: Output? = null,
public val vmResourceId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.labservices.inputs.ResourceSetArgs =
com.pulumi.azurenative.labservices.inputs.ResourceSetArgs.builder()
.resourceSettingId(resourceSettingId?.applyValue({ args0 -> args0 }))
.vmResourceId(vmResourceId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ResourceSetArgs].
*/
@PulumiTagMarker
public class ResourceSetArgsBuilder internal constructor() {
private var resourceSettingId: Output? = null
private var vmResourceId: Output? = null
/**
* @param value resourceSettingId for the environment
*/
@JvmName("rphkjenibfwsbrre")
public suspend fun resourceSettingId(`value`: Output) {
this.resourceSettingId = value
}
/**
* @param value VM resource Id for the environment
*/
@JvmName("tpsrdssfirthrohd")
public suspend fun vmResourceId(`value`: Output) {
this.vmResourceId = value
}
/**
* @param value resourceSettingId for the environment
*/
@JvmName("dlpunogiyxklwalk")
public suspend fun resourceSettingId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceSettingId = mapped
}
/**
* @param value VM resource Id for the environment
*/
@JvmName("bvbixtbapesuyyjl")
public suspend fun vmResourceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vmResourceId = mapped
}
internal fun build(): ResourceSetArgs = ResourceSetArgs(
resourceSettingId = resourceSettingId,
vmResourceId = vmResourceId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy