From 3f02e781e7e876847150f47a72162a37257f35aa Mon Sep 17 00:00:00 2001 From: Mario Hernandez Date: Thu, 21 Oct 2021 18:48:23 -0700 Subject: [PATCH] Update Chaos Client Name + Update outdated examples. (#16501) --- .../preview/2021-09-15-preview/capabilities.json | 2 +- .../preview/2021-09-15-preview/capabilityTypes.json | 2 +- .../examples/CreateOrUpdateAExperiment.json | 4 ++-- .../preview/2021-09-15-preview/examples/GetAExperiment.json | 2 +- .../examples/ListExperimentsInAResourceGroup.json | 2 +- .../examples/ListExperimentsInASubscription.json | 2 +- .../preview/2021-09-15-preview/experiments.json | 2 +- .../preview/2021-09-15-preview/operations.json | 2 +- .../preview/2021-09-15-preview/targetTypes.json | 2 +- .../Microsoft.Chaos/preview/2021-09-15-preview/targets.json | 2 +- specification/chaos/resource-manager/readme.md | 2 ++ 11 files changed, 13 insertions(+), 11 deletions(-) diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/capabilities.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/capabilities.json index d1efd0bd6c56..7ed8e1473844 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/capabilities.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/capabilities.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft Azure Chaos", + "title": "Chaos Management", "description": "Azure Chaos Resource Provider REST API", "version": "2021-09-15-preview" }, diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/capabilityTypes.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/capabilityTypes.json index 71738be434e3..9be381b8dc7a 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/capabilityTypes.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/capabilityTypes.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft Azure Chaos", + "title": "Chaos Management", "description": "Azure Chaos Resource Provider REST API", "version": "2021-09-15-preview" }, diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/CreateOrUpdateAExperiment.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/CreateOrUpdateAExperiment.json index 9482e1a2709b..32d0de850dbf 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/CreateOrUpdateAExperiment.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/CreateOrUpdateAExperiment.json @@ -37,7 +37,7 @@ "id": "selector1", "targets": [ { - "type": "ResourceId", + "type": "ChaosTarget", "id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/exampleVM/providers/Microsoft.Chaos/targets/Microsoft-VirtualMachine" } ] @@ -87,7 +87,7 @@ "id": "selector1", "targets": [ { - "type": "ResourceId", + "type": "ChaosTarget", "id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/exampleVM/providers/Microsoft.Chaos/targets/Microsoft-VirtualMachine" } ] diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/GetAExperiment.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/GetAExperiment.json index 9acede83c03a..c221263757d2 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/GetAExperiment.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/GetAExperiment.json @@ -46,7 +46,7 @@ "id": "selector1", "targets": [ { - "type": "ResourceId", + "type": "ChaosTarget", "id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/exampleVM/providers/Microsoft.Chaos/targets/Microsoft-VirtualMachine" } ] diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/ListExperimentsInAResourceGroup.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/ListExperimentsInAResourceGroup.json index cdbfbb2e2986..486af05e2c8c 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/ListExperimentsInAResourceGroup.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/ListExperimentsInAResourceGroup.json @@ -48,7 +48,7 @@ "id": "selector1", "targets": [ { - "type": "ResourceId", + "type": "ChaosTarget", "id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/exampleVM/providers/Microsoft.Chaos/targets/Microsoft-VirtualMachine" } ] diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/ListExperimentsInASubscription.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/ListExperimentsInASubscription.json index defaa5911db1..dd0eb21ddfcb 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/ListExperimentsInASubscription.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/ListExperimentsInASubscription.json @@ -47,7 +47,7 @@ "id": "selector1", "targets": [ { - "type": "ResourceId", + "type": "ChaosTarget", "id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/exampleVM/providers/Microsoft.Chaos/targets/Microsoft-VirtualMachine" } ] diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/experiments.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/experiments.json index 068962608f5a..da04a34bd345 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/experiments.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/experiments.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft Azure Chaos", + "title": "Chaos Management", "description": "Azure Chaos Resource Provider REST API", "version": "2021-09-15-preview" }, diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/operations.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/operations.json index 4d595a55e290..e8c71a4111a2 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/operations.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/operations.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft Azure Chaos", + "title": "Chaos Management", "description": "Azure Chaos Resource Provider REST API", "version": "2021-09-15-preview" }, diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/targetTypes.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/targetTypes.json index 5f107fce80ea..03690f6b7ed8 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/targetTypes.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/targetTypes.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft Azure Chaos", + "title": "Chaos Management", "description": "Azure Chaos Resource Provider REST API", "version": "2021-09-15-preview" }, diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/targets.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/targets.json index a630bad1dc27..50763dc6734c 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/targets.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/targets.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft Azure Chaos", + "title": "Chaos Management", "description": "Azure Chaos Resource Provider REST API", "version": "2021-09-15-preview" }, diff --git a/specification/chaos/resource-manager/readme.md b/specification/chaos/resource-manager/readme.md index 44cf3ff88424..c962124b870e 100644 --- a/specification/chaos/resource-manager/readme.md +++ b/specification/chaos/resource-manager/readme.md @@ -25,6 +25,8 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor These are the global settings for the chaos. ```yaml +title: ChaosManagementClient +description: Chaos Management Client openapi-type: arm tag: package-2021-09-15-preview ```