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

com.pulumi.gcp.container.kotlin.outputs.AttachedClusterAuthorization.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: 8.10.0.0
Show newest version
@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 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy