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

com.pulumi.azurenative.azurelargeinstance.kotlin.inputs.OsProfileArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.azurelargeinstance.kotlin.inputs

import com.pulumi.azurenative.azurelargeinstance.inputs.OsProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Specifies the operating system settings for the Azure Large Instance.
 * @property computerName Specifies the host OS name of the Azure Large 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 OsProfileArgs(
    public val computerName: Output? = null,
    public val osType: Output? = null,
    public val sshPublicKey: Output? = null,
    public val version: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.azurelargeinstance.inputs.OsProfileArgs =
        com.pulumi.azurenative.azurelargeinstance.inputs.OsProfileArgs.builder()
            .computerName(computerName?.applyValue({ args0 -> args0 }))
            .osType(osType?.applyValue({ args0 -> args0 }))
            .sshPublicKey(sshPublicKey?.applyValue({ args0 -> args0 }))
            .version(version?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [OsProfileArgs].
 */
@PulumiTagMarker
public class OsProfileArgsBuilder internal constructor() {
    private var computerName: Output? = null

    private var osType: Output? = null

    private var sshPublicKey: Output? = null

    private var version: Output? = null

    /**
     * @param value Specifies the host OS name of the Azure Large Instance.
     */
    @JvmName("fthgjfthbdjvtikm")
    public suspend fun computerName(`value`: Output) {
        this.computerName = value
    }

    /**
     * @param value This property allows you to specify the type of the OS.
     */
    @JvmName("dvjajbkqjdmbrxcq")
    public suspend fun osType(`value`: Output) {
        this.osType = value
    }

    /**
     * @param value Specifies the SSH public key used to access the operating system.
     */
    @JvmName("mhlpduknjrbuqgvs")
    public suspend fun sshPublicKey(`value`: Output) {
        this.sshPublicKey = value
    }

    /**
     * @param value Specifies version of operating system.
     */
    @JvmName("wopngqubcekbvoqr")
    public suspend fun version(`value`: Output) {
        this.version = value
    }

    /**
     * @param value Specifies the host OS name of the Azure Large Instance.
     */
    @JvmName("dwfafsiumochibdb")
    public suspend fun computerName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.computerName = mapped
    }

    /**
     * @param value This property allows you to specify the type of the OS.
     */
    @JvmName("bbnyihpxuyuumwao")
    public suspend fun osType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.osType = mapped
    }

    /**
     * @param value Specifies the SSH public key used to access the operating system.
     */
    @JvmName("ubbvfjcpxsoweeys")
    public suspend fun sshPublicKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sshPublicKey = mapped
    }

    /**
     * @param value Specifies version of operating system.
     */
    @JvmName("osohfhtuhcssgyld")
    public suspend fun version(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.version = mapped
    }

    internal fun build(): OsProfileArgs = OsProfileArgs(
        computerName = computerName,
        osType = osType,
        sshPublicKey = sshPublicKey,
        version = version,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy