Class ContainerServiceNewKubernetesVersionAvailableEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.ContainerServiceNewKubernetesVersionAvailableEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<ContainerServiceNewKubernetesVersionAvailableEventData>

public final class ContainerServiceNewKubernetesVersionAvailableEventData extends Object implements com.azure.json.JsonSerializable<ContainerServiceNewKubernetesVersionAvailableEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NewKubernetesVersionAvailable event.
  • Method Details

    • getLatestSupportedKubernetesVersion

      public String getLatestSupportedKubernetesVersion()
      Get the latestSupportedKubernetesVersion property: The highest PATCH Kubernetes version for the highest MINOR version supported by ManagedCluster resource.
      Returns:
      the latestSupportedKubernetesVersion value.
    • getLatestStableKubernetesVersion

      public String getLatestStableKubernetesVersion()
      Get the latestStableKubernetesVersion property: The highest PATCH Kubernetes version for the MINOR version considered stable for the ManagedCluster resource.
      Returns:
      the latestStableKubernetesVersion value.
    • getLowestMinorKubernetesVersion

      public String getLowestMinorKubernetesVersion()
      Get the lowestMinorKubernetesVersion property: The highest PATCH Kubernetes version for the lowest applicable MINOR version available for the ManagedCluster resource.
      Returns:
      the lowestMinorKubernetesVersion value.
    • getLatestPreviewKubernetesVersion

      public String getLatestPreviewKubernetesVersion()
      Get the latestPreviewKubernetesVersion property: The highest PATCH Kubernetes version considered preview for the ManagedCluster resource. There might not be any version in preview at the time of publishing the event.
      Returns:
      the latestPreviewKubernetesVersion value.
    • toJson

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

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