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

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

package com.pulumi.azure.elasticsan.kotlin.inputs

import com.pulumi.azure.elasticsan.inputs.GetVolumeGroupPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getVolumeGroup.
 * @property elasticSanId The Elastic SAN ID within which the Elastic SAN Volume Group exists.
 * @property name The name of the Elastic SAN Volume Group.
 */
public data class GetVolumeGroupPlainArgs(
    public val elasticSanId: String,
    public val name: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.elasticsan.inputs.GetVolumeGroupPlainArgs =
        com.pulumi.azure.elasticsan.inputs.GetVolumeGroupPlainArgs.builder()
            .elasticSanId(elasticSanId.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetVolumeGroupPlainArgs].
 */
@PulumiTagMarker
public class GetVolumeGroupPlainArgsBuilder internal constructor() {
    private var elasticSanId: String? = null

    private var name: String? = null

    /**
     * @param value The Elastic SAN ID within which the Elastic SAN Volume Group exists.
     */
    @JvmName("lvhbrlrdcwiqkotq")
    public suspend fun elasticSanId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.elasticSanId = mapped
    }

    /**
     * @param value The name of the Elastic SAN Volume Group.
     */
    @JvmName("lqwdgnvleqvrbrnx")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    internal fun build(): GetVolumeGroupPlainArgs = GetVolumeGroupPlainArgs(
        elasticSanId = elasticSanId ?: throw PulumiNullFieldException("elasticSanId"),
        name = name ?: throw PulumiNullFieldException("name"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy