Condividi tramite


ArmContainerServiceModelFactory.ManagedClusterAadProfile Method

Definition

AADProfile specifies attributes for Azure Active Directory integration. For more details see managed AAD on AKS.

public static Azure.ResourceManager.ContainerService.Models.ManagedClusterAadProfile ManagedClusterAadProfile(bool? isManagedAadEnabled = default, bool? isAzureRbacEnabled = default, System.Collections.Generic.IEnumerable<Guid> adminGroupObjectIds = default, Guid? clientAppId = default, Guid? serverAppId = default, string serverAppSecret = default, Guid? tenantId = default);
static member ManagedClusterAadProfile : Nullable<bool> * Nullable<bool> * seq<Guid> * Nullable<Guid> * Nullable<Guid> * string * Nullable<Guid> -> Azure.ResourceManager.ContainerService.Models.ManagedClusterAadProfile
Public Shared Function ManagedClusterAadProfile (Optional isManagedAadEnabled As Nullable(Of Boolean) = Nothing, Optional isAzureRbacEnabled As Nullable(Of Boolean) = Nothing, Optional adminGroupObjectIds As IEnumerable(Of Guid) = Nothing, Optional clientAppId As Nullable(Of Guid) = Nothing, Optional serverAppId As Nullable(Of Guid) = Nothing, Optional serverAppSecret As String = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing) As ManagedClusterAadProfile

Parameters

isManagedAadEnabled
Nullable<Boolean>

Whether to enable managed AAD.

isAzureRbacEnabled
Nullable<Boolean>

Whether to enable Azure RBAC for Kubernetes authorization.

adminGroupObjectIds
IEnumerable<Guid>

The list of AAD group object IDs that will have admin role of the cluster.

clientAppId
Nullable<Guid>

(DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.

serverAppId
Nullable<Guid>

(DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.

serverAppSecret
String

(DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.

tenantId
Nullable<Guid>

The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.

Returns

A new ManagedClusterAadProfile instance for mocking.

Applies to