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

com.pulumi.azure.storage.kotlin.inputs.LocalUserPermissionScopePermissionsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.storage.kotlin.inputs

import com.pulumi.azure.storage.inputs.LocalUserPermissionScopePermissionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property create Specifies if the Local User has the create permission for this scope. Defaults to `false`.
 * @property delete Specifies if the Local User has the delete permission for this scope. Defaults to `false`.
 * @property list Specifies if the Local User has the list permission for this scope. Defaults to `false`.
 * @property read Specifies if the Local User has the read permission for this scope. Defaults to `false`.
 * @property write Specifies if the Local User has the write permission for this scope. Defaults to `false`.
 */
public data class LocalUserPermissionScopePermissionsArgs(
    public val create: Output? = null,
    public val delete: Output? = null,
    public val list: Output? = null,
    public val read: Output? = null,
    public val write: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.storage.inputs.LocalUserPermissionScopePermissionsArgs =
        com.pulumi.azure.storage.inputs.LocalUserPermissionScopePermissionsArgs.builder()
            .create(create?.applyValue({ args0 -> args0 }))
            .delete(delete?.applyValue({ args0 -> args0 }))
            .list(list?.applyValue({ args0 -> args0 }))
            .read(read?.applyValue({ args0 -> args0 }))
            .write(write?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LocalUserPermissionScopePermissionsArgs].
 */
@PulumiTagMarker
public class LocalUserPermissionScopePermissionsArgsBuilder internal constructor() {
    private var create: Output? = null

    private var delete: Output? = null

    private var list: Output? = null

    private var read: Output? = null

    private var write: Output? = null

    /**
     * @param value Specifies if the Local User has the create permission for this scope. Defaults to `false`.
     */
    @JvmName("yhxcsxyyikurnsuy")
    public suspend fun create(`value`: Output) {
        this.create = value
    }

    /**
     * @param value Specifies if the Local User has the delete permission for this scope. Defaults to `false`.
     */
    @JvmName("ekmewpgasprggwno")
    public suspend fun delete(`value`: Output) {
        this.delete = value
    }

    /**
     * @param value Specifies if the Local User has the list permission for this scope. Defaults to `false`.
     */
    @JvmName("dccssnkuojrjpyql")
    public suspend fun list(`value`: Output) {
        this.list = value
    }

    /**
     * @param value Specifies if the Local User has the read permission for this scope. Defaults to `false`.
     */
    @JvmName("pbnhntygfgugutmp")
    public suspend fun read(`value`: Output) {
        this.read = value
    }

    /**
     * @param value Specifies if the Local User has the write permission for this scope. Defaults to `false`.
     */
    @JvmName("flumwqlherremjir")
    public suspend fun write(`value`: Output) {
        this.write = value
    }

    /**
     * @param value Specifies if the Local User has the create permission for this scope. Defaults to `false`.
     */
    @JvmName("npktuxomdkevawji")
    public suspend fun create(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.create = mapped
    }

    /**
     * @param value Specifies if the Local User has the delete permission for this scope. Defaults to `false`.
     */
    @JvmName("ajqgpevfgnlptkjm")
    public suspend fun delete(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.delete = mapped
    }

    /**
     * @param value Specifies if the Local User has the list permission for this scope. Defaults to `false`.
     */
    @JvmName("rjuatyocpnvjpcjt")
    public suspend fun list(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.list = mapped
    }

    /**
     * @param value Specifies if the Local User has the read permission for this scope. Defaults to `false`.
     */
    @JvmName("xqybakbdocxcylgi")
    public suspend fun read(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.read = mapped
    }

    /**
     * @param value Specifies if the Local User has the write permission for this scope. Defaults to `false`.
     */
    @JvmName("nqkjogyiycvhehmu")
    public suspend fun write(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.write = mapped
    }

    internal fun build(): LocalUserPermissionScopePermissionsArgs =
        LocalUserPermissionScopePermissionsArgs(
            create = create,
            delete = delete,
            list = list,
            read = read,
            write = write,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy