KubernetesCluster.DefinitionStages.WithAAD Interface

public static interface KubernetesCluster.DefinitionStages.WithAAD

The stage of the Kubernetes cluster definition allowing to specify Azure AD integration.

Method Summary

Modifier and Type Method and Description
abstract WithCreate enableAzureRbac()

Enables Azure Role-Based Access Control for Kubernetes authorization.

abstract WithCreate withAzureActiveDirectoryGroup(String activeDirectoryGroupObjectId)

Specified Azure AD group as the admin group of the cluster.

Method Details

enableAzureRbac

public abstract KubernetesCluster.DefinitionStages.WithCreate enableAzureRbac()

Enables Azure Role-Based Access Control for Kubernetes authorization.

Azure AD integration cannot be disabled. It will enable Kubernetes Role-Based Access Control.

Returns:

the next stage

withAzureActiveDirectoryGroup

public abstract KubernetesCluster.DefinitionStages.WithCreate withAzureActiveDirectoryGroup(String activeDirectoryGroupObjectId)

Specified Azure AD group as the admin group of the cluster.

Azure AD integration cannot be disabled. It will enable Kubernetes Role-Based Access Control.

Parameters:

activeDirectoryGroupObjectId - the object ID of the Azure AD group.

See com.azure.resourcemanager.authorization.models.ActiveDirectoryGroup in azure-resourcemanager-authorization package.

Returns:

the next stage

Applies to