Open
Description
Allow Bicep to have a general setting to automatically restore soft-deleted resources. Currently, when deleting and recreating Azure Key Vault resources using Bicep, users need to specifically set the "createMode" to "restore" in order for the Key Vault to be restored from a soft-deleted state.
Microsoft.CognitiveServices resources also have this issue. However, the way to address this is to set properties.restore
to true
.
It would be a valuable feature to have a general flag/setting/parameter in Bicep/ARM that allows automatic restoration of soft-deleted resources across Azure with a single flag set on such a resource, instead of having to flip between creationMode: 'default'
, creationMode: 'restore'
, and creationMode: 'default'
.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo
Activity
stephaniezyen commentedon May 17, 2023
Awaiting details on design of Generic Soft-Delete