java.lang.Object
com.azure.resourcemanager.dataprotection.models.ResourceGuard

public final class ResourceGuard extends Object
The ResourceGuard model.
  • Constructor Details

    • ResourceGuard

      public ResourceGuard()
      Creates an instance of ResourceGuard class.
  • Method Details

    • provisioningState

      public ResourceGuardProvisioningState 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.
    • 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

      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.