ResourceWriteFailureData Class

  • java.lang.Object
    • com.microsoft.azure.eventgrid.models.ResourceWriteFailureData

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.

ResourceWriteFailureData withAuthorization(String authorization)

Set the requested authorization for the operation.

ResourceWriteFailureData withClaims(String claims)

Set the properties of the claims.

ResourceWriteFailureData withCorrelationId(String correlationId)

Set an operation ID used for troubleshooting.

ResourceWriteFailureData withHttpRequest(String httpRequest)

Set the details of the operation.

ResourceWriteFailureData withOperationName(String operationName)

Set the operation that was performed.

ResourceWriteFailureData withResourceGroup(String resourceGroup)

Set the resource group of the resource.

ResourceWriteFailureData withResourceProvider(String resourceProvider)

Set the resource provider performing the operation.

ResourceWriteFailureData withResourceUri(String resourceUri)

Set the URI of the resource in the operation.

ResourceWriteFailureData withStatus(String status)

Set the status of the operation.

ResourceWriteFailureData withSubscriptionId(String subscriptionId)

Set the subscription ID of the resource.

ResourceWriteFailureData withTenantId(String tenantId)

Set the tenant ID of the resource.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ResourceWriteFailureData

public ResourceWriteFailureData()

Method Details

authorization

public String authorization()

Get the requested authorization for the operation.

Returns:

the authorization value

claims

public String claims()

Get the properties of the claims.

Returns:

the claims value

correlationId

public String correlationId()

Get an operation ID used for troubleshooting.

Returns:

the correlationId value

httpRequest

public String httpRequest()

Get the details of the operation.

Returns:

the httpRequest value

operationName

public String operationName()

Get the operation that was performed.

Returns:

the operationName value

resourceGroup

public String resourceGroup()

Get the resource group of the resource.

Returns:

the resourceGroup value

resourceProvider

public String resourceProvider()

Get the resource provider performing the operation.

Returns:

the resourceProvider value

resourceUri

public String resourceUri()

Get the URI of the resource in the operation.

Returns:

the resourceUri value

status

public String status()

Get the status of the operation.

Returns:

the status value

subscriptionId

public String subscriptionId()

Get the subscription ID of the resource.

Returns:

the subscriptionId value

tenantId

public String tenantId()

Get the tenant ID of the resource.

Returns:

the tenantId value

withAuthorization

public ResourceWriteFailureData withAuthorization(String authorization)

Set the requested authorization for the operation.

Parameters:

authorization - the authorization value to set

Returns:

the ResourceWriteFailureData object itself.

withClaims

public ResourceWriteFailureData withClaims(String claims)

Set the properties of the claims.

Parameters:

claims - the claims value to set

Returns:

the ResourceWriteFailureData object itself.

withCorrelationId

public ResourceWriteFailureData withCorrelationId(String correlationId)

Set an operation ID used for troubleshooting.

Parameters:

correlationId - the correlationId value to set

Returns:

the ResourceWriteFailureData object itself.

withHttpRequest

public ResourceWriteFailureData withHttpRequest(String httpRequest)

Set the details of the operation.

Parameters:

httpRequest - the httpRequest value to set

Returns:

the ResourceWriteFailureData object itself.

withOperationName

public ResourceWriteFailureData withOperationName(String operationName)

Set the operation that was performed.

Parameters:

operationName - the operationName value to set

Returns:

the ResourceWriteFailureData object itself.

withResourceGroup

public ResourceWriteFailureData withResourceGroup(String resourceGroup)

Set the resource group of the resource.

Parameters:

resourceGroup - the resourceGroup value to set

Returns:

the ResourceWriteFailureData object itself.

withResourceProvider

public ResourceWriteFailureData withResourceProvider(String resourceProvider)

Set the resource provider performing the operation.

Parameters:

resourceProvider - the resourceProvider value to set

Returns:

the ResourceWriteFailureData object itself.

withResourceUri

public ResourceWriteFailureData withResourceUri(String resourceUri)

Set the URI of the resource in the operation.

Parameters:

resourceUri - the resourceUri value to set

Returns:

the ResourceWriteFailureData object itself.

withStatus

public ResourceWriteFailureData withStatus(String status)

Set the status of the operation.

Parameters:

status - the status value to set

Returns:

the ResourceWriteFailureData object itself.

withSubscriptionId

public ResourceWriteFailureData withSubscriptionId(String subscriptionId)

Set the subscription ID of the resource.

Parameters:

subscriptionId - the subscriptionId value to set

Returns:

the ResourceWriteFailureData object itself.

withTenantId

public ResourceWriteFailureData withTenantId(String tenantId)

Set the tenant ID of the resource.

Parameters:

tenantId - the tenantId value to set

Returns:

the ResourceWriteFailureData object itself.

Applies to