-
Notifications
You must be signed in to change notification settings - Fork 4k
migrate ResourceMover to autorest v4 #28313
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. |
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.
Pull Request Overview
This PR migrates the Azure ResourceMover PowerShell module from AutoRest v3 to AutoRest v4. The migration involves updating model type namespaces, correcting parameter types, adding new parameter sets, and resolving breaking changes in the generated code.
Key Changes
- Updated model type namespaces from
Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801
toMicrosoft.Azure.PowerShell.Cmdlets.ResourceMover.Models
- Replaced strongly-typed enum parameters with string parameters for flexibility
- Added new parameter sets and JSON-based input methods for various cmdlets
Reviewed Changes
Copilot reviewed 79 out of 79 changed files in this pull request and generated 4 comments.
Show a summary per file
File | Description |
---|---|
tools/StaticAnalysis/Exceptions/Az.ResourceMover/BreakingChangeIssues.csv | Documents breaking changes and exceptions for the v4 migration |
src/ResourceMover/ResourceMover/help/*.md | Updates help documentation with corrected type names and parameter sets |
src/ResourceMover/ResourceMover.Autorest/test/*.ps1 | Updates test files to use new parameter syntax |
src/ResourceMover/ResourceMover.Autorest/examples/*.md | Updates example documentation with corrected type references |
src/ResourceMover/ResourceMover.Autorest/custom/csharp/*.cs | Updates C# custom code with new model namespaces |
@@ -31,7 +46,7 @@ To aid the user to prerequisite the operation the client can call operation with | |||
|
|||
## EXAMPLES | |||
|
|||
### Example 1: Validate the dependenciesss before remove of the Move Resources from Move Collection | |||
### Example 1: Validate the dependecies before remove of the Move Resources from Move Collection |
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.
There is a spelling error in 'dependecies'. It should be 'dependencies'.
### Example 1: Validate the dependecies before remove of the Move Resources from Move Collection | |
### Example 1: Validate the dependencies before remove of the Move Resources from Move Collection |
Copilot uses AI. Check for mistakes.
@@ -51,7 +66,7 @@ Status : Succeeded | |||
|
|||
``` | |||
|
|||
Validate the dependencies before remove of the move resources from Move Collection. | |||
Validate the dependecies before remove of the move resources from Move Collection. |
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.
There is a spelling error in 'dependecies'. It should be 'dependencies'.
Validate the dependecies before remove of the move resources from Move Collection. | |
Validate the dependencies before remove of the move resources from Move Collection. |
Copilot uses AI. Check for mistakes.
@@ -32,7 +47,7 @@ To aid the user to prerequisite the operation the client can call operation with | |||
|
|||
## EXAMPLES | |||
|
|||
### Example 1: Validate the dependencies before remove of the Move Resources from Move Collection | |||
### Example 1: Validate the dependecies before remove of the Move Resources from Move Collection |
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.
There is a spelling error in 'dependecies'. It should be 'dependencies'.
### Example 1: Validate the dependecies before remove of the Move Resources from Move Collection | |
### Example 1: Validate the dependencies before remove of the Move Resources from Move Collection |
Copilot uses AI. Check for mistakes.
@@ -51,7 +66,7 @@ StartTime : 2/10/2021 12:52:28 PM | |||
Status : Succeeded | |||
``` | |||
|
|||
Validate the dependencies before remove of the move resources from Move Collection. | |||
Validate the dependecies before remove of the move resources from Move Collection. |
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.
There is a spelling error in 'dependecies'. It should be 'dependencies'.
Validate the dependecies before remove of the move resources from Move Collection. | |
Validate the dependencies before remove of the move resources from Move Collection. |
Copilot uses AI. Check for mistakes.
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.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.