Skip to content

[BACKUP] Fix #14776: Fix --force parameter functionality for az backup vault delete command - #16957

Merged
Feng Zhou (fengzhou-msft) merged 2 commits into
Azure:devfrom
akshayneema:user/akneema/forcedeletevault
Mar 23, 2021
Merged

Feng Zhou (fengzhou-msft) merged 2 commits into
Azure:devfrom
akshayneema:user/akneema/forcedeletevault

Conversation

@akshayneema

Copy link
Copy Markdown
Contributor

Description
Fixed --force parameter functionality for az backup vault delete command. Earlier it was only deleting AzureIaaSVM backup management type items. Thereby giving 'Vault cannot be deleted as there are existing resources within the vault' error. Added functionality to delete AzureWorkload and AzureStorage backup management type items and to unregister the respective containers too.

Testing Guide
az backup vault delete -n {vault_name} -g {rg_name} --force

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.


This checklist is used to make sure that common guidelines for a pull request are followed.

@yonzhan

Copy link
Copy Markdown
Collaborator

BACKUP

@fengzhou-msft

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@qwordy

Copy link
Copy Markdown
Member

Code owner review required

@fengzhou-msft Feng Zhou (fengzhou-msft) changed the title [BACKUP] Fix #14776: Fixed --force parameter functionality for az backup vault delete command [BACKUP] Fix #14776: Fix --force parameter functionality for az backup vault delete command Mar 4, 2021
@fengzhou-msft

Copy link
Copy Markdown
Member

Feiyue Yu (@qwordy) Akshay Neema (@akshayneema) added both of you as command owners.

@fengzhou-msft
Feng Zhou (fengzhou-msft) merged commit 12a9158 into Azure:dev Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants