
com.pulumi.azurenative.hybridcompute.kotlin.inputs.OSProfileWindowsConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.hybridcompute.kotlin.inputs
import com.pulumi.azurenative.hybridcompute.inputs.OSProfileWindowsConfigurationArgs.builder
import com.pulumi.azurenative.hybridcompute.kotlin.enums.AssessmentModeTypes
import com.pulumi.azurenative.hybridcompute.kotlin.enums.PatchModeTypes
import com.pulumi.core.Either
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
/**
* Specifies the windows configuration for update management.
* @property assessmentMode Specifies the assessment mode.
* @property patchMode Specifies the patch mode.
*/
public data class OSProfileWindowsConfigurationArgs(
public val assessmentMode: Output>? = null,
public val patchMode: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.hybridcompute.inputs.OSProfileWindowsConfigurationArgs =
com.pulumi.azurenative.hybridcompute.inputs.OSProfileWindowsConfigurationArgs.builder()
.assessmentMode(
assessmentMode?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.patchMode(
patchMode?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [OSProfileWindowsConfigurationArgs].
*/
@PulumiTagMarker
public class OSProfileWindowsConfigurationArgsBuilder internal constructor() {
private var assessmentMode: Output>? = null
private var patchMode: Output>? = null
/**
* @param value Specifies the assessment mode.
*/
@JvmName("lfkmkophragisjri")
public suspend fun assessmentMode(`value`: Output>) {
this.assessmentMode = value
}
/**
* @param value Specifies the patch mode.
*/
@JvmName("cfgtjboopgkudddn")
public suspend fun patchMode(`value`: Output>) {
this.patchMode = value
}
/**
* @param value Specifies the assessment mode.
*/
@JvmName("redubyyoukmncfvt")
public suspend fun assessmentMode(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.assessmentMode = mapped
}
/**
* @param value Specifies the assessment mode.
*/
@JvmName("hkeaucimblochoep")
public fun assessmentMode(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.assessmentMode = mapped
}
/**
* @param value Specifies the assessment mode.
*/
@JvmName("mowhiuripswgckpk")
public fun assessmentMode(`value`: AssessmentModeTypes) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.assessmentMode = mapped
}
/**
* @param value Specifies the patch mode.
*/
@JvmName("vijxxpmicflbtifo")
public suspend fun patchMode(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.patchMode = mapped
}
/**
* @param value Specifies the patch mode.
*/
@JvmName("wtwogmnanicxewuy")
public fun patchMode(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.patchMode = mapped
}
/**
* @param value Specifies the patch mode.
*/
@JvmName("nxpewoqhdddkejfr")
public fun patchMode(`value`: PatchModeTypes) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.patchMode = mapped
}
internal fun build(): OSProfileWindowsConfigurationArgs = OSProfileWindowsConfigurationArgs(
assessmentMode = assessmentMode,
patchMode = patchMode,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy