Class ManagedClusterAadProfile
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.ManagedClusterAadProfile
-
public final class ManagedClusterAadProfile extends Object
AADProfile specifies attributes for Azure Active Directory integration. For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
-
-
Constructor Summary
Constructors Constructor Description ManagedClusterAadProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>adminGroupObjectIDs()Get the adminGroupObjectIDs property: The list of AAD group object IDs that will have admin role of the cluster.StringclientAppId()Get the clientAppId property: The client AAD application ID.BooleanenableAzureRbac()Get the enableAzureRbac property: Whether to enable Azure RBAC for Kubernetes authorization.Booleanmanaged()Get the managed property: Whether to enable managed AAD.StringserverAppId()Get the serverAppId property: The server AAD application ID.StringserverAppSecret()Get the serverAppSecret property: The server AAD application secret.StringtenantId()Get the tenantId property: The AAD tenant ID to use for authentication.voidvalidate()Validates the instance.ManagedClusterAadProfilewithAdminGroupObjectIDs(List<String> adminGroupObjectIDs)Set the adminGroupObjectIDs property: The list of AAD group object IDs that will have admin role of the cluster.ManagedClusterAadProfilewithClientAppId(String clientAppId)Set the clientAppId property: The client AAD application ID.ManagedClusterAadProfilewithEnableAzureRbac(Boolean enableAzureRbac)Set the enableAzureRbac property: Whether to enable Azure RBAC for Kubernetes authorization.ManagedClusterAadProfilewithManaged(Boolean managed)Set the managed property: Whether to enable managed AAD.ManagedClusterAadProfilewithServerAppId(String serverAppId)Set the serverAppId property: The server AAD application ID.ManagedClusterAadProfilewithServerAppSecret(String serverAppSecret)Set the serverAppSecret property: The server AAD application secret.ManagedClusterAadProfilewithTenantId(String tenantId)Set the tenantId property: The AAD tenant ID to use for authentication.
-
-
-
Method Detail
-
managed
public Boolean managed()
Get the managed property: Whether to enable managed AAD.- Returns:
- the managed value.
-
withManaged
public ManagedClusterAadProfile withManaged(Boolean managed)
Set the managed property: Whether to enable managed AAD.- Parameters:
managed- the managed value to set.- Returns:
- the ManagedClusterAadProfile object itself.
-
enableAzureRbac
public Boolean enableAzureRbac()
Get the enableAzureRbac property: Whether to enable Azure RBAC for Kubernetes authorization.- Returns:
- the enableAzureRbac value.
-
withEnableAzureRbac
public ManagedClusterAadProfile withEnableAzureRbac(Boolean enableAzureRbac)
Set the enableAzureRbac property: Whether to enable Azure RBAC for Kubernetes authorization.- Parameters:
enableAzureRbac- the enableAzureRbac value to set.- Returns:
- the ManagedClusterAadProfile object itself.
-
adminGroupObjectIDs
public List<String> adminGroupObjectIDs()
Get the adminGroupObjectIDs property: The list of AAD group object IDs that will have admin role of the cluster.- Returns:
- the adminGroupObjectIDs value.
-
withAdminGroupObjectIDs
public ManagedClusterAadProfile withAdminGroupObjectIDs(List<String> adminGroupObjectIDs)
Set the adminGroupObjectIDs property: The list of AAD group object IDs that will have admin role of the cluster.- Parameters:
adminGroupObjectIDs- the adminGroupObjectIDs value to set.- Returns:
- the ManagedClusterAadProfile object itself.
-
clientAppId
public String clientAppId()
Get the clientAppId property: The client AAD application ID.- Returns:
- the clientAppId value.
-
withClientAppId
public ManagedClusterAadProfile withClientAppId(String clientAppId)
Set the clientAppId property: The client AAD application ID.- Parameters:
clientAppId- the clientAppId value to set.- Returns:
- the ManagedClusterAadProfile object itself.
-
serverAppId
public String serverAppId()
Get the serverAppId property: The server AAD application ID.- Returns:
- the serverAppId value.
-
withServerAppId
public ManagedClusterAadProfile withServerAppId(String serverAppId)
Set the serverAppId property: The server AAD application ID.- Parameters:
serverAppId- the serverAppId value to set.- Returns:
- the ManagedClusterAadProfile object itself.
-
serverAppSecret
public String serverAppSecret()
Get the serverAppSecret property: The server AAD application secret.- Returns:
- the serverAppSecret value.
-
withServerAppSecret
public ManagedClusterAadProfile withServerAppSecret(String serverAppSecret)
Set the serverAppSecret property: The server AAD application secret.- Parameters:
serverAppSecret- the serverAppSecret value to set.- Returns:
- the ManagedClusterAadProfile object itself.
-
tenantId
public String tenantId()
Get the tenantId property: The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.- Returns:
- the tenantId value.
-
withTenantId
public ManagedClusterAadProfile withTenantId(String tenantId)
Set the tenantId property: The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.- Parameters:
tenantId- the tenantId value to set.- Returns:
- the ManagedClusterAadProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-