ResourceWriteFailureEventData Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. ResourceWriteFailureEventData
- com.
Implements
public final class ResourceWriteFailureEventData
implements JsonSerializable<ResourceWriteFailureEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceWriteFailure event. This is raised when a resource create or update operation fails.
Constructor Summary
Constructor | Description |
---|---|
ResourceWriteFailureEventData() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
String |
getAuthorization()
Deprecated
This method is no longer supported since v4.9.0.
Use getResourceAuthorization() instead.
Get the authorization property: The requested authorization for the operation. |
String |
getClaims()
Deprecated
This method is no longer supported since v4.9.0.
Use getResourceClaims() instead.
Get the claims property: The properties of the claims. |
String |
getCorrelationId()
Get the correlation |
String |
getHttpRequest()
Deprecated
This method is no longer supported since v4.9.0.
Use getResourceHttpRequest() instead.
Get the http |
String |
getOperationName()
Get the operation |
Resource |
getResourceAuthorization()
Get the authorization property: The requested authorization for the operation. |
Map<String,String> |
getResourceClaims()
Get the claims property: The properties of the claims. |
String |
getResourceGroup()
Get the resource |
Resource |
getResourceHttpRequest()
Get the http |
String |
getResourceProvider()
Get the resource |
String |
getResourceUri()
Get the resource |
String |
getStatus()
Get the status property: The status of the operation. |
String |
getSubscriptionId()
Get the subscription |
String |
getTenantId()
Get the tenant |
Resource |
setAuthorization(String authorization)
Deprecated
This method is no longer supported since v4.9.0.
Use setResourceAuthorization(ResourceAuthorization authorization) instead.
Set the authorization property: The requested authorization for the operation. |
Resource |
setClaims(String claims)
Deprecated
This method is no longer supported since v4.9.0.
Use setResourceClaims(Map<String,String> claims) instead.
Set the claims property: The properties of the claims. |
Resource |
setCorrelationId(String correlationId)
Set the correlation |
Resource |
setHttpRequest(String httpRequest)
Deprecated
This method is no longer supported since v4.9.0.
Use setResourceHttpRequest(ResourceHttpRequest httpRequest) instead.
Set the http |
Resource |
setOperationName(String operationName)
Set the operation |
Resource |
setResourceAuthorization(ResourceAuthorization authorization)
Set the authorization property: The requested authorization for the operation. |
Resource |
setResourceClaims(Map<String,String> claims)
Set the claims property: The properties of the claims. |
Resource |
setResourceGroup(String resourceGroup)
Set the resource |
Resource |
setResourceHttpRequest(ResourceHttpRequest httpRequest)
Set the http |
Resource |
setResourceProvider(String resourceProvider)
Set the resource |
Resource |
setResourceUri(String resourceUri)
Set the resource |
Resource |
setStatus(String status)
Set the status property: The status of the operation. |
Resource |
setSubscriptionId(String subscriptionId)
Set the subscription |
Resource |
setTenantId(String tenantId)
Set the tenant |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ResourceWriteFailureEventData
public ResourceWriteFailureEventData()
Creates an instance of ResourceWriteFailureEventData class.
Method Details
fromJson
public static ResourceWriteFailureEventData fromJson(JsonReader jsonReader)
Reads an instance of ResourceWriteFailureEventData from the JsonReader.
Parameters:
Returns:
Throws:
getAuthorization
@Deprecated
public String getAuthorization()
Deprecated
Get the authorization property: The requested authorization for the operation.
Returns:
getClaims
@Deprecated
public String getClaims()
Deprecated
Get the claims property: The properties of the claims.
Returns:
getCorrelationId
public String getCorrelationId()
Get the correlationId property: An operation ID used for troubleshooting.
Returns:
getHttpRequest
@Deprecated
public String getHttpRequest()
Deprecated
Get the httpRequest property: The details of the operation.
Returns:
getOperationName
public String getOperationName()
Get the operationName property: The operation that was performed.
Returns:
getResourceAuthorization
public ResourceAuthorization getResourceAuthorization()
Get the authorization property: The requested authorization for the operation.
Returns:
getResourceClaims
public Map
Get the claims property: The properties of the claims.
Returns:
getResourceGroup
public String getResourceGroup()
Get the resourceGroup property: The resource group of the resource.
Returns:
getResourceHttpRequest
public ResourceHttpRequest getResourceHttpRequest()
Get the httpRequest property: The details of the operation.
Returns:
getResourceProvider
public String getResourceProvider()
Get the resourceProvider property: The resource provider performing the operation.
Returns:
getResourceUri
public String getResourceUri()
Get the resourceUri property: The URI of the resource in the operation.
Returns:
getStatus
public String getStatus()
Get the status property: The status of the operation.
Returns:
getSubscriptionId
public String getSubscriptionId()
Get the subscriptionId property: The subscription ID of the resource.
Returns:
getTenantId
public String getTenantId()
Get the tenantId property: The tenant ID of the resource.
Returns:
setAuthorization
@Deprecated
public ResourceWriteFailureEventData setAuthorization(String authorization)
Deprecated
Set the authorization property: The requested authorization for the operation.
Parameters:
Returns:
setClaims
@Deprecated
public ResourceWriteFailureEventData setClaims(String claims)
Deprecated
Set the claims property: The properties of the claims.
Parameters:
Returns:
setCorrelationId
public ResourceWriteFailureEventData setCorrelationId(String correlationId)
Set the correlationId property: An operation ID used for troubleshooting.
Parameters:
Returns:
setHttpRequest
@Deprecated
public ResourceWriteFailureEventData setHttpRequest(String httpRequest)
Deprecated
Set the httpRequest property: The details of the operation.
Parameters:
Returns:
setOperationName
public ResourceWriteFailureEventData setOperationName(String operationName)
Set the operationName property: The operation that was performed.
Parameters:
Returns:
setResourceAuthorization
public ResourceWriteFailureEventData setResourceAuthorization(ResourceAuthorization authorization)
Set the authorization property: The requested authorization for the operation.
Parameters:
Returns:
setResourceClaims
public ResourceWriteFailureEventData setResourceClaims(Map
Set the claims property: The properties of the claims.
Parameters:
Returns:
setResourceGroup
public ResourceWriteFailureEventData setResourceGroup(String resourceGroup)
Set the resourceGroup property: The resource group of the resource.
Parameters:
Returns:
setResourceHttpRequest
public ResourceWriteFailureEventData setResourceHttpRequest(ResourceHttpRequest httpRequest)
Set the httpRequest property: The details of the operation.
Parameters:
Returns:
setResourceProvider
public ResourceWriteFailureEventData setResourceProvider(String resourceProvider)
Set the resourceProvider property: The resource provider performing the operation.
Parameters:
Returns:
setResourceUri
public ResourceWriteFailureEventData setResourceUri(String resourceUri)
Set the resourceUri property: The URI of the resource in the operation.
Parameters:
Returns:
setStatus
public ResourceWriteFailureEventData setStatus(String status)
Set the status property: The status of the operation.
Parameters:
Returns:
setSubscriptionId
public ResourceWriteFailureEventData setSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscription ID of the resource.
Parameters:
Returns:
setTenantId
public ResourceWriteFailureEventData setTenantId(String tenantId)
Set the tenantId property: The tenant ID of the resource.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for