ManagedClusterOidcIssuerProfile Class

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

Implements

public final class ManagedClusterOidcIssuerProfile
implements JsonSerializable<ManagedClusterOidcIssuerProfile>

The OIDC issuer profile of the Managed Cluster.

Constructor Summary

Constructor Description
ManagedClusterOidcIssuerProfile()

Creates an instance of ManagedClusterOidcIssuerProfile class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: Whether the OIDC issuer is enabled.

static ManagedClusterOidcIssuerProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterOidcIssuerProfile from the JsonReader.

String issuerUrl()

Get the issuerUrl property: The OIDC issuer url of the Managed Cluster.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterOidcIssuerProfile withEnabled(Boolean enabled)

Set the enabled property: Whether the OIDC issuer is enabled.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterOidcIssuerProfile

public ManagedClusterOidcIssuerProfile()

Creates an instance of ManagedClusterOidcIssuerProfile class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: Whether the OIDC issuer is enabled.

Returns:

the enabled value.

fromJson

public static ManagedClusterOidcIssuerProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterOidcIssuerProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedClusterOidcIssuerProfile 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 ManagedClusterOidcIssuerProfile.

issuerUrl

public String issuerUrl()

Get the issuerUrl property: The OIDC issuer url of the Managed Cluster.

Returns:

the issuerUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public ManagedClusterOidcIssuerProfile withEnabled(Boolean enabled)

Set the enabled property: Whether the OIDC issuer is enabled.

Parameters:

enabled - the enabled value to set.

Returns:

the ManagedClusterOidcIssuerProfile object itself.

Applies to