com.pulumi.azure.hybrid.kotlin.outputs.GetComputeMachineOsProfile.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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