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

com.pulumi.alicloud.servicemesh.kotlin.inputs.UserPermissionPermissionArgs.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: 3.62.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.alicloud.servicemesh.kotlin.inputs

import com.pulumi.alicloud.servicemesh.inputs.UserPermissionPermissionArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property isCustom Whether the grant object is a RAM role.
 * @property isRamRole Whether the grant object is an entity.
 * @property roleName The permission name. Valid values: `istio-admin`, `istio-ops`, `istio-readonly`.
 * - `istio-admin`:  The administrator.
 * - `istio-ops`: The administrator of the service mesh resource.
 * - `istio-readonly`: The read only permission.
 * @property roleType The role type. Valid Value: `custom`.
 * @property serviceMeshId The service mesh id.
 */
public data class UserPermissionPermissionArgs(
    public val isCustom: Output? = null,
    public val isRamRole: Output? = null,
    public val roleName: Output? = null,
    public val roleType: Output? = null,
    public val serviceMeshId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.alicloud.servicemesh.inputs.UserPermissionPermissionArgs =
        com.pulumi.alicloud.servicemesh.inputs.UserPermissionPermissionArgs.builder()
            .isCustom(isCustom?.applyValue({ args0 -> args0 }))
            .isRamRole(isRamRole?.applyValue({ args0 -> args0 }))
            .roleName(roleName?.applyValue({ args0 -> args0 }))
            .roleType(roleType?.applyValue({ args0 -> args0 }))
            .serviceMeshId(serviceMeshId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UserPermissionPermissionArgs].
 */
@PulumiTagMarker
public class UserPermissionPermissionArgsBuilder internal constructor() {
    private var isCustom: Output? = null

    private var isRamRole: Output? = null

    private var roleName: Output? = null

    private var roleType: Output? = null

    private var serviceMeshId: Output? = null

    /**
     * @param value Whether the grant object is a RAM role.
     */
    @JvmName("xpcldegyytwhlptx")
    public suspend fun isCustom(`value`: Output) {
        this.isCustom = value
    }

    /**
     * @param value Whether the grant object is an entity.
     */
    @JvmName("rpdcbnelwbmjsgii")
    public suspend fun isRamRole(`value`: Output) {
        this.isRamRole = value
    }

    /**
     * @param value The permission name. Valid values: `istio-admin`, `istio-ops`, `istio-readonly`.
     * - `istio-admin`:  The administrator.
     * - `istio-ops`: The administrator of the service mesh resource.
     * - `istio-readonly`: The read only permission.
     */
    @JvmName("vtmhkabvfrihgtbs")
    public suspend fun roleName(`value`: Output) {
        this.roleName = value
    }

    /**
     * @param value The role type. Valid Value: `custom`.
     */
    @JvmName("iuucrqkgpciaxfbw")
    public suspend fun roleType(`value`: Output) {
        this.roleType = value
    }

    /**
     * @param value The service mesh id.
     */
    @JvmName("lewtdenoattdybaq")
    public suspend fun serviceMeshId(`value`: Output) {
        this.serviceMeshId = value
    }

    /**
     * @param value Whether the grant object is a RAM role.
     */
    @JvmName("lduodocklottcerl")
    public suspend fun isCustom(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isCustom = mapped
    }

    /**
     * @param value Whether the grant object is an entity.
     */
    @JvmName("kyqedmxifjlqplwl")
    public suspend fun isRamRole(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isRamRole = mapped
    }

    /**
     * @param value The permission name. Valid values: `istio-admin`, `istio-ops`, `istio-readonly`.
     * - `istio-admin`:  The administrator.
     * - `istio-ops`: The administrator of the service mesh resource.
     * - `istio-readonly`: The read only permission.
     */
    @JvmName("wshyfpiywsnpceut")
    public suspend fun roleName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.roleName = mapped
    }

    /**
     * @param value The role type. Valid Value: `custom`.
     */
    @JvmName("cwowobafjgdrsvhl")
    public suspend fun roleType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.roleType = mapped
    }

    /**
     * @param value The service mesh id.
     */
    @JvmName("unuqcuqmpveqravx")
    public suspend fun serviceMeshId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serviceMeshId = mapped
    }

    internal fun build(): UserPermissionPermissionArgs = UserPermissionPermissionArgs(
        isCustom = isCustom,
        isRamRole = isRamRole,
        roleName = roleName,
        roleType = roleType,
        serviceMeshId = serviceMeshId,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy