KubernetesPermissionPermissionArgs

data class KubernetesPermissionPermissionArgs(val cluster: Output<String>, val isCustom: Output<Boolean>? = null, val isRamRole: Output<Boolean>? = null, val namespace: Output<String>? = null, val roleName: Output<String>, val roleType: Output<String>) : ConvertibleToJava<KubernetesPermissionPermissionArgs>

Constructors

Link copied to clipboard
constructor(cluster: Output<String>, isCustom: Output<Boolean>? = null, isRamRole: Output<Boolean>? = null, namespace: Output<String>? = null, roleName: Output<String>, roleType: Output<String>)

Properties

Link copied to clipboard
val cluster: Output<String>

The ID of the cluster that you want to manage, When role_type value is all-clusters, the value of cluster must be "".

Link copied to clipboard
val isCustom: Output<Boolean>? = null

Specifies whether to perform a custom authorization. To perform a custom authorization, the value of is_custom must be true, and set role_name to a custom cluster role.

Link copied to clipboard
val isRamRole: Output<Boolean>? = null

Specifies whether the permissions are granted to a RAM role. When uid is ram role id, the value of is_ram_role must be true.

Link copied to clipboard
val namespace: Output<String>? = null

The namespace to which the permissions are scoped. This parameter is required only if you set role_type to namespace.

Link copied to clipboard
val roleName: Output<String>

Specifies the predefined role that you want to assign. Valid values admin, ops, dev, restricted and the custom cluster roles.

Link copied to clipboard
val roleType: Output<String>

The authorization type. Valid values cluster, namespace and all-clusters.

Functions

Link copied to clipboard
open override fun toJava(): KubernetesPermissionPermissionArgs