Class OpenShiftManagedClusterAadIdentityProvider
java.lang.Object
com.azure.resourcemanager.containerservice.models.OpenShiftManagedClusterBaseIdentityProvider
com.azure.resourcemanager.containerservice.models.OpenShiftManagedClusterAadIdentityProvider
public final class OpenShiftManagedClusterAadIdentityProvider
extends OpenShiftManagedClusterBaseIdentityProvider
Defines the Identity provider for MS AAD.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclientId()Get the clientId property: The clientId password associated with the provider.Get the customerAdminGroupId property: The groupId to be granted cluster admin role.secret()Get the secret property: The secret password associated with the provider.tenantId()Get the tenantId property: The tenantId associated with the provider.voidvalidate()Validates the instance.withClientId(String clientId) Set the clientId property: The clientId password associated with the provider.withCustomerAdminGroupId(String customerAdminGroupId) Set the customerAdminGroupId property: The groupId to be granted cluster admin role.withSecret(String secret) Set the secret property: The secret password associated with the provider.withTenantId(String tenantId) Set the tenantId property: The tenantId associated with the provider.
-
Constructor Details
-
OpenShiftManagedClusterAadIdentityProvider
public OpenShiftManagedClusterAadIdentityProvider()
-
-
Method Details
-
clientId
Get the clientId property: The clientId password associated with the provider.- Returns:
- the clientId value.
-
withClientId
Set the clientId property: The clientId password associated with the provider.- Parameters:
clientId- the clientId value to set.- Returns:
- the OpenShiftManagedClusterAadIdentityProvider object itself.
-
secret
Get the secret property: The secret password associated with the provider.- Returns:
- the secret value.
-
withSecret
Set the secret property: The secret password associated with the provider.- Parameters:
secret- the secret value to set.- Returns:
- the OpenShiftManagedClusterAadIdentityProvider object itself.
-
tenantId
Get the tenantId property: The tenantId associated with the provider.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: The tenantId associated with the provider.- Parameters:
tenantId- the tenantId value to set.- Returns:
- the OpenShiftManagedClusterAadIdentityProvider object itself.
-
customerAdminGroupId
Get the customerAdminGroupId property: The groupId to be granted cluster admin role.- Returns:
- the customerAdminGroupId value.
-
withCustomerAdminGroupId
public OpenShiftManagedClusterAadIdentityProvider withCustomerAdminGroupId(String customerAdminGroupId) Set the customerAdminGroupId property: The groupId to be granted cluster admin role.- Parameters:
customerAdminGroupId- the customerAdminGroupId value to set.- Returns:
- the OpenShiftManagedClusterAadIdentityProvider object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classOpenShiftManagedClusterBaseIdentityProvider- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-