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 Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ContainerServiceNewKubernetesVersionAvailableEventData from the JsonReader.Get the latestPreviewKubernetesVersion property: The highest PATCH Kubernetes version considered preview for the ManagedCluster resource.Get the latestStableKubernetesVersion property: The highest PATCH Kubernetes version for the MINOR version considered stable for the ManagedCluster resource.Get the latestSupportedKubernetesVersion property: The highest PATCH Kubernetes version for the highest MINOR version supported by ManagedCluster resource.Get the lowestMinorKubernetesVersion property: The highest PATCH Kubernetes version for the lowest applicable MINOR version available for 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
-
getLatestSupportedKubernetesVersion
Get the latestSupportedKubernetesVersion property: The highest PATCH Kubernetes version for the highest MINOR version supported by ManagedCluster resource.- Returns:
- the latestSupportedKubernetesVersion value.
-
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
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
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
- Specified by:
toJsonin interfacecom.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.
-