
com.pulumi.azure.compute.kotlin.inputs.WindowsVirtualMachineScaleSetAdditionalUnattendContentArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.compute.kotlin.inputs
import com.pulumi.azure.compute.inputs.WindowsVirtualMachineScaleSetAdditionalUnattendContentArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property content The XML formatted content that is added to the unattend.xml file for the specified path and component. Changing this forces a new resource to be created.
* @property setting The name of the setting to which the content applies. Possible values are `AutoLogon` and `FirstLogonCommands`. Changing this forces a new resource to be created.
*/
public data class WindowsVirtualMachineScaleSetAdditionalUnattendContentArgs(
public val content: Output,
public val setting: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.WindowsVirtualMachineScaleSetAdditionalUnattendContentArgs =
com.pulumi.azure.compute.inputs.WindowsVirtualMachineScaleSetAdditionalUnattendContentArgs.builder()
.content(content.applyValue({ args0 -> args0 }))
.setting(setting.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WindowsVirtualMachineScaleSetAdditionalUnattendContentArgs].
*/
@PulumiTagMarker
public class WindowsVirtualMachineScaleSetAdditionalUnattendContentArgsBuilder internal constructor() {
private var content: Output? = null
private var setting: Output? = null
/**
* @param value The XML formatted content that is added to the unattend.xml file for the specified path and component. Changing this forces a new resource to be created.
*/
@JvmName("yqwpwqdkpemupvte")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value The name of the setting to which the content applies. Possible values are `AutoLogon` and `FirstLogonCommands`. Changing this forces a new resource to be created.
*/
@JvmName("nbepkbbvxlmfbuup")
public suspend fun setting(`value`: Output) {
this.setting = value
}
/**
* @param value The XML formatted content that is added to the unattend.xml file for the specified path and component. Changing this forces a new resource to be created.
*/
@JvmName("ycebopoaimwfxcyr")
public suspend fun content(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.content = mapped
}
/**
* @param value The name of the setting to which the content applies. Possible values are `AutoLogon` and `FirstLogonCommands`. Changing this forces a new resource to be created.
*/
@JvmName("ttrmptpwwwgcxaie")
public suspend fun setting(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.setting = mapped
}
internal fun build(): WindowsVirtualMachineScaleSetAdditionalUnattendContentArgs =
WindowsVirtualMachineScaleSetAdditionalUnattendContentArgs(
content = content ?: throw PulumiNullFieldException("content"),
setting = setting ?: throw PulumiNullFieldException("setting"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy