Skip to content

Refresh azure-mgmt-databox after migrate to Typespec#47852

Open
azure-sdk-automation[bot] wants to merge 4 commits into
mainfrom
sdkauto/azure-mgmt-databox-6521705
Open

Refresh azure-mgmt-databox after migrate to Typespec#47852
azure-sdk-automation[bot] wants to merge 4 commits into
mainfrom
sdkauto/azure-mgmt-databox-6521705

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

Configurations: 'specification/databox/resource-manager/Microsoft.DataBox/DataBox/tspconfig.yaml', API Version: 2025-07-01, SDK Release Type: beta, and CommitSHA: '6c19e3347d60ee62bccec0b56680ca79a162b99b' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6521705 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.

…aBox/DataBox/tspconfig.yaml', API Version: 2025-07-01, SDK Release Type: beta, and CommitSHA: '6c19e3347d60ee62bccec0b56680ca79a162b99b' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6521705 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
@msyyc msyyc changed the title [AutoPR azure-mgmt-databox]-generated-from-SDK Generation - Python-6521705 Refresh azure-mgmt-databox after migrate to Typespec Jul 6, 2026
@msyyc msyyc marked this pull request as ready for review July 6, 2026 05:16
Copilot AI review requested due to automatic review settings July 6, 2026 05:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR refreshes the azure-mgmt-databox management package by regenerating it from TypeSpec (previously AutoRest), moving from API version 2025-02-01 to 2025-07-01 and bumping the package from 3.1.0 to the beta 4.0.0b1. It migrates packaging from setup.py/sdk_packaging.toml into pyproject.toml, consolidates operation modules, and adds cloud-aware ARM endpoint handling to the client.

Changes:

  • Regenerated client/models/operations from TypeSpec; consolidated operations into _operations.py, removed _vendor.py and legacy per-operation modules, and added a _utils serialization package.
  • Introduced new client capabilities (cloud_setting, public send_request, etag/match_condition for begin_update) and reshaped several models around properties containers, documented as breaking changes in the CHANGELOG.
  • Migrated packaging metadata to pyproject.toml (Python >=3.10, azure-mgmt-core>=1.6.0), updated README to Python 3.10+/Microsoft Entra, and refreshed generated tests/samples to the new API version.

Reviewed changes

Copilot reviewed 78 out of 84 changed files in this pull request and generated no comments.

Show a summary per file
File Description
azure/mgmt/databox/_client.py / aio/_client.py New cloud-aware ARM endpoint construction, public send_request, inherits _DataBoxManagementClientOperationsMixin; signature order verified.
azure/mgmt/databox/_configuration.py / aio/_configuration.py Adds base_url/cloud_setting, default API version 2025-07-01.
pyproject.toml Packaging metadata moved from setup.py; beta flags, Python 3.10+, dependency bumps.
setup.py, sdk_packaging.toml, _meta.json, _vendor.py(s), legacy operations/* Removed as part of TypeSpec migration.
CHANGELOG.md / _version.py Adds 4.0.0b1 (2026-07-06) with features/breaking changes; versions consistent.
README.md Python 3.10+ and Microsoft Entra wording; client snippet matches signature.
models/_enums.py, models/__init__.py, operations/__init__.py Regenerated enums/exports (adds CreatedByType, *Properties, TrackedResource; removes list-wrapper models and old mixin export).
_utils/serialization.py, _utils/utils.py, _utils/__init__.py New generated serialization layer and etag/match-condition helpers.
tsp-location.yaml, _metadata.json, api.metadata.yml, apiview-properties.json, MANIFEST.in Generation metadata and manifest updated for TypeSpec.
generated_tests/*, generated_samples/* Regenerated to new API version/operation shapes (generated; out of manual review scope).

@msyyc

msyyc commented Jul 6, 2026

Copy link
Copy Markdown
Member

✅ Live Test Results

Summary: 6 passed, 6 warnings in 64.14s (0:01:04)

@msyyc msyyc closed this Jul 6, 2026
@msyyc msyyc deleted the sdkauto/azure-mgmt-databox-6521705 branch July 6, 2026 07:39
@msyyc msyyc restored the sdkauto/azure-mgmt-databox-6521705 branch July 6, 2026 08:00
@msyyc msyyc reopened this Jul 6, 2026
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.

3 participants