Edit

Understand creation and deletion in Azure Enclave

As an administrator, you can delete Azure Enclave resources and resource groups that hold Azure Enclave resources. However, similar to other special Azure resources, Azure Enclave resources have protections and conditions surrounding create and delete operations. These outlined conditions must be met before creating or deleting Azure Enclave resources.

Create conditions

  • You can't create an enclave in failed communities.
  • You can't create a workload in failed enclaves.
  • You can't create an enclave endpoint in failed enclaves.
  • You can't create a transit hub in failed communities or use failed enclave endpoints.

Delete conditions

Azure Enclave resources have dependency requirements that you must meet before deletion. You must remove dependent child resources before deleting a parent resource. Additionally, if you lock a resource group, delete operations fail even for resources that appear unmodified.

  • A community can't be deleted if there are enclaves in the community.
  • A community can't be deleted if there are any existing transit hub in the community.
  • You can't delete an enclave if the enclave contains workloads.
  • You can't delete an enclave if the enclave contains enclave endpoints.
  • You can't delete an enclave if the enclave contains workload resource groups that aren't empty.
  • You can't delete a workload if the workload contains workload resource groups that aren't empty.
  • When you delete an enclave, you also delete enclave connections or community endpoints between the community and enclave along with firewall rules.
  • A workload can't be deleted in the workload resource group is locked.
  • An enclave endpoint can't be deleted if there are active enclave connections using the enclave endpoint.
  • You can't delete a community endpoint if active enclave connections use it.
  • Transit hubs can't be deleted if there are associated community endpoints.