Class OpenShiftManagedClusterAADIdentityProvider
java.lang.Object
com.microsoft.azure.management.containerservice.OpenShiftManagedClusterBaseIdentityProvider
com.microsoft.azure.management.containerservice.OpenShiftManagedClusterAADIdentityProvider
public class OpenShiftManagedClusterAADIdentityProvider
extends OpenShiftManagedClusterBaseIdentityProvider
Defines the Identity provider for MS AAD.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclientId()
Get the clientId password associated with the provider.Get the groupId to be granted cluster admin role.secret()
Get the secret password associated with the provider.tenantId()
Get the tenantId associated with the provider.withClientId
(String clientId) Set the clientId password associated with the provider.withCustomerAdminGroupId
(String customerAdminGroupId) Set the groupId to be granted cluster admin role.withSecret
(String secret) Set the secret password associated with the provider.withTenantId
(String tenantId) Set the tenantId associated with the provider.
-
Constructor Details
-
OpenShiftManagedClusterAADIdentityProvider
public OpenShiftManagedClusterAADIdentityProvider()
-
-
Method Details
-
clientId
Get the clientId password associated with the provider.- Returns:
- the clientId value
-
withClientId
Set the clientId password associated with the provider.- Parameters:
clientId
- the clientId value to set- Returns:
- the OpenShiftManagedClusterAADIdentityProvider object itself.
-
secret
Get the secret password associated with the provider.- Returns:
- the secret value
-
withSecret
Set the secret password associated with the provider.- Parameters:
secret
- the secret value to set- Returns:
- the OpenShiftManagedClusterAADIdentityProvider object itself.
-
tenantId
Get the tenantId associated with the provider.- Returns:
- the tenantId value
-
withTenantId
Set the tenantId associated with the provider.- Parameters:
tenantId
- the tenantId value to set- Returns:
- the OpenShiftManagedClusterAADIdentityProvider object itself.
-
customerAdminGroupId
Get the groupId to be granted cluster admin role.- Returns:
- the customerAdminGroupId value
-
withCustomerAdminGroupId
public OpenShiftManagedClusterAADIdentityProvider withCustomerAdminGroupId(String customerAdminGroupId) Set the groupId to be granted cluster admin role.- Parameters:
customerAdminGroupId
- the customerAdminGroupId value to set- Returns:
- the OpenShiftManagedClusterAADIdentityProvider object itself.
-