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

com.pulumi.azurenative.connectedvmwarevsphere.kotlin.inputs.InfrastructureProfileArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.connectedvmwarevsphere.kotlin.inputs

import com.pulumi.azurenative.connectedvmwarevsphere.inputs.InfrastructureProfileArgs.builder
import com.pulumi.azurenative.connectedvmwarevsphere.kotlin.enums.FirmwareType
import com.pulumi.core.Either
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 vCenter infrastructure specific settings for the virtual machine.
 * @property firmwareType Firmware type
 * @property inventoryItemId Gets or sets the inventory Item ID for the virtual machine.
 * @property smbiosUuid Gets or sets the SMBIOS UUID of the vm.
 * @property templateId Gets or sets the ARM Id of the template resource to deploy the virtual machine.
 * @property vCenterId Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
 */
public data class InfrastructureProfileArgs(
    public val firmwareType: Output>? = null,
    public val inventoryItemId: Output? = null,
    public val smbiosUuid: Output? = null,
    public val templateId: Output? = null,
    public val vCenterId: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.connectedvmwarevsphere.inputs.InfrastructureProfileArgs =
        com.pulumi.azurenative.connectedvmwarevsphere.inputs.InfrastructureProfileArgs.builder()
            .firmwareType(
                firmwareType?.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .inventoryItemId(inventoryItemId?.applyValue({ args0 -> args0 }))
            .smbiosUuid(smbiosUuid?.applyValue({ args0 -> args0 }))
            .templateId(templateId?.applyValue({ args0 -> args0 }))
            .vCenterId(vCenterId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InfrastructureProfileArgs].
 */
@PulumiTagMarker
public class InfrastructureProfileArgsBuilder internal constructor() {
    private var firmwareType: Output>? = null

    private var inventoryItemId: Output? = null

    private var smbiosUuid: Output? = null

    private var templateId: Output? = null

    private var vCenterId: Output? = null

    /**
     * @param value Firmware type
     */
    @JvmName("cscstrrrvprqamec")
    public suspend fun firmwareType(`value`: Output>) {
        this.firmwareType = value
    }

    /**
     * @param value Gets or sets the inventory Item ID for the virtual machine.
     */
    @JvmName("loaxoeyeppsbllvn")
    public suspend fun inventoryItemId(`value`: Output) {
        this.inventoryItemId = value
    }

    /**
     * @param value Gets or sets the SMBIOS UUID of the vm.
     */
    @JvmName("ottqholwajofuddl")
    public suspend fun smbiosUuid(`value`: Output) {
        this.smbiosUuid = value
    }

    /**
     * @param value Gets or sets the ARM Id of the template resource to deploy the virtual machine.
     */
    @JvmName("ugnpjdittjbvlqrj")
    public suspend fun templateId(`value`: Output) {
        this.templateId = value
    }

    /**
     * @param value Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
     */
    @JvmName("hewwfaeqnojswkea")
    public suspend fun vCenterId(`value`: Output) {
        this.vCenterId = value
    }

    /**
     * @param value Firmware type
     */
    @JvmName("yqykfwftfvdettjt")
    public suspend fun firmwareType(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.firmwareType = mapped
    }

    /**
     * @param value Firmware type
     */
    @JvmName("ibcscnsoqivtxxvx")
    public fun firmwareType(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.firmwareType = mapped
    }

    /**
     * @param value Firmware type
     */
    @JvmName("ggycbngtsmrihsvn")
    public fun firmwareType(`value`: FirmwareType) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.firmwareType = mapped
    }

    /**
     * @param value Gets or sets the inventory Item ID for the virtual machine.
     */
    @JvmName("kfqogjrplrppkstg")
    public suspend fun inventoryItemId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.inventoryItemId = mapped
    }

    /**
     * @param value Gets or sets the SMBIOS UUID of the vm.
     */
    @JvmName("tmbwlqomkgmblvlr")
    public suspend fun smbiosUuid(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.smbiosUuid = mapped
    }

    /**
     * @param value Gets or sets the ARM Id of the template resource to deploy the virtual machine.
     */
    @JvmName("nshyovdshudcumbt")
    public suspend fun templateId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.templateId = mapped
    }

    /**
     * @param value Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
     */
    @JvmName("rcrxobvyyigwcicg")
    public suspend fun vCenterId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vCenterId = mapped
    }

    internal fun build(): InfrastructureProfileArgs = InfrastructureProfileArgs(
        firmwareType = firmwareType,
        inventoryItemId = inventoryItemId,
        smbiosUuid = smbiosUuid,
        templateId = templateId,
        vCenterId = vCenterId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy