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 Summary
ConstructorsModifierConstructorDescriptionprotectedCreates an instance of ContainerServiceClusterSupportEventData class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ContainerServiceClusterSupportEventData from the JsonReader.Get the kubernetesVersion property: The Kubernetes version of the ManagedCluster resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ContainerServiceClusterSupportEventData
protected ContainerServiceClusterSupportEventData()Creates an instance of ContainerServiceClusterSupportEventData class.
-
-
Method Details
-
getKubernetesVersion
Get the kubernetesVersion property: The Kubernetes version of the ManagedCluster resource.- Returns:
- the kubernetesVersion value.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-