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

com.pulumi.azurenative.baremetalinfrastructure.kotlin.outputs.OSProfileResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.baremetalinfrastructure.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Specifies the operating system settings for the Azure Bare Metal instance.
 * @property computerName Specifies the host OS name of the Azure Bare Metal instance.
 * @property osType This property allows you to specify the type of the OS.
 * @property sshPublicKey Specifies the SSH public key used to access the operating system.
 * @property version Specifies version of operating system.
 */
public data class OSProfileResponse(
    public val computerName: String? = null,
    public val osType: String? = null,
    public val sshPublicKey: String? = null,
    public val version: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.baremetalinfrastructure.outputs.OSProfileResponse): OSProfileResponse = OSProfileResponse(
            computerName = javaType.computerName().map({ args0 -> args0 }).orElse(null),
            osType = javaType.osType().map({ args0 -> args0 }).orElse(null),
            sshPublicKey = javaType.sshPublicKey().map({ args0 -> args0 }).orElse(null),
            version = javaType.version().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy