![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.appservice.kotlin.inputs.SlotStorageAccountArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.inputs
import com.pulumi.azure.appservice.inputs.SlotStorageAccountArgs.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 to mount the storage within the site's runtime environment.
* @property name The name of the storage account identifier.
* @property shareName The name of the file share (container name, for Blob storage).
* @property type The type of storage. Possible values are `AzureBlob` and `AzureFiles`.
*/
public data class SlotStorageAccountArgs(
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.SlotStorageAccountArgs =
com.pulumi.azure.appservice.inputs.SlotStorageAccountArgs.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 [SlotStorageAccountArgs].
*/
@PulumiTagMarker
public class SlotStorageAccountArgsBuilder 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("iinujwbaaeahpfqm")
public suspend fun accessKey(`value`: Output) {
this.accessKey = value
}
/**
* @param value The name of the storage account.
*/
@JvmName("qsxoygahjucncegi")
public suspend fun accountName(`value`: Output) {
this.accountName = value
}
/**
* @param value The path to mount the storage within the site's runtime environment.
*/
@JvmName("fwseebvwvdiqcdmb")
public suspend fun mountPath(`value`: Output) {
this.mountPath = value
}
/**
* @param value The name of the storage account identifier.
*/
@JvmName("jugqybwjqoplsjwm")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The name of the file share (container name, for Blob storage).
*/
@JvmName("bvvsfcycxndfayff")
public suspend fun shareName(`value`: Output) {
this.shareName = value
}
/**
* @param value The type of storage. Possible values are `AzureBlob` and `AzureFiles`.
*/
@JvmName("fusnbmpbfdppyoup")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The access key for the storage account.
*/
@JvmName("oxkwqdyowiedcmxx")
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("vwtpovyxgntxtstw")
public suspend fun accountName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.accountName = mapped
}
/**
* @param value The path to mount the storage within the site's runtime environment.
*/
@JvmName("oqbpkfbgbnveeyhu")
public suspend fun mountPath(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mountPath = mapped
}
/**
* @param value The name of the storage account identifier.
*/
@JvmName("lqartibclwnobumu")
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 (container name, for Blob storage).
*/
@JvmName("liurklyeiujcuuyn")
public suspend fun shareName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.shareName = mapped
}
/**
* @param value The type of storage. Possible values are `AzureBlob` and `AzureFiles`.
*/
@JvmName("xnwfdemxvvalavkt")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): SlotStorageAccountArgs = SlotStorageAccountArgs(
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