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

com.pulumi.azure.netapp.kotlin.inputs.GetVolumePlainArgs.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.netapp.kotlin.inputs

import com.pulumi.azure.netapp.inputs.GetVolumePlainArgs.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 getVolume.
 * @property accountName The name of the NetApp account where the NetApp pool exists.
 * @property name The name of the NetApp Volume.
 * @property poolName The name of the NetApp pool where the NetApp volume exists.
 * @property resourceGroupName The Name of the Resource Group where the NetApp Volume exists.
 * @property securityStyle Volume security style
 */
public data class GetVolumePlainArgs(
    public val accountName: String,
    public val name: String,
    public val poolName: String,
    public val resourceGroupName: String,
    public val securityStyle: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.netapp.inputs.GetVolumePlainArgs =
        com.pulumi.azure.netapp.inputs.GetVolumePlainArgs.builder()
            .accountName(accountName.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 }))
            .poolName(poolName.let({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
            .securityStyle(securityStyle?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetVolumePlainArgs].
 */
@PulumiTagMarker
public class GetVolumePlainArgsBuilder internal constructor() {
    private var accountName: String? = null

    private var name: String? = null

    private var poolName: String? = null

    private var resourceGroupName: String? = null

    private var securityStyle: String? = null

    /**
     * @param value The name of the NetApp account where the NetApp pool exists.
     */
    @JvmName("myewulmujevpobps")
    public suspend fun accountName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.accountName = mapped
    }

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

    /**
     * @param value The name of the NetApp pool where the NetApp volume exists.
     */
    @JvmName("jurdhnoqjuuvsjcc")
    public suspend fun poolName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.poolName = mapped
    }

    /**
     * @param value The Name of the Resource Group where the NetApp Volume exists.
     */
    @JvmName("iqvyfuvlbjhoilvr")
    public suspend fun resourceGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.resourceGroupName = mapped
    }

    /**
     * @param value Volume security style
     */
    @JvmName("sgmoekiqfldjuame")
    public suspend fun securityStyle(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.securityStyle = mapped
    }

    internal fun build(): GetVolumePlainArgs = GetVolumePlainArgs(
        accountName = accountName ?: throw PulumiNullFieldException("accountName"),
        name = name ?: throw PulumiNullFieldException("name"),
        poolName = poolName ?: throw PulumiNullFieldException("poolName"),
        resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
        securityStyle = securityStyle,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy