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

com.pulumi.azurenative.baremetalinfrastructure.kotlin.AzureBareMetalInstanceArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.baremetalinfrastructure.kotlin

import com.pulumi.azurenative.baremetalinfrastructure.AzureBareMetalInstanceArgs.builder
import com.pulumi.azurenative.baremetalinfrastructure.kotlin.enums.AzureBareMetalInstancePowerStateEnum
import com.pulumi.azurenative.baremetalinfrastructure.kotlin.inputs.HardwareProfileArgs
import com.pulumi.azurenative.baremetalinfrastructure.kotlin.inputs.HardwareProfileArgsBuilder
import com.pulumi.azurenative.baremetalinfrastructure.kotlin.inputs.NetworkProfileArgs
import com.pulumi.azurenative.baremetalinfrastructure.kotlin.inputs.NetworkProfileArgsBuilder
import com.pulumi.azurenative.baremetalinfrastructure.kotlin.inputs.OSProfileArgs
import com.pulumi.azurenative.baremetalinfrastructure.kotlin.inputs.OSProfileArgsBuilder
import com.pulumi.azurenative.baremetalinfrastructure.kotlin.inputs.StorageProfileArgs
import com.pulumi.azurenative.baremetalinfrastructure.kotlin.inputs.StorageProfileArgsBuilder
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 com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * AzureBareMetal instance info on Azure (ARM properties and AzureBareMetal properties)
 * Azure REST API version: 2024-08-01-preview.
 * ## Example Usage
 * ### AzureBareMetalInstances_Create
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using AzureNative = Pulumi.AzureNative;
 * return await Deployment.RunAsync(() =>
 * {
 *     var azureBareMetalInstance = new AzureNative.BareMetalInfrastructure.AzureBareMetalInstance("azureBareMetalInstance", new()
 *     {
 *         AzureBareMetalInstanceId = "23415635-4d7e-41dc-9598-8194f22c24e1",
 *         AzureBareMetalInstanceName = "myBMIInstance",
 *         HardwareProfile = new AzureNative.BareMetalInfrastructure.Inputs.HardwareProfileArgs
 *         {
 *             AzureBareMetalInstanceSize = AzureNative.BareMetalInfrastructure.AzureBareMetalInstanceSizeNamesEnum.S72,
 *             HardwareType = AzureNative.BareMetalInfrastructure.AzureBareMetalHardwareTypeNamesEnum.Cisco_UCS,
 *         },
 *         HwRevision = "Rev 3",
 *         Location = "westus",
 *         NetworkProfile = new AzureNative.BareMetalInfrastructure.Inputs.NetworkProfileArgs
 *         {
 *             CircuitId = "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit",
 *             NetworkInterfaces = new[]
 *             {
 *                 new AzureNative.BareMetalInfrastructure.Inputs.NetworkInterfaceArgs
 *                 {
 *                     IpAddress = "100.100.100.100",
 *                 },
 *             },
 *         },
 *         OsProfile = new AzureNative.BareMetalInfrastructure.Inputs.OSProfileArgs
 *         {
 *             ComputerName = "myComputerName",
 *             OsType = "SUSE",
 *             SshPublicKey = "{ssh-rsa public key}",
 *             Version = "12 SP1",
 *         },
 *         PowerState = AzureNative.BareMetalInfrastructure.AzureBareMetalInstancePowerStateEnum.Started,
 *         ProximityPlacementGroup = "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup",
 *         ResourceGroupName = "myResourceGroup",
 *         StorageProfile = new AzureNative.BareMetalInfrastructure.Inputs.StorageProfileArgs
 *         {
 *             NfsIpAddress = "200.200.200.200",
 *         },
 *         Tags =
 *         {
 *             { "testkey", "testvalue" },
 *         },
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	baremetalinfrastructure "github.com/pulumi/pulumi-azure-native-sdk/baremetalinfrastructure/v2"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := baremetalinfrastructure.NewAzureBareMetalInstance(ctx, "azureBareMetalInstance", &baremetalinfrastructure.AzureBareMetalInstanceArgs{
 * 			AzureBareMetalInstanceId:   pulumi.String("23415635-4d7e-41dc-9598-8194f22c24e1"),
 * 			AzureBareMetalInstanceName: pulumi.String("myBMIInstance"),
 * 			HardwareProfile: &baremetalinfrastructure.HardwareProfileArgs{
 * 				AzureBareMetalInstanceSize: pulumi.String(baremetalinfrastructure.AzureBareMetalInstanceSizeNamesEnumS72),
 * 				HardwareType:               pulumi.String(baremetalinfrastructure.AzureBareMetalHardwareTypeNamesEnum_Cisco_UCS),
 * 			},
 * 			HwRevision: pulumi.String("Rev 3"),
 * 			Location:   pulumi.String("westus"),
 * 			NetworkProfile: &baremetalinfrastructure.NetworkProfileArgs{
 * 				CircuitId: pulumi.String("/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit"),
 * 				NetworkInterfaces: baremetalinfrastructure.NetworkInterfaceArray{
 * 					&baremetalinfrastructure.NetworkInterfaceArgs{
 * 						IpAddress: pulumi.String("100.100.100.100"),
 * 					},
 * 				},
 * 			},
 * 			OsProfile: &baremetalinfrastructure.OSProfileArgs{
 * 				ComputerName: pulumi.String("myComputerName"),
 * 				OsType:       pulumi.String("SUSE"),
 * 				SshPublicKey: pulumi.String("{ssh-rsa public key}"),
 * 				Version:      pulumi.String("12 SP1"),
 * 			},
 * 			PowerState:              pulumi.String(baremetalinfrastructure.AzureBareMetalInstancePowerStateEnumStarted),
 * 			ProximityPlacementGroup: pulumi.String("/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup"),
 * 			ResourceGroupName:       pulumi.String("myResourceGroup"),
 * 			StorageProfile: &baremetalinfrastructure.StorageProfileArgs{
 * 				NfsIpAddress: pulumi.String("200.200.200.200"),
 * 			},
 * 			Tags: pulumi.StringMap{
 * 				"testkey": pulumi.String("testvalue"),
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.baremetalinfrastructure.AzureBareMetalInstance;
 * import com.pulumi.azurenative.baremetalinfrastructure.AzureBareMetalInstanceArgs;
 * import com.pulumi.azurenative.baremetalinfrastructure.inputs.HardwareProfileArgs;
 * import com.pulumi.azurenative.baremetalinfrastructure.inputs.NetworkProfileArgs;
 * import com.pulumi.azurenative.baremetalinfrastructure.inputs.OSProfileArgs;
 * import com.pulumi.azurenative.baremetalinfrastructure.inputs.StorageProfileArgs;
 * import java.util.List;
 * import java.util.ArrayList;
 * import java.util.Map;
 * import java.io.File;
 * import java.nio.file.Files;
 * import java.nio.file.Paths;
 * public class App {
 *     public static void main(String[] args) {
 *         Pulumi.run(App::stack);
 *     }
 *     public static void stack(Context ctx) {
 *         var azureBareMetalInstance = new AzureBareMetalInstance("azureBareMetalInstance", AzureBareMetalInstanceArgs.builder()
 *             .azureBareMetalInstanceId("23415635-4d7e-41dc-9598-8194f22c24e1")
 *             .azureBareMetalInstanceName("myBMIInstance")
 *             .hardwareProfile(HardwareProfileArgs.builder()
 *                 .azureBareMetalInstanceSize("S72")
 *                 .hardwareType("Cisco_UCS")
 *                 .build())
 *             .hwRevision("Rev 3")
 *             .location("westus")
 *             .networkProfile(NetworkProfileArgs.builder()
 *                 .circuitId("/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit")
 *                 .networkInterfaces(NetworkInterfaceArgs.builder()
 *                     .ipAddress("100.100.100.100")
 *                     .build())
 *                 .build())
 *             .osProfile(OSProfileArgs.builder()
 *                 .computerName("myComputerName")
 *                 .osType("SUSE")
 *                 .sshPublicKey("{ssh-rsa public key}")
 *                 .version("12 SP1")
 *                 .build())
 *             .powerState("started")
 *             .proximityPlacementGroup("/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup")
 *             .resourceGroupName("myResourceGroup")
 *             .storageProfile(StorageProfileArgs.builder()
 *                 .nfsIpAddress("200.200.200.200")
 *                 .build())
 *             .tags(Map.of("testkey", "testvalue"))
 *             .build());
 *     }
 * }
 * ```
 * ## Import
 * An existing resource can be imported using its type token, name, and identifier, e.g.
 * ```sh
 * $ pulumi import azure-native:baremetalinfrastructure:AzureBareMetalInstance myBMIInstance /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}
 * ```
 * @property azureBareMetalInstanceId Specifies the Azure Bare Metal Instance unique ID.
 * @property azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the ResourceName.
 * @property hardwareProfile Specifies the hardware settings for the Azure Bare Metal Instance.
 * @property hwRevision Hardware revision of an Azure Bare Metal Instance
 * @property location The geo-location where the resource lives
 * @property networkProfile Specifies the network settings for the Azure Bare Metal Instance.
 * @property osProfile Specifies the operating system settings for the Azure Bare Metal Instance.
 * @property partnerNodeId ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance
 * @property powerState Resource power state
 * @property proximityPlacementGroup Resource proximity placement group
 * @property resourceGroupName The name of the resource group. The name is case insensitive.
 * @property storageProfile Specifies the storage settings for the Azure Bare Metal Instance disks.
 * @property tags Resource tags.
 */
public data class AzureBareMetalInstanceArgs(
    public val azureBareMetalInstanceId: Output? = null,
    public val azureBareMetalInstanceName: Output? = null,
    public val hardwareProfile: Output? = null,
    public val hwRevision: Output? = null,
    public val location: Output? = null,
    public val networkProfile: Output? = null,
    public val osProfile: Output? = null,
    public val partnerNodeId: Output? = null,
    public val powerState: Output>? = null,
    public val proximityPlacementGroup: Output? = null,
    public val resourceGroupName: Output? = null,
    public val storageProfile: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.baremetalinfrastructure.AzureBareMetalInstanceArgs =
        com.pulumi.azurenative.baremetalinfrastructure.AzureBareMetalInstanceArgs.builder()
            .azureBareMetalInstanceId(azureBareMetalInstanceId?.applyValue({ args0 -> args0 }))
            .azureBareMetalInstanceName(azureBareMetalInstanceName?.applyValue({ args0 -> args0 }))
            .hardwareProfile(hardwareProfile?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .hwRevision(hwRevision?.applyValue({ args0 -> args0 }))
            .location(location?.applyValue({ args0 -> args0 }))
            .networkProfile(networkProfile?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .osProfile(osProfile?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .partnerNodeId(partnerNodeId?.applyValue({ args0 -> args0 }))
            .powerState(
                powerState?.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .proximityPlacementGroup(proximityPlacementGroup?.applyValue({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
            .storageProfile(storageProfile?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [AzureBareMetalInstanceArgs].
 */
@PulumiTagMarker
public class AzureBareMetalInstanceArgsBuilder internal constructor() {
    private var azureBareMetalInstanceId: Output? = null

    private var azureBareMetalInstanceName: Output? = null

    private var hardwareProfile: Output? = null

    private var hwRevision: Output? = null

    private var location: Output? = null

    private var networkProfile: Output? = null

    private var osProfile: Output? = null

    private var partnerNodeId: Output? = null

    private var powerState: Output>? = null

    private var proximityPlacementGroup: Output? = null

    private var resourceGroupName: Output? = null

    private var storageProfile: Output? = null

    private var tags: Output>? = null

    /**
     * @param value Specifies the Azure Bare Metal Instance unique ID.
     */
    @JvmName("yraowtssbdntivpf")
    public suspend fun azureBareMetalInstanceId(`value`: Output) {
        this.azureBareMetalInstanceId = value
    }

    /**
     * @param value Name of the Azure Bare Metal Instance, also known as the ResourceName.
     */
    @JvmName("ujjaxjekhihbsdnd")
    public suspend fun azureBareMetalInstanceName(`value`: Output) {
        this.azureBareMetalInstanceName = value
    }

    /**
     * @param value Specifies the hardware settings for the Azure Bare Metal Instance.
     */
    @JvmName("ygvwdpamkucgkcme")
    public suspend fun hardwareProfile(`value`: Output) {
        this.hardwareProfile = value
    }

    /**
     * @param value Hardware revision of an Azure Bare Metal Instance
     */
    @JvmName("ubiclwwfkresujec")
    public suspend fun hwRevision(`value`: Output) {
        this.hwRevision = value
    }

    /**
     * @param value The geo-location where the resource lives
     */
    @JvmName("uloojoetumncgped")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value Specifies the network settings for the Azure Bare Metal Instance.
     */
    @JvmName("culnecsncwlurxbv")
    public suspend fun networkProfile(`value`: Output) {
        this.networkProfile = value
    }

    /**
     * @param value Specifies the operating system settings for the Azure Bare Metal Instance.
     */
    @JvmName("jmfwcvgerdvobgfj")
    public suspend fun osProfile(`value`: Output) {
        this.osProfile = value
    }

    /**
     * @param value ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance
     */
    @JvmName("yfhsaluddttvfejo")
    public suspend fun partnerNodeId(`value`: Output) {
        this.partnerNodeId = value
    }

    /**
     * @param value Resource power state
     */
    @JvmName("luxmyudbxxrhqwmn")
    public suspend fun powerState(`value`: Output>) {
        this.powerState = value
    }

    /**
     * @param value Resource proximity placement group
     */
    @JvmName("ljgwqgbdntnwtdjq")
    public suspend fun proximityPlacementGroup(`value`: Output) {
        this.proximityPlacementGroup = value
    }

    /**
     * @param value The name of the resource group. The name is case insensitive.
     */
    @JvmName("kbwawejeghakabcu")
    public suspend fun resourceGroupName(`value`: Output) {
        this.resourceGroupName = value
    }

    /**
     * @param value Specifies the storage settings for the Azure Bare Metal Instance disks.
     */
    @JvmName("mvbpmsvyxatvdbpm")
    public suspend fun storageProfile(`value`: Output) {
        this.storageProfile = value
    }

    /**
     * @param value Resource tags.
     */
    @JvmName("yorpnifkybppsjaj")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value Specifies the Azure Bare Metal Instance unique ID.
     */
    @JvmName("hrejrmcmpgeeqkoa")
    public suspend fun azureBareMetalInstanceId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.azureBareMetalInstanceId = mapped
    }

    /**
     * @param value Name of the Azure Bare Metal Instance, also known as the ResourceName.
     */
    @JvmName("ffakaxugohbufpdh")
    public suspend fun azureBareMetalInstanceName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.azureBareMetalInstanceName = mapped
    }

    /**
     * @param value Specifies the hardware settings for the Azure Bare Metal Instance.
     */
    @JvmName("aidgxgpsuerxbxvi")
    public suspend fun hardwareProfile(`value`: HardwareProfileArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hardwareProfile = mapped
    }

    /**
     * @param argument Specifies the hardware settings for the Azure Bare Metal Instance.
     */
    @JvmName("qetnflenagayjnuc")
    public suspend fun hardwareProfile(argument: suspend HardwareProfileArgsBuilder.() -> Unit) {
        val toBeMapped = HardwareProfileArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.hardwareProfile = mapped
    }

    /**
     * @param value Hardware revision of an Azure Bare Metal Instance
     */
    @JvmName("gvlqrswixvhvoyel")
    public suspend fun hwRevision(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hwRevision = mapped
    }

    /**
     * @param value The geo-location where the resource lives
     */
    @JvmName("utqxbsplddeyjtaj")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value Specifies the network settings for the Azure Bare Metal Instance.
     */
    @JvmName("knxwxkjnorhpqpjc")
    public suspend fun networkProfile(`value`: NetworkProfileArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkProfile = mapped
    }

    /**
     * @param argument Specifies the network settings for the Azure Bare Metal Instance.
     */
    @JvmName("dunmnyyhmitnsnmg")
    public suspend fun networkProfile(argument: suspend NetworkProfileArgsBuilder.() -> Unit) {
        val toBeMapped = NetworkProfileArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.networkProfile = mapped
    }

    /**
     * @param value Specifies the operating system settings for the Azure Bare Metal Instance.
     */
    @JvmName("tfdwtkmmbbpdtqay")
    public suspend fun osProfile(`value`: OSProfileArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.osProfile = mapped
    }

    /**
     * @param argument Specifies the operating system settings for the Azure Bare Metal Instance.
     */
    @JvmName("gurygydvcdoinadh")
    public suspend fun osProfile(argument: suspend OSProfileArgsBuilder.() -> Unit) {
        val toBeMapped = OSProfileArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.osProfile = mapped
    }

    /**
     * @param value ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance
     */
    @JvmName("uaxedwxvqruoukyx")
    public suspend fun partnerNodeId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.partnerNodeId = mapped
    }

    /**
     * @param value Resource power state
     */
    @JvmName("ffbihgjltbiuqmyg")
    public suspend fun powerState(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.powerState = mapped
    }

    /**
     * @param value Resource power state
     */
    @JvmName("sugedjplkoasevem")
    public fun powerState(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.powerState = mapped
    }

    /**
     * @param value Resource power state
     */
    @JvmName("pexylwuahtvyenjc")
    public fun powerState(`value`: AzureBareMetalInstancePowerStateEnum) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.powerState = mapped
    }

    /**
     * @param value Resource proximity placement group
     */
    @JvmName("aughbrecevfvwaoc")
    public suspend fun proximityPlacementGroup(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.proximityPlacementGroup = mapped
    }

    /**
     * @param value The name of the resource group. The name is case insensitive.
     */
    @JvmName("hmdklrhlgsewibyn")
    public suspend fun resourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceGroupName = mapped
    }

    /**
     * @param value Specifies the storage settings for the Azure Bare Metal Instance disks.
     */
    @JvmName("tdodvuibibmcbpfd")
    public suspend fun storageProfile(`value`: StorageProfileArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storageProfile = mapped
    }

    /**
     * @param argument Specifies the storage settings for the Azure Bare Metal Instance disks.
     */
    @JvmName("dwfwfatjtehtqghw")
    public suspend fun storageProfile(argument: suspend StorageProfileArgsBuilder.() -> Unit) {
        val toBeMapped = StorageProfileArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.storageProfile = mapped
    }

    /**
     * @param value Resource tags.
     */
    @JvmName("egplmguovpnmvurs")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values Resource tags.
     */
    @JvmName("qlfquqdricwgvuke")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): AzureBareMetalInstanceArgs = AzureBareMetalInstanceArgs(
        azureBareMetalInstanceId = azureBareMetalInstanceId,
        azureBareMetalInstanceName = azureBareMetalInstanceName,
        hardwareProfile = hardwareProfile,
        hwRevision = hwRevision,
        location = location,
        networkProfile = networkProfile,
        osProfile = osProfile,
        partnerNodeId = partnerNodeId,
        powerState = powerState,
        proximityPlacementGroup = proximityPlacementGroup,
        resourceGroupName = resourceGroupName,
        storageProfile = storageProfile,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy