Skip to content

Add AzureChinaCloud and AzureUSGovernment endpoint templates for log-analytics data-plane client - #2

Merged
a0x1ab merged 2 commits into
agent-assist/azure-aaz-issue-10318-a0x1ab-azure-cli-extensions-pr-2-1d30a5e3a0fafrom
copilot/implement-durable-azure-aaz-source
Sep 10, 2026
Merged

Add AzureChinaCloud and AzureUSGovernment endpoint templates for log-analytics data-plane client#2
a0x1ab merged 2 commits into
agent-assist/azure-aaz-issue-10318-a0x1ab-azure-cli-extensions-pr-2-1d30a5e3a0fafrom
copilot/implement-durable-azure-aaz-source

Conversation

Copilot AI commented Sep 10, 2026

Copy link
Copy Markdown

Description

Durable AAZ command-model source for issue #10318.

az monitor log-analytics query fails in AzureChinaCloud and AzureUSGovernment because the operationalinsights data-plane client only defined an AzureCloud host template, causing _build_base_url to return None.

Changes

  • Resources/data-plane/microsoft.operationalinsights/client.xml and client.json: Add AzureChinaCloud and AzureUSGovernment endpoint templates alongside the existing AzureCloud entry:

    Cloud Endpoint
    AzureChinaCloud https://api.loganalytics.azure.cn
    AzureCloud https://api.loganalytics.io
    AzureUSGovernment https://api.loganalytics.us

please provide the link to the corresponding pull request in Azure/azure-cli or Azure/azure-cli-extensions:

a0x1ab/azure-cli-extensions#2

…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
Copilot AI requested a review from a0x1ab September 10, 2026 03:36
@a0x1ab
a0x1ab marked this pull request as ready for review September 10, 2026 04:03
@a0x1ab
a0x1ab merged commit cf1b66d into agent-assist/azure-aaz-issue-10318-a0x1ab-azure-cli-extensions-pr-2-1d30a5e3a0fa Sep 10, 2026
@a0x1ab
a0x1ab deleted the copilot/implement-durable-azure-aaz-source branch September 10, 2026 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants