Class ResourceGuard
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.ResourceGuard
-
public final class ResourceGuard extends Object
The ResourceGuard model.
-
-
Constructor Summary
Constructors Constructor Description ResourceGuard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
allowAutoApprovals()
Get the allowAutoApprovals property: This flag indicates whether auto approval is allowed or not.String
description()
Get the description property: Description about the pre-req steps to perform all the critical operations.ProvisioningState
provisioningState()
Get the provisioningState property: Provisioning state of the BackupVault resource.List<ResourceGuardOperation>
resourceGuardOperations()
Get the resourceGuardOperations property: {readonly} List of operation details those are protected by the ResourceGuard resource.void
validate()
Validates the instance.List<String>
vaultCriticalOperationExclusionList()
Get the vaultCriticalOperationExclusionList property: List of critical operations which are not protected by this resourceGuard.
-
-
-
Method Detail
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the BackupVault resource.- Returns:
- the provisioningState value.
-
allowAutoApprovals
public Boolean allowAutoApprovals()
Get the allowAutoApprovals property: This flag indicates whether auto approval is allowed or not.- Returns:
- the allowAutoApprovals value.
-
resourceGuardOperations
public List<ResourceGuardOperation> resourceGuardOperations()
Get the resourceGuardOperations property: {readonly} List of operation details those are protected by the ResourceGuard resource.- Returns:
- the resourceGuardOperations value.
-
vaultCriticalOperationExclusionList
public List<String> vaultCriticalOperationExclusionList()
Get the vaultCriticalOperationExclusionList property: List of critical operations which are not protected by this resourceGuard.- Returns:
- the vaultCriticalOperationExclusionList value.
-
description
public String 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.
-
-