Fixes to prep for Grafana 13#9891
Open
ABZhang0 wants to merge 5 commits into
Open
Conversation
❌Azure CLI Extensions Breaking Change Test
|
Collaborator
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
Contributor
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
Contributor
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the amg Azure CLI extension to prepare for Grafana 13 by removing deprecated command surfaces and migrating data-source operations away from deprecated ID-based Grafana APIs.
Changes:
- Remove deprecated
az grafana notification-channelandaz grafana api-keycommand groups (and related docs/help). - Update
az grafana data-source updateto use the UID-based endpoint and drop ID-based data source lookup. - Promote
backup,restore, andintegrations monitorcommands from preview to GA; bump extension version to 2.9.0.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/amg/setup.py | Bumps extension version to 2.9.0. |
| src/amg/README.md | Removes notification-channel documentation snippet. |
| src/amg/HISTORY.rst | Adds 2.9.0 release notes for Grafana 13 prep and GA commands. |
| src/amg/azext_amg/tests/latest/recordings/test_amg_e2e.yaml | Updates recording to reflect UID-based datasource update endpoint. |
| src/amg/azext_amg/custom.py | Switches datasource update to /uid/ endpoint; removes notification-channel and api-key implementations; adjusts datasource resolution logic. |
| src/amg/azext_amg/commands.py | Removes deprecated command groups; marks backup/restore/integrations monitor as GA. |
| src/amg/azext_amg/_params.py | Updates data_source argument help to reflect name/UID resolution only; removes api-key/notification-channel params. |
| src/amg/azext_amg/_help.py | Removes help entries for deprecated command groups. |
added 2 commits
May 20, 2026 16:09
added 2 commits
May 21, 2026 13:47
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.
Related command
az grafana data-source,az grafana backup,az grafana restore,az grafana integration,az grafana managed-private-endpointGeneral Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install wheel==0.30.0required)