[Python] TypeSpec migration for azure-mgmt-extendedlocation#46303
Draft
ChenxiJiang333 wants to merge 3 commits intoAzure:mainfrom
Draft
[Python] TypeSpec migration for azure-mgmt-extendedlocation#46303ChenxiJiang333 wants to merge 3 commits intoAzure:mainfrom
ChenxiJiang333 wants to merge 3 commits intoAzure:mainfrom
Conversation
5e8ca5b to
299e45c
Compare
299e45c to
80e047c
Compare
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] TypeSpec migration for azure-mgmt-extendedlocation
Spec Source
Spec PR: Azure/azure-rest-api-specs#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)Spec Customizations Applied
@@clientName(Microsoft.ExtendedLocation, "CustomLocations", "python")— restore original client name@@override(CustomLocations.update, ...)— flatten body intoidentity,properties,tagskwargsBreaking Change Analysis
Mitigated Breaking Change
CustomLocationstoCustomLocationsMgmtClient@@clientName(Microsoft.ExtendedLocation, "CustomLocations", "python")Accepted Breaking Changes (will remain)
Guide #11 - Removal of multi-level flattened properties (handled by existing
@@Legacy.flattenPropertyinback-compatible.tsp):CustomLocationOperation:description,operation,provider,resourcemoved into nesteddisplayobjectPatchableCustomLocations:authentication,cluster_extension_ids, etc. moved into nestedpropertiesobjectPatchableResourceSyncRule:priority,provisioning_state,selector,target_resource_groupmoved into nestedpropertiesobjectCustomLocationsOperations.update:identity,tagschanged to keyword-only; nested properties moved intopropertiesparamResourceSyncRulesOperations.begin_update: individual parameters replaced by singleparametersobjectGuide #8 - Removal of Pageable Models:
CustomLocationOperationsListremoved (pageable behavior preserved viaItemPaged)Guide #12 - Property name conflict with base model methods:
MatchExpressionsProperties.valuesrenamed tovalues_property