Skip to content

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

Open
@JayDoubleu

Description

@JayDoubleu

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

No type

Projects

  • Status

    Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Add General Setting for Automatically Restoring Soft-Deleted Resources in Bicep · Issue #10655 · Azure/bicep