-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[Az.RecoveryServices.Backup] Added support for undelete soft deleted container and other fixes #26872
Conversation
️✔️Az.Accounts
️✔️Az.Compute
️✔️Az.Network
|
Type | Cmdlet | Example | Line | RuleName | Description | Extent | Remediation |
---|---|---|---|---|---|---|---|
Undo-AzRecoveryServicesBackupContainerDeletion | 1 | 1 | Unassigned_Variable | Get-AzRecoveryServicesBackupContainer -ResourceGroupName $resourceGroupName is a null-valued parameter value. | -ResourceGroupName | Assign value for $resourceGroupName. | |
Undo-AzRecoveryServicesBackupContainerDeletion | 1 | 1 | Unassigned_Variable | Get-AzRecoveryServicesBackupContainer -VaultId $vault.ID is a null-valued parameter value. | -VaultId | Assign value for $vault.ID. | |
Undo-AzRecoveryServicesBackupContainerDeletion | 1 | 2 | Unassigned_Variable | Undo-AzRecoveryServicesBackupContainerDeletion -VaultId $vault.ID is a null-valued parameter value. | -VaultId | Assign value for $vault.ID. |
⚠️ Windows PowerShell - Windows
Type | Cmdlet | Example | Line | RuleName | Description | Extent | Remediation |
---|---|---|---|---|---|---|---|
Undo-AzRecoveryServicesBackupContainerDeletion | 1 | 1 | Unassigned_Variable | Get-AzRecoveryServicesBackupContainer -ResourceGroupName $resourceGroupName is a null-valued parameter value. | -ResourceGroupName | Assign value for $resourceGroupName. | |
Undo-AzRecoveryServicesBackupContainerDeletion | 1 | 1 | Unassigned_Variable | Get-AzRecoveryServicesBackupContainer -VaultId $vault.ID is a null-valued parameter value. | -VaultId | Assign value for $vault.ID. | |
Undo-AzRecoveryServicesBackupContainerDeletion | 1 | 2 | Unassigned_Variable | Undo-AzRecoveryServicesBackupContainerDeletion -VaultId $vault.ID is a null-valued parameter value. | -VaultId | Assign value for $vault.ID. |
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️File Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️UX Metadata Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️PowerShell Core - Linux
️✔️PowerShell Core - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.RecoveryServices.Backup
️✔️Generated Sdk Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
f699925
to
a7011b4
Compare
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
@@ -0,0 +1,119 @@ | |||
// ---------------------------------------------------------------------------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please generate help markdown for this cmdlet
|
will update |
a7011b4
to
c9c54da
Compare
/azp run |
Commenter does not have sufficient privileges for PR 26872 in repo Azure/azure-powershell |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
c9c54da
to
19c7a5e
Compare
19c7a5e
to
6ff6d73
Compare
/azp run |
Commenter does not have sufficient privileges for PR 26872 in repo Azure/azure-powershell |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
src/RecoveryServices/RecoveryServices/help/Undo-AzRecoveryServicesBackupContainerDeletion.md
Outdated
Show resolved
Hide resolved
This PR was labeled "needs-revision" because it has unresolved review comments or CI failures. |
added support for undelete container
6ff6d73
to
21ba4a3
Compare
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
"Az.RecoveryServices","Undo-AzRecoveryServicesBackupContainerDeletion","1","1","Capitalization_Conventions_Violated","5101","1","where-object doesn't follow the Capitalization Conventions.","where-object { $_.Name -match $containerName}","Check the Capitalization Conventions. Suggest format: Where-Object" |
resolved |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
please update changelog.md |
updated |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
…container and other fixes (#26872) * modified policy limit added support for undelete container * Added test case * re-recorded failed tests * updated help * Updated Where-Object to camel case * Updated changeLog
Description
Added support for undelete soft deleted container and other fixes.
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.