Refresh azure-mgmt-privatedns after migrate to Typespec#47860
Refresh azure-mgmt-privatedns after migrate to Typespec#47860azure-sdk-automation[bot] wants to merge 2 commits into
Conversation
…Network/PrivateDns/tspconfig.yaml', API Version: 2024-06-01, SDK Release Type: beta, and CommitSHA: '3d1de464b5576fa149aed429795f6030313e31bb' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6522457 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR refreshes the azure-mgmt-privatedns management-plane SDK by migrating its code generation from AutoRest to TypeSpec (API version 2024-06-01), producing a new beta release 2.0.0b1. The regeneration restructures models into a nested properties/systemData shape, adds a types.py TypedDict surface, introduces cloud_setting support and a public send_request method on the client, and adopts the modern pyproject.toml-based packaging (removing setup.py, sdk_packaging.toml, and _meta.json). The bulk of the diff is generated source, samples, and tests, plus API-surface snapshots and TypeSpec provenance files.
Changes:
- Migrate generation to TypeSpec (
tsp-location.yaml,_metadata.json,apiview-properties.json,api.metadata.yml; drop AutoRest_meta.json), bumping to2.0.0b1with a documented Features/Breaking-Changes changelog. - Modernize the client (
base_urldefault viaget_arm_endpoints,cloud_setting, publicsend_request) and reshape models to nestedproperties+systemData. - Modernize packaging/docs (new
pyproject.tomlwith Beta classifiers andrequires-python>=3.10, removesetup.py/sdk_packaging.toml, updateREADME.md/MANIFEST.in).
Reviewed changes
Copilot reviewed 103 out of 105 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
azure/mgmt/privatedns/_client.py (+ aio/_client.py) |
In-scope client: correct __init__ order, cloud_setting, public send_request |
azure/mgmt/privatedns/_version.py |
Version bumped to 2.0.0b1, consistent with CHANGELOG |
CHANGELOG.md |
New 2.0.0b1 (2026-07-06) entry with Features/Breaking Changes |
pyproject.toml |
New packaging metadata; Beta classifiers; is_stable=false; title aligned |
setup.py, sdk_packaging.toml, _meta.json |
Removed legacy AutoRest/packaging files |
README.md |
Updated to Python 3.10+, Microsoft Entra wording; snippet matches client |
MANIFEST.in |
Updated include rules for TypeSpec layout |
tsp-location.yaml, _metadata.json, apiview-properties.json, api.metadata.yml |
TypeSpec provenance and API-surface snapshot |
azure/mgmt/privatedns/** (models, operations, aio, types.py, _utils) |
Generated source (out of scope except _client.py) |
generated_samples/**, generated_tests/**, tests/** |
Generated/updated samples and tests (out of scope) |
Notes: Version/changelog consistency, stability flags, client signature order, client-name consistency, and README snippet all check out. The change is a large breaking regeneration whose bulk consists of generated code outside the automated review scope, so it warrants human sign-off.
Configurations: 'specification/privatedns/resource-manager/Microsoft.Network/PrivateDns/tspconfig.yaml', API Version: 2024-06-01, SDK Release Type: beta, and CommitSHA: '3d1de464b5576fa149aed429795f6030313e31bb' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6522457 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.