com.pulumi.azure.storage.kotlin.inputs.DataLakeGen2FilesystemAceArgs.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.DataLakeGen2FilesystemAceArgs.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.jvm.JvmName
/**
*
* @property id Specifies the Object ID of the Azure Active Directory User or Group that the entry relates to. Only valid for `user` or `group` entries.
* @property permissions Specifies the permissions for the entry in `rwx` form. For example, `rwx` gives full permissions but `r--` only gives read permissions.
* More details on ACLs can be found here:
* @property scope Specifies whether the ACE represents an `access` entry or a `default` entry. Default value is `access`.
* @property type Specifies the type of entry. Can be `user`, `group`, `mask` or `other`.
*/
public data class DataLakeGen2FilesystemAceArgs(
public val id: Output? = null,
public val permissions: Output,
public val scope: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.storage.inputs.DataLakeGen2FilesystemAceArgs =
com.pulumi.azure.storage.inputs.DataLakeGen2FilesystemAceArgs.builder()
.id(id?.applyValue({ args0 -> args0 }))
.permissions(permissions.applyValue({ args0 -> args0 }))
.scope(scope?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataLakeGen2FilesystemAceArgs].
*/
@PulumiTagMarker
public class DataLakeGen2FilesystemAceArgsBuilder internal constructor() {
private var id: Output? = null
private var permissions: Output? = null
private var scope: Output? = null
private var type: Output? = null
/**
* @param value Specifies the Object ID of the Azure Active Directory User or Group that the entry relates to. Only valid for `user` or `group` entries.
*/
@JvmName("nufrchajvdfurugl")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value Specifies the permissions for the entry in `rwx` form. For example, `rwx` gives full permissions but `r--` only gives read permissions.
* More details on ACLs can be found here:
*/
@JvmName("rpejkfvnihdrlrmm")
public suspend fun permissions(`value`: Output) {
this.permissions = value
}
/**
* @param value Specifies whether the ACE represents an `access` entry or a `default` entry. Default value is `access`.
*/
@JvmName("eeksvaortovskaiw")
public suspend fun scope(`value`: Output) {
this.scope = value
}
/**
* @param value Specifies the type of entry. Can be `user`, `group`, `mask` or `other`.
*/
@JvmName("bucuemxldmccxndc")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Specifies the Object ID of the Azure Active Directory User or Group that the entry relates to. Only valid for `user` or `group` entries.
*/
@JvmName("cyrcltqrqgcjvdiw")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value Specifies the permissions for the entry in `rwx` form. For example, `rwx` gives full permissions but `r--` only gives read permissions.
* More details on ACLs can be found here:
*/
@JvmName("yyijjcnfjqddgrqy")
public suspend fun permissions(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.permissions = mapped
}
/**
* @param value Specifies whether the ACE represents an `access` entry or a `default` entry. Default value is `access`.
*/
@JvmName("udoiglgfphgojtat")
public suspend fun scope(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.scope = mapped
}
/**
* @param value Specifies the type of entry. Can be `user`, `group`, `mask` or `other`.
*/
@JvmName("idtwgvqbxevqequn")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): DataLakeGen2FilesystemAceArgs = DataLakeGen2FilesystemAceArgs(
id = id,
permissions = permissions ?: throw PulumiNullFieldException("permissions"),
scope = scope,
type = type ?: throw PulumiNullFieldException("type"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy