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

com.pulumi.azure.workloadssap.kotlin.inputs.ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesCentralServerVirtualMachineArgs.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.workloadssap.kotlin.inputs

import com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesCentralServerVirtualMachineArgs.builder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property dataDisks One or more `data_disk` blocks as defined below. Changing this forces a new resource to be created.
 * @property hostName The full name of the host of the Virtual Machine. Changing this forces a new resource to be created.
 * @property networkInterfaceNames A list of full names for the Network Interface of the Virtual Machine. Changing this forces a new resource to be created.
 * @property osDiskName The full name of the OS Disk attached to the Virtual Machine. Changing this forces a new resource to be created.
 * @property virtualMachineName The full name of the Virtual Machine in a single server SAP system. Changing this forces a new resource to be created.
 */
public data class
ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesCentralServerVirtualMachineArgs(
    public val dataDisks:
    Output>? =
        null,
    public val hostName: Output? = null,
    public val networkInterfaceNames: Output>? = null,
    public val osDiskName: Output? = null,
    public val virtualMachineName: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesCentralServerVirtualMachineArgs =
        com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesCentralServerVirtualMachineArgs.builder()
            .dataDisks(
                dataDisks?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .hostName(hostName?.applyValue({ args0 -> args0 }))
            .networkInterfaceNames(networkInterfaceNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .osDiskName(osDiskName?.applyValue({ args0 -> args0 }))
            .virtualMachineName(virtualMachineName?.applyValue({ args0 -> args0 })).build()
}

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

    private var hostName: Output? = null

    private var networkInterfaceNames: Output>? = null

    private var osDiskName: Output? = null

    private var virtualMachineName: Output? = null

    /**
     * @param value One or more `data_disk` blocks as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("afdlxdknxiiqfxog")
    public suspend
    fun dataDisks(`value`: Output>) {
        this.dataDisks = value
    }

    @JvmName("oxkrjteywqnbifjo")
    public suspend fun dataDisks(
        vararg
        values: Output,
    ) {
        this.dataDisks = Output.all(values.asList())
    }

    /**
     * @param values One or more `data_disk` blocks as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("anoeefedtkcprejh")
    public suspend
    fun dataDisks(values: List>) {
        this.dataDisks = Output.all(values)
    }

    /**
     * @param value The full name of the host of the Virtual Machine. Changing this forces a new resource to be created.
     */
    @JvmName("fawossdqqtjeeakv")
    public suspend fun hostName(`value`: Output) {
        this.hostName = value
    }

    /**
     * @param value A list of full names for the Network Interface of the Virtual Machine. Changing this forces a new resource to be created.
     */
    @JvmName("gwssqvocptfapgvu")
    public suspend fun networkInterfaceNames(`value`: Output>) {
        this.networkInterfaceNames = value
    }

    @JvmName("dfyxcssbmtrushvk")
    public suspend fun networkInterfaceNames(vararg values: Output) {
        this.networkInterfaceNames = Output.all(values.asList())
    }

    /**
     * @param values A list of full names for the Network Interface of the Virtual Machine. Changing this forces a new resource to be created.
     */
    @JvmName("akhypisicxptqhvl")
    public suspend fun networkInterfaceNames(values: List>) {
        this.networkInterfaceNames = Output.all(values)
    }

    /**
     * @param value The full name of the OS Disk attached to the Virtual Machine. Changing this forces a new resource to be created.
     */
    @JvmName("xcuavqnximdmqqbp")
    public suspend fun osDiskName(`value`: Output) {
        this.osDiskName = value
    }

    /**
     * @param value The full name of the Virtual Machine in a single server SAP system. Changing this forces a new resource to be created.
     */
    @JvmName("wnbsdedmrshrjsgk")
    public suspend fun virtualMachineName(`value`: Output) {
        this.virtualMachineName = value
    }

    /**
     * @param value One or more `data_disk` blocks as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("eyjcatwgpqqgyecc")
    public suspend
    fun dataDisks(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataDisks = mapped
    }

    /**
     * @param argument One or more `data_disk` blocks as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("gxdisisniygsvuyy")
    public suspend
    fun dataDisks(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesCentralServerVirtualMachineDataDiskArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.dataDisks = mapped
    }

    /**
     * @param argument One or more `data_disk` blocks as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("xbsnschqgppuqdpr")
    public suspend fun dataDisks(
        vararg
        argument: suspend ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesCentralServerVirtualMachineDataDiskArgsBuilder.() -> Unit,
    ) {
        val toBeMapped = argument.toList().map {
            ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesCentralServerVirtualMachineDataDiskArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.dataDisks = mapped
    }

    /**
     * @param argument One or more `data_disk` blocks as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("yututepggbycgmrt")
    public suspend
    fun dataDisks(argument: suspend ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesCentralServerVirtualMachineDataDiskArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesCentralServerVirtualMachineDataDiskArgsBuilder().applySuspend
                    { argument() }.build(),
            )
        val mapped = of(toBeMapped)
        this.dataDisks = mapped
    }

    /**
     * @param values One or more `data_disk` blocks as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("yjgsxepkcyheqhtp")
    public suspend fun dataDisks(
        vararg
        values: ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesCentralServerVirtualMachineDataDiskArgs,
    ) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataDisks = mapped
    }

    /**
     * @param value The full name of the host of the Virtual Machine. Changing this forces a new resource to be created.
     */
    @JvmName("fvbuqqiydhbgwldj")
    public suspend fun hostName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hostName = mapped
    }

    /**
     * @param value A list of full names for the Network Interface of the Virtual Machine. Changing this forces a new resource to be created.
     */
    @JvmName("luaeoisraecithco")
    public suspend fun networkInterfaceNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkInterfaceNames = mapped
    }

    /**
     * @param values A list of full names for the Network Interface of the Virtual Machine. Changing this forces a new resource to be created.
     */
    @JvmName("wbhsjspkkhefefrn")
    public suspend fun networkInterfaceNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.networkInterfaceNames = mapped
    }

    /**
     * @param value The full name of the OS Disk attached to the Virtual Machine. Changing this forces a new resource to be created.
     */
    @JvmName("otgrgtmqnxutsvyp")
    public suspend fun osDiskName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.osDiskName = mapped
    }

    /**
     * @param value The full name of the Virtual Machine in a single server SAP system. Changing this forces a new resource to be created.
     */
    @JvmName("vnoyjrunwjuintbe")
    public suspend fun virtualMachineName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.virtualMachineName = mapped
    }

    internal fun build():
        ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesCentralServerVirtualMachineArgs =
        ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesCentralServerVirtualMachineArgs(
            dataDisks = dataDisks,
            hostName = hostName,
            networkInterfaceNames = networkInterfaceNames,
            osDiskName = osDiskName,
            virtualMachineName = virtualMachineName,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy