[Python] TypeSpec migration for azure-mgmt-resource#46194
Draft
ChenxiJiang333 wants to merge 5 commits intoAzure:mainfrom
Draft
[Python] TypeSpec migration for azure-mgmt-resource#46194ChenxiJiang333 wants to merge 5 commits intoAzure:mainfrom
ChenxiJiang333 wants to merge 5 commits intoAzure:mainfrom
Conversation
86b23d8 to
d0a0aee
Compare
d0a0aee to
254d83e
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.
TypeSpec Migration SDK Output for azure-mgmt-resource (resources sub-service)
Source
2025-04-01(default tag:package-resources-2025-04)2025-04-01(matched from swagger default tag)Breaking Change Analysis
All breaking changes are classified as ACCEPT — no spec mitigations needed.
Breaking Changes Summary
api_versionparameter from operationsRemoved Models (ACCEPT — §7 Unreferenced / §8 Pageable)
GenericResourceFilter— filter model, not used in API responsesResourceGroupFilter— filter model, not used in API responsesOperationListResult— pageable wrapper, Python SDK handles pagination internallyProviderListResult— pageable wrapperResourceGroupListResult— pageable wrapperResourceListResult— pageable wrapperTagsListResult— pageable wrapperResourceProviderOperationDisplayProperties— unreferenced modelSubResource— common type, unreferenced in user-facing APIModel Property Changes (ACCEPT — §6 Common Types Upgrade)
Resource: removed propertiesextended_location,location,tags(ARM common type change)Resource: added propertysystem_dataGenericResource,GenericResourceExpanded,ResourceGroup,TagsResource: added propertysystem_dataProperty Rename (ACCEPT — §12 Base Model Method Conflict)
TagDetails:values→values_property(conflicts with dict-likevalues()method)Removed
api_versionParameter (ACCEPT — TypeSpec design)The following operations no longer expose
api_versionas a user-facing parameter (handled by client configuration):ResourcesOperations.begin_create_or_updateResourcesOperations.begin_create_or_update_by_idResourcesOperations.begin_deleteResourcesOperations.begin_delete_by_idResourcesOperations.begin_updateResourcesOperations.begin_update_by_idResourcesOperations.check_existenceResourcesOperations.check_existence_by_idResourcesOperations.getResourcesOperations.get_by_idFeatures Added
GenericResource,GenericResourceExpanded,Resource,ResourceGroup,TagsResource: addedsystem_datapropertyOperation: addedaction_type,is_data_action,originpropertiesTagDetails: addedvalues_propertyActionType,CloudError,CreatedByType,ErrorDetail,ExtensionResource,Origin,ProxyResource,SystemData,TrackedResource