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

com.pulumi.azure.compute.kotlin.outputs.VirtualMachineOsProfileWindowsConfig.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.compute.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property additionalUnattendConfigs An `additional_unattend_config` block as defined below.
 * @property enableAutomaticUpgrades Are automatic updates enabled on this Virtual Machine? Defaults to `false`.
 * @property provisionVmAgent Should the Azure Virtual Machine Guest Agent be installed on this Virtual Machine? Defaults to `false`.
 * > **NOTE:** This is different from the Default value used for this field within Azure.
 * @property timezone Specifies the time zone of the virtual machine, [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/). Changing this forces a new resource to be created.
 * @property winrms One or more `winrm` blocks as defined below.
 */
public data class VirtualMachineOsProfileWindowsConfig(
    public val additionalUnattendConfigs: List? = null,
    public val enableAutomaticUpgrades: Boolean? = null,
    public val provisionVmAgent: Boolean? = null,
    public val timezone: String? = null,
    public val winrms: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.VirtualMachineOsProfileWindowsConfig): VirtualMachineOsProfileWindowsConfig = VirtualMachineOsProfileWindowsConfig(
            additionalUnattendConfigs = javaType.additionalUnattendConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.compute.kotlin.outputs.VirtualMachineOsProfileWindowsConfigAdditionalUnattendConfig.Companion.toKotlin(args0)
                })
            }),
            enableAutomaticUpgrades = javaType.enableAutomaticUpgrades().map({ args0 -> args0 }).orElse(null),
            provisionVmAgent = javaType.provisionVmAgent().map({ args0 -> args0 }).orElse(null),
            timezone = javaType.timezone().map({ args0 -> args0 }).orElse(null),
            winrms = javaType.winrms().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.compute.kotlin.outputs.VirtualMachineOsProfileWindowsConfigWinrm.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy