Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add General Setting for Automatically Restoring Soft-Deleted Resources in Bicep #10655

Open
JayDoubleu opened this issue May 8, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request revisit

Comments

@JayDoubleu
Copy link

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

@stephaniezyen
Copy link
Contributor

Awaiting details on design of Generic Soft-Delete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request revisit
Projects
Status: Todo
Development

No branches or pull requests

2 participants