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 Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of StorageBlobInventoryPolicyCompletedEventData from the JsonReader.Get the accountName property: The account name for which inventory policy is registered.Get the manifestBlobUrl property: The blob URL for manifest file for inventory run.Get the policyRunId property: The policy run id for inventory run.Get the policyRunStatus property: The status of inventory run, it can be Succeeded/PartiallySucceeded/Failed.Get the policyRunStatusMessage property: The status message for inventory run.Get the ruleName property: The rule name for inventory policy.Get the scheduleDateTime property: The time at which inventory policy was scheduled.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
-
Method Details
-
getScheduleDateTime
Get the scheduleDateTime property: The time at which inventory policy was scheduled.- Returns:
- the scheduleDateTime value.
-
getAccountName
Get the accountName property: The account name for which inventory policy is registered.- Returns:
- the accountName value.
-
getRuleName
Get the ruleName property: The rule name for inventory policy.- Returns:
- the ruleName value.
-
getPolicyRunStatus
Get the policyRunStatus property: The status of inventory run, it can be Succeeded/PartiallySucceeded/Failed.- Returns:
- the policyRunStatus value.
-
getPolicyRunStatusMessage
Get the policyRunStatusMessage property: The status message for inventory run.- Returns:
- the policyRunStatusMessage value.
-
getPolicyRunId
Get the policyRunId property: The policy run id for inventory run.- Returns:
- the policyRunId value.
-
getManifestBlobUrl
Get the manifestBlobUrl property: The blob URL for manifest file for inventory run.- Returns:
- the manifestBlobUrl value.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-