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

com.pulumi.azure.mssql.kotlin.inputs.VirtualMachineStorageConfigurationDataSettingsArgs.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.mssql.kotlin.inputs

import com.pulumi.azure.mssql.inputs.VirtualMachineStorageConfigurationDataSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property defaultFilePath
 * @property luns
 */
public data class VirtualMachineStorageConfigurationDataSettingsArgs(
    public val defaultFilePath: Output,
    public val luns: Output>,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.mssql.inputs.VirtualMachineStorageConfigurationDataSettingsArgs =
        com.pulumi.azure.mssql.inputs.VirtualMachineStorageConfigurationDataSettingsArgs.builder()
            .defaultFilePath(defaultFilePath.applyValue({ args0 -> args0 }))
            .luns(luns.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [VirtualMachineStorageConfigurationDataSettingsArgs].
 */
@PulumiTagMarker
public class VirtualMachineStorageConfigurationDataSettingsArgsBuilder internal constructor() {
    private var defaultFilePath: Output? = null

    private var luns: Output>? = null

    /**
     * @param value
     */
    @JvmName("unfiroybsxiyruyu")
    public suspend fun defaultFilePath(`value`: Output) {
        this.defaultFilePath = value
    }

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

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

    /**
     * @param values
     */
    @JvmName("mckfkobwqdxqnfaf")
    public suspend fun luns(values: List>) {
        this.luns = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("epfihcijomlpktjf")
    public suspend fun defaultFilePath(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.defaultFilePath = mapped
    }

    /**
     * @param value
     */
    @JvmName("xkyebdnogoqkwqyv")
    public suspend fun luns(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.luns = mapped
    }

    /**
     * @param values
     */
    @JvmName("moyantpgekmbagsg")
    public suspend fun luns(vararg values: Int) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.luns = mapped
    }

    internal fun build(): VirtualMachineStorageConfigurationDataSettingsArgs =
        VirtualMachineStorageConfigurationDataSettingsArgs(
            defaultFilePath = defaultFilePath ?: throw PulumiNullFieldException("defaultFilePath"),
            luns = luns ?: throw PulumiNullFieldException("luns"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy