Skip to content

Refresh azure-mgmt-privatedns after migrate to Typespec#47860

Open
azure-sdk-automation[bot] wants to merge 2 commits into
mainfrom
sdkauto/azure-mgmt-privatedns-6522457
Open

Refresh azure-mgmt-privatedns after migrate to Typespec#47860
azure-sdk-automation[bot] wants to merge 2 commits into
mainfrom
sdkauto/azure-mgmt-privatedns-6522457

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

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.

…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.
@msyyc msyyc changed the title [AutoPR azure-mgmt-privatedns]-generated-from-SDK Generation - Python-6522457 Refresh azure-mgmt-privatedns after migrate to Typespec Jul 6, 2026
@msyyc msyyc marked this pull request as ready for review July 6, 2026 08:29
Copilot AI review requested due to automatic review settings July 6, 2026 08:29
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

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-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 to 2.0.0b1 with a documented Features/Breaking-Changes changelog.
  • Modernize the client (base_url default via get_arm_endpoints, cloud_setting, public send_request) and reshape models to nested properties + systemData.
  • Modernize packaging/docs (new pyproject.toml with Beta classifiers and requires-python>=3.10, remove setup.py/sdk_packaging.toml, update README.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.

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