{SQL} az sql midb ltr-policy/ltr-backup: Remove preview status - #34029
Merged
Ethan Yang (necusjz) merged 1 commit intoSep 4, 2026
Merged
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
microsoft-github-policy-service
Bot
requested review from
Yu Chen (jsntcy),
ZelinWang (wangzelin007) and
Yong Zhang (yonzhan)
September 3, 2026 14:37
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The change is limited to removing preview metadata on existing command registrations with no functional logic changes.
Pull request overview
This PR updates Azure SQL Managed Instance long-term retention (LTR) command registrations so the az sql midb ltr-policy and az sql midb ltr-backup commands are no longer marked as preview, removing the preview warning shown when these commands are invoked.
Changes:
- Removed
is_preview=Truefromaz sql midb ltr-policy set/showcommand registrations. - Removed
is_preview=Truefromaz sql midb ltr-backup show/list/delete/restorecommand registrations.
File summaries
| File | Description |
|---|---|
src/azure-cli/azure/cli/command_modules/sql/commands.py |
Removes preview metadata from MI LTR policy/backup command registrations so the CLI no longer emits preview warnings for these commands. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
az sql midb ltr-policy/ltr-backup: Remove preview status
svmicano
force-pushed
the
svmicano/remove-midb-ltr-preview
branch
from
September 3, 2026 15:26
eac4426 to
6f226cb
Compare
az sql midb ltr-policy/ltr-backup: Remove preview statusaz sql midb ltr-policy/ltr-backup: Remove preview status
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Ethan Yang (necusjz)
approved these changes
Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 PR Validation —⚠️ Review suggested
Related command
az sql midb ltr-policy setaz sql midb ltr-policy showaz sql midb ltr-backup showaz sql midb ltr-backup listaz sql midb ltr-backup deleteaz sql midb ltr-backup restoreDescription
Remove the preview status from Azure SQL Managed Instance long-term retention policy and backup commands. These commands no longer display the preview warning when invoked.
Related work item: https://msdata.visualstudio.com/Database%20Systems/_workitems/edit/3093099/
Testing Guide
Passed local no-build validation in the PR checkout:
az sql midb ltr-policy setaz sql midb ltr-policy showaz sql midb ltr-backup showaz sql midb ltr-backup listaz sql midb ltr-backup deleteaz sql midb ltr-backup restoreis_previewmetadata remains in the Managed Instance LTR command registration region.git diff --check HEAD^ HEADpassed with no whitespace errors.Not run: package build or live invocation using a locally installed development CLI.