Skip to content

[monitor] Add trace preview atomic command models - #1131

Draft
bragi92 wants to merge 2 commits into
Azure:mainfrom
bragi92:kadubey/trace-rp-cli
Draft

bragi92 wants to merge 2 commits into
Azure:mainfrom
bragi92:kadubey/trace-rp-cli

Conversation

@bragi92

@bragi92 bragi92 commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Corresponding Azure CLI pull request: Azure/azure-cli#34263

Summary

Add the 2026-09-03-preview atomic command models used by the distributed trace commands in the Azure CLI monitor module.

  • Trace container create, show, and update models for the singleton default container. The CLI generator also derives the container wait command.
  • Trace association create, show, list, and delete models at component, resource group, and subscription scope.
  • Matching XML and JSON configurations for seven trace resource paths, plus the parent command-group indexes.
  • Preview stages, the agreed container argument names, and container help and examples, including the retention and metrics billing defaults.

The scope-specific association models are consumed as unregistered atomic helpers by the public az monitor trace-association commands, which dispatch based on --resource-uri. They do not add public scope-specific command groups.

This change intentionally excludes unused association update models, container deletion, and unrelated workspace, metrics, or issue APIs. Existing workspace command models are unchanged.

Validation

Draft status

This is the companion metadata PR for Azure/azure-cli#34263, which owns orchestration, argument validation, destination reporting, and tests. It replaces Azure/azure-cli-extensions#10479, which is closed.

Add 2026-09-03-preview trace-container models and component, resource-group, and subscription association operations for application-insights 2.0.0b3. Preserve existing workspace APIs and omit unused association updates. Companion to local azure-cli-extensions commit 14b4b9889.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3fea4286-bba0-4628-84dc-866644c2595b
show described create's defaults, and every command said "trace
container settings". Each command now says what it does, and only
create and update describe how omitted settings are handled.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3fea4286-bba0-4628-84dc-866644c2595b
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.

1 participant