ResourceActionSuccessEventData Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.ResourceActionSuccessEventData

Implements

public final class ResourceActionSuccessEventData
implements JsonSerializable<ResourceActionSuccessEventData>

Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceActionSuccess event. This is raised when a resource action operation succeeds.

Constructor Summary

Constructor Description
ResourceActionSuccessEventData()

Creates an instance of ResourceActionSuccessEventData class.

Method Summary

Modifier and Type Method and Description
static ResourceActionSuccessEventData fromJson(JsonReader jsonReader)

Reads an instance of ResourceActionSuccessEventData from the JsonReader.

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 correlationId property: An operation ID used for troubleshooting.

String getHttpRequest()

Deprecated

This method is no longer supported since v4.9.0. Use getResourceHttpRequest() instead.

Get the httpRequest property: The details of the operation.

String getOperationName()

Get the operationName property: The operation that was performed.

ResourceAuthorization 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 resourceGroup property: The resource group of the resource.

ResourceHttpRequest getResourceHttpRequest()

Get the httpRequest property: The details of the operation.

String getResourceProvider()

Get the resourceProvider property: The resource provider performing the operation.

String getResourceUri()

Get the resourceUri property: The URI of the resource in the operation.

String getStatus()

Get the status property: The status of the operation.

String getSubscriptionId()

Get the subscriptionId property: The subscription ID of the resource.

String getTenantId()

Get the tenantId property: The tenant ID of the resource.

ResourceActionSuccessEventData 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.

ResourceActionSuccessEventData 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.

ResourceActionSuccessEventData setCorrelationId(String correlationId)

Set the correlationId property: An operation ID used for troubleshooting.

ResourceActionSuccessEventData setHttpRequest(String httpRequest)

Deprecated

This method is no longer supported since v4.9.0. Use setResourceHttpRequest(ResourceHttpRequest httpRequest) instead.

Set the httpRequest property: The details of the operation.

ResourceActionSuccessEventData setOperationName(String operationName)

Set the operationName property: The operation that was performed.

ResourceActionSuccessEventData setResourceAuthorization(ResourceAuthorization authorization)

Set the authorization property: The requested authorization for the operation.

ResourceActionSuccessEventData setResourceClaims(Map<String,String> claims)

Set the claims property: The properties of the claims.

ResourceActionSuccessEventData setResourceGroup(String resourceGroup)

Set the resourceGroup property: The resource group of the resource.

ResourceActionSuccessEventData setResourceHttpRequest(ResourceHttpRequest httpRequest)

Set the httpRequest property: The details of the operation.

ResourceActionSuccessEventData setResourceProvider(String resourceProvider)

Set the resourceProvider property: The resource provider performing the operation.

ResourceActionSuccessEventData setResourceUri(String resourceUri)

Set the resourceUri property: The URI of the resource in the operation.

ResourceActionSuccessEventData setStatus(String status)

Set the status property: The status of the operation.

ResourceActionSuccessEventData setSubscriptionId(String subscriptionId)

Set the subscriptionId property: The subscription ID of the resource.

ResourceActionSuccessEventData setTenantId(String tenantId)

Set the tenantId property: The tenant ID of the resource.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

ResourceActionSuccessEventData

public ResourceActionSuccessEventData()

Creates an instance of ResourceActionSuccessEventData class.

Method Details

fromJson

public static ResourceActionSuccessEventData fromJson(JsonReader jsonReader)

Reads an instance of ResourceActionSuccessEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResourceActionSuccessEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ResourceActionSuccessEventData.

getAuthorization

@Deprecated
public 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.

Returns:

the authorization value.

getClaims

@Deprecated
public 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.

Returns:

the claims value.

getCorrelationId

public String getCorrelationId()

Get the correlationId property: An operation ID used for troubleshooting.

Returns:

the correlationId value.

getHttpRequest

@Deprecated
public String getHttpRequest()

Deprecated

This method is no longer supported since v4.9.0. Use getResourceHttpRequest() instead.

Get the httpRequest property: The details of the operation.

Returns:

the httpRequest value.

getOperationName

public String getOperationName()

Get the operationName property: The operation that was performed.

Returns:

the operationName value.

getResourceAuthorization

public ResourceAuthorization getResourceAuthorization()

Get the authorization property: The requested authorization for the operation.

Returns:

the authorization value.

getResourceClaims

public Map getResourceClaims()

Get the claims property: The properties of the claims.

Returns:

the claims value.

getResourceGroup

public String getResourceGroup()

Get the resourceGroup property: The resource group of the resource.

Returns:

the resourceGroup value.

getResourceHttpRequest

public ResourceHttpRequest getResourceHttpRequest()

Get the httpRequest property: The details of the operation.

Returns:

the httpRequest value.

getResourceProvider

public String getResourceProvider()

Get the resourceProvider property: The resource provider performing the operation.

Returns:

the resourceProvider value.

getResourceUri

public String getResourceUri()

Get the resourceUri property: The URI of the resource in the operation.

Returns:

the resourceUri value.

getStatus

public String getStatus()

Get the status property: The status of the operation.

Returns:

the status value.

getSubscriptionId

public String getSubscriptionId()

Get the subscriptionId property: The subscription ID of the resource.

Returns:

the subscriptionId value.

getTenantId

public String getTenantId()

Get the tenantId property: The tenant ID of the resource.

Returns:

the tenantId value.

setAuthorization

@Deprecated
public ResourceActionSuccessEventData 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.

Parameters:

authorization - the authorization value to set.

Returns:

the ResourceActionSuccessEventData object itself.

setClaims

@Deprecated
public ResourceActionSuccessEventData 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.

Parameters:

claims - the claims value to set.

Returns:

the ResourceActionSuccessEventData object itself.

setCorrelationId

public ResourceActionSuccessEventData setCorrelationId(String correlationId)

Set the correlationId property: An operation ID used for troubleshooting.

Parameters:

correlationId - the correlationId value to set.

Returns:

the ResourceActionSuccessEventData object itself.

setHttpRequest

@Deprecated
public ResourceActionSuccessEventData setHttpRequest(String httpRequest)

Deprecated

This method is no longer supported since v4.9.0. Use setResourceHttpRequest(ResourceHttpRequest httpRequest) instead.

Set the httpRequest property: The details of the operation.

Parameters:

httpRequest - the httpRequest value to set.

Returns:

the ResourceActionSuccessEventData object itself.

setOperationName

public ResourceActionSuccessEventData setOperationName(String operationName)

Set the operationName property: The operation that was performed.

Parameters:

operationName - the operationName value to set.

Returns:

the ResourceActionSuccessEventData object itself.

setResourceAuthorization

public ResourceActionSuccessEventData setResourceAuthorization(ResourceAuthorization authorization)

Set the authorization property: The requested authorization for the operation.

Parameters:

authorization - the authorization value to set.

Returns:

the ResourceActionSuccessEventData object itself.

setResourceClaims

public ResourceActionSuccessEventData setResourceClaims(Map claims)

Set the claims property: The properties of the claims.

Parameters:

claims - the claims value to set.

Returns:

the ResourceActionSuccessEventData object itself.

setResourceGroup

public ResourceActionSuccessEventData setResourceGroup(String resourceGroup)

Set the resourceGroup property: The resource group of the resource.

Parameters:

resourceGroup - the resourceGroup value to set.

Returns:

the ResourceActionSuccessEventData object itself.

setResourceHttpRequest

public ResourceActionSuccessEventData setResourceHttpRequest(ResourceHttpRequest httpRequest)

Set the httpRequest property: The details of the operation.

Parameters:

httpRequest - the httpRequest value to set.

Returns:

the ResourceActionSuccessEventData object itself.

setResourceProvider

public ResourceActionSuccessEventData setResourceProvider(String resourceProvider)

Set the resourceProvider property: The resource provider performing the operation.

Parameters:

resourceProvider - the resourceProvider value to set.

Returns:

the ResourceActionSuccessEventData object itself.

setResourceUri

public ResourceActionSuccessEventData setResourceUri(String resourceUri)

Set the resourceUri property: The URI of the resource in the operation.

Parameters:

resourceUri - the resourceUri value to set.

Returns:

the ResourceActionSuccessEventData object itself.

setStatus

public ResourceActionSuccessEventData setStatus(String status)

Set the status property: The status of the operation.

Parameters:

status - the status value to set.

Returns:

the ResourceActionSuccessEventData object itself.

setSubscriptionId

public ResourceActionSuccessEventData setSubscriptionId(String subscriptionId)

Set the subscriptionId property: The subscription ID of the resource.

Parameters:

subscriptionId - the subscriptionId value to set.

Returns:

the ResourceActionSuccessEventData object itself.

setTenantId

public ResourceActionSuccessEventData setTenantId(String tenantId)

Set the tenantId property: The tenant ID of the resource.

Parameters:

tenantId - the tenantId value to set.

Returns:

the ResourceActionSuccessEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to

Azure SDK for Java

Latest