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

com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterAzureActiveDirectoryRoleBasedAccessControl.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.outputs

import kotlin.Boolean
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property adminGroupObjectIds
 * @property azureRbacEnabled
 * @property clientAppId
 * @property managed Is the Azure Active Directory integration Managed, meaning that Azure will create/manage the Service Principal used for integration. Defaults to `false`.
 * > **Note:** The property `managed` is deprecated and will be defaulted to `true` in v4.0 of the AzureRM provider. Until the property is removed it must be specified with `true` for AKS-managed Entra Integration.
 * @property serverAppId
 * @property serverAppSecret
 * @property tenantId The Tenant ID used for Azure Active Directory Application. If this isn't specified the Tenant ID of the current Subscription is used.
 */
public data class KubernetesClusterAzureActiveDirectoryRoleBasedAccessControl(
    public val adminGroupObjectIds: List? = null,
    public val azureRbacEnabled: Boolean? = null,
    @Deprecated(
        message = """
  Azure AD Integration (legacy) (https://aka.ms/aks/aad-legacy) is deprecated and clusters can no
      longer be created with the Azure AD integration (legacy) enabled. This field will be removed
      in v4.0 of the AzureRM Provider.
  """,
    )
    public val clientAppId: String? = null,
    @Deprecated(
        message = """
  Azure AD Integration (legacy) (https://aka.ms/aks/aad-legacy) is deprecated and clusters can no
      longer be created with the Azure AD integration (legacy) enabled. This field must be supplied
      with the value `true` for AKS-managed Entra Integration, but will be removed and defaulted to
      `true` for the user in v4.0 of the AzureRM Provider.
  """,
    )
    public val managed: Boolean? = null,
    @Deprecated(
        message = """
  Azure AD Integration (legacy) (https://aka.ms/aks/aad-legacy) is deprecated and clusters can no
      longer be created with the Azure AD integration (legacy) enabled. This field will be removed
      in v4.0 of the AzureRM Provider.
  """,
    )
    public val serverAppId: String? = null,
    @Deprecated(
        message = """
  Azure AD Integration (legacy) (https://aka.ms/aks/aad-legacy) is deprecated and clusters can no
      longer be created with the Azure AD integration (legacy) enabled. This field will be removed
      in v4.0 of the AzureRM Provider.
  """,
    )
    public val serverAppSecret: String? = null,
    public val tenantId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterAzureActiveDirectoryRoleBasedAccessControl): KubernetesClusterAzureActiveDirectoryRoleBasedAccessControl =
            KubernetesClusterAzureActiveDirectoryRoleBasedAccessControl(
                adminGroupObjectIds = javaType.adminGroupObjectIds().map({ args0 -> args0 }),
                azureRbacEnabled = javaType.azureRbacEnabled().map({ args0 -> args0 }).orElse(null),
                clientAppId = javaType.clientAppId().map({ args0 -> args0 }).orElse(null),
                managed = javaType.managed().map({ args0 -> args0 }).orElse(null),
                serverAppId = javaType.serverAppId().map({ args0 -> args0 }).orElse(null),
                serverAppSecret = javaType.serverAppSecret().map({ args0 -> args0 }).orElse(null),
                tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy