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

com.pulumi.azurenative.servicefabricmesh.kotlin.inputs.VolumeProviderParametersAzureFileArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.servicefabricmesh.kotlin.inputs

import com.pulumi.azurenative.servicefabricmesh.inputs.VolumeProviderParametersAzureFileArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * This type describes a volume provided by an Azure Files file share.
 * @property accountKey Access key of the Azure storage account for the File Share.
 * @property accountName Name of the Azure storage account for the File Share.
 * @property shareName Name of the Azure Files file share that provides storage for the volume.
 */
public data class VolumeProviderParametersAzureFileArgs(
    public val accountKey: Output? = null,
    public val accountName: Output,
    public val shareName: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.servicefabricmesh.inputs.VolumeProviderParametersAzureFileArgs =
        com.pulumi.azurenative.servicefabricmesh.inputs.VolumeProviderParametersAzureFileArgs.builder()
            .accountKey(accountKey?.applyValue({ args0 -> args0 }))
            .accountName(accountName.applyValue({ args0 -> args0 }))
            .shareName(shareName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VolumeProviderParametersAzureFileArgs].
 */
@PulumiTagMarker
public class VolumeProviderParametersAzureFileArgsBuilder internal constructor() {
    private var accountKey: Output? = null

    private var accountName: Output? = null

    private var shareName: Output? = null

    /**
     * @param value Access key of the Azure storage account for the File Share.
     */
    @JvmName("kfyyeuvalpjbteuw")
    public suspend fun accountKey(`value`: Output) {
        this.accountKey = value
    }

    /**
     * @param value Name of the Azure storage account for the File Share.
     */
    @JvmName("yixgavasnayuwtvh")
    public suspend fun accountName(`value`: Output) {
        this.accountName = value
    }

    /**
     * @param value Name of the Azure Files file share that provides storage for the volume.
     */
    @JvmName("adilexhgvigupjry")
    public suspend fun shareName(`value`: Output) {
        this.shareName = value
    }

    /**
     * @param value Access key of the Azure storage account for the File Share.
     */
    @JvmName("ibcnkhmaxvkfjqse")
    public suspend fun accountKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accountKey = mapped
    }

    /**
     * @param value Name of the Azure storage account for the File Share.
     */
    @JvmName("owwnwyejeicfycnw")
    public suspend fun accountName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.accountName = mapped
    }

    /**
     * @param value Name of the Azure Files file share that provides storage for the volume.
     */
    @JvmName("meyyrfwuwervshbf")
    public suspend fun shareName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.shareName = mapped
    }

    internal fun build(): VolumeProviderParametersAzureFileArgs =
        VolumeProviderParametersAzureFileArgs(
            accountKey = accountKey,
            accountName = accountName ?: throw PulumiNullFieldException("accountName"),
            shareName = shareName ?: throw PulumiNullFieldException("shareName"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy