Skip to content

[Compute] Migrate SDK to generate from TypeSpec#48646

Merged
weidongxu-microsoft merged 22 commits intomainfrom
migrate-compute
Apr 1, 2026
Merged

[Compute] Migrate SDK to generate from TypeSpec#48646
weidongxu-microsoft merged 22 commits intomainfrom
migrate-compute

Conversation

@weidongxu-microsoft
Copy link
Copy Markdown
Member

@weidongxu-microsoft weidongxu-microsoft commented Mar 31, 2026

fix #47695

Migrate azure-resourcemanager-compute SDK from Swagger (AutoRest) to TypeSpec generation.

Depends on

Breaking Changes

  • Output-only models' constructors are now private.
  • Output-only models' setters are removed or have reduced visibility.
  • Pageable list result models moved to implementation package.
  • CloudService-related models moved to implementation package.
  • Several internal models moved to implementation package.

Revapi suppressions added for the above breaking changes.

weidongxu-microsoft and others added 8 commits March 31, 2026 12:57
Migrated from Swagger-generated to TypeSpec-generated code.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Suppress constructor visibility changes for output-only models
- Suppress setter visibility/removal for output-only models
- Suppress ListResult/List class removals (pageable models)
- Suppress CloudService model removals (separate sub-service)
- Suppress other model removals (moved to implementation)
- Suppress super type changes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the Mgmt This issue is related to a management-plane library. label Mar 31, 2026
weidongxu-microsoft and others added 7 commits March 31, 2026 14:44
Rename 6 files where git tracked Ip casing but class names use IP:
- VirtualMachineNetworkInterfaceIpConfigurationProperties -> ...IPConfiguration...
- VirtualMachinePublicIpAddressConfigurationProperties -> ...IPAddress...
- VirtualMachineScaleSetIpConfigurationProperties -> ...IPConfiguration...
- VirtualMachineScaleSetPublicIpAddressConfigurationProperties -> ...IPAddress...
- VirtualMachineScaleSetUpdateIpConfigurationProperties -> ...IPConfiguration...
- VirtualMachineScaleSetUpdatePublicIpAddressConfigurationProperties -> ...IPAddress...

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 31, 2026

API Change Check

APIView identified API level changes in this PR and created the following API reviews

com.azure.resourcemanager:azure-resourcemanager-compute

@weidongxu-microsoft weidongxu-microsoft marked this pull request as ready for review March 31, 2026 11:07
Copilot AI review requested due to automatic review settings March 31, 2026 11:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

weidongxu-microsoft and others added 3 commits March 31, 2026 20:12
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread sdk/compute/azure-resourcemanager-compute/CHANGELOG.md Outdated
@weidongxu-microsoft weidongxu-microsoft merged commit 57b8843 into main Apr 1, 2026
23 checks passed
@weidongxu-microsoft weidongxu-microsoft deleted the migrate-compute branch April 1, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mgmt, generate Compute from TypeSpec

3 participants