From 67f467fefbf0ac94f495431ffb04d939830c093a Mon Sep 17 00:00:00 2001 From: Victoria Chen Date: Fri, 17 Jun 2022 14:28:13 -0700 Subject: [PATCH] Fix invalid type error --- .../examples/CreateOrUpdateAExperiment.json | 16 ++++++++++------ .../examples/GetAExperiment.json | 8 +++++--- .../ListExperimentsInAResourceGroup.json | 8 +++++--- .../examples/ListExperimentsInASubscription.json | 8 +++++--- 4 files changed, 25 insertions(+), 15 deletions(-) diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/CreateOrUpdateAExperiment.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/CreateOrUpdateAExperiment.json index cb3fa21ed2ea..2917cdef03f4 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/CreateOrUpdateAExperiment.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/CreateOrUpdateAExperiment.json @@ -22,9 +22,11 @@ "name": "urn:csci:provider:providername:Shutdown/1.0", "selectorId": "selector1", "duration": "PT10M", - "parameters": { - "restartWhenComplete": true - } + "parameters": [ + { + "restartWhenComplete": true + } + ] } ] } @@ -72,9 +74,11 @@ "name": "urn:csci:provider:providername:Shutdown/1.0", "selectorId": "selector1", "duration": "PT10M", - "parameters": { - "restartWhenComplete": true - } + "parameters": [ + { + "restartWhenComplete": true + } + ] } ] } diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/GetAExperiment.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/GetAExperiment.json index 15beeb5f3e9a..1debd456e28f 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/GetAExperiment.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/GetAExperiment.json @@ -31,9 +31,11 @@ "name": "urn:csci:provider:providername:Shutdown/1.0", "selectorId": "selector1", "duration": "PT10M", - "parameters": { - "restartWhenComplete": true - } + "parameters": [ + { + "restartWhenComplete": true + } + ] } ] } diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/ListExperimentsInAResourceGroup.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/ListExperimentsInAResourceGroup.json index d93c64c17c06..83c5aeef83e4 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/ListExperimentsInAResourceGroup.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/ListExperimentsInAResourceGroup.json @@ -33,9 +33,11 @@ "name": "urn:csci:provider:providername:Shutdown/1.0", "selectorId": "selector1", "duration": "PT10M", - "parameters": { - "restartWhenComplete": true - } + "parameters": [ + { + "restartWhenComplete": true + } + ] } ] } diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/ListExperimentsInASubscription.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/ListExperimentsInASubscription.json index 35d555d3ad1a..e4797b221cf1 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/ListExperimentsInASubscription.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2022-07-01-preview/examples/ListExperimentsInASubscription.json @@ -32,9 +32,11 @@ "name": "urn:csci:provider:providername:Shutdown/1.0", "selectorId": "selector1", "duration": "PT10M", - "parameters": { - "restartWhenComplete": true - } + "parameters": [ + { + "restartWhenComplete": true + } + ] } ] }