Class AvsClusterUpdatedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AvsClusterEventData
com.azure.messaging.eventgrid.systemevents.AvsClusterUpdatedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AvsClusterEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterUpdated event.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AvsClusterUpdatedEventDatafromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AvsClusterUpdatedEventData from the JsonReader.Get the addedHostNames property: Hosts added to the cluster in this event, if any.Get the inMaintenanceHostNames property: Hosts in Maintenance mode in the cluster, if any.Get the removedHostNames property: Hosts removed from the cluster in this event, if any.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class com.azure.messaging.eventgrid.systemevents.AvsClusterEventData
getOperationIdMethods 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
-
getInMaintenanceHostNames
Get the inMaintenanceHostNames property: Hosts in Maintenance mode in the cluster, if any.- Overrides:
getInMaintenanceHostNamesin classAvsClusterEventData- Returns:
- the inMaintenanceHostNames value.
-
getRemovedHostNames
Get the removedHostNames property: Hosts removed from the cluster in this event, if any.- Overrides:
getRemovedHostNamesin classAvsClusterEventData- Returns:
- the removedHostNames value.
-
getAddedHostNames
Get the addedHostNames property: Hosts added to the cluster in this event, if any.- Overrides:
getAddedHostNamesin classAvsClusterEventData- Returns:
- the addedHostNames value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AvsClusterEventData>- Overrides:
toJsonin classAvsClusterEventData- Throws:
IOException
-
fromJson
public static AvsClusterUpdatedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AvsClusterUpdatedEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AvsClusterUpdatedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AvsClusterUpdatedEventData.
-