Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.containerservice; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
AADProfile specifies attributes for Azure Active Directory integration.
/** * AADProfile specifies attributes for Azure Active Directory integration. */
public class ManagedClusterAADProfile {
Whether to enable managed AAD.
/** * Whether to enable managed AAD. */
@JsonProperty(value = "managed") private Boolean managed;
Whether to enable Azure RBAC for Kubernetes authorization.
/** * Whether to enable Azure RBAC for Kubernetes authorization. */
@JsonProperty(value = "enableAzureRBAC") private Boolean enableAzureRBAC;
AAD group object IDs that will have admin role of the cluster.
/** * AAD group object IDs that will have admin role of the cluster. */
@JsonProperty(value = "adminGroupObjectIDs") private List<String> adminGroupObjectIDs;
The client AAD application ID.
/** * The client AAD application ID. */
@JsonProperty(value = "clientAppID") private String clientAppID;
The server AAD application ID.
/** * The server AAD application ID. */
@JsonProperty(value = "serverAppID") private String serverAppID;
The server AAD application secret.
/** * The server AAD application secret. */
@JsonProperty(value = "serverAppSecret") private String serverAppSecret;
The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
/** * The AAD tenant ID to use for authentication. If not specified, will use * the tenant of the deployment subscription. */
@JsonProperty(value = "tenantID") private String tenantID;
Get whether to enable managed AAD.
Returns:the managed value
/** * Get whether to enable managed AAD. * * @return the managed value */
public Boolean managed() { return this.managed; }
Set whether to enable managed AAD.
Params:
  • managed – the managed value to set
Returns:the ManagedClusterAADProfile object itself.
/** * Set whether to enable managed AAD. * * @param managed the managed value to set * @return the ManagedClusterAADProfile object itself. */
public ManagedClusterAADProfile withManaged(Boolean managed) { this.managed = managed; return this; }
Get whether to enable Azure RBAC for Kubernetes authorization.
Returns:the enableAzureRBAC value
/** * Get whether to enable Azure RBAC for Kubernetes authorization. * * @return the enableAzureRBAC value */
public Boolean enableAzureRBAC() { return this.enableAzureRBAC; }
Set whether to enable Azure RBAC for Kubernetes authorization.
Params:
  • enableAzureRBAC – the enableAzureRBAC value to set
Returns:the ManagedClusterAADProfile object itself.
/** * Set whether to enable Azure RBAC for Kubernetes authorization. * * @param enableAzureRBAC the enableAzureRBAC value to set * @return the ManagedClusterAADProfile object itself. */
public ManagedClusterAADProfile withEnableAzureRBAC(Boolean enableAzureRBAC) { this.enableAzureRBAC = enableAzureRBAC; return this; }
Get aAD group object IDs that will have admin role of the cluster.
Returns:the adminGroupObjectIDs value
/** * Get aAD group object IDs that will have admin role of the cluster. * * @return the adminGroupObjectIDs value */
public List<String> adminGroupObjectIDs() { return this.adminGroupObjectIDs; }
Set aAD group object IDs that will have admin role of the cluster.
Params:
  • adminGroupObjectIDs – the adminGroupObjectIDs value to set
Returns:the ManagedClusterAADProfile object itself.
/** * Set aAD group object IDs that will have admin role of the cluster. * * @param adminGroupObjectIDs the adminGroupObjectIDs value to set * @return the ManagedClusterAADProfile object itself. */
public ManagedClusterAADProfile withAdminGroupObjectIDs(List<String> adminGroupObjectIDs) { this.adminGroupObjectIDs = adminGroupObjectIDs; return this; }
Get the client AAD application ID.
Returns:the clientAppID value
/** * Get the client AAD application ID. * * @return the clientAppID value */
public String clientAppID() { return this.clientAppID; }
Set the client AAD application ID.
Params:
  • clientAppID – the clientAppID value to set
Returns:the ManagedClusterAADProfile object itself.
/** * Set the client AAD application ID. * * @param clientAppID the clientAppID value to set * @return the ManagedClusterAADProfile object itself. */
public ManagedClusterAADProfile withClientAppID(String clientAppID) { this.clientAppID = clientAppID; return this; }
Get the server AAD application ID.
Returns:the serverAppID value
/** * Get the server AAD application ID. * * @return the serverAppID value */
public String serverAppID() { return this.serverAppID; }
Set the server AAD application ID.
Params:
  • serverAppID – the serverAppID value to set
Returns:the ManagedClusterAADProfile object itself.
/** * Set the server AAD application ID. * * @param serverAppID the serverAppID value to set * @return the ManagedClusterAADProfile object itself. */
public ManagedClusterAADProfile withServerAppID(String serverAppID) { this.serverAppID = serverAppID; return this; }
Get the server AAD application secret.
Returns:the serverAppSecret value
/** * Get the server AAD application secret. * * @return the serverAppSecret value */
public String serverAppSecret() { return this.serverAppSecret; }
Set the server AAD application secret.
Params:
  • serverAppSecret – the serverAppSecret value to set
Returns:the ManagedClusterAADProfile object itself.
/** * Set the server AAD application secret. * * @param serverAppSecret the serverAppSecret value to set * @return the ManagedClusterAADProfile object itself. */
public ManagedClusterAADProfile withServerAppSecret(String serverAppSecret) { this.serverAppSecret = serverAppSecret; return this; }
Get the AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
Returns:the tenantID value
/** * Get the AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. * * @return the tenantID value */
public String tenantID() { return this.tenantID; }
Set the AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
Params:
  • tenantID – the tenantID value to set
Returns:the ManagedClusterAADProfile object itself.
/** * Set the AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. * * @param tenantID the tenantID value to set * @return the ManagedClusterAADProfile object itself. */
public ManagedClusterAADProfile withTenantID(String tenantID) { this.tenantID = tenantID; return this; } }