![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.storagepool.kotlin.inputs.AclArgs.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.storagepool.kotlin.inputs
import com.pulumi.azurenative.storagepool.inputs.AclArgs.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.collections.List
import kotlin.jvm.JvmName
/**
* Access Control List (ACL) for an iSCSI Target; defines LUN masking policy
* @property initiatorIqn iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
* @property mappedLuns List of LUN names mapped to the ACL.
*/
public data class AclArgs(
public val initiatorIqn: Output,
public val mappedLuns: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.storagepool.inputs.AclArgs =
com.pulumi.azurenative.storagepool.inputs.AclArgs.builder()
.initiatorIqn(initiatorIqn.applyValue({ args0 -> args0 }))
.mappedLuns(mappedLuns.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [AclArgs].
*/
@PulumiTagMarker
public class AclArgsBuilder internal constructor() {
private var initiatorIqn: Output? = null
private var mappedLuns: Output>? = null
/**
* @param value iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
*/
@JvmName("wsbrsafmlxscrpwk")
public suspend fun initiatorIqn(`value`: Output) {
this.initiatorIqn = value
}
/**
* @param value List of LUN names mapped to the ACL.
*/
@JvmName("ycdgwpmhflgrsslj")
public suspend fun mappedLuns(`value`: Output>) {
this.mappedLuns = value
}
@JvmName("xablwhxffvwtikxl")
public suspend fun mappedLuns(vararg values: Output) {
this.mappedLuns = Output.all(values.asList())
}
/**
* @param values List of LUN names mapped to the ACL.
*/
@JvmName("aiqjqnxtcysuaxiy")
public suspend fun mappedLuns(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy