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

com.pulumi.azure.hybrid.kotlin.outputs.GetComputeMachineOsProfile.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.hybrid.kotlin.outputs

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

/**
 *
 * @property computerName Specifies the host OS name of the hybrid machine.
 * @property linuxConfigurations A `linux_configuration` block as defined above.
 * @property windowsConfigurations A `windows_configuration` block as defined below.
 */
public data class GetComputeMachineOsProfile(
    public val computerName: String,
    public val linuxConfigurations: List,
    public val windowsConfigurations: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.hybrid.outputs.GetComputeMachineOsProfile):
            GetComputeMachineOsProfile = GetComputeMachineOsProfile(
            computerName = javaType.computerName(),
            linuxConfigurations = javaType.linuxConfigurations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.hybrid.kotlin.outputs.GetComputeMachineOsProfileLinuxConfiguration.Companion.toKotlin(args0)
                })
            }),
            windowsConfigurations = javaType.windowsConfigurations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.hybrid.kotlin.outputs.GetComputeMachineOsProfileWindowsConfiguration.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy