OpenShiftManagedClusterAadIdentityProvider Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. OpenShiftManagedClusterBaseIdentityProvider - com.
azure. resourcemanager. containerservice. models. OpenShiftManagedClusterAadIdentityProvider
- com.
- com.
public final class OpenShiftManagedClusterAadIdentityProvider
extends OpenShiftManagedClusterBaseIdentityProvider
Defines the Identity provider for MS AAD.
Constructor Summary
| Constructor | Description |
|---|---|
| OpenShiftManagedClusterAadIdentityProvider() |
Creates an instance of Open |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
clientId()
Get the client |
| String |
customerAdminGroupId()
Get the customer |
|
static
Open |
fromJson(JsonReader jsonReader)
Reads an instance of Open |
| String |
kind()
Get the kind property: The kind of the provider. |
| String |
secret()
Get the secret property: The secret password associated with the provider. |
| String |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Open |
withClientId(String clientId)
Set the client |
|
Open |
withCustomerAdminGroupId(String customerAdminGroupId)
Set the customer |
|
Open |
withSecret(String secret)
Set the secret property: The secret password associated with the provider. |
|
Open |
withTenantId(String tenantId)
Set the tenant |
Methods inherited from OpenShiftManagedClusterBaseIdentityProvider
Methods inherited from java.lang.Object
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:
customerAdminGroupId
public String customerAdminGroupId()
Get the customerAdminGroupId property: The groupId to be granted cluster admin role.
Returns:
fromJson
public static OpenShiftManagedClusterAadIdentityProvider fromJson(JsonReader jsonReader)
Reads an instance of OpenShiftManagedClusterAadIdentityProvider from the JsonReader.
Parameters:
Returns:
Throws:
kind
public String kind()
Get the kind property: The kind of the provider.
Overrides:
OpenShiftManagedClusterAadIdentityProvider.kind()Returns:
secret
public String secret()
Get the secret property: The secret password associated with the provider.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The tenantId associated with the provider.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
OpenShiftManagedClusterAadIdentityProvider.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
OpenShiftManagedClusterAadIdentityProvider.validate()withClientId
public OpenShiftManagedClusterAadIdentityProvider withClientId(String clientId)
Set the clientId property: The clientId password associated with the provider.
Parameters:
Returns:
withCustomerAdminGroupId
public OpenShiftManagedClusterAadIdentityProvider withCustomerAdminGroupId(String customerAdminGroupId)
Set the customerAdminGroupId property: The groupId to be granted cluster admin role.
Parameters:
Returns:
withSecret
public OpenShiftManagedClusterAadIdentityProvider withSecret(String secret)
Set the secret property: The secret password associated with the provider.
Parameters:
Returns:
withTenantId
public OpenShiftManagedClusterAadIdentityProvider withTenantId(String tenantId)
Set the tenantId property: The tenantId associated with the provider.
Parameters:
Returns: