ResourceWriteFailureData Class
- java.
lang. Object - com.
microsoft. azure. eventgrid. models. ResourceWriteFailureData
- com.
public class ResourceWriteFailureData
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 | |
---|---|---|
ResourceWriteFailureData() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
authorization()
Get the requested authorization for the operation. |
java.lang.String |
claims()
Get the properties of the claims. |
java.lang.String |
correlationId()
Get an operation ID used for troubleshooting. |
java.lang.String |
httpRequest()
Get the details of the operation. |
java.lang.String |
operationName()
Get the operation that was performed. |
java.lang.String |
resourceGroup()
Get the resource group of the resource. |
java.lang.String |
resourceProvider()
Get the resource provider performing the operation. |
java.lang.String |
resourceUri()
Get the URI of the resource in the operation. |
java.lang.String |
status()
Get the status of the operation. |
java.lang.String |
subscriptionId()
Get the subscription ID of the resource. |
java.lang.String |
tenantId()
Get the tenant ID of the resource. |
Resource |
withAuthorization(String authorization)
Set the requested authorization for the operation. |
Resource |
withClaims(String claims)
Set the properties of the claims. |
Resource |
withCorrelationId(String correlationId)
Set an operation ID used for troubleshooting. |
Resource |
withHttpRequest(String httpRequest)
Set the details of the operation. |
Resource |
withOperationName(String operationName)
Set the operation that was performed. |
Resource |
withResourceGroup(String resourceGroup)
Set the resource group of the resource. |
Resource |
withResourceProvider(String resourceProvider)
Set the resource provider performing the operation. |
Resource |
withResourceUri(String resourceUri)
Set the URI of the resource in the operation. |
Resource |
withStatus(String status)
Set the status of the operation. |
Resource |
withSubscriptionId(String subscriptionId)
Set the subscription ID of the resource. |
Resource |
withTenantId(String tenantId)
Set the tenant ID of the resource. |
Methods inherited from java.lang.Object
Constructor Details
ResourceWriteFailureData
public ResourceWriteFailureData()
Method Details
authorization
public String authorization()
Get the requested authorization for the operation.
Returns:
claims
public String claims()
Get the properties of the claims.
Returns:
correlationId
public String correlationId()
Get an operation ID used for troubleshooting.
Returns:
httpRequest
public String httpRequest()
Get the details of the operation.
Returns:
operationName
public String operationName()
Get the operation that was performed.
Returns:
resourceGroup
public String resourceGroup()
Get the resource group of the resource.
Returns:
resourceProvider
public String resourceProvider()
Get the resource provider performing the operation.
Returns:
resourceUri
public String resourceUri()
Get the URI of the resource in the operation.
Returns:
status
public String status()
Get the status of the operation.
Returns:
subscriptionId
public String subscriptionId()
Get the subscription ID of the resource.
Returns:
tenantId
public String tenantId()
Get the tenant ID of the resource.
Returns:
withAuthorization
public ResourceWriteFailureData withAuthorization(String authorization)
Set the requested authorization for the operation.
Parameters:
Returns:
withClaims
public ResourceWriteFailureData withClaims(String claims)
Set the properties of the claims.
Parameters:
Returns:
withCorrelationId
public ResourceWriteFailureData withCorrelationId(String correlationId)
Set an operation ID used for troubleshooting.
Parameters:
Returns:
withHttpRequest
public ResourceWriteFailureData withHttpRequest(String httpRequest)
Set the details of the operation.
Parameters:
Returns:
withOperationName
public ResourceWriteFailureData withOperationName(String operationName)
Set the operation that was performed.
Parameters:
Returns:
withResourceGroup
public ResourceWriteFailureData withResourceGroup(String resourceGroup)
Set the resource group of the resource.
Parameters:
Returns:
withResourceProvider
public ResourceWriteFailureData withResourceProvider(String resourceProvider)
Set the resource provider performing the operation.
Parameters:
Returns:
withResourceUri
public ResourceWriteFailureData withResourceUri(String resourceUri)
Set the URI of the resource in the operation.
Parameters:
Returns:
withStatus
public ResourceWriteFailureData withStatus(String status)
Set the status of the operation.
Parameters:
Returns:
withSubscriptionId
public ResourceWriteFailureData withSubscriptionId(String subscriptionId)
Set the subscription ID of the resource.
Parameters:
Returns:
withTenantId
public ResourceWriteFailureData withTenantId(String tenantId)
Set the tenant ID of the resource.
Parameters:
Returns:
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