From 9f92c95cd56f0c6ff2dc8f2472af4f92dd31fff8 Mon Sep 17 00:00:00 2001 From: "Brent Rusinow (from Dev Box)" Date: Tue, 3 Oct 2023 17:06:04 -0700 Subject: [PATCH 1/2] updated provisioningState --- .../examples/CreateUpdateExperiment.json | 4 ++-- .../2023-10-27-preview/types/experiments.json | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/examples/CreateUpdateExperiment.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/examples/CreateUpdateExperiment.json index 64fdb9aa047d..3f4cb58bea64 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/examples/CreateUpdateExperiment.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/examples/CreateUpdateExperiment.json @@ -58,7 +58,6 @@ "body": { "id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment", "type": "Microsoft.Chaos/experiments", - "provisioningState": "Creating", "name": "exampleExperiment", "location": "eastus2euap", "identity": { @@ -67,6 +66,7 @@ "tenantId": "8c3e2fb2-fe7a-4bf1-b779-d73990782fe6" }, "properties": { + "provisioningState": "Creating", "steps": [ { "name": "step1", @@ -115,4 +115,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/types/experiments.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/types/experiments.json index bce06dfd0276..39c4a27a9d97 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/types/experiments.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/types/experiments.json @@ -62,11 +62,6 @@ "description": "The identity of the experiment resource.", "$ref": "./common.json#/definitions/resourceIdentity" }, - "provisioningState": { - "$ref": "./common.json#/definitions/provisioningState", - "description": "Most recent provisioning state for the given experiment resource.", - "readOnly": true - }, "properties": { "description": "The properties of the experiment resource.", "x-ms-client-flatten": true, @@ -91,6 +86,11 @@ "description": "Model that represents the Experiment properties model.", "type": "object", "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/provisioningState", + "description": "Most recent provisioning state for the given experiment resource.", + "readOnly": true + }, "steps": { "type": "array", "items": { @@ -864,4 +864,4 @@ } } } -} +} \ No newline at end of file From adf52efc0e714cbe25f68e7bbe6b40feee658202 Mon Sep 17 00:00:00 2001 From: "Brent Rusinow (from Dev Box)" Date: Tue, 3 Oct 2023 17:30:11 -0700 Subject: [PATCH 2/2] prettier fixes --- .../2023-10-27-preview/examples/CreateUpdateExperiment.json | 2 +- .../preview/2023-10-27-preview/types/experiments.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/examples/CreateUpdateExperiment.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/examples/CreateUpdateExperiment.json index 3f4cb58bea64..3262ae0ccfc2 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/examples/CreateUpdateExperiment.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/examples/CreateUpdateExperiment.json @@ -115,4 +115,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/types/experiments.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/types/experiments.json index 39c4a27a9d97..66a17afabb58 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/types/experiments.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/types/experiments.json @@ -864,4 +864,4 @@ } } } -} \ No newline at end of file +}