com.pulumi.gcp.container.kotlin.outputs.AttachedClusterAuthorization.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.container.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property adminGroups Groups that can perform operations as a cluster admin. A managed
* ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
* to the groups. Up to ten admin groups can be provided.
* For more info on RBAC, see
* https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
* @property adminUsers Users that can perform operations as a cluster admin. A managed
* ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
* to the users. Up to ten admin users can be provided.
* For more info on RBAC, see
* https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
*/
public data class AttachedClusterAuthorization(
public val adminGroups: List? = null,
public val adminUsers: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.AttachedClusterAuthorization): AttachedClusterAuthorization = AttachedClusterAuthorization(
adminGroups = javaType.adminGroups().map({ args0 -> args0 }),
adminUsers = javaType.adminUsers().map({ args0 -> args0 }),
)
}
}