Skip to content

[Python] Mitigate breaking changes for azure-mgmt-extendedlocation#6

Closed
ChenxiJiang333 wants to merge 1 commit intocxznmhdcxz:ruih/extendedlocation-tsp-convertfrom
ChenxiJiang333:pr-42299
Closed

[Python] Mitigate breaking changes for azure-mgmt-extendedlocation#6
ChenxiJiang333 wants to merge 1 commit intocxznmhdcxz:ruih/extendedlocation-tsp-convertfrom
ChenxiJiang333:pr-42299

Conversation

@ChenxiJiang333
Copy link
Copy Markdown

[Python] Mitigate breaking changes for azure-mgmt-extendedlocation

Breaking Change Analysis

Spec PR: Azure#42299

Pre-migration swagger source: specification/extendedlocation/resource-manager@98a4db5d

Swagger API version: 2021-08-31-preview (default tag: package-2021-08-31-preview)

Generated with apiVersion: 2021-08-31-preview (matched from swagger default tag)

Summary

  • 1 mitigated breaking change
  • 34 accepted breaking changes

Mitigated Breaking Changes

Breaking Change Classification Mitigation
Deleted or renamed model CustomLocations (client class) Guide #4: Client Naming Changes @@clientName(Microsoft.ExtendedLocation, "CustomLocations", "python") in client.tsp

Accepted Breaking Changes

Guide Azure#11: Removal of multi-level flattened properties (already handled by back-compatible.tsp)

These properties were flattened in the swagger SDK but are now structured as nested objects. The existing @@Legacy.flattenProperty decorators in back-compatible.tsp preserve backward compatibility at runtime.

  • Model CustomLocationOperation deleted or renamed its instance variable description
  • Model CustomLocationOperation deleted or renamed its instance variable operation
  • Model CustomLocationOperation deleted or renamed its instance variable provider
  • Model CustomLocationOperation deleted or renamed its instance variable resource
  • Model PatchableCustomLocations deleted or renamed its instance variable authentication
  • Model PatchableCustomLocations deleted or renamed its instance variable cluster_extension_ids
  • Model PatchableCustomLocations deleted or renamed its instance variable display_name
  • Model PatchableCustomLocations deleted or renamed its instance variable host_resource_id
  • Model PatchableCustomLocations deleted or renamed its instance variable host_type
  • Model PatchableCustomLocations deleted or renamed its instance variable namespace
  • Model PatchableCustomLocations deleted or renamed its instance variable provisioning_state
  • Model PatchableResourceSyncRule deleted or renamed its instance variable priority
  • Model PatchableResourceSyncRule deleted or renamed its instance variable provisioning_state
  • Model PatchableResourceSyncRule deleted or renamed its instance variable selector
  • Model PatchableResourceSyncRule deleted or renamed its instance variable target_resource_group
  • Method CustomLocationsOperations.update inserted a positional_or_keyword parameter parameters
  • Method CustomLocationsOperations.update deleted or renamed its parameter identity of kind positional_or_keyword
  • Method CustomLocationsOperations.update deleted or renamed its parameter tags of kind positional_or_keyword
  • Method CustomLocationsOperations.update deleted or renamed its parameter authentication of kind positional_or_keyword
  • Method CustomLocationsOperations.update deleted or renamed its parameter cluster_extension_ids of kind positional_or_keyword
  • Method CustomLocationsOperations.update deleted or renamed its parameter display_name of kind positional_or_keyword
  • Method CustomLocationsOperations.update deleted or renamed its parameter host_resource_id of kind positional_or_keyword
  • Method CustomLocationsOperations.update deleted or renamed its parameter host_type of kind positional_or_keyword
  • Method CustomLocationsOperations.update deleted or renamed its parameter namespace of kind positional_or_keyword
  • Method CustomLocationsOperations.update deleted or renamed its parameter provisioning_state of kind positional_or_keyword
  • Method ResourceSyncRulesOperations.begin_update inserted a positional_or_keyword parameter parameters
  • Method ResourceSyncRulesOperations.begin_update deleted or renamed its parameter tags of kind positional_or_keyword
  • Method ResourceSyncRulesOperations.begin_update deleted or renamed its parameter priority of kind positional_or_keyword
  • Method ResourceSyncRulesOperations.begin_update deleted or renamed its parameter selector of kind positional_or_keyword
  • Method ResourceSyncRulesOperations.begin_update deleted or renamed its parameter target_resource_group of kind positional_or_keyword

Guide #8: Removal of Pageable Models

  • Deleted or renamed model CustomLocationOperationsList

Guide Azure#12: Renaming of Properties That Conflict with Base Model Methods

  • Model MatchExpressionsProperties deleted or renamed its instance variable values (renamed to values_property)

Guide Azure#11: Features from de-flattening (new nested properties)

  • Model CustomLocationOperation added property display
  • Model PatchableCustomLocations added property properties
  • Model PatchableResourceSyncRule added property properties

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 14, 2026

Next Steps to Merge

⌛ Please wait. Next steps to merge this PR are being evaluated by automation. ⌛

Comment generated by summarize-checks workflow run.

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