ResourceGuardOperation Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.ResourceGuardOperation

Implements

public final class ResourceGuardOperation
implements JsonSerializable<ResourceGuardOperation>

This class contains all the details about a critical operation.

Method Summary

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

Reads an instance of ResourceGuardOperation from the JsonReader.

String requestResourceType()

Get the requestResourceType property: Type of resource request.

JsonWriter toJson(JsonWriter jsonWriter)
String vaultCriticalOperation()

Get the vaultCriticalOperation property: Name of the critical operation.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ResourceGuardOperation fromJson(JsonReader jsonReader)

Reads an instance of ResourceGuardOperation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResourceGuardOperation 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 ResourceGuardOperation.

requestResourceType

public String requestResourceType()

Get the requestResourceType property: Type of resource request.

Returns:

the requestResourceType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

vaultCriticalOperation

public String vaultCriticalOperation()

Get the vaultCriticalOperation property: Name of the critical operation.

Returns:

the vaultCriticalOperation value.

Applies to