com.pulumi.gcp.netapp.kotlin.inputs.VolumeExportPolicyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.netapp.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.netapp.inputs.VolumeExportPolicyArgs.builder
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 rules Export rules (up to 5) control NFS volume access.
* Structure is documented below.
*/
public data class VolumeExportPolicyArgs(
public val rules: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.netapp.inputs.VolumeExportPolicyArgs =
com.pulumi.gcp.netapp.inputs.VolumeExportPolicyArgs.builder()
.rules(
rules.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [VolumeExportPolicyArgs].
*/
@PulumiTagMarker
public class VolumeExportPolicyArgsBuilder internal constructor() {
private var rules: Output>? = null
/**
* @param value Export rules (up to 5) control NFS volume access.
* Structure is documented below.
*/
@JvmName("gatdnnklratlgrfa")
public suspend fun rules(`value`: Output>) {
this.rules = value
}
@JvmName("osybayrsjwgojkbe")
public suspend fun rules(vararg values: Output) {
this.rules = Output.all(values.asList())
}
/**
* @param values Export rules (up to 5) control NFS volume access.
* Structure is documented below.
*/
@JvmName("yhkxpkgkwrcucjbu")
public suspend fun rules(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy