All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.storage.kotlin.outputs.DataLakeGen2FilesystemAce.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.storage.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 DataLakeGen2FilesystemAce(
    public val id: String? = null,
    public val permissions: String,
    public val scope: String? = null,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.DataLakeGen2FilesystemAce): DataLakeGen2FilesystemAce = DataLakeGen2FilesystemAce(
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            permissions = javaType.permissions(),
            scope = javaType.scope().map({ args0 -> args0 }).orElse(null),
            type = javaType.type(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy