Refresh azure-mgmt-dns after migrate to Typespec#47911
Refresh azure-mgmt-dns after migrate to Typespec#47911azure-sdk-automation[bot] wants to merge 4 commits into
Conversation
…/Dns/tspconfig.yaml', API Version: 2023-07-01-preview, SDK Release Type: beta, and CommitSHA: 'bde4bb3dac2805590036bc8416474607914c8cd8' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6528727 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
There was a problem hiding this comment.
Pull request overview
This PR refreshes the azure-mgmt-dns management SDK after migrating its generation from AutoRest to TypeSpec (API version 2023-07-01-preview), releasing it as beta 10.0.0b1. It regenerates the client, models, operations, samples, and tests; migrates packaging from setup.py/sdk_packaging.toml to pyproject.toml; and adds new DNSSEC config support plus DS/NAPTR/TLSA record types.
Changes:
- Migrates code generation to TypeSpec: nests model data under
properties/systemData, renames modules (_client,_operations,_models,_enums), and switches_send_request→ publicsend_requestwithcloud_settingclient parameter. - Consolidates packaging into
pyproject.toml(removessetup.pyandsdk_packaging.toml), bumps to10.0.0b1(beta), and raises the minimum Python to 3.10. - Adds
dnssec_configsoperation group, new record types (DS, NAPTR, TLSA), and corresponding generated samples/tests; refreshesREADME.md(Entra wording, Python version).
I reviewed the in-scope files (config, packaging, changelog, README, and sync/async _client.py) per the management-plane review rules and verified: _version.py (10.0.0b1) matches the top CHANGELOG entry; the changelog date (2026-07-07) is not in the future; beta stability flags are correct (is_stable = false, Development Status :: 4 - Beta); the client __init__ uses credential, subscription_id, base_url in order; and the client name DnsManagementClient is consistent across _client.py, README.md, and the pyproject title. No issues were found in the reviewable scope.
Reviewed changes
Copilot reviewed 130 out of 132 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Adds full project metadata, beta stability flags, deps, and packaging config (replaces setup.py/sdk_packaging.toml) |
| setup.py / sdk_packaging.toml | Removed; superseded by pyproject.toml |
| README.md | Updates tested Python version to 3.10+ and Azure AD → Microsoft Entra wording |
| CHANGELOG.md | Adds 10.0.0b1 entry documenting features and breaking changes |
| azure/mgmt/dns/_version.py | Bumps VERSION to 10.0.0b1 |
| azure/mgmt/dns/_client.py, aio/_client.py | TypeSpec client: cloud_setting param, public send_request, endpoint templating |
| azure/mgmt/dns/_configuration.py, aio/_configuration.py | Adds base_url/cloud_setting, default API version 2023-07-01-preview |
| azure/mgmt/dns/models & operations (init, _enums, _patch, _utils) | Module/import restructure, new models/enums, DNSSEC operations wiring |
| MANIFEST.in | Reorders/adjusts include rules for the new layout |
| tsp-location.yaml, _metadata.json, apiview-properties.json, api.metadata.yml | New/updated TypeSpec generation metadata and API surface snapshots |
| generated_samples/, generated_tests/ | Regenerated samples/tests (out of review scope per mgmt rules) |
Configurations: 'specification/dns/resource-manager/Microsoft.Network/Dns/tspconfig.yaml', API Version: 2023-07-01-preview, SDK Release Type: beta, and CommitSHA: 'bde4bb3dac2805590036bc8416474607914c8cd8' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6528727 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.