[Python] TypeSpec migration for azure-mgmt-authorization#46179
Draft
ChenxiJiang333 wants to merge 6 commits intoAzure:mainfrom
Draft
[Python] TypeSpec migration for azure-mgmt-authorization#46179ChenxiJiang333 wants to merge 6 commits intoAzure:mainfrom
ChenxiJiang333 wants to merge 6 commits intoAzure:mainfrom
Conversation
…into sdk-azure-mgmt-authorization
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-authorization
Spec PR: Azure/azure-rest-api-specs#41617
Pre-migration swagger source: specification/authorization/resource-manager@31fb4b3e
Default tag
package-2025-12-01-previewcontains multiple API versions:2015-07-01/2021-12-01-preview/2022-04-01/2022-05-01-preview/2022-08-01-preview/2024-07-01-preview/2024-09-01-preview/2025-12-01-previewBreaking Change Analysis
Summary
Mitigated Breaking Changes
AuthorizationManagementClient@@clientName(Microsoft.AuthorizationCombinedClient, "AuthorizationManagementClient", "python")Spec mitigation PR: mcgallan/azure-rest-api-specs#4
Accepted Breaking Changes
Removal of multi-level flattened properties (Guide #11) — ~170 items
Models that had deeply flattened properties from sub-objects exposed at the top level now properly nest them under
properties,principal,resource,reviewed_by,applied_by,settings,scope,recurrence, etc. Affected models include:AccessReviewDecision,AccessReviewDecisionInsight,AccessReviewDecisionPropertiesAccessReviewDefaultSettings,AccessReviewHistoryDefinition,AccessReviewHistoryDefinitionPropertiesAccessReviewInstance,AccessReviewScheduleDefinition,AccessReviewScheduleDefinitionPropertiesAccessReviewScheduleSettings,AlertConfiguration,AlertIncidentRoleAssignmentCreateParametersRemoval of filter/unreferenced models (Guide #7) — 15 items
DenyAssignmentFilter,DenyAssignmentPrincipalTypeErrorDetailAutoGenerated,ErrorResponseAutoGeneratedPermissionGetResultRoleAssignmentFilter,RoleAssignmentScheduleFilter,RoleAssignmentScheduleInstanceFilter,RoleAssignmentScheduleRequestFilterRoleDefinitionFilterRoleEligibilityScheduleFilter,RoleEligibilityScheduleInstanceFilter,RoleEligibilityScheduleRequestFilterValidationResponse,ValidationResponseErrorInfoEnum value restructuring — 1 item
UserType.SERVICE_PRINCIPALremoved — TypeSpec correctly separates two distinctUserTypedefinitions from the spec.ServicePrincipalis now inCommonUserType.Parameters changed to keyword-only (Guide #9) — 10 items
ProviderOperationsMetadataOperationsandRoleAssignmentsOperationschanged from positional to keyword-only.Parameter default value changes — 2 items
ProviderOperationsMetadataOperations.get/listparameterexpanddefault changed fromstrtonone.