Class ContainerServiceClusterSupportEndingEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ContainerServiceClusterSupportEventData
com.azure.messaging.eventgrid.systemevents.ContainerServiceClusterSupportEndingEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ContainerServiceClusterSupportEventData>
public final class ContainerServiceClusterSupportEndingEventData
extends ContainerServiceClusterSupportEventData
Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.ClusterSupportEnding event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ContainerServiceClusterSupportEndingEventData 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
-
Method Details
-
getKubernetesVersion
Get the kubernetesVersion property: The Kubernetes version of the ManagedCluster resource.- Overrides:
getKubernetesVersionin classContainerServiceClusterSupportEventData- Returns:
- the kubernetesVersion value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ContainerServiceClusterSupportEventData>- Overrides:
toJsonin classContainerServiceClusterSupportEventData- Throws:
IOException
-
fromJson
public static ContainerServiceClusterSupportEndingEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ContainerServiceClusterSupportEndingEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ContainerServiceClusterSupportEndingEventData 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 ContainerServiceClusterSupportEndingEventData.
-