From 278e618b70039fc6c373f6c07192d37ad33c4ba2 Mon Sep 17 00:00:00 2001 From: "Cristian Velez (from Dev Box)" Date: Tue, 23 Jun 2026 22:28:06 -0600 Subject: [PATCH] [New Module] Add chaos command models (Microsoft.Chaos 2026-05-01-preview) 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> --- Commands/chaos/discovered-resource/_list.md | 16 + Commands/chaos/discovered-resource/_show.md | 16 + Commands/chaos/discovered-resource/readme.md | 13 + Commands/chaos/readme.md | 16 + Commands/chaos/scenario/_create.md | 16 + Commands/chaos/scenario/_delete.md | 16 + Commands/chaos/scenario/_list.md | 16 + Commands/chaos/scenario/_show.md | 16 + Commands/chaos/scenario/_update.md | 16 + Commands/chaos/scenario/config/_create.md | 21 + Commands/chaos/scenario/config/_delete.md | 16 + Commands/chaos/scenario/config/_execute.md | 16 + .../chaos/scenario/config/_fix-permissions.md | 16 + Commands/chaos/scenario/config/_list.md | 16 + Commands/chaos/scenario/config/_show.md | 16 + Commands/chaos/scenario/config/_update.md | 16 + Commands/chaos/scenario/config/_validate.md | 16 + Commands/chaos/scenario/config/readme.md | 31 + Commands/chaos/scenario/readme.md | 30 + Commands/chaos/scenario/run/_cancel.md | 16 + Commands/chaos/scenario/run/_list.md | 16 + Commands/chaos/scenario/run/_show.md | 22 + Commands/chaos/scenario/run/readme.md | 16 + Commands/chaos/workspace/_create.md | 21 + Commands/chaos/workspace/_delete.md | 16 + Commands/chaos/workspace/_list.md | 22 + .../workspace/_refresh-recommendation.md | 16 + Commands/chaos/workspace/_show.md | 16 + Commands/chaos/workspace/_update.md | 16 + Commands/chaos/workspace/identity/_assign.md | 16 + Commands/chaos/workspace/identity/_remove.md | 16 + Commands/chaos/workspace/identity/_show.md | 16 + Commands/chaos/workspace/identity/readme.md | 14 + Commands/chaos/workspace/readme.md | 30 + Commands/readme.md | 3 + .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 256 ++++ .../2026-05-01-preview.md | 1 + .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 1114 +++++++++++++++++ .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 100 ++ .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 102 ++ .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 52 + .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 197 +++ .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 1075 ++++++++++++++++ .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 143 +++ .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 711 +++++++++++ .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 66 + .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 66 + .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 78 ++ .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 218 ++++ .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 231 ++++ .../2026-05-01-preview.json | 1 + .../2026-05-01-preview.xml | 66 + 66 files changed, 5098 insertions(+) create mode 100644 Commands/chaos/discovered-resource/_list.md create mode 100644 Commands/chaos/discovered-resource/_show.md create mode 100644 Commands/chaos/discovered-resource/readme.md create mode 100644 Commands/chaos/readme.md create mode 100644 Commands/chaos/scenario/_create.md create mode 100644 Commands/chaos/scenario/_delete.md create mode 100644 Commands/chaos/scenario/_list.md create mode 100644 Commands/chaos/scenario/_show.md create mode 100644 Commands/chaos/scenario/_update.md create mode 100644 Commands/chaos/scenario/config/_create.md create mode 100644 Commands/chaos/scenario/config/_delete.md create mode 100644 Commands/chaos/scenario/config/_execute.md create mode 100644 Commands/chaos/scenario/config/_fix-permissions.md create mode 100644 Commands/chaos/scenario/config/_list.md create mode 100644 Commands/chaos/scenario/config/_show.md create mode 100644 Commands/chaos/scenario/config/_update.md create mode 100644 Commands/chaos/scenario/config/_validate.md create mode 100644 Commands/chaos/scenario/config/readme.md create mode 100644 Commands/chaos/scenario/readme.md create mode 100644 Commands/chaos/scenario/run/_cancel.md create mode 100644 Commands/chaos/scenario/run/_list.md create mode 100644 Commands/chaos/scenario/run/_show.md create mode 100644 Commands/chaos/scenario/run/readme.md create mode 100644 Commands/chaos/workspace/_create.md create mode 100644 Commands/chaos/workspace/_delete.md create mode 100644 Commands/chaos/workspace/_list.md create mode 100644 Commands/chaos/workspace/_refresh-recommendation.md create mode 100644 Commands/chaos/workspace/_show.md create mode 100644 Commands/chaos/workspace/_update.md create mode 100644 Commands/chaos/workspace/identity/_assign.md create mode 100644 Commands/chaos/workspace/identity/_remove.md create mode 100644 Commands/chaos/workspace/identity/_show.md create mode 100644 Commands/chaos/workspace/identity/readme.md create mode 100644 Commands/chaos/workspace/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXM=/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXM=/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXMve30=/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXMve30=/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3JlZnJlc2hyZWNvbW1lbmRhdGlvbnM=/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3JlZnJlc2hyZWNvbW1lbmRhdGlvbnM=/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcw==/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcw==/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fQ==/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fQ==/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucw==/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucw==/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fQ==/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fQ==/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS92YWxpZGF0ZQ==/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS92YWxpZGF0ZQ==/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9leGVjdXRl/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9leGVjdXRl/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9maXhyZXNvdXJjZXBlcm1pc3Npb25z/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9maXhyZXNvdXJjZXBlcm1pc3Npb25z/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5z/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5z/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9L2NhbmNlbA==/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9L2NhbmNlbA==/2026-05-01-preview.xml diff --git a/Commands/chaos/discovered-resource/_list.md b/Commands/chaos/discovered-resource/_list.md new file mode 100644 index 000000000..545a93263 --- /dev/null +++ b/Commands/chaos/discovered-resource/_list.md @@ -0,0 +1,16 @@ +# [Command] _chaos discovered-resource list_ + +List a list of discovered resources for a workspace. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXM=/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- List discovered resources for a workspace. + ```bash + chaos discovered-resource list --resource-group exampleRG --workspace-name exampleWorkspace + ``` diff --git a/Commands/chaos/discovered-resource/_show.md b/Commands/chaos/discovered-resource/_show.md new file mode 100644 index 000000000..ab43dd308 --- /dev/null +++ b/Commands/chaos/discovered-resource/_show.md @@ -0,0 +1,16 @@ +# [Command] _chaos discovered-resource show_ + +Get a discovered resource. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXMve30=/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Get a discovered resource. + ```bash + chaos discovered-resource show --resource-group exampleRG --workspace-name exampleWorkspace --discovered-resource-name a1b2c3d4-e5f6-7890-abcd-ef1234567890 + ``` diff --git a/Commands/chaos/discovered-resource/readme.md b/Commands/chaos/discovered-resource/readme.md new file mode 100644 index 000000000..58abe92cb --- /dev/null +++ b/Commands/chaos/discovered-resource/readme.md @@ -0,0 +1,13 @@ +# [Group] _chaos discovered-resource_ + +Browse discovered resources in a Chaos Studio workspace. + +Discovered resources are populated by workspace discovery scans (triggered via 'az chaos workspace refresh-recommendation'). Use 'list' to see all discovered resources and 'show' to inspect a specific one. + +## Commands + +- [list](/Commands/chaos/discovered-resource/_list.md) +: List a list of discovered resources for a workspace. + +- [show](/Commands/chaos/discovered-resource/_show.md) +: Get a discovered resource. diff --git a/Commands/chaos/readme.md b/Commands/chaos/readme.md new file mode 100644 index 000000000..24453553a --- /dev/null +++ b/Commands/chaos/readme.md @@ -0,0 +1,16 @@ +# [Group] _chaos_ + +Manage Azure Chaos Studio resources. + +Create and manage Chaos Studio v2 workspaces, scenarios, scenario configurations, and runs for chaos engineering experiments. + +## Subgroups + +- [discovered-resource](/Commands/chaos/discovered-resource/readme.md) +: Browse discovered resources in a Chaos Studio workspace. + +- [scenario](/Commands/chaos/scenario/readme.md) +: Manage Chaos Studio scenarios within a workspace. + +- [workspace](/Commands/chaos/workspace/readme.md) +: Manage Chaos Studio workspaces. diff --git a/Commands/chaos/scenario/_create.md b/Commands/chaos/scenario/_create.md new file mode 100644 index 000000000..2a966ca0f --- /dev/null +++ b/Commands/chaos/scenario/_create.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario create_ + +Create a scenario. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fQ==/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Create or update a scenario. + ```bash + chaos scenario create --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name zoneDownScenario --description 'Induces an outage of all discovered VM and VMSS instances in the target zone.' --parameters "[{name:duration,type:string,default:PT15M,required:False,description:'The duration of the outage scenario.'}]" --actions "[{name:vmZoneDown,action-id:'urn:csci:microsoft:compute:shutdown/1.0.0',description:'Force shutdown VM instances in target zone',duration:'%%{parameters.duration}%%',parameters:[{key:zones,value:'%%{filters.zones}%%'}]}]" + ``` diff --git a/Commands/chaos/scenario/_delete.md b/Commands/chaos/scenario/_delete.md new file mode 100644 index 000000000..47ade1ac3 --- /dev/null +++ b/Commands/chaos/scenario/_delete.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario delete_ + +Delete a scenario. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fQ==/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Delete a scenario in a workspace. + ```bash + chaos scenario delete --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name myScenario + ``` diff --git a/Commands/chaos/scenario/_list.md b/Commands/chaos/scenario/_list.md new file mode 100644 index 000000000..66fb05bce --- /dev/null +++ b/Commands/chaos/scenario/_list.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario list_ + +List a list of scenarios. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcw==/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- List scenarios in a workspace. + ```bash + chaos scenario list --resource-group exampleRG --workspace-name exampleWorkspace + ``` diff --git a/Commands/chaos/scenario/_show.md b/Commands/chaos/scenario/_show.md new file mode 100644 index 000000000..8ca45052e --- /dev/null +++ b/Commands/chaos/scenario/_show.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario show_ + +Get a scenario. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fQ==/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Get a scenario. + ```bash + chaos scenario show --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name zoneDownScenario + ``` diff --git a/Commands/chaos/scenario/_update.md b/Commands/chaos/scenario/_update.md new file mode 100644 index 000000000..79a1a3d6e --- /dev/null +++ b/Commands/chaos/scenario/_update.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario update_ + +Update a scenario. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fQ==/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Update a scenario. + ```bash + chaos scenario update --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name zoneDownScenario + ``` diff --git a/Commands/chaos/scenario/config/_create.md b/Commands/chaos/scenario/config/_create.md new file mode 100644 index 000000000..8aad51a8f --- /dev/null +++ b/Commands/chaos/scenario/config/_create.md @@ -0,0 +1,21 @@ +# [Command] _chaos scenario config create_ + +Create a scenario definition. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fQ==/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Create or update a scenario configuration with physical zone targeting. + ```bash + chaos scenario config create --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name ZoneDown-1.0 --name my-config --exclusions "{resources:[/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/protectedVM]}" --parameters "[{key:duration,value:PT10M}]" --filters "{locations:[westus2],physical-zones:[westus2-az1]}" + ``` + +- Create or update a scenario configuration with availability zone targeting. + ```bash + chaos scenario config create --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name ZoneDown-1.0 --name my-config --filters "{locations:[eastus],zones:[1]}" --parameters "[{key:duration,value:PT10M}]" + ``` diff --git a/Commands/chaos/scenario/config/_delete.md b/Commands/chaos/scenario/config/_delete.md new file mode 100644 index 000000000..48ee894b5 --- /dev/null +++ b/Commands/chaos/scenario/config/_delete.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario config delete_ + +Delete a scenario definition. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fQ==/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Delete a scenario configuration. + ```bash + chaos scenario config delete --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name ZoneDown-1.0 --name my-config + ``` diff --git a/Commands/chaos/scenario/config/_execute.md b/Commands/chaos/scenario/config/_execute.md new file mode 100644 index 000000000..de96c6f46 --- /dev/null +++ b/Commands/chaos/scenario/config/_execute.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario config execute_ + +Execute the scenario execution with the given scenario configuration. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9leGVjdXRl/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Execute the scenario execution with the given scenario configuration. + ```bash + chaos scenario config execute --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name ZoneDown-1.0 --name my-config + ``` diff --git a/Commands/chaos/scenario/config/_fix-permissions.md b/Commands/chaos/scenario/config/_fix-permissions.md new file mode 100644 index 000000000..c751fdf1e --- /dev/null +++ b/Commands/chaos/scenario/config/_fix-permissions.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario config fix-permissions_ + +Fixes resource permissions for the given scenario configuration. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9maXhyZXNvdXJjZXBlcm1pc3Npb25z/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Fix resource permissions required to run a scenario configuration. + ```bash + chaos scenario config fix-permissions --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name ZoneDown-1.0 -n my-config + ``` diff --git a/Commands/chaos/scenario/config/_list.md b/Commands/chaos/scenario/config/_list.md new file mode 100644 index 000000000..6db2eda46 --- /dev/null +++ b/Commands/chaos/scenario/config/_list.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario config list_ + +List a list of scenario definitions. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucw==/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- List scenario configurations under a scenario. + ```bash + chaos scenario config list --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name ZoneDown-1.0 + ``` diff --git a/Commands/chaos/scenario/config/_show.md b/Commands/chaos/scenario/config/_show.md new file mode 100644 index 000000000..ba1a68acf --- /dev/null +++ b/Commands/chaos/scenario/config/_show.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario config show_ + +Get a scenario definition. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fQ==/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Get a scenario configuration. + ```bash + chaos scenario config show --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name ZoneDown-1.0 -n my-config + ``` diff --git a/Commands/chaos/scenario/config/_update.md b/Commands/chaos/scenario/config/_update.md new file mode 100644 index 000000000..7edb3b597 --- /dev/null +++ b/Commands/chaos/scenario/config/_update.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario config update_ + +Update a scenario definition. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fQ==/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Update a scenario configuration. + ```bash + chaos scenario config update --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name ZoneDown-1.0 --name my-config + ``` diff --git a/Commands/chaos/scenario/config/_validate.md b/Commands/chaos/scenario/config/_validate.md new file mode 100644 index 000000000..f26e071ed --- /dev/null +++ b/Commands/chaos/scenario/config/_validate.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario config validate_ + +Validate the given scenario configuration. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS92YWxpZGF0ZQ==/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Validate a scenario configuration. + ```bash + chaos scenario config validate --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name ZoneDown-1.0 --name my-config + ``` diff --git a/Commands/chaos/scenario/config/readme.md b/Commands/chaos/scenario/config/readme.md new file mode 100644 index 000000000..ccf1b488e --- /dev/null +++ b/Commands/chaos/scenario/config/readme.md @@ -0,0 +1,31 @@ +# [Group] _chaos scenario config_ + +Manage scenario configurations for a Chaos Studio scenario. + +Scenario configurations define the steps, branches, and fault parameters for a chaos experiment run. Use 'validate' to check a configuration before execution and 'fix-permissions' to grant the required RBAC roles. + +## Commands + +- [create](/Commands/chaos/scenario/config/_create.md) +: Create a scenario definition. + +- [delete](/Commands/chaos/scenario/config/_delete.md) +: Delete a scenario definition. + +- [execute](/Commands/chaos/scenario/config/_execute.md) +: Execute the scenario execution with the given scenario configuration. + +- [fix-permissions](/Commands/chaos/scenario/config/_fix-permissions.md) +: Fixes resource permissions for the given scenario configuration. + +- [list](/Commands/chaos/scenario/config/_list.md) +: List a list of scenario definitions. + +- [show](/Commands/chaos/scenario/config/_show.md) +: Get a scenario definition. + +- [update](/Commands/chaos/scenario/config/_update.md) +: Update a scenario definition. + +- [validate](/Commands/chaos/scenario/config/_validate.md) +: Validate the given scenario configuration. diff --git a/Commands/chaos/scenario/readme.md b/Commands/chaos/scenario/readme.md new file mode 100644 index 000000000..74ff06005 --- /dev/null +++ b/Commands/chaos/scenario/readme.md @@ -0,0 +1,30 @@ +# [Group] _chaos scenario_ + +Manage Chaos Studio scenarios within a workspace. + +Scenarios define the fault-injection actions available in a workspace. Catalog scenarios are populated by workspace evaluation (see 'az chaos workspace refresh-recommendation'); custom scenarios can be created directly. + +## Subgroups + +- [config](/Commands/chaos/scenario/config/readme.md) +: Manage scenario configurations for a Chaos Studio scenario. + +- [run](/Commands/chaos/scenario/run/readme.md) +: Manage scenario runs for a Chaos Studio scenario. + +## Commands + +- [create](/Commands/chaos/scenario/_create.md) +: Create a scenario. + +- [delete](/Commands/chaos/scenario/_delete.md) +: Delete a scenario. + +- [list](/Commands/chaos/scenario/_list.md) +: List a list of scenarios. + +- [show](/Commands/chaos/scenario/_show.md) +: Get a scenario. + +- [update](/Commands/chaos/scenario/_update.md) +: Update a scenario. diff --git a/Commands/chaos/scenario/run/_cancel.md b/Commands/chaos/scenario/run/_cancel.md new file mode 100644 index 000000000..5198b76a6 --- /dev/null +++ b/Commands/chaos/scenario/run/_cancel.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario run cancel_ + +Cancel the currently running scenario execution. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9L2NhbmNlbA==/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Cancel a running scenario run. + ```bash + chaos scenario run cancel --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name ZoneDown-1.0 --run-id abcd1234-5678-9012-3456-789012345678 + ``` diff --git a/Commands/chaos/scenario/run/_list.md b/Commands/chaos/scenario/run/_list.md new file mode 100644 index 000000000..87e7da1f3 --- /dev/null +++ b/Commands/chaos/scenario/run/_list.md @@ -0,0 +1,16 @@ +# [Command] _chaos scenario run list_ + +List a list of scenario runs. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5z/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- List scenario runs under a scenario. + ```bash + chaos scenario run list --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name ZoneDown-1.0 + ``` diff --git a/Commands/chaos/scenario/run/_show.md b/Commands/chaos/scenario/run/_show.md new file mode 100644 index 000000000..06e145eb1 --- /dev/null +++ b/Commands/chaos/scenario/run/_show.md @@ -0,0 +1,22 @@ +# [Command] _chaos scenario run show_ + +Get a scenario run. + +This endpoint is also the polling target for ScenarioConfigurations.execute +and ScenarioRuns.cancel (final-state-via: location). While the run is in +progress the service returns 202 with a Location header pointing back to +this URL; clients must keep polling until they receive 200, which carries +the final ScenarioRun body. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Get a scenario run. + ```bash + chaos scenario run show --resource-group exampleRG --workspace-name exampleWorkspace --scenario-name ZoneDown-1.0 --run-id abcd1234-5678-9012-3456-789012345678 + ``` diff --git a/Commands/chaos/scenario/run/readme.md b/Commands/chaos/scenario/run/readme.md new file mode 100644 index 000000000..cd1e4a451 --- /dev/null +++ b/Commands/chaos/scenario/run/readme.md @@ -0,0 +1,16 @@ +# [Group] _chaos scenario run_ + +Manage scenario runs for a Chaos Studio scenario. + +Scenario runs represent individual executions of a scenario configuration. Use 'start' to begin a new run, 'show' to inspect its status, and 'cancel' to stop a running execution. + +## Commands + +- [cancel](/Commands/chaos/scenario/run/_cancel.md) +: Cancel the currently running scenario execution. + +- [list](/Commands/chaos/scenario/run/_list.md) +: List a list of scenario runs. + +- [show](/Commands/chaos/scenario/run/_show.md) +: Get a scenario run.\n\nThis endpoint is also the polling target for ScenarioConfigurations.execute\nand ScenarioRuns.cancel (final-state-via: location). While the run is in\nprogress the service returns 202 with a Location header pointing back to\nthis URL; clients must keep polling until they receive 200, which carries\nthe final ScenarioRun body. diff --git a/Commands/chaos/workspace/_create.md b/Commands/chaos/workspace/_create.md new file mode 100644 index 000000000..16629ea5a --- /dev/null +++ b/Commands/chaos/workspace/_create.md @@ -0,0 +1,21 @@ +# [Command] _chaos workspace create_ + +Create a Workspace resource. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Create or update a Workspace. + ```bash + chaos workspace create --resource-group exampleRG --workspace-name exampleWorkspace --location eastus --scopes /subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG --tags '{key1:value1,key2:value2}' + ``` + +- Create or update a Workspace with a user-assigned managed identity. + ```bash + chaos workspace create --resource-group exampleRG --workspace-name exampleWorkspace --location eastus --mi-user-assigned /subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleIdentity --scopes /subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG + ``` diff --git a/Commands/chaos/workspace/_delete.md b/Commands/chaos/workspace/_delete.md new file mode 100644 index 000000000..a22131ce3 --- /dev/null +++ b/Commands/chaos/workspace/_delete.md @@ -0,0 +1,16 @@ +# [Command] _chaos workspace delete_ + +Delete a Workspace resource. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Delete a Workspace in a resource group. + ```bash + chaos workspace delete --resource-group exampleRG --workspace-name exampleWorkspace + ``` diff --git a/Commands/chaos/workspace/_list.md b/Commands/chaos/workspace/_list.md new file mode 100644 index 000000000..fe614ebe0 --- /dev/null +++ b/Commands/chaos/workspace/_list.md @@ -0,0 +1,22 @@ +# [Command] _chaos workspace list_ + +List a list of all Workspace resources in a subscription. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.xml) **Preview** + + + + +#### examples + +- List Workspaces in a resource group. + ```bash + chaos workspace list --resource-group exampleRG + ``` + +- List all Workspaces in a subscription. + ```bash + chaos workspace list + ``` diff --git a/Commands/chaos/workspace/_refresh-recommendation.md b/Commands/chaos/workspace/_refresh-recommendation.md new file mode 100644 index 000000000..2660117fe --- /dev/null +++ b/Commands/chaos/workspace/_refresh-recommendation.md @@ -0,0 +1,16 @@ +# [Command] _chaos workspace refresh-recommendation_ + +Refreshes recommendation status for all scenarios in a given workspace. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3JlZnJlc2hyZWNvbW1lbmRhdGlvbnM=/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Refresh recommendations for all scenarios in a workspace. + ```bash + chaos workspace refresh-recommendation --resource-group exampleRG --workspace-name exampleWorkspace + ``` diff --git a/Commands/chaos/workspace/_show.md b/Commands/chaos/workspace/_show.md new file mode 100644 index 000000000..47c5aad39 --- /dev/null +++ b/Commands/chaos/workspace/_show.md @@ -0,0 +1,16 @@ +# [Command] _chaos workspace show_ + +Get a Workspace resource. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Get a Workspace in a resource group. + ```bash + chaos workspace show --resource-group exampleRG --workspace-name exampleWorkspace + ``` diff --git a/Commands/chaos/workspace/_update.md b/Commands/chaos/workspace/_update.md new file mode 100644 index 000000000..3f86099b3 --- /dev/null +++ b/Commands/chaos/workspace/_update.md @@ -0,0 +1,16 @@ +# [Command] _chaos workspace update_ + +Update a Workspace resource. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Create/update a workspace in a resource group. + ```bash + chaos workspace update --resource-group exampleRG --workspace-name exampleWorkspace + ``` diff --git a/Commands/chaos/workspace/identity/_assign.md b/Commands/chaos/workspace/identity/_assign.md new file mode 100644 index 000000000..7e849c113 --- /dev/null +++ b/Commands/chaos/workspace/identity/_assign.md @@ -0,0 +1,16 @@ +# [Command] _chaos workspace identity assign_ + +Assign the user or system managed identities. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Create/update a workspace in a resource group. + ```bash + chaos workspace identity assign --resource-group exampleRG --workspace-name exampleWorkspace + ``` diff --git a/Commands/chaos/workspace/identity/_remove.md b/Commands/chaos/workspace/identity/_remove.md new file mode 100644 index 000000000..ebea389c5 --- /dev/null +++ b/Commands/chaos/workspace/identity/_remove.md @@ -0,0 +1,16 @@ +# [Command] _chaos workspace identity remove_ + +Remove the user or system managed identities. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Create/update a workspace in a resource group. + ```bash + chaos workspace identity remove --resource-group exampleRG --workspace-name exampleWorkspace + ``` diff --git a/Commands/chaos/workspace/identity/_show.md b/Commands/chaos/workspace/identity/_show.md new file mode 100644 index 000000000..0f6074559 --- /dev/null +++ b/Commands/chaos/workspace/identity/_show.md @@ -0,0 +1,16 @@ +# [Command] _chaos workspace identity show_ + +Show the details of managed identities. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.xml) **Preview** + + + +#### examples + +- Get a Workspace in a resource group. + ```bash + chaos workspace identity show --resource-group exampleRG --workspace-name exampleWorkspace + ``` diff --git a/Commands/chaos/workspace/identity/readme.md b/Commands/chaos/workspace/identity/readme.md new file mode 100644 index 000000000..f0d0fe507 --- /dev/null +++ b/Commands/chaos/workspace/identity/readme.md @@ -0,0 +1,14 @@ +# [Group] _chaos workspace identity_ + +Manage Identity + +## Commands + +- [assign](/Commands/chaos/workspace/identity/_assign.md) +: Assign the user or system managed identities. + +- [remove](/Commands/chaos/workspace/identity/_remove.md) +: Remove the user or system managed identities. + +- [show](/Commands/chaos/workspace/identity/_show.md) +: Show the details of managed identities. diff --git a/Commands/chaos/workspace/readme.md b/Commands/chaos/workspace/readme.md new file mode 100644 index 000000000..32d255544 --- /dev/null +++ b/Commands/chaos/workspace/readme.md @@ -0,0 +1,30 @@ +# [Group] _chaos workspace_ + +Manage Chaos Studio workspaces. + +Workspaces are the top-level resource for Chaos Studio v2. They define the scope of resources that can be targeted by chaos scenarios and the managed identity used for fault injection. + +## Subgroups + +- [identity](/Commands/chaos/workspace/identity/readme.md) +: Manage Identity + +## Commands + +- [create](/Commands/chaos/workspace/_create.md) +: Create a Workspace resource. + +- [delete](/Commands/chaos/workspace/_delete.md) +: Delete a Workspace resource. + +- [list](/Commands/chaos/workspace/_list.md) +: List a list of all Workspace resources in a subscription. + +- [refresh-recommendation](/Commands/chaos/workspace/_refresh-recommendation.md) +: Refreshes recommendation status for all scenarios in a given workspace. + +- [show](/Commands/chaos/workspace/_show.md) +: Get a Workspace resource. + +- [update](/Commands/chaos/workspace/_update.md) +: Update a Workspace resource. diff --git a/Commands/readme.md b/Commands/readme.md index b65bc1241..3fb8f117b 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -77,6 +77,9 @@ - [change-analysis](/Commands/change-analysis/readme.md) : List changes for resources +- [chaos](/Commands/chaos/readme.md) +: Manage Chaos + - [cloud-service](/Commands/cloud-service/readme.md) : Manage cloud service diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.json new file mode 100644 index 000000000..94b81e05b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.chaos/workspaces", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNoYW9zL3dvcmtzcGFjZXM=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcw==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos workspace", "commands": [{"name": "list", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.chaos/workspaces", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNoYW9zL3dvcmtzcGFjZXM=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcw==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.continuationToken", "options": ["continuation-token"], "help": {"short": "String that sets the continuation token."}}]}], "conditions": [{"var": "$Condition_Workspaces_ListAll", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_Workspaces_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_Workspaces_ListAll"], "operationId": "Workspaces_ListAll", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Chaos/workspaces", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "continuationToken", "arg": "$Query.continuationToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "communicationEndpoint"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "scopes", "required": true, "item": {"type": "ResourceId"}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Workspaces_List"], "operationId": "Workspaces_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "continuationToken", "arg": "$Query.continuationToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "communicationEndpoint"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "scopes", "required": true, "item": {"type": "ResourceId"}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.xml new file mode 100644 index 000000000..f4e3b2cda --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.xml @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.md new file mode 100644 index 000000000..451fbf4d2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.chaos/workspaces 2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2Vz/2026-05-01-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.json new file mode 100644 index 000000000..9bf974102 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos workspace", "commands": [{"name": "show", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"operationId": "Workspaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "communicationEndpoint"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "scopes", "required": true, "item": {"type": "ResourceId"}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Workspaces_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, {"name": "Identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Identity", "help": {"short": "Set the system managed identity."}}, {"type": "string", "var": "$resource.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$resource.properties.scopes", "options": ["scopes"], "required": true, "group": "Properties", "help": {"short": "The intended workspace-level resource scope to be used by child scenarios."}, "item": {"type": "ResourceId"}}]}, {"name": "Resource", "args": [{"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Workspaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}], "userAssigned": {"action": "create", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "create", "type": "string"}}, "systemAssigned": {"action": "create", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "scopes", "arg": "$resource.properties.scopes", "required": true, "item": {"type": "ResourceId"}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "communicationEndpoint"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "scopes", "required": true, "item": {"type": "ResourceId"}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, {"name": "Identity", "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$resource.properties.scopes", "options": ["scopes"], "group": "Properties", "help": {"short": "The intended workspace-level resource scope to be used by child scenarios."}, "item": {"nullable": true, "type": "ResourceId"}}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "Workspaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "communicationEndpoint"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "scopes", "required": true, "item": {"type": "ResourceId"}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Workspace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "scopes", "arg": "$resource.properties.scopes", "required": true, "item": {"type": "ResourceId"}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Workspaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Workspace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}], "commandGroups": [{"name": "identity", "commands": [{"name": "assign", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}", "version": "2026-05-01-preview", "subresource": "identity", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, {"name": "Resource.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Resource.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Resource.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "Workspaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "communicationEndpoint"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "scopes", "required": true, "item": {"type": "ResourceId"}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Workspace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "assign", "type": "IdentityObject", "name": "resource.identity", "required": true, "userAssigned": {"action": "assign", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "assign", "type": "string"}}, "systemAssigned": {"action": "assign", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Workspaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Workspace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "remove", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}", "version": "2026-05-01-preview", "subresource": "identity", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, {"name": "Resource.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Resource.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Resource.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "Workspaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "communicationEndpoint"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "scopes", "required": true, "item": {"type": "ResourceId"}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Workspace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "remove", "type": "IdentityObject", "name": "resource.identity", "required": true, "userAssigned": {"action": "remove", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "remove", "type": "string"}}, "systemAssigned": {"action": "remove", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Workspaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Workspace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "show", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}", "version": "2026-05-01-preview", "subresource": "identity", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "Workspaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "communicationEndpoint"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "scopes", "required": true, "item": {"type": "ResourceId"}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Workspace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.xml new file mode 100644 index 000000000..0d553596e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9/2026-05-01-preview.xml @@ -0,0 +1,1114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXM=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXM=/2026-05-01-preview.json new file mode 100644 index 000000000..cf5df8048 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXM=/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/discoveredresources", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZGlzY292ZXJlZFJlc291cmNlcw==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos discovered-resource", "commands": [{"name": "list", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/discoveredresources", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZGlzY292ZXJlZFJlc291cmNlcw==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"operationId": "DiscoveredResources_ListByWorkspace", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/discoveredResources", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}/discoveredResources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "dateTime", "name": "discoveredAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "fullyQualifiedIdentifier"}, {"readOnly": true, "type": "string", "name": "namespace"}, {"readOnly": true, "type": "string", "name": "resourceName"}, {"readOnly": true, "type": "string", "name": "resourceType"}, {"readOnly": true, "type": "string", "name": "scope"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXM=/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXM=/2026-05-01-preview.xml new file mode 100644 index 000000000..b1f940b04 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXM=/2026-05-01-preview.xml @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXMve30=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXMve30=/2026-05-01-preview.json new file mode 100644 index 000000000..43683517d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXMve30=/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/discoveredresources/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZGlzY292ZXJlZFJlc291cmNlcy97ZGlzY292ZXJlZFJlc291cmNlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos discovered-resource", "commands": [{"name": "show", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/discoveredresources/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZGlzY292ZXJlZFJlc291cmNlcy97ZGlzY292ZXJlZFJlc291cmNlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.discoveredResourceName", "options": ["n", "name", "discovered-resource-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the discovered resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"operationId": "DiscoveredResources_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/discoveredResources/{discoveredResourceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "discoveredResourceName", "arg": "$Path.discoveredResourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}/discoveredResources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "dateTime", "name": "discoveredAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "fullyQualifiedIdentifier"}, {"readOnly": true, "type": "string", "name": "namespace"}, {"readOnly": true, "type": "string", "name": "resourceName"}, {"readOnly": true, "type": "string", "name": "resourceType"}, {"readOnly": true, "type": "string", "name": "scope"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXMve30=/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXMve30=/2026-05-01-preview.xml new file mode 100644 index 000000000..875230f13 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L2Rpc2NvdmVyZWRyZXNvdXJjZXMve30=/2026-05-01-preview.xml @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3JlZnJlc2hyZWNvbW1lbmRhdGlvbnM=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3JlZnJlc2hyZWNvbW1lbmRhdGlvbnM=/2026-05-01-preview.json new file mode 100644 index 000000000..241e85e04 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3JlZnJlc2hyZWNvbW1lbmRhdGlvbnM=/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/refreshrecommendations", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vcmVmcmVzaFJlY29tbWVuZGF0aW9ucw==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos workspace", "commands": [{"name": "refresh-recommendation", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/refreshrecommendations", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vcmVmcmVzaFJlY29tbWVuZGF0aW9ucw==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Workspaces_RefreshRecommendations", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/refreshRecommendations", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3JlZnJlc2hyZWNvbW1lbmRhdGlvbnM=/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3JlZnJlc2hyZWNvbW1lbmRhdGlvbnM=/2026-05-01-preview.xml new file mode 100644 index 000000000..bd6eaab4c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3JlZnJlc2hyZWNvbW1lbmRhdGlvbnM=/2026-05-01-preview.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcw==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcw==/2026-05-01-preview.json new file mode 100644 index 000000000..e1f7cd4a3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcw==/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9z/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos scenario", "commands": [{"name": "list", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9z/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"operationId": "Scenarios_ListAll", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}/scenarios/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "actions", "required": true, "format": {"minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "actionId", "required": true}, {"type": "string", "name": "description"}, {"type": "string", "name": "duration", "required": true}, {"type": "object", "name": "externalResource", "props": [{"type": "ResourceId", "name": "resourceId"}]}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9-_]+$"}}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "key", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "value", "required": true, "format": {"minLength": 1}}]}, "identifiers": ["key"]}, {"type": "object", "name": "runAfter", "props": [{"default": {"value": "Any"}, "type": "string", "name": "behavior", "enum": {"items": [{"value": "All"}, {"value": "Any"}, {"value": "AtLeastOne"}]}}, {"type": "array", "name": "items", "required": true, "format": {"minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "onActionLifecycle", "enum": {"items": [{"value": "AnyTerminal"}, {"value": "Failure"}, {"value": "Running"}, {"value": "Skipped"}, {"value": "Start"}, {"value": "Success"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Action"}]}}]}, "identifiers": ["name"]}]}, {"type": "string", "name": "timeout"}, {"type": "string", "name": "waitBefore"}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "createdFrom"}, {"type": "string", "name": "description"}, {"type": "array", "name": "parameters", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "default"}, {"type": "string", "name": "description"}, {"type": "string", "name": "name", "required": true, "format": {"minLength": 1}}, {"type": "boolean", "name": "required"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "array"}, {"value": "boolean"}, {"value": "number"}, {"value": "object"}, {"value": "string"}]}}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "object", "name": "recommendation", "props": [{"readOnly": true, "type": "dateTime", "name": "evaluationRunAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "recommendationStatus", "enum": {"items": [{"value": "Evaluating"}, {"value": "EvaluationCancelled"}, {"value": "EvaluationFailed"}, {"value": "NotApplicable"}, {"value": "NotEvaluated"}, {"value": "Recommended"}]}}]}, {"readOnly": true, "type": "string", "name": "version"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcw==/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcw==/2026-05-01-preview.xml new file mode 100644 index 000000000..79a2079b9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcw==/2026-05-01-preview.xml @@ -0,0 +1,197 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fQ==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fQ==/2026-05-01-preview.json new file mode 100644 index 000000000..394f58e36 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fQ==/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos scenario", "commands": [{"name": "show", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scenarioName", "options": ["n", "name", "scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"operationId": "Scenarios_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}/scenarios/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "actions", "required": true, "format": {"minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "actionId", "required": true}, {"type": "string", "name": "description"}, {"type": "string", "name": "duration", "required": true}, {"type": "object", "name": "externalResource", "props": [{"type": "ResourceId", "name": "resourceId"}]}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9-_]+$"}}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "key", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "value", "required": true, "format": {"minLength": 1}}]}, "identifiers": ["key"]}, {"type": "object", "name": "runAfter", "props": [{"default": {"value": "Any"}, "type": "string", "name": "behavior", "enum": {"items": [{"value": "All"}, {"value": "Any"}, {"value": "AtLeastOne"}]}}, {"type": "array", "name": "items", "required": true, "format": {"minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "onActionLifecycle", "enum": {"items": [{"value": "AnyTerminal"}, {"value": "Failure"}, {"value": "Running"}, {"value": "Skipped"}, {"value": "Start"}, {"value": "Success"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Action"}]}}]}, "identifiers": ["name"]}]}, {"type": "string", "name": "timeout"}, {"type": "string", "name": "waitBefore"}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "createdFrom"}, {"type": "string", "name": "description"}, {"type": "array", "name": "parameters", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "default"}, {"type": "string", "name": "description"}, {"type": "string", "name": "name", "required": true, "format": {"minLength": 1}}, {"type": "boolean", "name": "required"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "array"}, {"value": "boolean"}, {"value": "number"}, {"value": "object"}, {"value": "string"}]}}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "object", "name": "recommendation", "props": [{"readOnly": true, "type": "dateTime", "name": "evaluationRunAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "recommendationStatus", "enum": {"items": [{"value": "Evaluating"}, {"value": "EvaluationCancelled"}, {"value": "EvaluationFailed"}, {"value": "NotApplicable"}, {"value": "NotEvaluated"}, {"value": "Recommended"}]}}]}, {"readOnly": true, "type": "string", "name": "version"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scenarioName", "options": ["n", "name", "scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"operationId": "Scenarios_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scenarioName", "options": ["n", "name", "scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$resource.properties.actions", "options": ["actions"], "group": "Properties", "help": {"short": "Array of actions that define the scenario's orchestration."}, "format": {"minLength": 1}, "item": {"type": "object", "args": [{"type": "string", "var": "$resource.properties.actions[].actionId", "options": ["action-id"], "required": true, "help": {"short": "Identifier of the action and version (e.g., \"microsoft-compute-shutdown/1.0\")."}}, {"type": "string", "var": "$resource.properties.actions[].description", "options": ["description"], "help": {"short": "Human-readable description of what this action does."}}, {"type": "string", "var": "$resource.properties.actions[].duration", "options": ["duration"], "required": true, "help": {"short": "ISO 8601 duration for how long the action runs (e.g., PT30M for 30 minutes). Supports template macro syntax (%%\\{parameters.\\\\}%%)."}}, {"type": "object", "var": "$resource.properties.actions[].externalResource", "options": ["external-resource"], "help": {"short": "External resource reference for the action."}, "args": [{"type": "ResourceId", "var": "$resource.properties.actions[].externalResource.resourceId", "options": ["resource-id"], "help": {"short": "The resource ID of the external resource."}}]}, {"type": "string", "var": "$resource.properties.actions[].name", "options": ["name"], "required": true, "help": {"short": "Unique name for the action."}, "format": {"pattern": "^[a-zA-Z0-9-_]+$"}}, {"type": "array", "var": "$resource.properties.actions[].parameters", "options": ["parameters"], "help": {"short": "Action-specific parameter values."}, "item": {"type": "object", "args": [{"type": "string", "var": "$resource.properties.actions[].parameters[].key", "options": ["key"], "required": true, "help": {"short": "The name of the setting for the action."}, "format": {"minLength": 1}}, {"type": "string", "var": "$resource.properties.actions[].parameters[].value", "options": ["value"], "required": true, "help": {"short": "The value of the setting for the action."}, "format": {"minLength": 1}}]}}, {"type": "object", "var": "$resource.properties.actions[].runAfter", "options": ["run-after"], "help": {"short": "Action dependencies that control when this action starts."}, "args": [{"type": "string", "var": "$resource.properties.actions[].runAfter.behavior", "options": ["behavior"], "help": {"short": "Defines how multiple dependencies are evaluated."}, "default": {"value": "Any"}, "enum": {"items": [{"name": "All", "value": "All"}, {"name": "Any", "value": "Any"}, {"name": "AtLeastOne", "value": "AtLeastOne"}]}}, {"type": "array", "var": "$resource.properties.actions[].runAfter.items", "options": ["items"], "required": true, "help": {"short": "Array of action dependencies."}, "format": {"minLength": 1}, "item": {"type": "object", "args": [{"type": "string", "var": "$resource.properties.actions[].runAfter.items[].name", "options": ["name"], "required": true, "help": {"short": "Name of the action this depends on."}}, {"type": "string", "var": "$resource.properties.actions[].runAfter.items[].onActionLifecycle", "options": ["on-action-lifecycle"], "help": {"short": "The lifecycle state of the dependency action that triggers this action to start."}, "enum": {"items": [{"name": "AnyTerminal", "value": "AnyTerminal"}, {"name": "Failure", "value": "Failure"}, {"name": "Running", "value": "Running"}, {"name": "Skipped", "value": "Skipped"}, {"name": "Start", "value": "Start"}, {"name": "Success", "value": "Success"}]}}, {"type": "string", "var": "$resource.properties.actions[].runAfter.items[].type", "options": ["type"], "required": true, "help": {"short": "The type of dependency."}, "enum": {"items": [{"name": "Action", "value": "Action"}]}}]}}]}, {"type": "string", "var": "$resource.properties.actions[].timeout", "options": ["timeout"], "help": {"short": "ISO 8601 duration for maximum action execution time. Supports template macro syntax."}}, {"type": "string", "var": "$resource.properties.actions[].waitBefore", "options": ["wait-before"], "help": {"short": "ISO 8601 duration to wait before action starts (e.g., PT30S for 30 seconds). Supports template macro syntax."}}]}}, {"type": "string", "var": "$resource.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of what this scenario does (optional)."}}, {"type": "array", "var": "$resource.properties.parameters", "options": ["parameters"], "group": "Properties", "help": {"short": "Parameter definitions for the scenario."}, "item": {"type": "object", "args": [{"type": "string", "var": "$resource.properties.parameters[].default", "options": ["default"], "help": {"short": "Default value for the parameter."}}, {"type": "string", "var": "$resource.properties.parameters[].description", "options": ["description"], "help": {"short": "Description of the parameter."}}, {"type": "string", "var": "$resource.properties.parameters[].name", "options": ["name"], "required": true, "help": {"short": "The name of the parameter."}, "format": {"minLength": 1}}, {"type": "boolean", "var": "$resource.properties.parameters[].required", "options": ["required"], "help": {"short": "Whether this parameter is required."}}, {"type": "string", "var": "$resource.properties.parameters[].type", "options": ["type"], "required": true, "help": {"short": "Parameter data type."}, "enum": {"items": [{"name": "array", "value": "array"}, {"name": "boolean", "value": "boolean"}, {"name": "number", "value": "number"}, {"name": "object", "value": "object"}, {"name": "string", "value": "string"}]}}]}}]}], "operations": [{"operationId": "Scenarios_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "actions", "arg": "$resource.properties.actions", "required": true, "format": {"minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "actionId", "arg": "$resource.properties.actions[].actionId", "required": true}, {"type": "string", "name": "description", "arg": "$resource.properties.actions[].description"}, {"type": "string", "name": "duration", "arg": "$resource.properties.actions[].duration", "required": true}, {"type": "object", "name": "externalResource", "arg": "$resource.properties.actions[].externalResource", "props": [{"type": "ResourceId", "name": "resourceId", "arg": "$resource.properties.actions[].externalResource.resourceId"}]}, {"type": "string", "name": "name", "arg": "$resource.properties.actions[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9-_]+$"}}, {"type": "array", "name": "parameters", "arg": "$resource.properties.actions[].parameters", "item": {"type": "object", "props": [{"type": "string", "name": "key", "arg": "$resource.properties.actions[].parameters[].key", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "value", "arg": "$resource.properties.actions[].parameters[].value", "required": true, "format": {"minLength": 1}}]}, "identifiers": ["key"]}, {"type": "object", "name": "runAfter", "arg": "$resource.properties.actions[].runAfter", "props": [{"default": {"value": "Any"}, "type": "string", "name": "behavior", "arg": "$resource.properties.actions[].runAfter.behavior", "enum": {"items": [{"value": "All"}, {"value": "Any"}, {"value": "AtLeastOne"}]}}, {"type": "array", "name": "items", "arg": "$resource.properties.actions[].runAfter.items", "required": true, "format": {"minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$resource.properties.actions[].runAfter.items[].name", "required": true}, {"type": "string", "name": "onActionLifecycle", "arg": "$resource.properties.actions[].runAfter.items[].onActionLifecycle", "enum": {"items": [{"value": "AnyTerminal"}, {"value": "Failure"}, {"value": "Running"}, {"value": "Skipped"}, {"value": "Start"}, {"value": "Success"}]}}, {"type": "string", "name": "type", "arg": "$resource.properties.actions[].runAfter.items[].type", "required": true, "enum": {"items": [{"value": "Action"}]}}]}, "identifiers": ["name"]}]}, {"type": "string", "name": "timeout", "arg": "$resource.properties.actions[].timeout"}, {"type": "string", "name": "waitBefore", "arg": "$resource.properties.actions[].waitBefore"}]}, "identifiers": ["name"]}, {"type": "string", "name": "description", "arg": "$resource.properties.description"}, {"type": "array", "name": "parameters", "arg": "$resource.properties.parameters", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "default", "arg": "$resource.properties.parameters[].default"}, {"type": "string", "name": "description", "arg": "$resource.properties.parameters[].description"}, {"type": "string", "name": "name", "arg": "$resource.properties.parameters[].name", "required": true, "format": {"minLength": 1}}, {"type": "boolean", "name": "required", "arg": "$resource.properties.parameters[].required"}, {"type": "string", "name": "type", "arg": "$resource.properties.parameters[].type", "required": true, "enum": {"items": [{"value": "array"}, {"value": "boolean"}, {"value": "number"}, {"value": "object"}, {"value": "string"}]}}]}, "identifiers": ["name"]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}/scenarios/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "actions", "required": true, "format": {"minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "actionId", "required": true}, {"type": "string", "name": "description"}, {"type": "string", "name": "duration", "required": true}, {"type": "object", "name": "externalResource", "props": [{"type": "ResourceId", "name": "resourceId"}]}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9-_]+$"}}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "key", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "value", "required": true, "format": {"minLength": 1}}]}, "identifiers": ["key"]}, {"type": "object", "name": "runAfter", "props": [{"default": {"value": "Any"}, "type": "string", "name": "behavior", "enum": {"items": [{"value": "All"}, {"value": "Any"}, {"value": "AtLeastOne"}]}}, {"type": "array", "name": "items", "required": true, "format": {"minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "onActionLifecycle", "enum": {"items": [{"value": "AnyTerminal"}, {"value": "Failure"}, {"value": "Running"}, {"value": "Skipped"}, {"value": "Start"}, {"value": "Success"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Action"}]}}]}, "identifiers": ["name"]}]}, {"type": "string", "name": "timeout"}, {"type": "string", "name": "waitBefore"}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "createdFrom"}, {"type": "string", "name": "description"}, {"type": "array", "name": "parameters", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "default"}, {"type": "string", "name": "description"}, {"type": "string", "name": "name", "required": true, "format": {"minLength": 1}}, {"type": "boolean", "name": "required"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "array"}, {"value": "boolean"}, {"value": "number"}, {"value": "object"}, {"value": "string"}]}}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "object", "name": "recommendation", "props": [{"readOnly": true, "type": "dateTime", "name": "evaluationRunAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "recommendationStatus", "enum": {"items": [{"value": "Evaluating"}, {"value": "EvaluationCancelled"}, {"value": "EvaluationFailed"}, {"value": "NotApplicable"}, {"value": "NotEvaluated"}, {"value": "Recommended"}]}}]}, {"readOnly": true, "type": "string", "name": "version"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scenarioName", "options": ["n", "name", "scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$resource.properties.actions", "options": ["actions"], "group": "Properties", "help": {"short": "Array of actions that define the scenario's orchestration."}, "format": {"minLength": 1}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$resource.properties.actions[].actionId", "options": ["action-id"], "help": {"short": "Identifier of the action and version (e.g., \"microsoft-compute-shutdown/1.0\")."}}, {"nullable": true, "type": "string", "var": "$resource.properties.actions[].description", "options": ["description"], "help": {"short": "Human-readable description of what this action does."}}, {"type": "string", "var": "$resource.properties.actions[].duration", "options": ["duration"], "help": {"short": "ISO 8601 duration for how long the action runs (e.g., PT30M for 30 minutes). Supports template macro syntax (%%\\{parameters.\\\\}%%)."}}, {"nullable": true, "type": "object", "var": "$resource.properties.actions[].externalResource", "options": ["external-resource"], "help": {"short": "External resource reference for the action."}, "args": [{"nullable": true, "type": "ResourceId", "var": "$resource.properties.actions[].externalResource.resourceId", "options": ["resource-id"], "help": {"short": "The resource ID of the external resource."}}]}, {"type": "string", "var": "$resource.properties.actions[].name", "options": ["name"], "help": {"short": "Unique name for the action."}, "format": {"pattern": "^[a-zA-Z0-9-_]+$"}}, {"nullable": true, "type": "array", "var": "$resource.properties.actions[].parameters", "options": ["parameters"], "help": {"short": "Action-specific parameter values."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$resource.properties.actions[].parameters[].key", "options": ["key"], "help": {"short": "The name of the setting for the action."}, "format": {"minLength": 1}}, {"type": "string", "var": "$resource.properties.actions[].parameters[].value", "options": ["value"], "help": {"short": "The value of the setting for the action."}, "format": {"minLength": 1}}]}}, {"nullable": true, "type": "object", "var": "$resource.properties.actions[].runAfter", "options": ["run-after"], "help": {"short": "Action dependencies that control when this action starts."}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.actions[].runAfter.behavior", "options": ["behavior"], "help": {"short": "Defines how multiple dependencies are evaluated."}, "enum": {"items": [{"name": "All", "value": "All"}, {"name": "Any", "value": "Any"}, {"name": "AtLeastOne", "value": "AtLeastOne"}]}}, {"type": "array", "var": "$resource.properties.actions[].runAfter.items", "options": ["items"], "help": {"short": "Array of action dependencies."}, "format": {"minLength": 1}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$resource.properties.actions[].runAfter.items[].name", "options": ["name"], "help": {"short": "Name of the action this depends on."}}, {"nullable": true, "type": "string", "var": "$resource.properties.actions[].runAfter.items[].onActionLifecycle", "options": ["on-action-lifecycle"], "help": {"short": "The lifecycle state of the dependency action that triggers this action to start."}, "enum": {"items": [{"name": "AnyTerminal", "value": "AnyTerminal"}, {"name": "Failure", "value": "Failure"}, {"name": "Running", "value": "Running"}, {"name": "Skipped", "value": "Skipped"}, {"name": "Start", "value": "Start"}, {"name": "Success", "value": "Success"}]}}, {"type": "string", "var": "$resource.properties.actions[].runAfter.items[].type", "options": ["type"], "help": {"short": "The type of dependency."}, "enum": {"items": [{"name": "Action", "value": "Action"}]}}]}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.actions[].timeout", "options": ["timeout"], "help": {"short": "ISO 8601 duration for maximum action execution time. Supports template macro syntax."}}, {"nullable": true, "type": "string", "var": "$resource.properties.actions[].waitBefore", "options": ["wait-before"], "help": {"short": "ISO 8601 duration to wait before action starts (e.g., PT30S for 30 seconds). Supports template macro syntax."}}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of what this scenario does (optional)."}}, {"type": "array", "var": "$resource.properties.parameters", "options": ["parameters"], "group": "Properties", "help": {"short": "Parameter definitions for the scenario."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.parameters[].default", "options": ["default"], "help": {"short": "Default value for the parameter."}}, {"nullable": true, "type": "string", "var": "$resource.properties.parameters[].description", "options": ["description"], "help": {"short": "Description of the parameter."}}, {"type": "string", "var": "$resource.properties.parameters[].name", "options": ["name"], "help": {"short": "The name of the parameter."}, "format": {"minLength": 1}}, {"nullable": true, "type": "boolean", "var": "$resource.properties.parameters[].required", "options": ["required"], "help": {"short": "Whether this parameter is required."}}, {"type": "string", "var": "$resource.properties.parameters[].type", "options": ["type"], "help": {"short": "Parameter data type."}, "enum": {"items": [{"name": "array", "value": "array"}, {"name": "boolean", "value": "boolean"}, {"name": "number", "value": "number"}, {"name": "object", "value": "object"}, {"name": "string", "value": "string"}]}}]}}]}], "operations": [{"operationId": "Scenarios_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}/scenarios/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "actions", "required": true, "format": {"minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "actionId", "required": true}, {"type": "string", "name": "description"}, {"type": "string", "name": "duration", "required": true}, {"type": "object", "name": "externalResource", "props": [{"type": "ResourceId", "name": "resourceId"}]}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9-_]+$"}}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "key", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "value", "required": true, "format": {"minLength": 1}}]}, "identifiers": ["key"]}, {"type": "object", "name": "runAfter", "props": [{"default": {"value": "Any"}, "type": "string", "name": "behavior", "enum": {"items": [{"value": "All"}, {"value": "Any"}, {"value": "AtLeastOne"}]}}, {"type": "array", "name": "items", "required": true, "format": {"minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "onActionLifecycle", "enum": {"items": [{"value": "AnyTerminal"}, {"value": "Failure"}, {"value": "Running"}, {"value": "Skipped"}, {"value": "Start"}, {"value": "Success"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Action"}]}}]}, "identifiers": ["name"]}]}, {"type": "string", "name": "timeout"}, {"type": "string", "name": "waitBefore"}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "createdFrom"}, {"type": "string", "name": "description"}, {"type": "array", "name": "parameters", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "default"}, {"type": "string", "name": "description"}, {"type": "string", "name": "name", "required": true, "format": {"minLength": 1}}, {"type": "boolean", "name": "required"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "array"}, {"value": "boolean"}, {"value": "number"}, {"value": "object"}, {"value": "string"}]}}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "object", "name": "recommendation", "props": [{"readOnly": true, "type": "dateTime", "name": "evaluationRunAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "recommendationStatus", "enum": {"items": [{"value": "Evaluating"}, {"value": "EvaluationCancelled"}, {"value": "EvaluationFailed"}, {"value": "NotApplicable"}, {"value": "NotEvaluated"}, {"value": "Recommended"}]}}]}, {"readOnly": true, "type": "string", "name": "version"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Scenario_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "actions", "arg": "$resource.properties.actions", "required": true, "format": {"minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "actionId", "arg": "$resource.properties.actions[].actionId", "required": true}, {"type": "string", "name": "description", "arg": "$resource.properties.actions[].description"}, {"type": "string", "name": "duration", "arg": "$resource.properties.actions[].duration", "required": true}, {"type": "object", "name": "externalResource", "arg": "$resource.properties.actions[].externalResource", "props": [{"type": "ResourceId", "name": "resourceId", "arg": "$resource.properties.actions[].externalResource.resourceId"}]}, {"type": "string", "name": "name", "arg": "$resource.properties.actions[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9-_]+$"}}, {"type": "array", "name": "parameters", "arg": "$resource.properties.actions[].parameters", "item": {"type": "object", "props": [{"type": "string", "name": "key", "arg": "$resource.properties.actions[].parameters[].key", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "value", "arg": "$resource.properties.actions[].parameters[].value", "required": true, "format": {"minLength": 1}}]}, "identifiers": ["key"]}, {"type": "object", "name": "runAfter", "arg": "$resource.properties.actions[].runAfter", "props": [{"default": {"value": "Any"}, "type": "string", "name": "behavior", "arg": "$resource.properties.actions[].runAfter.behavior", "enum": {"items": [{"value": "All"}, {"value": "Any"}, {"value": "AtLeastOne"}]}}, {"type": "array", "name": "items", "arg": "$resource.properties.actions[].runAfter.items", "required": true, "format": {"minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$resource.properties.actions[].runAfter.items[].name", "required": true}, {"type": "string", "name": "onActionLifecycle", "arg": "$resource.properties.actions[].runAfter.items[].onActionLifecycle", "enum": {"items": [{"value": "AnyTerminal"}, {"value": "Failure"}, {"value": "Running"}, {"value": "Skipped"}, {"value": "Start"}, {"value": "Success"}]}}, {"type": "string", "name": "type", "arg": "$resource.properties.actions[].runAfter.items[].type", "required": true, "enum": {"items": [{"value": "Action"}]}}]}, "identifiers": ["name"]}]}, {"type": "string", "name": "timeout", "arg": "$resource.properties.actions[].timeout"}, {"type": "string", "name": "waitBefore", "arg": "$resource.properties.actions[].waitBefore"}]}, "identifiers": ["name"]}, {"type": "string", "name": "description", "arg": "$resource.properties.description"}, {"type": "array", "name": "parameters", "arg": "$resource.properties.parameters", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "default", "arg": "$resource.properties.parameters[].default"}, {"type": "string", "name": "description", "arg": "$resource.properties.parameters[].description"}, {"type": "string", "name": "name", "arg": "$resource.properties.parameters[].name", "required": true, "format": {"minLength": 1}}, {"type": "boolean", "name": "required", "arg": "$resource.properties.parameters[].required"}, {"type": "string", "name": "type", "arg": "$resource.properties.parameters[].type", "required": true, "enum": {"items": [{"value": "array"}, {"value": "boolean"}, {"value": "number"}, {"value": "object"}, {"value": "string"}]}}]}, "identifiers": ["name"]}]}], "clientFlatten": true}}}}, {"operationId": "Scenarios_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Scenario_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fQ==/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fQ==/2026-05-01-preview.xml new file mode 100644 index 000000000..9235827be --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fQ==/2026-05-01-preview.xml @@ -0,0 +1,1075 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucw==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucw==/2026-05-01-preview.json new file mode 100644 index 000000000..17229e76d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucw==/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/configurations", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L2NvbmZpZ3VyYXRpb25z/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos scenario config", "commands": [{"name": "list", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/configurations", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L2NvbmZpZ3VyYXRpb25z/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scenarioName", "options": ["scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"operationId": "ScenarioConfigurations_ListAll", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}/configurations", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}/scenarios/{}/configurations/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "exclusions", "props": [{"type": "array", "name": "resources", "item": {"type": "ResourceId"}}, {"type": "array<@KeyValuePair_read>", "name": "tags", "item": {"type": "@KeyValuePair_read"}, "identifiers": ["key"]}, {"type": "array", "name": "types", "item": {"type": "string"}}]}, {"type": "object", "name": "filters", "props": [{"type": "array", "name": "locations", "item": {"type": "string"}}, {"type": "array", "name": "physicalZones", "item": {"type": "string"}}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "key", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "value", "required": true, "format": {"minLength": 1}}], "cls": "KeyValuePair_read"}, "identifiers": ["key"]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "ResourceId", "name": "scenarioId", "required": true}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucw==/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucw==/2026-05-01-preview.xml new file mode 100644 index 000000000..78f381bb8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucw==/2026-05-01-preview.xml @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fQ==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fQ==/2026-05-01-preview.json new file mode 100644 index 000000000..7000eec29 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fQ==/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/configurations/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L2NvbmZpZ3VyYXRpb25zL3tzY2VuYXJpb0NvbmZpZ3VyYXRpb25OYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos scenario config", "commands": [{"name": "show", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/configurations/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L2NvbmZpZ3VyYXRpb25zL3tzY2VuYXJpb0NvbmZpZ3VyYXRpb25OYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scenarioConfigurationName", "options": ["n", "name", "scenario-configuration-name"], "required": true, "idPart": "child_name_2", "help": {"short": "Name of the scenario definition."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "var": "$Path.scenarioName", "options": ["scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"operationId": "ScenarioConfigurations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}/configurations/{scenarioConfigurationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioConfigurationName", "arg": "$Path.scenarioConfigurationName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}/scenarios/{}/configurations/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "exclusions", "props": [{"type": "array", "name": "resources", "item": {"type": "ResourceId"}}, {"type": "array<@KeyValuePair_read>", "name": "tags", "item": {"type": "@KeyValuePair_read"}, "identifiers": ["key"]}, {"type": "array", "name": "types", "item": {"type": "string"}}]}, {"type": "object", "name": "filters", "props": [{"type": "array", "name": "locations", "item": {"type": "string"}}, {"type": "array", "name": "physicalZones", "item": {"type": "string"}}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "key", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "value", "required": true, "format": {"minLength": 1}}], "cls": "KeyValuePair_read"}, "identifiers": ["key"]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "ResourceId", "name": "scenarioId", "required": true}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/configurations/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L2NvbmZpZ3VyYXRpb25zL3tzY2VuYXJpb0NvbmZpZ3VyYXRpb25OYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scenarioConfigurationName", "options": ["n", "name", "scenario-configuration-name"], "required": true, "idPart": "child_name_2", "help": {"short": "Name of the scenario definition."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "var": "$Path.scenarioName", "options": ["scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ScenarioConfigurations_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}/configurations/{scenarioConfigurationName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioConfigurationName", "arg": "$Path.scenarioConfigurationName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/configurations/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L2NvbmZpZ3VyYXRpb25zL3tzY2VuYXJpb0NvbmZpZ3VyYXRpb25OYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scenarioConfigurationName", "options": ["n", "name", "scenario-configuration-name"], "required": true, "idPart": "child_name_2", "help": {"short": "Name of the scenario definition."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "var": "$Path.scenarioName", "options": ["scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.exclusions", "options": ["exclusions"], "group": "Properties", "help": {"short": "Exclusion criteria for protecting resources from fault injection."}, "args": [{"type": "array", "var": "$resource.properties.exclusions.resources", "options": ["resources"], "help": {"short": "Array of specific resource IDs to exclude from fault injection."}, "item": {"type": "ResourceId"}}, {"type": "array<@KeyValuePair_create>", "var": "$resource.properties.exclusions.tags", "options": ["tags"], "help": {"short": "Array of tag key-value pairs. Resources with matching tags are excluded."}, "item": {"type": "@KeyValuePair_create"}}, {"type": "array", "var": "$resource.properties.exclusions.types", "options": ["types"], "help": {"short": "Array of resource types. All resources of these types are excluded."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$resource.properties.filters", "options": ["filters"], "group": "Properties", "help": {"short": "Filter criteria used to constrain which discovered resources participate in fault injection."}, "args": [{"type": "array", "var": "$resource.properties.filters.locations", "options": ["locations"], "help": {"short": "Array of Azure location strings. Only resources in these locations are included. Null or omitted means all locations (no filter). Empty array means include nothing."}, "item": {"type": "string"}}, {"type": "array", "var": "$resource.properties.filters.physicalZones", "options": ["physical-zones"], "help": {"short": "Array of physical availability zone identifiers in `{region}-az{N}` format (e.g., `\"westus2-az1\"`). Only resources in the corresponding logical zone for each subscription are included. At execution time, each physical zone is resolved to per-subscription logical zones via the Azure locations API. The resolved mapping is surfaced on the scenario run response (`zoneResolution`). Null or omitted means physical zone targeting is not used. Only one physical zone is supported in preview. Mutually exclusive with `zones` — set one or the other, not both."}, "item": {"type": "string"}}, {"type": "array", "var": "$resource.properties.filters.zones", "options": ["zones"], "help": {"short": "Array of availability zone identifiers (\"1\", \"2\", \"3\", \"zone-redundant\"). Only resources whose zones intersect this list are included. Null or omitted means all zones (including non-zonal). Empty array means include nothing. Mutually exclusive with `physicalZones` — set one or the other, not both."}, "item": {"type": "string"}}]}, {"type": "array", "var": "$resource.properties.parameters", "options": ["parameters"], "group": "Properties", "help": {"short": "Runtime parameter values for the scenario. Keys must match parameter names defined in the scenario."}, "item": {"type": "object", "args": [{"type": "string", "var": "@KeyValuePair_create.key", "options": ["key"], "required": true, "help": {"short": "The name of the setting for the action."}, "format": {"minLength": 1}}, {"type": "string", "var": "@KeyValuePair_create.value", "options": ["value"], "required": true, "help": {"short": "The value of the setting for the action."}, "format": {"minLength": 1}}], "cls": "KeyValuePair_create"}}, {"type": "ResourceId", "var": "$resource.properties.scenarioId", "options": ["scenario-id"], "group": "Properties", "help": {"short": "Resource ID of the scenario this configuration applies to."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ScenarioConfigurations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}/configurations/{scenarioConfigurationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioConfigurationName", "arg": "$Path.scenarioConfigurationName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "exclusions", "arg": "$resource.properties.exclusions", "props": [{"type": "array", "name": "resources", "arg": "$resource.properties.exclusions.resources", "item": {"type": "ResourceId"}}, {"type": "array<@KeyValuePair_create>", "name": "tags", "arg": "$resource.properties.exclusions.tags", "item": {"type": "@KeyValuePair_create"}, "identifiers": ["key"]}, {"type": "array", "name": "types", "arg": "$resource.properties.exclusions.types", "item": {"type": "string"}}]}, {"type": "object", "name": "filters", "arg": "$resource.properties.filters", "props": [{"type": "array", "name": "locations", "arg": "$resource.properties.filters.locations", "item": {"type": "string"}}, {"type": "array", "name": "physicalZones", "arg": "$resource.properties.filters.physicalZones", "item": {"type": "string"}}, {"type": "array", "name": "zones", "arg": "$resource.properties.filters.zones", "item": {"type": "string"}}]}, {"type": "array", "name": "parameters", "arg": "$resource.properties.parameters", "item": {"type": "object", "props": [{"type": "string", "name": "key", "arg": "@KeyValuePair_create.key", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "value", "arg": "@KeyValuePair_create.value", "required": true, "format": {"minLength": 1}}], "cls": "KeyValuePair_create"}, "identifiers": ["key"]}, {"type": "ResourceId", "name": "scenarioId", "arg": "$resource.properties.scenarioId", "required": true}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}/scenarios/{}/configurations/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "exclusions", "props": [{"type": "array", "name": "resources", "item": {"type": "ResourceId"}}, {"type": "array<@KeyValuePair_read>", "name": "tags", "item": {"type": "@KeyValuePair_read"}, "identifiers": ["key"]}, {"type": "array", "name": "types", "item": {"type": "string"}}]}, {"type": "object", "name": "filters", "props": [{"type": "array", "name": "locations", "item": {"type": "string"}}, {"type": "array", "name": "physicalZones", "item": {"type": "string"}}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "key", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "value", "required": true, "format": {"minLength": 1}}], "cls": "KeyValuePair_read"}, "identifiers": ["key"]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "ResourceId", "name": "scenarioId", "required": true}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/configurations/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L2NvbmZpZ3VyYXRpb25zL3tzY2VuYXJpb0NvbmZpZ3VyYXRpb25OYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scenarioConfigurationName", "options": ["n", "name", "scenario-configuration-name"], "required": true, "idPart": "child_name_2", "help": {"short": "Name of the scenario definition."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "var": "$Path.scenarioName", "options": ["scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$resource.properties.exclusions", "options": ["exclusions"], "group": "Properties", "help": {"short": "Exclusion criteria for protecting resources from fault injection."}, "args": [{"nullable": true, "type": "array", "var": "$resource.properties.exclusions.resources", "options": ["resources"], "help": {"short": "Array of specific resource IDs to exclude from fault injection."}, "item": {"nullable": true, "type": "ResourceId"}}, {"nullable": true, "type": "array<@KeyValuePair_update>", "var": "$resource.properties.exclusions.tags", "options": ["tags"], "help": {"short": "Array of tag key-value pairs. Resources with matching tags are excluded."}, "item": {"nullable": true, "type": "@KeyValuePair_update"}}, {"nullable": true, "type": "array", "var": "$resource.properties.exclusions.types", "options": ["types"], "help": {"short": "Array of resource types. All resources of these types are excluded."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$resource.properties.filters", "options": ["filters"], "group": "Properties", "help": {"short": "Filter criteria used to constrain which discovered resources participate in fault injection."}, "args": [{"nullable": true, "type": "array", "var": "$resource.properties.filters.locations", "options": ["locations"], "help": {"short": "Array of Azure location strings. Only resources in these locations are included. Null or omitted means all locations (no filter). Empty array means include nothing."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$resource.properties.filters.physicalZones", "options": ["physical-zones"], "help": {"short": "Array of physical availability zone identifiers in `{region}-az{N}` format (e.g., `\"westus2-az1\"`). Only resources in the corresponding logical zone for each subscription are included. At execution time, each physical zone is resolved to per-subscription logical zones via the Azure locations API. The resolved mapping is surfaced on the scenario run response (`zoneResolution`). Null or omitted means physical zone targeting is not used. Only one physical zone is supported in preview. Mutually exclusive with `zones` — set one or the other, not both."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$resource.properties.filters.zones", "options": ["zones"], "help": {"short": "Array of availability zone identifiers (\"1\", \"2\", \"3\", \"zone-redundant\"). Only resources whose zones intersect this list are included. Null or omitted means all zones (including non-zonal). Empty array means include nothing. Mutually exclusive with `physicalZones` — set one or the other, not both."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "array", "var": "$resource.properties.parameters", "options": ["parameters"], "group": "Properties", "help": {"short": "Runtime parameter values for the scenario. Keys must match parameter names defined in the scenario."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "@KeyValuePair_update.key", "options": ["key"], "help": {"short": "The name of the setting for the action."}, "format": {"minLength": 1}}, {"type": "string", "var": "@KeyValuePair_update.value", "options": ["value"], "help": {"short": "The value of the setting for the action."}, "format": {"minLength": 1}}], "cls": "KeyValuePair_update"}}, {"type": "ResourceId", "var": "$resource.properties.scenarioId", "options": ["scenario-id"], "group": "Properties", "help": {"short": "Resource ID of the scenario this configuration applies to."}}]}], "operations": [{"operationId": "ScenarioConfigurations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}/configurations/{scenarioConfigurationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioConfigurationName", "arg": "$Path.scenarioConfigurationName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}/scenarios/{}/configurations/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "exclusions", "props": [{"type": "array", "name": "resources", "item": {"type": "ResourceId"}}, {"type": "array<@KeyValuePair_read>", "name": "tags", "item": {"type": "@KeyValuePair_read"}, "identifiers": ["key"]}, {"type": "array", "name": "types", "item": {"type": "string"}}]}, {"type": "object", "name": "filters", "props": [{"type": "array", "name": "locations", "item": {"type": "string"}}, {"type": "array", "name": "physicalZones", "item": {"type": "string"}}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "key", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "value", "required": true, "format": {"minLength": 1}}], "cls": "KeyValuePair_read"}, "identifiers": ["key"]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "ResourceId", "name": "scenarioId", "required": true}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ScenarioConfiguration_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "exclusions", "arg": "$resource.properties.exclusions", "props": [{"type": "array", "name": "resources", "arg": "$resource.properties.exclusions.resources", "item": {"type": "ResourceId"}}, {"type": "array<@KeyValuePair_update>", "name": "tags", "arg": "$resource.properties.exclusions.tags", "item": {"type": "@KeyValuePair_update"}, "identifiers": ["key"]}, {"type": "array", "name": "types", "arg": "$resource.properties.exclusions.types", "item": {"type": "string"}}]}, {"type": "object", "name": "filters", "arg": "$resource.properties.filters", "props": [{"type": "array", "name": "locations", "arg": "$resource.properties.filters.locations", "item": {"type": "string"}}, {"type": "array", "name": "physicalZones", "arg": "$resource.properties.filters.physicalZones", "item": {"type": "string"}}, {"type": "array", "name": "zones", "arg": "$resource.properties.filters.zones", "item": {"type": "string"}}]}, {"type": "array", "name": "parameters", "arg": "$resource.properties.parameters", "item": {"type": "object", "props": [{"type": "string", "name": "key", "arg": "@KeyValuePair_update.key", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "value", "arg": "@KeyValuePair_update.value", "required": true, "format": {"minLength": 1}}], "cls": "KeyValuePair_update"}, "identifiers": ["key"]}, {"type": "ResourceId", "name": "scenarioId", "arg": "$resource.properties.scenarioId", "required": true}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ScenarioConfigurations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}/configurations/{scenarioConfigurationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioConfigurationName", "arg": "$Path.scenarioConfigurationName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ScenarioConfiguration_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fQ==/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fQ==/2026-05-01-preview.xml new file mode 100644 index 000000000..099ddf435 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fQ==/2026-05-01-preview.xml @@ -0,0 +1,711 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS92YWxpZGF0ZQ==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS92YWxpZGF0ZQ==/2026-05-01-preview.json new file mode 100644 index 000000000..202959b1d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS92YWxpZGF0ZQ==/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/configurations/{}/validate", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L2NvbmZpZ3VyYXRpb25zL3tzY2VuYXJpb0NvbmZpZ3VyYXRpb25OYW1lfS92YWxpZGF0ZQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos scenario config", "commands": [{"name": "validate", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/configurations/{}/validate", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L2NvbmZpZ3VyYXRpb25zL3tzY2VuYXJpb0NvbmZpZ3VyYXRpb25OYW1lfS92YWxpZGF0ZQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scenarioConfigurationName", "options": ["scenario-configuration-name"], "required": true, "idPart": "child_name_2", "help": {"short": "Name of the scenario definition."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "var": "$Path.scenarioName", "options": ["scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ScenarioConfigurations_Validate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}/configurations/{scenarioConfigurationName}/validate", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioConfigurationName", "arg": "$Path.scenarioConfigurationName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS92YWxpZGF0ZQ==/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS92YWxpZGF0ZQ==/2026-05-01-preview.xml new file mode 100644 index 000000000..45493d115 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS92YWxpZGF0ZQ==/2026-05-01-preview.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9leGVjdXRl/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9leGVjdXRl/2026-05-01-preview.json new file mode 100644 index 000000000..072f5f43a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9leGVjdXRl/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/configurations/{}/execute", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L2NvbmZpZ3VyYXRpb25zL3tzY2VuYXJpb0NvbmZpZ3VyYXRpb25OYW1lfS9leGVjdXRl/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos scenario config", "commands": [{"name": "execute", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/configurations/{}/execute", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L2NvbmZpZ3VyYXRpb25zL3tzY2VuYXJpb0NvbmZpZ3VyYXRpb25OYW1lfS9leGVjdXRl/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scenarioConfigurationName", "options": ["n", "name", "scenario-configuration-name"], "required": true, "idPart": "child_name_2", "help": {"short": "Name of the scenario definition."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "var": "$Path.scenarioName", "options": ["scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ScenarioConfigurations_Execute", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}/configurations/{scenarioConfigurationName}/execute", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioConfigurationName", "arg": "$Path.scenarioConfigurationName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9leGVjdXRl/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9leGVjdXRl/2026-05-01-preview.xml new file mode 100644 index 000000000..b726d94a1 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9leGVjdXRl/2026-05-01-preview.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9maXhyZXNvdXJjZXBlcm1pc3Npb25z/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9maXhyZXNvdXJjZXBlcm1pc3Npb25z/2026-05-01-preview.json new file mode 100644 index 000000000..a78e6a2e7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9maXhyZXNvdXJjZXBlcm1pc3Npb25z/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/configurations/{}/fixresourcepermissions", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L2NvbmZpZ3VyYXRpb25zL3tzY2VuYXJpb0NvbmZpZ3VyYXRpb25OYW1lfS9maXhSZXNvdXJjZVBlcm1pc3Npb25z/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos scenario config", "commands": [{"name": "fix-permissions", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/configurations/{}/fixresourcepermissions", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L2NvbmZpZ3VyYXRpb25zL3tzY2VuYXJpb0NvbmZpZ3VyYXRpb25OYW1lfS9maXhSZXNvdXJjZVBlcm1pc3Npb25z/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scenarioConfigurationName", "options": ["n", "name", "scenario-configuration-name"], "required": true, "idPart": "child_name_2", "help": {"short": "Name of the scenario definition."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "var": "$Path.scenarioName", "options": ["scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, {"name": "Body", "args": [{"type": "boolean", "var": "$body.whatIf", "options": ["what-if"], "group": "Body", "help": {"short": "Optional value that indicates whether to run a \"dry run\" of fixing resource permissions."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ScenarioConfigurations_FixResourcePermissions", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}/configurations/{scenarioConfigurationName}/fixResourcePermissions", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioConfigurationName", "arg": "$Path.scenarioConfigurationName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "props": [{"type": "boolean", "name": "whatIf", "arg": "$body.whatIf"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9maXhyZXNvdXJjZXBlcm1pc3Npb25z/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9maXhyZXNvdXJjZXBlcm1pc3Npb25z/2026-05-01-preview.xml new file mode 100644 index 000000000..a55920936 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9jb25maWd1cmF0aW9ucy97fS9maXhyZXNvdXJjZXBlcm1pc3Npb25z/2026-05-01-preview.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5z/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5z/2026-05-01-preview.json new file mode 100644 index 000000000..e64392b14 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5z/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/runs", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L3J1bnM=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos scenario run", "commands": [{"name": "list", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/runs", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L3J1bnM=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scenarioName", "options": ["scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"operationId": "ScenarioRuns_ListAll", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}/runs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}/scenarios/{}/runs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "dateTime", "name": "endTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "array", "name": "errors", "item": {"type": "object", "props": [{"type": "string", "name": "errorCode", "required": true}, {"type": "string", "name": "errorMessage", "required": true}]}}, {"readOnly": true, "type": "object", "name": "executionErrors", "props": [{"type": "string", "name": "errorCode"}, {"type": "string", "name": "errorMessage"}, {"readOnly": true, "type": "array", "name": "permission", "item": {"type": "object", "props": [{"readOnly": true, "type": "object", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "objectId"}, {"readOnly": true, "type": "string", "name": "tenantId"}]}, {"readOnly": true, "type": "array", "name": "missingPermissions", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "recommendedRoles", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "requiredPermissions", "item": {"type": "string"}}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}]}, "identifiers": ["resourceId"]}, {"readOnly": true, "type": "array", "name": "resource", "item": {"type": "object", "props": [{"readOnly": true, "type": "integer32", "name": "errorCode"}, {"readOnly": true, "type": "string", "name": "errorMessage"}, {"readOnly": true, "type": "string", "name": "remediationUri"}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}]}, "identifiers": ["resourceId"]}]}, {"readOnly": true, "type": "string", "name": "managedIdentityPrincipalId"}, {"readOnly": true, "type": "array", "name": "resources", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}], "cls": "ScenarioRunResource_read"}, "identifiers": ["id"]}, {"readOnly": true, "type": "string", "name": "scenarioConfigurationName"}, {"readOnly": true, "type": "string", "name": "scenarioName"}, {"readOnly": true, "type": "string", "name": "scenarioRunJson"}, {"readOnly": true, "type": "array", "name": "scenarioRunSummary", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "actionUrn"}, {"readOnly": true, "type": "dateTime", "name": "completedAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "array<@ScenarioRunResource_read>", "name": "resources", "item": {"type": "@ScenarioRunResource_read"}, "identifiers": ["id"]}, {"readOnly": true, "type": "dateTime", "name": "startedAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Canceled"}, {"value": "Canceling"}, {"value": "Failed"}, {"value": "FailingOnError"}, {"value": "Pending"}, {"value": "Running"}, {"value": "Skipped"}, {"value": "Starting"}, {"value": "Stopping"}, {"value": "Succeeded"}]}}]}, "identifiers": ["actionUrn"]}, {"readOnly": true, "type": "dateTime", "name": "startTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Canceled"}, {"value": "Canceling"}, {"value": "CleaningUp"}, {"value": "Failed"}, {"value": "Generating"}, {"value": "Preparing"}, {"value": "Queued"}, {"value": "Resolving"}, {"value": "Running"}, {"value": "Starting"}, {"value": "Succeeded"}, {"value": "Validating"}, {"value": "ValidationSucceeded"}]}}, {"readOnly": true, "type": "string", "name": "workspaceName"}, {"readOnly": true, "type": "object", "name": "zoneResolution", "props": [{"readOnly": true, "type": "string", "name": "mode", "enum": {"items": [{"value": "logical"}, {"value": "physical"}]}}, {"readOnly": true, "type": "array", "name": "requestedPhysicalZones", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "subscriptionZoneMappings", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "subscriptionId"}, {"readOnly": true, "type": "array", "name": "zoneMappings", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "logicalZone"}, {"readOnly": true, "type": "string", "name": "physicalZone"}]}, "identifiers": ["physicalZone"]}]}, "identifiers": ["subscriptionId"]}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5z/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5z/2026-05-01-preview.xml new file mode 100644 index 000000000..63f5a2d86 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5z/2026-05-01-preview.xml @@ -0,0 +1,218 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9/2026-05-01-preview.json new file mode 100644 index 000000000..90e66ee4a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/runs/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L3J1bnMve3J1bklkfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos scenario run", "commands": [{"name": "show", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/runs/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L3J1bnMve3J1bklkfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.runId", "options": ["n", "name", "run-id"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the ScenarioRun"}, "format": {"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}, {"type": "string", "var": "$Path.scenarioName", "options": ["scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"operationId": "ScenarioRuns_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}/runs/{runId}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "runId", "arg": "$Path.runId", "required": true, "format": {"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Chaos/workspaces/{}/scenarios/{}/runs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "dateTime", "name": "endTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "array", "name": "errors", "item": {"type": "object", "props": [{"type": "string", "name": "errorCode", "required": true}, {"type": "string", "name": "errorMessage", "required": true}]}}, {"readOnly": true, "type": "object", "name": "executionErrors", "props": [{"type": "string", "name": "errorCode"}, {"type": "string", "name": "errorMessage"}, {"readOnly": true, "type": "array", "name": "permission", "item": {"type": "object", "props": [{"readOnly": true, "type": "object", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "objectId"}, {"readOnly": true, "type": "string", "name": "tenantId"}]}, {"readOnly": true, "type": "array", "name": "missingPermissions", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "recommendedRoles", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "requiredPermissions", "item": {"type": "string"}}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}]}, "identifiers": ["resourceId"]}, {"readOnly": true, "type": "array", "name": "resource", "item": {"type": "object", "props": [{"readOnly": true, "type": "integer32", "name": "errorCode"}, {"readOnly": true, "type": "string", "name": "errorMessage"}, {"readOnly": true, "type": "string", "name": "remediationUri"}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}]}, "identifiers": ["resourceId"]}]}, {"readOnly": true, "type": "string", "name": "managedIdentityPrincipalId"}, {"readOnly": true, "type": "array", "name": "resources", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}], "cls": "ScenarioRunResource_read"}, "identifiers": ["id"]}, {"readOnly": true, "type": "string", "name": "scenarioConfigurationName"}, {"readOnly": true, "type": "string", "name": "scenarioName"}, {"readOnly": true, "type": "string", "name": "scenarioRunJson"}, {"readOnly": true, "type": "array", "name": "scenarioRunSummary", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "actionUrn"}, {"readOnly": true, "type": "dateTime", "name": "completedAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "array<@ScenarioRunResource_read>", "name": "resources", "item": {"type": "@ScenarioRunResource_read"}, "identifiers": ["id"]}, {"readOnly": true, "type": "dateTime", "name": "startedAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Canceled"}, {"value": "Canceling"}, {"value": "Failed"}, {"value": "FailingOnError"}, {"value": "Pending"}, {"value": "Running"}, {"value": "Skipped"}, {"value": "Starting"}, {"value": "Stopping"}, {"value": "Succeeded"}]}}]}, "identifiers": ["actionUrn"]}, {"readOnly": true, "type": "dateTime", "name": "startTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Canceled"}, {"value": "Canceling"}, {"value": "CleaningUp"}, {"value": "Failed"}, {"value": "Generating"}, {"value": "Preparing"}, {"value": "Queued"}, {"value": "Resolving"}, {"value": "Running"}, {"value": "Starting"}, {"value": "Succeeded"}, {"value": "Validating"}, {"value": "ValidationSucceeded"}]}}, {"readOnly": true, "type": "string", "name": "workspaceName"}, {"readOnly": true, "type": "object", "name": "zoneResolution", "props": [{"readOnly": true, "type": "string", "name": "mode", "enum": {"items": [{"value": "logical"}, {"value": "physical"}]}}, {"readOnly": true, "type": "array", "name": "requestedPhysicalZones", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "subscriptionZoneMappings", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "subscriptionId"}, {"readOnly": true, "type": "array", "name": "zoneMappings", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "logicalZone"}, {"readOnly": true, "type": "string", "name": "physicalZone"}]}, "identifiers": ["physicalZone"]}]}, "identifiers": ["subscriptionId"]}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ScenarioRun_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@ScenarioRun_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9/2026-05-01-preview.xml new file mode 100644 index 000000000..07620133f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9/2026-05-01-preview.xml @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + +
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9L2NhbmNlbA==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9L2NhbmNlbA==/2026-05-01-preview.json new file mode 100644 index 000000000..eeb8662b5 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9L2NhbmNlbA==/2026-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/runs/{}/cancel", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L3J1bnMve3J1bklkfS9jYW5jZWw=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "chaos scenario run", "commands": [{"name": "cancel", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.chaos/workspaces/{}/scenarios/{}/runs/{}/cancel", "version": "2026-05-01-preview", "swagger": "mgmt-plane/chaos/ResourceProviders/Microsoft.Chaos/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhb3Mvd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vc2NlbmFyaW9zL3tzY2VuYXJpb05hbWV9L3J1bnMve3J1bklkfS9jYW5jZWw=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.runId", "options": ["run-id"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the ScenarioRun"}, "format": {"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}, {"type": "string", "var": "$Path.scenarioName", "options": ["scenario-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the scenario."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "String that represents a Workspace resource name."}, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ScenarioRuns_Cancel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/scenarios/{scenarioName}/runs/{runId}/cancel", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "runId", "arg": "$Path.runId", "required": true, "format": {"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"}}, {"type": "string", "name": "scenarioName", "arg": "$Path.scenarioName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[^<>%&:?#/\\\\]+$", "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-05-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9L2NhbmNlbA==/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9L2NhbmNlbA==/2026-05-01-preview.xml new file mode 100644 index 000000000..1da1af9d3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFvcy93b3Jrc3BhY2VzL3t9L3NjZW5hcmlvcy97fS9ydW5zL3t9L2NhbmNlbA==/2026-05-01-preview.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+
+
+