-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[Compute] New-AzRestorePoint and New-AzRestorePointCollection #17665
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
Conversation
|
@BethanyZhou can you please add this to the March release? Thanks. |
| public string Name { get; set; } | ||
|
|
||
| [Parameter( | ||
| Position = 3, |
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.
Removing position may break user's script, please revert these changes.
|
Please fix analyze issues and test issues. [xUnit.net 00:01:50.05] Microsoft.Azure.Commands.Compute.Test.ScenarioTests.RestorePointsTests.TestRestorePoints [FAIL] /Users/runner/work/1/s/artifacts//StaticAnalysisResults/BreakingChangeIssues.csv Errors |
Our code freeze date is 03/28 and we are building release candidate for March release. Any special reason to must have this PR in March release? If so, please fix comments above ASAP and let us see this PR whether has change to squeeze into release candidate. |
|
@BethanyZhou yes this is request customers are waiting on, I will fix the PR and let you know. |
Co-authored-by: Beisi Zhou <[email protected]>
|
@BethanyZhou The Static analysis failure seems like a false positive. |
|
Yes, please suppress them in suppress the breaking change errors in tools/StaticAnalysis/Exceptions/${ModuleName}/BreakingChangeIssues.csv" |
| [[-DisksToExclude] <String[]>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] | ||
| [<CommonParameters>] | ||
| New-AzRestorePoint [-ResourceGroupName] <String> -RestorePointCollectionName <String> -Name <String> | ||
| [-Location <String>] -RestorePointId <String> [-DisksToExclude <String[]>] |
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 update markdown files to keep sync with code implementation. The syntax says RestorePointCollectionName is not a positional parameter now. Need be updated.
| ``` | ||
| ### -Location | ||
| {{ Fill Location Description }} |
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.
The description of Location is missing, please add help message for it.
| Position = 3, | ||
| Mandatory = false, | ||
| ValueFromPipelineByPropertyName = false)] | ||
| public string Location { get; set; } |
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 add help message for new added parameters.
| ``` | ||
| ### -RestorePointId | ||
| {{ Fill RestorePointId Description }} |
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 one needs help message as well.
| Aliases: | ||
|
|
||
| Required: True | ||
| Position: 2 |
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 update markdown files.
| ``` | ||
| ### -Zone | ||
| {{ Fill Zone Description }} |
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.
Needs description. To add it, please add help message in cs file.
| ``` | ||
| ### -RestorePointCollectionId | ||
| {{ Fill RestorePointCollectionId Description }} |
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.
Description is empty.
…/azure-powershell into haagha/restorepointchanges
|
Added static analysis to breaking changes supression csv and updated descriptions and help files. |
|
Seems like you forget to update Repair-AzVmssServiceFabricUpdateDomain.md the description of Zone and PlacementGroupId is empty, please have a look. |
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.
All look good to me except Repair-AzVmssServiceFabricUpdateDomain.md
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.
Looks good to me
(https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/1098)
Checklist
CONTRIBUTING.mdChangeLog.mdfile(s) has been updated:ChangeLog.mdfile can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md## Upcoming Releaseheader -- no new version header should be added