Class ResourceGuard


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

      • ResourceGuard

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