Add AzureChinaCloud and AzureUSGovernment endpoint templates for log-analytics data-plane client - #2
Merged
a0x1ab merged 2 commits intoSep 10, 2026
Conversation
…ytics data-plane client Co-authored-by: a0x1ab <59631311+a0x1ab@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add durable Azure AAZ source change for log analytics
Add AzureChinaCloud and AzureUSGovernment endpoint templates for log-analytics data-plane client
Sep 10, 2026
a0x1ab
marked this pull request as ready for review
September 10, 2026 04:03
a0x1ab
merged commit Sep 10, 2026
cf1b66d
into
agent-assist/azure-aaz-issue-10318-a0x1ab-azure-cli-extensions-pr-2-1d30a5e3a0fa
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.
Description
Durable AAZ command-model source for issue
#10318.az monitor log-analytics queryfails in AzureChinaCloud and AzureUSGovernment because the operationalinsights data-plane client only defined anAzureCloudhost template, causing_build_base_urlto returnNone.Changes
Resources/data-plane/microsoft.operationalinsights/client.xmlandclient.json: AddAzureChinaCloudandAzureUSGovernmentendpoint templates alongside the existingAzureCloudentry:https://api.loganalytics.azure.cnhttps://api.loganalytics.iohttps://api.loganalytics.usplease provide the link to the corresponding pull request in Azure/azure-cli or Azure/azure-cli-extensions:
a0x1ab/azure-cli-extensions#2