Class ContainerServiceNodePoolRollingEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ContainerServiceNodePoolRollingEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ContainerServiceNodePoolRollingEventData>
- Direct Known Subclasses:
ContainerServiceNodePoolRollingFailedEventData,ContainerServiceNodePoolRollingStartedEventData,ContainerServiceNodePoolRollingSucceededEventData
public class ContainerServiceNodePoolRollingEventData
extends Object
implements com.azure.json.JsonSerializable<ContainerServiceNodePoolRollingEventData>
Schema of common properties of node pool rolling events.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates an instance of ContainerServiceNodePoolRollingEventData class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ContainerServiceNodePoolRollingEventData from the JsonReader.Get the nodePoolName property: The name of the node pool in 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
-
ContainerServiceNodePoolRollingEventData
protected ContainerServiceNodePoolRollingEventData()Creates an instance of ContainerServiceNodePoolRollingEventData class.
-
-
Method Details
-
getNodePoolName
Get the nodePoolName property: The name of the node pool in the ManagedCluster resource.- Returns:
- the nodePoolName value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ContainerServiceNodePoolRollingEventData>- Throws:
IOException
-
fromJson
public static ContainerServiceNodePoolRollingEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ContainerServiceNodePoolRollingEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ContainerServiceNodePoolRollingEventData 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 ContainerServiceNodePoolRollingEventData.
-