com.pulumi.azure.storage.kotlin.inputs.AccountSharePropertiesArgs.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.storage.kotlin.inputs
import com.pulumi.azure.storage.inputs.AccountSharePropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property corsRules A `cors_rule` block as defined below.
* @property retentionPolicy A `retention_policy` block as defined below.
* @property smb A `smb` block as defined below.
*/
public data class AccountSharePropertiesArgs(
public val corsRules: Output>? = null,
public val retentionPolicy: Output? = null,
public val smb: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.storage.inputs.AccountSharePropertiesArgs =
com.pulumi.azure.storage.inputs.AccountSharePropertiesArgs.builder()
.corsRules(
corsRules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.retentionPolicy(retentionPolicy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.smb(smb?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AccountSharePropertiesArgs].
*/
@PulumiTagMarker
public class AccountSharePropertiesArgsBuilder internal constructor() {
private var corsRules: Output>? = null
private var retentionPolicy: Output? = null
private var smb: Output? = null
/**
* @param value A `cors_rule` block as defined below.
*/
@JvmName("adfxaqieqwnfywtn")
public suspend fun corsRules(`value`: Output>) {
this.corsRules = value
}
@JvmName("svxnydnypuvqamop")
public suspend fun corsRules(vararg values: Output) {
this.corsRules = Output.all(values.asList())
}
/**
* @param values A `cors_rule` block as defined below.
*/
@JvmName("xpmwbjicnjgnbwqr")
public suspend fun corsRules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy