[AutoPR azure-mgmt-devopsinfrastructure]-generated-from-SDK Generation - Python-6605150#48224
[AutoPR azure-mgmt-devopsinfrastructure]-generated-from-SDK Generation - Python-6605150#48224azure-sdk-automation[bot] wants to merge 2 commits into
Conversation
…Microsoft.DevOpsInfrastructure/DevOpsInfrastructure/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '0e55128a206a1be3feb030e748074722e98e5dcf' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6605150 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
|
Azure Pipelines: Successfully started running 1 pipeline(s). 9 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Pull request overview
Note
Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.
Updates the azure-mgmt-devopsinfrastructure package to a newer generated (preview) API surface and modern Python packaging, including new operations and typing helpers.
Changes:
- Migrates packaging metadata from
setup.py/sdk_packaging.tomltopyproject.tomland bumps SDK version to1.1.0b1. - Regenerates client/operations/models for API version
2026-07-03-preview, addingcheck_name_availabilityanddelete_resources. - Adds new generated samples/tests and introduces a generated
types.pyTypedDict surface plus shared utils/validation helpers.
Reviewed changes
Copilot reviewed 54 out of 54 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/tsp-location.yaml | Points generation to the new REST spec directory/commit. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/setup.py | Removes legacy setuptools setup script in favor of pyproject.toml. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/sdk_packaging.toml | Removes legacy packaging config (moved into pyproject.toml). |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/pyproject.toml | Adds PEP 517/621 build + project metadata and embeds packaging info. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_tests/test_dev_ops_infrastructure_mgmt_pools_operations_async.py | Updates request bodies and adds async tests for new pool operations. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_tests/test_dev_ops_infrastructure_mgmt_pools_operations.py | Updates request bodies and adds sync tests for new pool operations. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/update_pool.py | Adds a new generated sample for pool update. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/subscription_usages_usages.py | Updates original-file references to the new preview spec version. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/sku_list_by_location.py | Updates original-file references to the new preview spec version. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/resource_details_list_by_pool.py | Updates original-file references to the new preview spec version. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/pools_delete_resources.py | Adds a new generated sample for the delete-resources action. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/pools_check_name_availability.py | Adds a new generated sample for checking pool name availability. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/list_pools_by_subscription_and_resource_group.py | Updates original-file references to the new preview spec version. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/list_pools_by_subscription.py | Updates original-file references to the new preview spec version. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/list_operations.py | Updates original-file references to the new preview spec version. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/image_versions_list_by_image.py | Updates original-file references to the new preview spec version. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/get_pool.py | Updates original-file references to the new preview spec version. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/delete_pool.py | Updates original-file references to the new preview spec version. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/create_or_update_pool_instance_mix.py | Adds a new generated sample demonstrating instance-mix creation. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/create_or_update_pool.py | Expands sample payload to match new spec features and updates original-file reference. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/types.py | Adds TypedDict-based request-body type helpers for public typing. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/operations/_patch.py | Updates patch scaffold header and typing annotation style. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/operations/_operations.py | Regenerates operations layer for new API version + new pool actions and improved deserialization. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/operations/init.py | Adjusts operation exports and patch import order/type checking. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/models/_patch.py | Updates patch scaffold header and typing annotation style. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/models/_enums.py | Adds new enums needed by new operations/features (availability, cert store, etc.). |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/models/init.py | Regenerates model exports to include new models/enums and patch import order. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/operations/_patch.py | Updates aio patch scaffold header and typing annotation style. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/operations/_operations.py | Regenerates async operations layer for new API version + new pool actions. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/operations/init.py | Adjusts aio operation exports and patch import order/type checking. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/_patch.py | Updates aio patch scaffold header and typing annotation style. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/_configuration.py | Updates async client config for new API version and cloud endpoint support. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/_client.py | Updates async client initialization to resolve ARM endpoints via cloud settings. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/init.py | Updates aio package exports and patch import order/type checking. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_version.py | Bumps package version to 1.1.0b1. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_validation.py | Adds API-version validation decorator used by newly introduced operations. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_utils/init.py | Adds new internal utils package marker for regenerated runtime helpers. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_serialization.py | Regenerates serialization/deserialization utilities and typing improvements. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_patch.py | Updates package patch scaffold header and typing annotation style. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_model_base.py | Regenerates model base for improved XML/format handling and failsafe deserialization. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_configuration.py | Updates sync client config for new API version and cloud endpoint support. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_client.py | Updates sync client initialization to resolve ARM endpoints via cloud settings. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/init.py | Updates package exports and patch import order/type checking. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/init.py | Adds a type: ignore for namespace package path typing. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/init.py | Adds a type: ignore for namespace package path typing. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/apiview-properties.json | Adds/updates APIView cross-language mapping metadata for the release. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/api.metadata.yml | Adds generation metadata (parser/python version, hash). |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/_metadata.json | Adds new generator metadata including apiVersion and spec commit. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/_meta.json | Removes old generator metadata file. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/README.md | Updates minimum supported Python version and refreshes authentication wording/link. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/MANIFEST.in | Updates packaged files list to match new metadata/layout. |
| sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/CHANGELOG.md | Adds a placeholder entry for 1.1.0b1. |
Comments suppressed due to low confidence (2)
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/pyproject.toml:1
project.licenseis not valid as a plain string under PEP 621; build backends typically expectlicense = { text = "MIT" }orlicense = { file = "LICENSE" }. Update this field to a PEP 621-compliant form so packaging/build doesn’t fail.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/update_pool.py:1agent_profile,fabric_profile, andorganization_profileare referenced but never defined in the sample, so it will raiseNameErrorwhen run. Replace these with valid inline placeholders (e.g.,"agent_profile"style strings) or define the variables abovemain()to make the sample executable.
[Pilot] PR Pipeline Failure AnalysisA CI pipeline failed on this pull request. Here is an automated analysis of what went wrong and how to get the build green. What failedThe VerifyChangelog validation step failed for Build: https://dev.azure.com/azure-sdk/public/_build/results?buildId=6605189 Recommended next steps
Raw pipeline analysis (azsdk ci analyze)
|
|
Hi, the new api version |
|
Hi, we have approved the PR and we will hold the PR merge and release until you explicitly ping us to merge then release. |
Configurations: 'specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/DevOpsInfrastructure/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '0e55128a206a1be3feb030e748074722e98e5dcf' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6605150 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. Release plan link: https://azsdk-releaseplan-dashboard-hveph5aqhhcfhtgu.westus-01.azurewebsites.net/?releaseplan=35438 Submitted by: