Class ResourceGuardOperation
java.lang.Object
com.azure.resourcemanager.dataprotection.models.ResourceGuardOperation
This class contains all the details about a critical operation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ResourceGuardOperation class. -
Method Summary
Modifier and TypeMethodDescriptionGet the requestResourceType property: Type of resource request.void
validate()
Validates the instance.Get the vaultCriticalOperation property: Name of the critical operation.
-
Constructor Details
-
ResourceGuardOperation
public ResourceGuardOperation()Creates an instance of ResourceGuardOperation class.
-
-
Method Details
-
vaultCriticalOperation
Get the vaultCriticalOperation property: Name of the critical operation.- Returns:
- the vaultCriticalOperation value.
-
requestResourceType
Get the requestResourceType property: Type of resource request.- Returns:
- the requestResourceType value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-