Skip to content

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

Draft
bragi92 wants to merge 1 commit into
Azure:mainfrom
bragi92:kadubey/trace-rp-cli
Draft

bragi92 wants to merge 1 commit into
Azure:mainfrom
bragi92:kadubey/trace-rp-cli

Conversation

@bragi92

@bragi92 bragi92 commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Corresponding Azure CLI Extensions pull request: Azure/azure-cli-extensions#10479

Summary

Add the 2026-09-03-preview atomic command models used by the distributed trace feature in application-insights version 2.0.0b3.

  • 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/examples including retention and metrics billing defaults.

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

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

Validation

  • Passed the repository's required full metadata check: aaz-dev command-model verify --aaz-path <checkout>.
  • Regenerated the companion extension's trace commands from these models: all 15 atomic models produce the 16 committed generated command modules exactly, including the derived container wait command.
  • Confirmed no unused association update models or empty default command subgroups remain.

Draft status

This is the companion metadata PR for coordinated review with Azure/azure-cli-extensions#10479. The extension PR owns orchestration, component flags, argument validation, destination reporting, tests, and packaging. Live ARM and trace-ingestion validation remain release gates in that implementation PR.

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
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