[Python] Mitigate breaking changes for azure-mgmt-extendedlocation#6
Closed
ChenxiJiang333 wants to merge 1 commit intocxznmhdcxz:ruih/extendedlocation-tsp-convertfrom
Closed
Conversation
Next Steps to Merge⌛ Please wait. Next steps to merge this PR are being evaluated by automation. ⌛Comment generated by summarize-checks workflow run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[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
Mitigated Breaking Changes
CustomLocations(client class)@@clientName(Microsoft.ExtendedLocation, "CustomLocations", "python")inclient.tspAccepted 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.flattenPropertydecorators inback-compatible.tsppreserve backward compatibility at runtime.CustomLocationOperationdeleted or renamed its instance variabledescriptionCustomLocationOperationdeleted or renamed its instance variableoperationCustomLocationOperationdeleted or renamed its instance variableproviderCustomLocationOperationdeleted or renamed its instance variableresourcePatchableCustomLocationsdeleted or renamed its instance variableauthenticationPatchableCustomLocationsdeleted or renamed its instance variablecluster_extension_idsPatchableCustomLocationsdeleted or renamed its instance variabledisplay_namePatchableCustomLocationsdeleted or renamed its instance variablehost_resource_idPatchableCustomLocationsdeleted or renamed its instance variablehost_typePatchableCustomLocationsdeleted or renamed its instance variablenamespacePatchableCustomLocationsdeleted or renamed its instance variableprovisioning_statePatchableResourceSyncRuledeleted or renamed its instance variablepriorityPatchableResourceSyncRuledeleted or renamed its instance variableprovisioning_statePatchableResourceSyncRuledeleted or renamed its instance variableselectorPatchableResourceSyncRuledeleted or renamed its instance variabletarget_resource_groupCustomLocationsOperations.updateinserted apositional_or_keywordparameterparametersCustomLocationsOperations.updatedeleted or renamed its parameteridentityof kindpositional_or_keywordCustomLocationsOperations.updatedeleted or renamed its parametertagsof kindpositional_or_keywordCustomLocationsOperations.updatedeleted or renamed its parameterauthenticationof kindpositional_or_keywordCustomLocationsOperations.updatedeleted or renamed its parametercluster_extension_idsof kindpositional_or_keywordCustomLocationsOperations.updatedeleted or renamed its parameterdisplay_nameof kindpositional_or_keywordCustomLocationsOperations.updatedeleted or renamed its parameterhost_resource_idof kindpositional_or_keywordCustomLocationsOperations.updatedeleted or renamed its parameterhost_typeof kindpositional_or_keywordCustomLocationsOperations.updatedeleted or renamed its parameternamespaceof kindpositional_or_keywordCustomLocationsOperations.updatedeleted or renamed its parameterprovisioning_stateof kindpositional_or_keywordResourceSyncRulesOperations.begin_updateinserted apositional_or_keywordparameterparametersResourceSyncRulesOperations.begin_updatedeleted or renamed its parametertagsof kindpositional_or_keywordResourceSyncRulesOperations.begin_updatedeleted or renamed its parameterpriorityof kindpositional_or_keywordResourceSyncRulesOperations.begin_updatedeleted or renamed its parameterselectorof kindpositional_or_keywordResourceSyncRulesOperations.begin_updatedeleted or renamed its parametertarget_resource_groupof kindpositional_or_keywordGuide #8: Removal of Pageable Models
CustomLocationOperationsListGuide Azure#12: Renaming of Properties That Conflict with Base Model Methods
MatchExpressionsPropertiesdeleted or renamed its instance variablevalues(renamed tovalues_property)Guide Azure#11: Features from de-flattening (new nested properties)
CustomLocationOperationadded propertydisplayPatchableCustomLocationsadded propertypropertiesPatchableResourceSyncRuleadded propertyproperties