KubernetesPermissionPermission

data class KubernetesPermissionPermission(val cluster: String, val isCustom: Boolean? = null, val isRamRole: Boolean? = null, val namespace: String? = null, val roleName: String, val roleType: String)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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: 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: 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: 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

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

Link copied to clipboard

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