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 Details

    • OpenShiftManagedClusterAadIdentityProvider

      public OpenShiftManagedClusterAadIdentityProvider()
      Creates an instance of OpenShiftManagedClusterAadIdentityProvider class.
  • Method Details

    • clientId

      public String clientId()
      Get the clientId property: The clientId password associated with the provider.
      Returns:
      the clientId value.
    • withClientId

      public OpenShiftManagedClusterAadIdentityProvider withClientId(String clientId)
      Set the clientId property: The clientId password associated with the provider.
      Parameters:
      clientId - the clientId value to set.
      Returns:
      the OpenShiftManagedClusterAadIdentityProvider object itself.
    • secret

      public String 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

      public String tenantId()
      Get the tenantId property: The tenantId associated with the provider.
      Returns:
      the tenantId value.
    • withTenantId

      public OpenShiftManagedClusterAadIdentityProvider withTenantId(String tenantId)
      Set the tenantId property: The tenantId associated with the provider.
      Parameters:
      tenantId - the tenantId value to set.
      Returns:
      the OpenShiftManagedClusterAadIdentityProvider object itself.
    • customerAdminGroupId

      public String 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:
      validate in class OpenShiftManagedClusterBaseIdentityProvider
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.