![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.hybridcompute.kotlin.inputs.MachineExtensionInstanceViewArgs.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.hybridcompute.kotlin.inputs
import com.pulumi.azurenative.hybridcompute.inputs.MachineExtensionInstanceViewArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Describes the Machine Extension Instance View.
* @property name The machine extension name.
* @property status Instance view status.
* @property type Specifies the type of the extension; an example is "CustomScriptExtension".
* @property typeHandlerVersion Specifies the version of the script handler.
*/
public data class MachineExtensionInstanceViewArgs(
public val name: Output? = null,
public val status: Output? = null,
public val type: Output? = null,
public val typeHandlerVersion: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.hybridcompute.inputs.MachineExtensionInstanceViewArgs =
com.pulumi.azurenative.hybridcompute.inputs.MachineExtensionInstanceViewArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.status(status?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.type(type?.applyValue({ args0 -> args0 }))
.typeHandlerVersion(typeHandlerVersion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MachineExtensionInstanceViewArgs].
*/
@PulumiTagMarker
public class MachineExtensionInstanceViewArgsBuilder internal constructor() {
private var name: Output? = null
private var status: Output? = null
private var type: Output? = null
private var typeHandlerVersion: Output? = null
/**
* @param value The machine extension name.
*/
@JvmName("ehoyrcfrodihacwa")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Instance view status.
*/
@JvmName("odvkxqwuculliapr")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value Specifies the type of the extension; an example is "CustomScriptExtension".
*/
@JvmName("lesqflxwbvhqbkxr")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Specifies the version of the script handler.
*/
@JvmName("cuoqbbbwnqukojet")
public suspend fun typeHandlerVersion(`value`: Output) {
this.typeHandlerVersion = value
}
/**
* @param value The machine extension name.
*/
@JvmName("xrdydrqgjccynqol")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Instance view status.
*/
@JvmName("tiqarxxeibgppkvu")
public suspend fun status(`value`: MachineExtensionInstanceViewStatusArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.status = mapped
}
/**
* @param argument Instance view status.
*/
@JvmName("woiskpjyputhklfn")
public suspend fun status(argument: suspend MachineExtensionInstanceViewStatusArgsBuilder.() -> Unit) {
val toBeMapped = MachineExtensionInstanceViewStatusArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.status = mapped
}
/**
* @param value Specifies the type of the extension; an example is "CustomScriptExtension".
*/
@JvmName("edrmslgnopsumjdv")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value Specifies the version of the script handler.
*/
@JvmName("pifxcnnyhybiryui")
public suspend fun typeHandlerVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.typeHandlerVersion = mapped
}
internal fun build(): MachineExtensionInstanceViewArgs = MachineExtensionInstanceViewArgs(
name = name,
status = status,
type = type,
typeHandlerVersion = typeHandlerVersion,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy