Class MeshUpgradeProfileProperties

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

public final class MeshUpgradeProfileProperties extends MeshRevision
Mesh upgrade profile properties for a major.minor release.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the compatibleWith property: List of items this revision of service mesh is compatible with, and their associated versions.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of MeshUpgradeProfileProperties from the JsonReader.
    Get the revision property: The revision of the mesh release.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    Get the upgrades property: List of revisions available for upgrade of a specific mesh revision.
    void
    Validates the instance.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • compatibleWith

      public List<CompatibleVersions> compatibleWith()
      Get the compatibleWith property: List of items this revision of service mesh is compatible with, and their associated versions.
      Overrides:
      compatibleWith in class MeshRevision
      Returns:
      the compatibleWith value.
    • upgrades

      public List<String> upgrades()
      Get the upgrades property: List of revisions available for upgrade of a specific mesh revision.
      Overrides:
      upgrades in class MeshRevision
      Returns:
      the upgrades value.
    • revision

      public String revision()
      Get the revision property: The revision of the mesh release.
      Overrides:
      revision in class MeshRevision
      Returns:
      the revision value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MeshRevision
      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<MeshRevision>
      Overrides:
      toJson in class MeshRevision
      Throws:
      IOException
    • fromJson

      public static MeshUpgradeProfileProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of MeshUpgradeProfileProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of MeshUpgradeProfileProperties 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 MeshUpgradeProfileProperties.