-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[dataprotection] Rename blob containers for item level restore #28904
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
base: main
Are you sure you want to change the base?
Conversation
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
| ``` yaml | ||
| # it's the same options as command line options, just drop the double-dash! | ||
| commit: ebdacd9571bc8a5faad5b8d418c70c3b6b7c2965 | ||
| require: |
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.
did we also need to update to the latest commit here. it's good to refresh to latest
|
|
||
| $PSBoundParameters.Add("EncryptionSetting", $encryptionSettings) | ||
|
|
||
| Write-Host "Entering Az.DataProtection.Internal\New-AzDataProtectionBackupVault line 175" |
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.
remove/ modify this line, assuming this was only needed for debugging
| } | ||
| else | ||
| { | ||
| Write-Host "[Ianna] - we have added the identity type" |
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.
Update/remove
| $hasCmkInfrastructureEncryption = $PSBoundParameters.Remove("CmkInfrastructureEncryption") | ||
|
|
||
| if (-not $hasCmkEncryptionState -and -not $hasCmkIdentityType -and -not $hasCmkUserAssignedIdentityId -and -not $hasCmkEncryptionKeyUri) { | ||
| Write-Host "Entering Az.DataProtection.Internal\New-AzDataProtectionBackupVault line 160" |
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.
same - update/remove this
| { | ||
| if($PSBoundParameters.ContainsKey("IdentityType") -eq $false) | ||
| $identityTypeValue = "SystemAssigned" | ||
| if ($PSBoundParameters.ContainsKey("IdentityType")) |
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.
do we need custom logic here? can we directly set the appropriate parameters to the generated command. try update the generated command to previous parameters so that will minimize the code changes here and easy to leverage
| [-EncryptionSetting <IEncryptionSettings>] [-Identity <IDppIdentityDetails>] | ||
| [-ImmutabilityState <ImmutabilityState>] [-NoWait] [-ResourceGuardOperationRequest <String[]>] | ||
| [-SoftDeleteRetentionDurationInDay <Double>] [-SoftDeleteState <SoftDeleteState>] [-Tag <Hashtable>] | ||
| [-Confirm] [-WhatIf] [<CommonParameters>] |
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.
this looks like a breaking change in identity parameters. please revert/ fix
| ```yaml | ||
| Type: System.String | ||
| Parameter Sets: (All) | ||
| Parameter Sets: UpdateExpanded |
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.
is this expected to change?
Description
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.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.