![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.app.kotlin.inputs.AzureFilePropertiesArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.app.kotlin.inputs
import com.pulumi.azurenative.app.inputs.AzureFilePropertiesArgs.builder
import com.pulumi.azurenative.app.kotlin.enums.AccessMode
import com.pulumi.core.Either
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 File Properties.
* @property accessMode Access mode for storage
* @property accountKey Storage account key for azure file.
* @property accountName Storage account name for azure file.
* @property shareName Azure file share name.
*/
public data class AzureFilePropertiesArgs(
public val accessMode: Output>? = null,
public val accountKey: Output? = null,
public val accountName: Output? = null,
public val shareName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.app.inputs.AzureFilePropertiesArgs =
com.pulumi.azurenative.app.inputs.AzureFilePropertiesArgs.builder()
.accessMode(
accessMode?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.accountKey(accountKey?.applyValue({ args0 -> args0 }))
.accountName(accountName?.applyValue({ args0 -> args0 }))
.shareName(shareName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AzureFilePropertiesArgs].
*/
@PulumiTagMarker
public class AzureFilePropertiesArgsBuilder internal constructor() {
private var accessMode: Output>? = null
private var accountKey: Output? = null
private var accountName: Output? = null
private var shareName: Output? = null
/**
* @param value Access mode for storage
*/
@JvmName("ylhofprwsrxjjhfm")
public suspend fun accessMode(`value`: Output>) {
this.accessMode = value
}
/**
* @param value Storage account key for azure file.
*/
@JvmName("lmxiidexhjeylwtc")
public suspend fun accountKey(`value`: Output) {
this.accountKey = value
}
/**
* @param value Storage account name for azure file.
*/
@JvmName("fednocruhdhgjguo")
public suspend fun accountName(`value`: Output) {
this.accountName = value
}
/**
* @param value Azure file share name.
*/
@JvmName("ekuhryxqlmxanfkp")
public suspend fun shareName(`value`: Output) {
this.shareName = value
}
/**
* @param value Access mode for storage
*/
@JvmName("pbkvjqjwvjjpbrob")
public suspend fun accessMode(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.accessMode = mapped
}
/**
* @param value Access mode for storage
*/
@JvmName("dyepseynigonhjop")
public fun accessMode(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.accessMode = mapped
}
/**
* @param value Access mode for storage
*/
@JvmName("maceflwuvxlekgfu")
public fun accessMode(`value`: AccessMode) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.accessMode = mapped
}
/**
* @param value Storage account key for azure file.
*/
@JvmName("yfadkqokkvghbssp")
public suspend fun accountKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.accountKey = mapped
}
/**
* @param value Storage account name for azure file.
*/
@JvmName("nsssfwptbgpvsrfx")
public suspend fun accountName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.accountName = mapped
}
/**
* @param value Azure file share name.
*/
@JvmName("qnwuadfbuwvvctqr")
public suspend fun shareName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.shareName = mapped
}
internal fun build(): AzureFilePropertiesArgs = AzureFilePropertiesArgs(
accessMode = accessMode,
accountKey = accountKey,
accountName = accountName,
shareName = shareName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy