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

com.pulumi.azure.appservice.kotlin.inputs.LinuxWebAppSlotStorageAccountArgs.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.appservice.kotlin.inputs

import com.pulumi.azure.appservice.inputs.LinuxWebAppSlotStorageAccountArgs.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

/**
 *
 * @property accessKey The Access key for the storage account.
 * @property accountName The Name of the Storage Account.
 * @property mountPath The path at which to mount the storage share.
 * @property name The name which should be used for this Storage Account.
 * @property shareName The Name of the File Share or Container Name for Blob storage.
 * @property type The Azure Storage Type. Possible values include `AzureFiles` and `AzureBlob`
 */
public data class LinuxWebAppSlotStorageAccountArgs(
    public val accessKey: Output,
    public val accountName: Output,
    public val mountPath: Output? = null,
    public val name: Output,
    public val shareName: Output,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.appservice.inputs.LinuxWebAppSlotStorageAccountArgs =
        com.pulumi.azure.appservice.inputs.LinuxWebAppSlotStorageAccountArgs.builder()
            .accessKey(accessKey.applyValue({ args0 -> args0 }))
            .accountName(accountName.applyValue({ args0 -> args0 }))
            .mountPath(mountPath?.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 }))
            .shareName(shareName.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

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

    private var accountName: Output? = null

    private var mountPath: Output? = null

    private var name: Output? = null

    private var shareName: Output? = null

    private var type: Output? = null

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

    /**
     * @param value The Name of the Storage Account.
     */
    @JvmName("fjassgdhbkfkjehn")
    public suspend fun accountName(`value`: Output) {
        this.accountName = value
    }

    /**
     * @param value The path at which to mount the storage share.
     */
    @JvmName("lvtpcvrpqwbiodjj")
    public suspend fun mountPath(`value`: Output) {
        this.mountPath = value
    }

    /**
     * @param value The name which should be used for this Storage Account.
     */
    @JvmName("smwlmdjmvinetfoy")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The Name of the File Share or Container Name for Blob storage.
     */
    @JvmName("ribcmxmsimfxlprm")
    public suspend fun shareName(`value`: Output) {
        this.shareName = value
    }

    /**
     * @param value The Azure Storage Type. Possible values include `AzureFiles` and `AzureBlob`
     */
    @JvmName("emvcgnoeyyasrflc")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

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

    /**
     * @param value The Name of the Storage Account.
     */
    @JvmName("eqpjqegnetaarjbl")
    public suspend fun accountName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.accountName = mapped
    }

    /**
     * @param value The path at which to mount the storage share.
     */
    @JvmName("gcrxtbuuelwwbnbs")
    public suspend fun mountPath(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mountPath = mapped
    }

    /**
     * @param value The name which should be used for this Storage Account.
     */
    @JvmName("wsboisunegfetuna")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The Name of the File Share or Container Name for Blob storage.
     */
    @JvmName("ukseuybodeuagubk")
    public suspend fun shareName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.shareName = mapped
    }

    /**
     * @param value The Azure Storage Type. Possible values include `AzureFiles` and `AzureBlob`
     */
    @JvmName("cstrxoisssmtehxh")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): LinuxWebAppSlotStorageAccountArgs = LinuxWebAppSlotStorageAccountArgs(
        accessKey = accessKey ?: throw PulumiNullFieldException("accessKey"),
        accountName = accountName ?: throw PulumiNullFieldException("accountName"),
        mountPath = mountPath,
        name = name ?: throw PulumiNullFieldException("name"),
        shareName = shareName ?: throw PulumiNullFieldException("shareName"),
        type = type ?: throw PulumiNullFieldException("type"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy