Skip to content

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

Draft
ChenxiJiang333 wants to merge 5 commits intoAzure:mainfrom
ChenxiJiang333:sdk-azure-mgmt-hybridcompute
Draft

[Python] TypeSpec migration for azure-mgmt-hybridcompute#46514
ChenxiJiang333 wants to merge 5 commits intoAzure: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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant