Class ManagedClusterOidcIssuerProfile

java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterOidcIssuerProfile
All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedClusterOidcIssuerProfile>

public final class ManagedClusterOidcIssuerProfile extends Object implements com.azure.json.JsonSerializable<ManagedClusterOidcIssuerProfile>
The OIDC issuer profile of the Managed Cluster.
  • Constructor Details

    • ManagedClusterOidcIssuerProfile

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

    • issuerUrl

      public String issuerUrl()
      Get the issuerUrl property: The OIDC issuer url of the Managed Cluster.
      Returns:
      the issuerUrl value.
    • enabled

      public Boolean enabled()
      Get the enabled property: Whether the OIDC issuer is enabled.
      Returns:
      the enabled value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ManagedClusterOidcIssuerProfile>
      Throws:
      IOException
    • fromJson

      public static ManagedClusterOidcIssuerProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.