From 5095ea2d4232a3c775aeede88d64d42b7fbeece0 Mon Sep 17 00:00:00 2001 From: Victoria Chen Date: Mon, 20 Jun 2022 10:46:38 -0700 Subject: [PATCH] Fix "missing required property: key/value" --- .../examples/CreateOrUpdateAExperiment.json | 6 ++++-- .../preview/2022-07-01-preview/examples/GetAExperiment.json | 3 ++- .../examples/ListExperimentsInAResourceGroup.json | 3 ++- .../examples/ListExperimentsInASubscription.json | 3 ++- 4 files changed, 10 insertions(+), 5 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 2917cdef03f4..5246a62c1782 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 @@ -24,7 +24,8 @@ "duration": "PT10M", "parameters": [ { - "restartWhenComplete": true + "key": "abruptShutdown", + "value": "false" } ] } @@ -76,7 +77,8 @@ "duration": "PT10M", "parameters": [ { - "restartWhenComplete": true + "key": "abruptShutdown", + "value": "false" } ] } 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 1debd456e28f..ac04ca6fc5c5 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 @@ -33,7 +33,8 @@ "duration": "PT10M", "parameters": [ { - "restartWhenComplete": true + "key": "abruptShutdown", + "value": "false" } ] } 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 83c5aeef83e4..3791103025dc 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 @@ -35,7 +35,8 @@ "duration": "PT10M", "parameters": [ { - "restartWhenComplete": true + "key": "abruptShutdown", + "value": "false" } ] } 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 e4797b221cf1..cf99250a9dee 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 @@ -34,7 +34,8 @@ "duration": "PT10M", "parameters": [ { - "restartWhenComplete": true + "key": "abruptShutdown", + "value": "false" } ] }