Class ResourceGuard
java.lang.Object
com.azure.resourcemanager.dataprotection.models.ResourceGuard
The ResourceGuard model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the allowAutoApprovals property: This flag indicates whether auto approval is allowed or not.Get the description property: Description about the pre-req steps to perform all the critical operations.Get the provisioningState property: Provisioning state of the BackupVault resource.Get the resourceGuardOperations property: {readonly} List of operation details those are protected by the ResourceGuard resource.void
validate()
Validates the instance.Get the vaultCriticalOperationExclusionList property: List of critical operations which are not protected by this resourceGuard.withVaultCriticalOperationExclusionList
(List<String> vaultCriticalOperationExclusionList) Set the vaultCriticalOperationExclusionList property: List of critical operations which are not protected by this resourceGuard.
-
Constructor Details
-
ResourceGuard
public ResourceGuard()Creates an instance of ResourceGuard class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of the BackupVault resource.- Returns:
- the provisioningState value.
-
allowAutoApprovals
Get the allowAutoApprovals property: This flag indicates whether auto approval is allowed or not.- Returns:
- the allowAutoApprovals value.
-
resourceGuardOperations
Get the resourceGuardOperations property: {readonly} List of operation details those are protected by the ResourceGuard resource.- Returns:
- the resourceGuardOperations value.
-
vaultCriticalOperationExclusionList
Get the vaultCriticalOperationExclusionList property: List of critical operations which are not protected by this resourceGuard.- Returns:
- the vaultCriticalOperationExclusionList value.
-
withVaultCriticalOperationExclusionList
public ResourceGuard withVaultCriticalOperationExclusionList(List<String> vaultCriticalOperationExclusionList) Set the vaultCriticalOperationExclusionList property: List of critical operations which are not protected by this resourceGuard.- Parameters:
vaultCriticalOperationExclusionList
- the vaultCriticalOperationExclusionList value to set.- Returns:
- the ResourceGuard object itself.
-
description
Get the description property: Description about the pre-req steps to perform all the critical operations.- Returns:
- the description value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-