Class WebAppServicePlanUpdatedEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.WebAppServicePlanUpdatedEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<WebAppServicePlanUpdatedEventData>

public final class WebAppServicePlanUpdatedEventData extends Object implements com.azure.json.JsonSerializable<WebAppServicePlanUpdatedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Web.AppServicePlanUpdated event.
  • Method Details

    • getAppServicePlanEventTypeDetail

      public AppServicePlanEventTypeDetail getAppServicePlanEventTypeDetail()
      Get the appServicePlanEventTypeDetail property: Detail of action on the app service plan.
      Returns:
      the appServicePlanEventTypeDetail value.
    • getSku

      Get the sku property: sku of app service plan.
      Returns:
      the sku value.
    • getName

      public String getName()
      Get the name property: name of the app service plan that had this event.
      Returns:
      the name value.
    • getClientRequestId

      public String getClientRequestId()
      Get the clientRequestId property: The client request id generated by the app service for the app service plan API operation that triggered this event.
      Returns:
      the clientRequestId value.
    • getCorrelationRequestId

      public String getCorrelationRequestId()
      Get the correlationRequestId property: The correlation request id generated by the app service for the app service plan API operation that triggered this event.
      Returns:
      the correlationRequestId value.
    • getRequestId

      public String getRequestId()
      Get the requestId property: The request id generated by the app service for the app service plan API operation that triggered this event.
      Returns:
      the requestId value.
    • getAddress

      public String getAddress()
      Get the address property: HTTP request URL of this operation.
      Returns:
      the address value.
    • getVerb

      public String getVerb()
      Get the verb property: HTTP verb of this operation.
      Returns:
      the verb value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<WebAppServicePlanUpdatedEventData>
      Throws:
      IOException
    • fromJson

      public static WebAppServicePlanUpdatedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of WebAppServicePlanUpdatedEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of WebAppServicePlanUpdatedEventData 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 WebAppServicePlanUpdatedEventData.