From c090ee1eebbd009ae61a8c0d2b846b20f60d07bf Mon Sep 17 00:00:00 2001 From: kipartha Date: Thu, 14 Apr 2022 21:50:30 -0700 Subject: [PATCH 1/3] Add action start/end time. --- .../2021-09-15-preview/types/experiments.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/types/experiments.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/types/experiments.json index 1892574e300e..f60058073a6f 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/types/experiments.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/types/experiments.json @@ -720,6 +720,18 @@ "type": "string", "readOnly": true }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "String that represents the start time of the action.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "String that represents the end time fo the action.", + "readOnly": true + }, "targets": { "description": "The array of targets.", "type": "array", From 37b6e4e7ed9be2c187c432db628ebca865f802e9 Mon Sep 17 00:00:00 2001 From: kipartha Date: Thu, 14 Apr 2022 22:08:24 -0700 Subject: [PATCH 2/3] Update examples with action start/end times. --- .../examples/GetAExperimentExecutionDetails.json | 2 ++ .../examples/ListExperimentExecutionsDetails.json | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/GetAExperimentExecutionDetails.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/GetAExperimentExecutionDetails.json index cbc88d1bc773..93ec191e56e1 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/GetAExperimentExecutionDetails.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/GetAExperimentExecutionDetails.json @@ -36,6 +36,8 @@ "name": "urn:provider:agent-v2:Microsoft.Azure.Chaos.Fault.CPUPressureAllProcessors", "id": "59499d33-6751-4b6e-a1f6-58f4d56a040a", "status": "failed", + "startTime": "2020-12-14T13:56:13.6270153-08:00", + "endTime": "2020-12-14T13:56:13.6270153-08:00", "targets": [ { "status": "succeeded", diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/ListExperimentExecutionsDetails.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/ListExperimentExecutionsDetails.json index 5bbd6a383204..eec78f8df108 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/ListExperimentExecutionsDetails.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/examples/ListExperimentExecutionsDetails.json @@ -37,6 +37,8 @@ "name": "urn:provider:agent-v2:Microsoft.Azure.Chaos.Fault.CPUPressureAllProcessors", "id": "59499d33-6751-4b6e-a1f6-58f4d56a040a", "status": "failed", + "startTime": "2020-12-14T13:56:13.6270153-08:00", + "endTime": "2020-12-14T13:56:13.6270153-08:00", "targets": [ { "status": "succeeded", @@ -82,6 +84,8 @@ "name": "urn:provider:agent-v2:Microsoft.Azure.Chaos.Fault.CPUPressureAllProcessors", "id": "59499d33-6751-4b6e-a1f6-58f4d56a040a", "status": "success", + "startTime": "2020-12-14T13:56:13.6270153-08:00", + "endTime": "2020-12-14T13:56:13.6270153-08:00", "targets": [ { "status": "succeeded", From 10df662dee2484bf9e601485befa3540d890b615 Mon Sep 17 00:00:00 2001 From: kipartha Date: Tue, 19 Apr 2022 09:16:06 -0700 Subject: [PATCH 3/3] fix typo in description. --- .../preview/2021-09-15-preview/types/experiments.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/types/experiments.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/types/experiments.json index f60058073a6f..db4e2e498fcb 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/types/experiments.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/types/experiments.json @@ -729,7 +729,7 @@ "endTime": { "type": "string", "format": "date-time", - "description": "String that represents the end time fo the action.", + "description": "String that represents the end time of the action.", "readOnly": true }, "targets": {