Class ContainerServiceClusterSupportEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.ContainerServiceClusterSupportEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<ContainerServiceClusterSupportEventData>
Direct Known Subclasses:
ContainerServiceClusterSupportEndedEventData, ContainerServiceClusterSupportEndingEventData

public class ContainerServiceClusterSupportEventData extends Object implements com.azure.json.JsonSerializable<ContainerServiceClusterSupportEventData>
Schema of common properties of cluster support events.
  • Constructor Details

    • ContainerServiceClusterSupportEventData

      protected ContainerServiceClusterSupportEventData()
      Creates an instance of ContainerServiceClusterSupportEventData class.
  • Method Details

    • getKubernetesVersion

      public String getKubernetesVersion()
      Get the kubernetesVersion property: The Kubernetes version of the ManagedCluster resource.
      Returns:
      the kubernetesVersion value.
    • toJson

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

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