Repository navigation
{Monitor} Add cloud endpoint and credential scope mappings - #10400
Merged
Julie Zhu (yanzhudd) merged 4 commits intoSep 29, 2026
Merged
Conversation
microsoft-github-policy-service
Bot
requested review from
Ethan Yang (necusjz) and
Yong Zhang (yonzhan)
September 28, 2026 08:48
Copilot started reviewing on behalf of
William (william051200)
September 28, 2026 08:48
View session
Contributor
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Handle missing endpoints for unmapped clouds to avoid an AttributeError.
Review effort: Lite
Findings: None
What changed in this PR
Adds Azure sovereign-cloud endpoint fallbacks and cloud-specific credential scopes for Log Analytics queries.
Changes:
- Adds Government and China host and credential mappings.
- Adds regression tests and refreshes recordings.
- Bumps version and updates release notes.
| File | Summary |
|---|---|
src/log-analytics/setup.py |
Bumps extension version. |
src/log-analytics/HISTORY.rst |
Documents the changes. |
src/log-analytics/azext_loganalytics/tests/latest/test_loganalytics_client.py |
Adds endpoint and scope tests. |
src/log-analytics/azext_loganalytics/tests/latest/recordings/test_query.yaml |
Refreshes query recordings. |
src/log-analytics/azext_loganalytics/aaz/latest/_clients.py |
Implements cloud-specific endpoints and scopes. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Collaborator
|
Monitor |
Julie Zhu (yanzhudd)
approved these changes
Sep 29, 2026
Collaborator
|
[Release] Update index.json for extension [ log-analytics-1.0.0b3 ] : https://dev.azure.com/msazure/One/_build/results?buildId=183261596&view=results |
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.
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
az monitor log-analytics queryGeneral Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install azdevrequired)For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.jsonautomatically.You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify
src/index.json.