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 Details

    • ContainerServiceNodePoolRollingEventData

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

    • getNodePoolName

      public String getNodePoolName()
      Get the nodePoolName property: The name of the node pool in the ManagedCluster resource.
      Returns:
      the nodePoolName value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.