ManagedClusterAadProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterAadProfile
- com.
public final class ManagedClusterAadProfile
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
Constructor | Description |
---|---|
ManagedClusterAadProfile() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
adminGroupObjectIDs()
Get the admin |
String |
clientAppId()
Get the client |
Boolean |
enableAzureRbac()
Get the enable |
Boolean |
managed()
Get the managed property: Whether to enable managed AAD. |
String |
serverAppId()
Get the server |
String |
serverAppSecret()
Get the server |
String |
tenantId()
Get the tenant |
void |
validate()
Validates the instance. |
Managed |
withAdminGroupObjectIDs(List<String> adminGroupObjectIDs)
Set the admin |
Managed |
withClientAppId(String clientAppId)
Set the client |
Managed |
withEnableAzureRbac(Boolean enableAzureRbac)
Set the enable |
Managed |
withManaged(Boolean managed)
Set the managed property: Whether to enable managed AAD. |
Managed |
withServerAppId(String serverAppId)
Set the server |
Managed |
withServerAppSecret(String serverAppSecret)
Set the server |
Managed |
withTenantId(String tenantId)
Set the tenant |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterAadProfile
public ManagedClusterAadProfile()
Creates an instance of ManagedClusterAadProfile class.
Method Details
adminGroupObjectIDs
public List
Get the adminGroupObjectIDs property: The list of AAD group object IDs that will have admin role of the cluster.
Returns:
clientAppId
public String clientAppId()
Get the clientAppId property: (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
Returns:
enableAzureRbac
public Boolean enableAzureRbac()
Get the enableAzureRbac property: Whether to enable Azure RBAC for Kubernetes authorization.
Returns:
managed
public Boolean managed()
Get the managed property: Whether to enable managed AAD.
Returns:
serverAppId
public String serverAppId()
Get the serverAppId property: (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
Returns:
serverAppSecret
public String serverAppSecret()
Get the serverAppSecret property: (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
Returns:
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:
validate
public void validate()
Validates the instance.
withAdminGroupObjectIDs
public ManagedClusterAadProfile withAdminGroupObjectIDs(List
Set the adminGroupObjectIDs property: The list of AAD group object IDs that will have admin role of the cluster.
Parameters:
Returns:
withClientAppId
public ManagedClusterAadProfile withClientAppId(String clientAppId)
Set the clientAppId property: (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
Parameters:
Returns:
withEnableAzureRbac
public ManagedClusterAadProfile withEnableAzureRbac(Boolean enableAzureRbac)
Set the enableAzureRbac property: Whether to enable Azure RBAC for Kubernetes authorization.
Parameters:
Returns:
withManaged
public ManagedClusterAadProfile withManaged(Boolean managed)
Set the managed property: Whether to enable managed AAD.
Parameters:
Returns:
withServerAppId
public ManagedClusterAadProfile withServerAppId(String serverAppId)
Set the serverAppId property: (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
Parameters:
Returns:
withServerAppSecret
public ManagedClusterAadProfile withServerAppSecret(String serverAppSecret)
Set the serverAppSecret property: (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
Parameters:
Returns:
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:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for