com.pulumi.azure.arcmachine.kotlin.outputs.GetOsProfile.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.arcmachine.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property computerName Specifies the host OS name of the Azure Arc machine.
* @property linuxes A `linux` block as defined above.
* @property windows A `windows` block as defined below.
*/
public data class GetOsProfile(
public val computerName: String,
public val linuxes: List,
public val windows: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.arcmachine.outputs.GetOsProfile): GetOsProfile =
GetOsProfile(
computerName = javaType.computerName(),
linuxes = javaType.linuxes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.arcmachine.kotlin.outputs.GetOsProfileLinux.Companion.toKotlin(args0)
})
}),
windows = javaType.windows().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.arcmachine.kotlin.outputs.GetOsProfileWindow.Companion.toKotlin(args0)
})
}),
)
}
}