Skip to content

[New Module] Add chaos command models (Microsoft.Chaos 2026-05-01-preview)#1034

Open
kekivelez wants to merge 1 commit into
Azure:mainfrom
kekivelez:users/kekivelez/chaos-codegen-20260623-200000-f228b86/cli-command-model
Open

[New Module] Add chaos command models (Microsoft.Chaos 2026-05-01-preview)#1034
kekivelez wants to merge 1 commit into
Azure:mainfrom
kekivelez:users/kekivelez/chaos-codegen-20260623-200000-f228b86/cli-command-model

Conversation

@kekivelez

@kekivelez kekivelez commented Jun 24, 2026

Copy link
Copy Markdown

Summary

Initial submission of the Microsoft.Chaos command models for Azure Chaos Studio (Chaos Studio v2 surface), generated from the 2026-05-01-preview API. This is the first contribution of the chaos module to Azure/aaz and is the upstream prerequisite for the companion Azure/azure-cli-extensions chaos extension (its CI runs aaz-dev command-model verify against Azure/aaz:main).

Adds/updates the Microsoft.Chaos resource provider command models for Azure
Chaos Studio under Commands/chaos/ and Resources/mgmt-plane/. This is the
upstream half of a coordinated submission with the companion
Azure/azure-cli-extensions PR which carries the src/chaos/ extension
tree.

API surface

  • RP: Microsoft.Chaos
  • API version: 2026-05-01-preview
  • Spec commit: f228b86
  • Swagger tag: package-2026-05-01-preview
  • Commands (V2 surface; matches the companion extension): workspace
    lifecycle (create/show/list/update/delete/refresh-recommendation/identity),
    discovered-resource (show/list), scenario lifecycle
    (create/show/list/update/delete), scenario configuration lifecycle
    (create/show/list/update/delete/execute/validate/fix-permissions), scenario
    run (show/list/cancel).

Validation

  • aaz-dev command-model verify --aaz-path . passes locally.

…view)

Add the Microsoft.Chaos resource provider command models for Azure Chaos
Studio (Chaos Studio v2) under Commands/chaos/ and Resources/mgmt-plane/,
generated with aaz-dev against Azure/azure-rest-api-specs@f228b86 (swagger
tag package-2026-05-01-preview) and the chaos customization driver (command
renames, examples, group help, preview labeling, V1 surface exclusion).

Command surface (V2 only): workspace (incl. identity, discovered-resource,
refresh-recommendation), scenario, scenario config, scenario run. V1
experiment/target/target-type/action/private-access surfaces are
intentionally excluded (deprecated in a later API version).

This is the upstream half of a coordinated submission with the companion
Azure/azure-cli-extensions chaos extension PR; the generated extension is
byte-identical to that repo's reviewed azext_chaos/aaz/ tree.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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