![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.hpc.kotlin.inputs.CacheDefaultAccessPolicyArgs.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.hpc.kotlin.inputs
import com.pulumi.azure.hpc.inputs.CacheDefaultAccessPolicyArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property accessRules One or more `access_rule` blocks (up to three) as defined above.
*/
public data class CacheDefaultAccessPolicyArgs(
public val accessRules: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.hpc.inputs.CacheDefaultAccessPolicyArgs =
com.pulumi.azure.hpc.inputs.CacheDefaultAccessPolicyArgs.builder()
.accessRules(
accessRules.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [CacheDefaultAccessPolicyArgs].
*/
@PulumiTagMarker
public class CacheDefaultAccessPolicyArgsBuilder internal constructor() {
private var accessRules: Output>? = null
/**
* @param value One or more `access_rule` blocks (up to three) as defined above.
*/
@JvmName("bldxgwutfcooqyqn")
public suspend fun accessRules(`value`: Output>) {
this.accessRules = value
}
@JvmName("cnvfkwkjjubfoggl")
public suspend fun accessRules(vararg values: Output) {
this.accessRules = Output.all(values.asList())
}
/**
* @param values One or more `access_rule` blocks (up to three) as defined above.
*/
@JvmName("cspkmxrxjurnsijt")
public suspend fun accessRules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy