Refresh azure-mgmt-sqlvirtualmachine after migrate to Typespec#47892
Refresh azure-mgmt-sqlvirtualmachine after migrate to Typespec#47892azure-sdk-automation[bot] wants to merge 3 commits into
Conversation
…rosoft.SqlVirtualMachine/SqlVirtualMachine/tspconfig.yaml', API Version: 2023-10-01, SDK Release Type: beta, and CommitSHA: 'a7bdbe741c0ef1f1b159d8569b173757bd823ae9' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6527981 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 azure-mgmt-sqlvirtualmachine after migrating its code generation from AutoRest to TypeSpec (spec API version 2023-10-01). It regenerates the client, models, operations, samples, and tests, bumps the package to 1.0.0b7, and modernizes packaging/docs. The migration reshapes resource models to use a nested properties bag (surfaced as breaking changes in the CHANGELOG), which is acceptable for a beta package.
Changes:
- Regenerates the SDK from TypeSpec (new
_client.py/config withbase_url,cloud_setting,send_request, ARM endpoint resolution; consolidated operations;_utils/serialization). - Migrates packaging to
pyproject.toml(removessetup.py,sdk_packaging.toml,_vendor.py,_meta.json) and adds_metadata.json,apiview-properties.json,api.metadata.yml. - Bumps version to
1.0.0b7with a CHANGELOG documenting new features and breaking changes; updates README to Python 3.10+ / Microsoft Entra.
Reviewed changes
Copilot reviewed 83 out of 87 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
azure/mgmt/sqlvirtualmachine/_client.py (+ aio/_client.py) |
New TypeSpec client shape; credential, subscription_id, base_url order preserved; class name consistent |
azure/mgmt/sqlvirtualmachine/_version.py |
Version bumped to 1.0.0b7, matches CHANGELOG |
CHANGELOG.md |
Adds 1.0.0b7 (2026-07-07) with features + breaking changes (beta migration) |
pyproject.toml |
Consolidated packaging; is_stable=false + Beta classifier consistent with b version |
setup.py, sdk_packaging.toml, _vendor.py, _meta.json |
Removed as part of TypeSpec/pyproject migration |
README.md |
Python 3.10+, Microsoft Entra wording; client snippet matches signature |
MANIFEST.in, tsp-location.yaml, _metadata.json, apiview-properties.json, api.metadata.yml |
Updated/added generation & packaging metadata |
generated_samples/*, generated_tests/*, azure/mgmt/** (non-_client.py) |
Generated code — excluded from review per MGMT rules |
I verified version consistency, CHANGELOG date (not in the future), stability flags, client-signature order, client-name consistency across _client.py/README/pyproject, that the README sample matches the real client API, and that the _utils/serialization.py import target exists. No objective issues were found in the reviewable files.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Configurations: 'specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/SqlVirtualMachine/tspconfig.yaml', API Version: 2023-10-01, SDK Release Type: beta, and CommitSHA: 'a7bdbe741c0ef1f1b159d8569b173757bd823ae9' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6527981 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.