Skip to content

[AutoPR azure-mgmt-authorization]-generated-from-SDK Generation - Python-6131255#46223

Open
azure-sdk wants to merge 3 commits intomainfrom
sdkauto/azure-mgmt-authorization-6131255
Open

[AutoPR azure-mgmt-authorization]-generated-from-SDK Generation - Python-6131255#46223
azure-sdk wants to merge 3 commits intomainfrom
sdkauto/azure-mgmt-authorization-6131255

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

Configurations: 'specification/authorization/resource-manager/Microsoft.Authorization/Authorization/tspconfig.yaml', and CommitSHA: '14ea458babe962d08b39acbb244bb81bdd3cb999' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6131255 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.

@jruttle
Copy link
Copy Markdown

jruttle commented Apr 13, 2026

Hi @msyyc @ChenxiJiang333 — could you take a look at this AutoPR when you get a chance? It adds the new deny assignment create/delete operations to azure-mgmt-authorization (generated from the merged TypeSpec PR azure-rest-api-specs#41617). The downstream CLI PR (azure-cli#33109) is blocked until this SDK is released. Thanks!

@ChenxiJiang333 ChenxiJiang333 marked this pull request as ready for review April 14, 2026 08:35
Copilot AI review requested due to automatic review settings April 14, 2026 08:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR updates azure-mgmt-authorization to a newer generated surface (moving from AutoRest-style generation to the newer Python code generator / TypeSpec emitter), including a restructured operations layout, updated configuration parameters, and some serialization modernization.

Changes:

  • Removed many per-operation modules and consolidated exports to import from a central ._operations module.
  • Updated client configuration objects to accept base_url and cloud_setting, and updated headers/comments to reflect the new generator.
  • Modernized shared serialization utilities (notably removing eval usage) and bumped package version to 5.0.0b2.

Reviewed changes

Copilot reviewed 81 out of 316 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/operations/_access_review_schedule_definitions_assigned_for_my_approval_operations.py Removed old AutoRest-generated operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/operations/_access_review_instances_assigned_for_my_approval_operations.py Removed old AutoRest-generated operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/operations/_access_review_instance_decisions_operations.py Removed old AutoRest-generated operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/operations/_access_review_instance_contacted_reviewers_operations.py Removed old AutoRest-generated operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/operations/_access_review_history_definitions_operations.py Removed old AutoRest-generated operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/operations/_access_review_history_definition_operations.py Removed old AutoRest-generated operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/operations/_access_review_history_definition_instances_operations.py Removed old AutoRest-generated operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/operations/_access_review_history_definition_instance_operations.py Removed old AutoRest-generated operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/operations/_access_review_default_settings_operations.py Removed old AutoRest-generated operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/operations/init.py Switched operations exports/imports to use ._operations and updated generator header.
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/models/_patch.py Updated __all__ typing to built-in generics (list[str]).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_tenant_level_access_review_instance_contacted_reviewers_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_scope_access_review_instance_decisions_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_scope_access_review_instance_contacted_reviewers_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_scope_access_review_history_definitions_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_scope_access_review_history_definition_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_scope_access_review_history_definition_instances_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_scope_access_review_history_definition_instance_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_scope_access_review_default_settings_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_role_eligibility_schedules_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_role_eligibility_schedule_instances_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_role_assignment_schedules_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_role_assignment_schedule_instances_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_provider_operations_metadata_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_permissions_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_patch.py Updated __all__ typing to built-in generics (list[str]).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_global_administrator_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_eligible_child_resources_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_classic_administrators_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_alert_operation_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_alert_incidents_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_alert_definitions_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_alert_configurations_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_access_review_schedule_definitions_assigned_for_my_approval_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_access_review_instances_assigned_for_my_approval_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_access_review_instance_decisions_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_access_review_instance_contacted_reviewers_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_access_review_history_definitions_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_access_review_history_definition_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_access_review_history_definition_instances_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_access_review_history_definition_instance_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/_access_review_default_settings_operations.py Removed old AutoRest-generated async operations module (now expected to be provided via consolidated operations).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/operations/init.py Switched async operations exports/imports to use ._operations and updated generator header.
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/_patch.py Updated __all__ typing to built-in generics (list[str]).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/_configuration.py Added base_url and cloud_setting parameters and stored them on config.
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/aio/init.py Updated async client import path to ._client.
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/_version.py Bumped package version to 5.0.0b2 and updated header comments.
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/_utils/serialization.py Modernized typing and removed eval usage in (de)serialization helpers.
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/_utils/init.py Updated generator header comment.
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/_patch.py Updated __all__ typing to built-in generics (list[str]).
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/_configuration.py Added base_url and cloud_setting parameters and stored them on config.
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/init.py Updated sync client import path to ._client and updated generator header.
sdk/authorization/azure-mgmt-authorization/azure/mgmt/init.py Added # type: ignore to satisfy type checking for namespace package pattern.
sdk/authorization/azure-mgmt-authorization/azure/init.py Added # type: ignore to satisfy type checking for namespace package pattern.
sdk/authorization/azure-mgmt-authorization/_metadata.json Updated to TypeSpec emitter metadata and added API version mapping.
sdk/authorization/azure-mgmt-authorization/MANIFEST.in Adjusted packaging includes; notably narrowed tests include patterns.

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.

4 participants