Class StorageBlobInventoryPolicyCompletedEventData

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

public final class StorageBlobInventoryPolicyCompletedEventData extends Object implements com.azure.json.JsonSerializable<StorageBlobInventoryPolicyCompletedEventData>
Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobInventoryPolicyCompleted event.
  • Method Details

    • getScheduleDateTime

      public OffsetDateTime getScheduleDateTime()
      Get the scheduleDateTime property: The time at which inventory policy was scheduled.
      Returns:
      the scheduleDateTime value.
    • getAccountName

      public String getAccountName()
      Get the accountName property: The account name for which inventory policy is registered.
      Returns:
      the accountName value.
    • getRuleName

      public String getRuleName()
      Get the ruleName property: The rule name for inventory policy.
      Returns:
      the ruleName value.
    • getPolicyRunStatus

      public String getPolicyRunStatus()
      Get the policyRunStatus property: The status of inventory run, it can be Succeeded/PartiallySucceeded/Failed.
      Returns:
      the policyRunStatus value.
    • getPolicyRunStatusMessage

      public String getPolicyRunStatusMessage()
      Get the policyRunStatusMessage property: The status message for inventory run.
      Returns:
      the policyRunStatusMessage value.
    • getPolicyRunId

      public String getPolicyRunId()
      Get the policyRunId property: The policy run id for inventory run.
      Returns:
      the policyRunId value.
    • getManifestBlobUrl

      public String getManifestBlobUrl()
      Get the manifestBlobUrl property: The blob URL for manifest file for inventory run.
      Returns:
      the manifestBlobUrl value.
    • toJson

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

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