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

com.pulumi.azurenative.web.kotlin.inputs.AzureStorageInfoValueArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.web.kotlin.inputs

import com.pulumi.azurenative.web.inputs.AzureStorageInfoValueArgs.builder
import com.pulumi.azurenative.web.kotlin.enums.AzureStorageType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Azure Files or Blob Storage access information value for dictionary storage.
 * @property accessKey Access key for the storage account.
 * @property accountName Name of the storage account.
 * @property mountPath Path to mount the storage within the site's runtime environment.
 * @property shareName Name of the file share (container name, for Blob storage).
 * @property type Type of storage.
 */
public data class AzureStorageInfoValueArgs(
    public val accessKey: Output? = null,
    public val accountName: Output? = null,
    public val mountPath: Output? = null,
    public val shareName: Output? = null,
    public val type: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.web.inputs.AzureStorageInfoValueArgs =
        com.pulumi.azurenative.web.inputs.AzureStorageInfoValueArgs.builder()
            .accessKey(accessKey?.applyValue({ args0 -> args0 }))
            .accountName(accountName?.applyValue({ args0 -> args0 }))
            .mountPath(mountPath?.applyValue({ args0 -> args0 }))
            .shareName(shareName?.applyValue({ args0 -> args0 }))
            .type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [AzureStorageInfoValueArgs].
 */
@PulumiTagMarker
public class AzureStorageInfoValueArgsBuilder internal constructor() {
    private var accessKey: Output? = null

    private var accountName: Output? = null

    private var mountPath: Output? = null

    private var shareName: Output? = null

    private var type: Output? = null

    /**
     * @param value Access key for the storage account.
     */
    @JvmName("mckcfvwxufsnesqf")
    public suspend fun accessKey(`value`: Output) {
        this.accessKey = value
    }

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

    /**
     * @param value Path to mount the storage within the site's runtime environment.
     */
    @JvmName("dsfcluwmfgxxwktt")
    public suspend fun mountPath(`value`: Output) {
        this.mountPath = value
    }

    /**
     * @param value Name of the file share (container name, for Blob storage).
     */
    @JvmName("nlmcsaxqrhyuqfkj")
    public suspend fun shareName(`value`: Output) {
        this.shareName = value
    }

    /**
     * @param value Type of storage.
     */
    @JvmName("rminvkxwgovddcbc")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

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

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

    /**
     * @param value Path to mount the storage within the site's runtime environment.
     */
    @JvmName("cwvnfjqnsjwokdsr")
    public suspend fun mountPath(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mountPath = mapped
    }

    /**
     * @param value Name of the file share (container name, for Blob storage).
     */
    @JvmName("ykuclaxsgkrasdip")
    public suspend fun shareName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.shareName = mapped
    }

    /**
     * @param value Type of storage.
     */
    @JvmName("ewtiuwhyoycvqcxq")
    public suspend fun type(`value`: AzureStorageType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): AzureStorageInfoValueArgs = AzureStorageInfoValueArgs(
        accessKey = accessKey,
        accountName = accountName,
        mountPath = mountPath,
        shareName = shareName,
        type = type,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy