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 93ec191e56e1..eff83d10db73 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 @@ -14,27 +14,28 @@ "id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment/executionDetails/f24500ad-744e-4a26-864b-b76199eac333", "name": "f24500ad-744e-4a26-864b-b76199eac333", "properites": { - "createdDateUtc": "2020-12-14T21:52:42.917983Z", - "lastActionDateUtc": "2020-12-14T21:52:52.2552574Z", - "startDateUtc": "2020-12-14T21:52:52.2552574Z", - "stopDateUtc": "2020-12-14T21:56:18.9281956Z", + "createdDateTime": "2020-12-14T21:52:42.917983Z", + "lastActionDateTime": "2020-12-14T21:52:52.2552574Z", + "startDateTime": "2020-12-14T21:52:52.2552574Z", + "stopDateTime": "2020-12-14T21:56:18.9281956Z", + "experimentId": "f24500ad-744e-4a26-864b-b76199eac333", "status": "failed", "failureReason": "Dependency failure", "runInformation": { "steps": [ { - "name": "FirstStep", - "id": "FirstStep", + "stepName": "FirstStep", + "stepId": "FirstStep", "status": "failed", "branches": [ { - "name": "FirstBranch", - "id": "FirstBranch", + "branchName": "FirstBranch", + "branchId": "FirstBranch", "status": "failed", "actions": [ { - "name": "urn:provider:agent-v2:Microsoft.Azure.Chaos.Fault.CPUPressureAllProcessors", - "id": "59499d33-6751-4b6e-a1f6-58f4d56a040a", + "actionName": "urn:provider:agent-v2:Microsoft.Azure.Chaos.Fault.CPUPressureAllProcessors", + "actionId": "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", @@ -42,17 +43,16 @@ { "status": "succeeded", "target": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/VM1", - "failedDateUtc": "2021-04-02T16:30:55+00:00", - "completedDateUtc": "2021-04-02T17:30:55+00:00" + "targetFailedTime": "2021-04-02T16:30:55+00:00", + "targetCompletedTime": "2021-04-02T17:30:55+00:00" }, { "status": "failed", "target": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/VM1", - "failedDateUtc": "2021-04-02T16:30:55+00:00", - "completedDateUtc": "2021-04-02T17:30:55+00:00" + "targetFailedTime": "2021-04-02T16:30:55+00:00", + "targetCompletedTime": "2021-04-02T17:30:55+00:00" } - ], - "lastUpdatedDateUtc": "2020-12-14T13:56:13.6270153-08:00" + ] } ] } 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 eec78f8df108..8a7a18b15932 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 @@ -15,27 +15,28 @@ "id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment/executionDetails/f24500ad-744e-4a26-864b-b76199eac333", "name": "f24500ad-744e-4a26-864b-b76199eac333", "properties": { - "createdDateUtc": "2020-12-14T21:52:42.917983Z", - "lastActionDateUtc": "2020-12-14T21:52:52.2552574Z", - "startDateUtc": "2020-12-14T21:52:52.2552574Z", - "stopDateUtc": "2020-12-14T21:56:18.9281956Z", + "createdDateTime": "2020-12-14T21:52:42.917983Z", + "lastActionDateTime": "2020-12-14T21:52:52.2552574Z", + "startDateTime": "2020-12-14T21:52:52.2552574Z", + "stopDateTime": "2020-12-14T21:56:18.9281956Z", "status": "failed", "failureReason": "Dependency failure", + "experimentId": "f24500ad-744e-4a26-864b-b76199eac333", "runInformation": { "steps": [ { - "name": "FirstStep", - "id": "FirstStep", + "stepName": "FirstStep", + "stepId": "FirstStep", "status": "failed", "branches": [ { - "name": "FirstBranch", - "id": "FirstBranch", + "branchName": "FirstBranch", + "branchId": "FirstBranch", "status": "failed", "actions": [ { - "name": "urn:provider:agent-v2:Microsoft.Azure.Chaos.Fault.CPUPressureAllProcessors", - "id": "59499d33-6751-4b6e-a1f6-58f4d56a040a", + "actionName": "urn:provider:agent-v2:Microsoft.Azure.Chaos.Fault.CPUPressureAllProcessors", + "actionId": "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", @@ -43,11 +44,10 @@ { "status": "succeeded", "target": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/VM1", - "failedDateUtc": "2021-04-02T16:30:55+00:00", - "completedDateUtc": "2021-04-02T17:30:55+00:00" + "targetFailedTime": "2021-04-02T16:30:55+00:00", + "targetCompletedTime": "2021-04-02T17:30:55+00:00" } - ], - "lastUpdatedDateUtc": "2020-12-14T13:56:13.6270153-08:00" + ] } ] } @@ -62,27 +62,28 @@ "id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment/executionDetails/14d98367-52ef-4596-be4f-53fc81bbfc33", "name": "14d98367-52ef-4596-be4f-53fc81bbfc33", "properties": { - "createdDateUtc": "2020-12-14T21:52:42.917983Z", - "lastActionDateUtc": "2020-12-14T21:52:52.2552574Z", - "startDateUtc": "2020-12-14T21:52:52.2552574Z", - "stopDateUtc": "2020-12-14T21:56:18.9281956Z", + "createdDateTime": "2020-12-14T21:52:42.917983Z", + "lastActionDateTime": "2020-12-14T21:52:52.2552574Z", + "startDateTime": "2020-12-14T21:52:52.2552574Z", + "stopDateTime": "2020-12-14T21:56:18.9281956Z", "status": "success", "failureReason": "", + "experimentId": "14d98367-52ef-4596-be4f-53fc81bbfc33", "runInformation": { "steps": [ { - "name": "FirstStep", - "id": "FirstStep", + "stepName": "FirstStep", + "stepId": "FirstStep", "status": "success", "branches": [ { - "name": "FirstBranch", - "id": "FirstBranch", + "branchName": "FirstBranch", + "branchId": "FirstBranch", "status": "success", "actions": [ { - "name": "urn:provider:agent-v2:Microsoft.Azure.Chaos.Fault.CPUPressureAllProcessors", - "id": "59499d33-6751-4b6e-a1f6-58f4d56a040a", + "actionName": "urn:provider:agent-v2:Microsoft.Azure.Chaos.Fault.CPUPressureAllProcessors", + "actionId": "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", @@ -90,11 +91,10 @@ { "status": "succeeded", "target": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/VM1", - "failedDateUtc": "2021-04-02T16:30:55+00:00", - "completedDateUtc": "2021-04-02T17:30:55+00:00" + "targetFailedTime": "2021-04-02T16:30:55+00:00", + "targetCompletedTime": "2021-04-02T17:30:55+00:00" } - ], - "lastUpdatedDateUtc": "2020-12-14T13:56:13.6270153-08:00" + ] } ] } 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 1538b6716295..aac351b5fb28 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 @@ -498,14 +498,14 @@ "type": "string", "readOnly": true }, - "failedDateUtc": { + "targetFailedTime": { "type": "string", "format": "date-time", "description": "String that represents the failed date time.", "readOnly": true, "x-nullable": true }, - "completedDateUtc": { + "targetCompletedTime": { "type": "string", "format": "date-time", "description": "String that represents the completed date time.", @@ -602,25 +602,25 @@ "type": "string", "readOnly": true }, - "createdDateUtc": { + "createdDateTime": { "type": "string", "format": "date-time", "description": "String that represents the created date time.", "readOnly": true }, - "lastActionDateUtc": { + "lastActionDateTime": { "type": "string", "format": "date-time", "description": "String that represents the last action date time.", "readOnly": true }, - "startDateUtc": { + "startDateTime": { "type": "string", "format": "date-time", "description": "String that represents the start date time.", "readOnly": true }, - "stopDateUtc": { + "stopDateTime": { "type": "string", "format": "date-time", "description": "String that represents the stop date time.", @@ -636,6 +636,9 @@ "items": { "$ref": "#/definitions/stepStatus" }, + "x-ms-identifiers": [ + "stepName" + ], "readOnly": true } }, @@ -647,12 +650,12 @@ "description": "Model that represents the a list of branches and branch statuses.", "type": "object", "properties": { - "name": { + "stepName": { "description": "The name of the step.", "type": "string", "readOnly": true }, - "id": { + "stepId": { "description": "The id of the step.", "type": "string", "readOnly": true @@ -668,6 +671,9 @@ "items": { "$ref": "#/definitions/branchStatus" }, + "x-ms-identifiers": [ + "branchName" + ], "readOnly": true } } @@ -676,12 +682,12 @@ "description": "Model that represents the a list of actions and action statuses.", "type": "object", "properties": { - "name": { + "branchName": { "description": "The name of the branch status.", "type": "string", "readOnly": true }, - "id": { + "branchId": { "description": "The id of the branch status.", "type": "string", "readOnly": true @@ -697,6 +703,9 @@ "items": { "$ref": "#/definitions/actionStatus" }, + "x-ms-identifiers": [ + "actionId" + ], "readOnly": true } } @@ -705,12 +714,12 @@ "type": "object", "description": "Model that represents the an action and its status.", "properties": { - "name": { + "actionName": { "description": "The name of the action status.", "type": "string", "readOnly": true }, - "id": { + "actionId": { "description": "The id of the action status.", "type": "string", "readOnly": true