All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.compute.kotlin.inputs.WindowsVirtualMachineAdditionalUnattendContentArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.compute.kotlin.inputs

import com.pulumi.azure.compute.inputs.WindowsVirtualMachineAdditionalUnattendContentArgs.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 WindowsVirtualMachineAdditionalUnattendContentArgs(
    public val content: Output,
    public val setting: Output,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.compute.inputs.WindowsVirtualMachineAdditionalUnattendContentArgs =
        com.pulumi.azure.compute.inputs.WindowsVirtualMachineAdditionalUnattendContentArgs.builder()
            .content(content.applyValue({ args0 -> args0 }))
            .setting(setting.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WindowsVirtualMachineAdditionalUnattendContentArgs].
 */
@PulumiTagMarker
public class WindowsVirtualMachineAdditionalUnattendContentArgsBuilder 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("grxcblfeobrivixk")
    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("svgincfuvaiarbqn")
    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("lfdxshpqrlaxbqyh")
    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("fcgjjyenaahykmwk")
    public suspend fun setting(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.setting = mapped
    }

    internal fun build(): WindowsVirtualMachineAdditionalUnattendContentArgs =
        WindowsVirtualMachineAdditionalUnattendContentArgs(
            content = content ?: throw PulumiNullFieldException("content"),
            setting = setting ?: throw PulumiNullFieldException("setting"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy