Skip to content

[Python] TypeSpec migration for azure-mgmt-hybridcompute - #46514

Closed
ChenxiJiang333 wants to merge 5 commits into
Azure:mainfrom
ChenxiJiang333:sdk-azure-mgmt-hybridcompute
Closed

ChenxiJiang333 wants to merge 5 commits into
Azure:mainfrom
ChenxiJiang333:sdk-azure-mgmt-hybridcompute

Conversation

@ChenxiJiang333

Copy link
Copy Markdown
Member

[Python] TypeSpec migration for azure-mgmt-hybridcompute

Spec PR: Azure/azure-rest-api-specs#42259

Pre-migration swagger source: specification/hybridcompute/resource-manager@de8103ff

Swagger API version: 2025-09-16-preview (default tag: package-preview-2025-09-16-preview)

Generated with apiVersion: 2025-09-16-preview (matched from swagger default tag)

Breaking Change Analysis

4 mitigated | 36 accepted

Mitigated Breaking Changes (via client.tsp)

Breaking Change Category Mitigation
Deleted or renamed client HybridComputeManagementClient Cat 4 - Client Naming @@clientName(Microsoft.HybridCompute, "HybridComputeManagementClient", "python")
Deleted or renamed enum value PublicNetworkAccessType.SECURED_BY_PERIMETER Cat 3 - Naming from Directive @@alternateType + @@clientName for CustomPublicNetworkAccessType (Python)
Deleted or renamed model VMGuestPatchClassificationLinux Cat 1 - Naming Changes @@clientName(VMGuestPatchClassification_Linux, "VMGuestPatchClassificationLinux", "python")
Deleted or renamed model VMGuestPatchClassificationWindows Cat 1 - Naming Changes @@clientName(VMGuestPatchClassification_Windows, "VMGuestPatchClassificationWindows", "python")

Spec mitigation PR: mcgallan/azure-rest-api-specs#5

Accepted Breaking Changes

Breaking Change Category Reason
ExtensionValue properties (version, extension_type, publisher) removed + properties added Cat 11 - Flattening removal Properties moved under ExtensionValueProperties
ExtensionValueV2 properties (7 props) removed + properties added Cat 11 - Flattening removal Same pattern as ExtensionValue
LicenseProfileMachineInstanceView properties (9 props) removed + software_assurance/product_profile added Cat 11 - Flattening removal Properties nested under sub-models
OSProfileLinuxConfiguration properties (assessment_mode, patch_mode, enable_hotpatching, status) removed Cat 11 - Flattening removal Properties moved under PatchSettings
OSProfileWindowsConfiguration properties (assessment_mode, patch_mode, enable_hotpatching, status) removed Cat 11 - Flattening removal Same as Linux
AgentVersionsList, ExtensionValueListResultV2, HybridIdentityMetadataList deleted Cat 8 - Pageable models List result wrapper models not exposed
PrivateLinkScopesResource, ProxyResourceAutoGenerated, ResourceAutoGenerated deleted Cat 7 - Unreferenced models Base/infrastructure models
ServiceExtensionType deleted Cat 7 - Unreferenced models Now a string union alias
expand param changed to keyword-only (4 methods: MachineExtensionsOperations.list, MachineRunCommandsOperations.list, MachinesOperations.get, MachinesOperations.list_by_resource_group) Cat 9 - Keyword-only params Standard TypeSpec behavior
LicenseProfilesOperations methods: new license_profile_name param (4 methods) Accept Singleton resource param (always "default")

@ChenxiJiang333
ChenxiJiang333 force-pushed the sdk-azure-mgmt-hybridcompute branch from d36ca3f to 3a8bc41 Compare April 28, 2026 05:44
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Hi ChenxiJiang333. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

@github-actions github-actions Bot added the no-recent-activity There has been no recent activity on this issue. label Jul 3, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi ChenxiJiang333. Thank you for your contribution. Since there hasn't been recent engagement, we're going to close this out. Feel free to respond with a comment containing /reopen if you'd like to continue working on these changes. Please be sure to use the command to reopen or remove the no-recent-activity label; otherwise, this is likely to be closed again with the next cleanup pass.

@github-actions github-actions Bot closed this Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-recent-activity There has been no recent activity on this issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant