Skip to content

Refresh azure-mgmt-dns after migrate to Typespec#47911

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

Refresh azure-mgmt-dns after migrate to Typespec#47911
azure-sdk-automation[bot] wants to merge 4 commits into
mainfrom
sdkauto/azure-mgmt-dns-6528727

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

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.

…/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.
@msyyc msyyc changed the title [AutoPR azure-mgmt-dns]-generated-from-SDK Generation - Python-6528727 Refresh azure-mgmt-dns after migrate to Typespec Jul 7, 2026
@msyyc msyyc marked this pull request as ready for review July 7, 2026 09:38
Copilot AI review requested due to automatic review settings July 7, 2026 09:38

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-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 → public send_request with cloud_setting client parameter.
  • Consolidates packaging into pyproject.toml (removes setup.py and sdk_packaging.toml), bumps to 10.0.0b1 (beta), and raises the minimum Python to 3.10.
  • Adds dnssec_configs operation group, new record types (DS, NAPTR, TLSA), and corresponding generated samples/tests; refreshes README.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)

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