Class ResourceDeleteFailureEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ResourceDeleteFailureEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourceDeleteFailureEventData>
public final class ResourceDeleteFailureEventData
extends Object
implements com.azure.json.JsonSerializable<ResourceDeleteFailureEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceDeleteFailure event. This is
raised when a resource delete operation fails.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResourceDeleteFailureEventData from the JsonReader.Get the authorization property: The requested authorization for the operation.Get the claims property: The properties of the claims.Get the correlationId property: An operation ID used for troubleshooting.Get the httpRequest property: The details of the operation.Get the operationName property: The operation that was performed.Get the resourceGroup property: The resource group of the resource.Get the resourceProvider property: The resource provider performing the operation.Get the resourceUri property: The URI of the resource in the operation.Get the status property: The status of the operation.Get the subscriptionId property: The subscription ID of the resource.Get the tenantId property: The tenant ID of the resource.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
-
getTenantId
Get the tenantId property: The tenant ID of the resource.- Returns:
- the tenantId value.
-
getSubscriptionId
Get the subscriptionId property: The subscription ID of the resource.- Returns:
- the subscriptionId value.
-
getResourceGroup
Get the resourceGroup property: The resource group of the resource.- Returns:
- the resourceGroup value.
-
getResourceProvider
Get the resourceProvider property: The resource provider performing the operation.- Returns:
- the resourceProvider value.
-
getResourceUri
Get the resourceUri property: The URI of the resource in the operation.- Returns:
- the resourceUri value.
-
getOperationName
Get the operationName property: The operation that was performed.- Returns:
- the operationName value.
-
getStatus
Get the status property: The status of the operation.- Returns:
- the status value.
-
getAuthorization
Get the authorization property: The requested authorization for the operation.- Returns:
- the authorization value.
-
getClaims
Get the claims property: The properties of the claims.- Returns:
- the claims value.
-
getCorrelationId
Get the correlationId property: An operation ID used for troubleshooting.- Returns:
- the correlationId value.
-
getHttpRequest
Get the httpRequest property: The details of the operation.- Returns:
- the httpRequest value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ResourceDeleteFailureEventData>- Throws:
IOException
-
fromJson
public static ResourceDeleteFailureEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ResourceDeleteFailureEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ResourceDeleteFailureEventData 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 ResourceDeleteFailureEventData.
-