OpenShiftManagedClusterAuthProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.OpenShiftManagedClusterAuthProfile

Implements

public final class OpenShiftManagedClusterAuthProfile
implements JsonSerializable<OpenShiftManagedClusterAuthProfile>

Defines all possible authentication profiles for the OpenShift cluster.

Constructor Summary

Constructor Description
OpenShiftManagedClusterAuthProfile()

Creates an instance of OpenShiftManagedClusterAuthProfile class.

Method Summary

Modifier and Type Method and Description
static OpenShiftManagedClusterAuthProfile fromJson(JsonReader jsonReader)

Reads an instance of OpenShiftManagedClusterAuthProfile from the JsonReader.

List<OpenShiftManagedClusterIdentityProvider> identityProviders()

Get the identityProviders property: Type of authentication profile to use.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OpenShiftManagedClusterAuthProfile withIdentityProviders(List<OpenShiftManagedClusterIdentityProvider> identityProviders)

Set the identityProviders property: Type of authentication profile to use.

Methods inherited from java.lang.Object

Constructor Details

OpenShiftManagedClusterAuthProfile

public OpenShiftManagedClusterAuthProfile()

Creates an instance of OpenShiftManagedClusterAuthProfile class.

Method Details

fromJson

public static OpenShiftManagedClusterAuthProfile fromJson(JsonReader jsonReader)

Reads an instance of OpenShiftManagedClusterAuthProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OpenShiftManagedClusterAuthProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the OpenShiftManagedClusterAuthProfile.

identityProviders

public List identityProviders()

Get the identityProviders property: Type of authentication profile to use.

Returns:

the identityProviders value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIdentityProviders

public OpenShiftManagedClusterAuthProfile withIdentityProviders(List identityProviders)

Set the identityProviders property: Type of authentication profile to use.

Parameters:

identityProviders - the identityProviders value to set.

Returns:

the OpenShiftManagedClusterAuthProfile object itself.

Applies to