public final class ManagedClusterAadProfile extends Object
| Constructor and Description |
|---|
ManagedClusterAadProfile() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
adminGroupObjectIDs()
Get the adminGroupObjectIDs property: AAD group object IDs that will have admin role of the cluster.
|
String |
clientAppId()
Get the clientAppId property: The client AAD application ID.
|
Boolean |
enableAzureRbac()
Get the enableAzureRbac property: Whether to enable Azure RBAC for Kubernetes authorization.
|
Boolean |
managed()
Get the managed property: Whether to enable managed AAD.
|
String |
serverAppId()
Get the serverAppId property: The server AAD application ID.
|
String |
serverAppSecret()
Get the serverAppSecret property: The server AAD application secret.
|
String |
tenantId()
Get the tenantId property: The AAD tenant ID to use for authentication.
|
void |
validate()
Validates the instance.
|
ManagedClusterAadProfile |
withAdminGroupObjectIDs(List<String> adminGroupObjectIDs)
Set the adminGroupObjectIDs property: AAD group object IDs that will have admin role of the cluster.
|
ManagedClusterAadProfile |
withClientAppId(String clientAppId)
Set the clientAppId property: The client AAD application ID.
|
ManagedClusterAadProfile |
withEnableAzureRbac(Boolean enableAzureRbac)
Set the enableAzureRbac property: Whether to enable Azure RBAC for Kubernetes authorization.
|
ManagedClusterAadProfile |
withManaged(Boolean managed)
Set the managed property: Whether to enable managed AAD.
|
ManagedClusterAadProfile |
withServerAppId(String serverAppId)
Set the serverAppId property: The server AAD application ID.
|
ManagedClusterAadProfile |
withServerAppSecret(String serverAppSecret)
Set the serverAppSecret property: The server AAD application secret.
|
ManagedClusterAadProfile |
withTenantId(String tenantId)
Set the tenantId property: The AAD tenant ID to use for authentication.
|
public Boolean managed()
public ManagedClusterAadProfile withManaged(Boolean managed)
managed - the managed value to set.public Boolean enableAzureRbac()
public ManagedClusterAadProfile withEnableAzureRbac(Boolean enableAzureRbac)
enableAzureRbac - the enableAzureRbac value to set.public List<String> adminGroupObjectIDs()
public ManagedClusterAadProfile withAdminGroupObjectIDs(List<String> adminGroupObjectIDs)
adminGroupObjectIDs - the adminGroupObjectIDs value to set.public String clientAppId()
public ManagedClusterAadProfile withClientAppId(String clientAppId)
clientAppId - the clientAppId value to set.public String serverAppId()
public ManagedClusterAadProfile withServerAppId(String serverAppId)
serverAppId - the serverAppId value to set.public String serverAppSecret()
public ManagedClusterAadProfile withServerAppSecret(String serverAppSecret)
serverAppSecret - the serverAppSecret value to set.public String tenantId()
public ManagedClusterAadProfile withTenantId(String tenantId)
tenantId - the tenantId value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.