Experiments - Execution Details

Execution details of an experiment resource.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}/executions/{executionId}/getExecutionDetails?api-version=2024-01-01

URI Parameters

Name In Required Type Description
executionId
path True

string

GUID that represents a Experiment execution detail.

Regex pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$

experimentName
path True

string

String that represents a Experiment resource name.

Regex pattern: ^[^<>%&:?#/\\]+$

resourceGroupName
path True

string

String that represents an Azure resource group.

Regex pattern: ^[a-zA-Z0-9_\-\.\(\)]*[a-zA-Z0-9_\-\(\)]$

subscriptionId
path True

string

GUID that represents an Azure subscription ID.

Regex pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$

api-version
query True

string

String that sets the API version.

Regex pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}(|-preview)$

Responses

Name Type Description
200 OK

experimentExecutionDetails

Get experiment execution details.

Other Status Codes

ErrorResponse

Error response returned if request was unsuccessful.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation Impersonate your user account

Examples

Get experiment execution details.

Sample Request

POST https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment/executions/f24500ad-744e-4a26-864b-b76199eac333/getExecutionDetails?api-version=2024-01-01

Sample Response

{
  "type": "Microsoft.Chaos/experiments/executions/getExecutionDetails",
  "id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment/executions/f24500ad-744e-4a26-864b-b76199eac333/getExecutionDetails",
  "name": "f24500ad-744e-4a26-864b-b76199eac333",
  "properties": {
    "lastActionAt": "2020-12-14T21:52:52.2552574Z",
    "startedAt": "2020-12-14T21:52:52.2552574Z",
    "stoppedAt": "2020-12-14T21:56:18.9281956Z",
    "status": "failed",
    "failureReason": "Dependency failure",
    "runInformation": {
      "steps": [
        {
          "stepName": "FirstStep",
          "stepId": "FirstStep",
          "status": "failed",
          "branches": [
            {
              "branchName": "FirstBranch",
              "branchId": "FirstBranch",
              "status": "failed",
              "actions": [
                {
                  "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",
                  "targets": [
                    {
                      "status": "succeeded",
                      "target": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/VM1",
                      "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",
                      "targetFailedTime": "2021-04-02T16:30:55+00:00",
                      "targetCompletedTime": "2021-04-02T17:30:55+00:00"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  }
}

Definitions

Name Description
actionStatus

Model that represents the an action and its status.

branchStatus

Model that represents the a list of actions and action statuses.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

experimentExecutionActionTargetDetailsError

Model that represents the Experiment action target details error model.

experimentExecutionActionTargetDetailsProperties

Model that represents the Experiment action target details properties model.

experimentExecutionDetails

Model that represents the execution details of an Experiment.

RunInformation

The information of the experiment run.

stepStatus

Model that represents the a list of branches and branch statuses.

actionStatus

Model that represents the an action and its status.

Name Type Description
actionId

string

The id of the action status.

actionName

string

The name of the action status.

endTime

string

String that represents the end time of the action.

startTime

string

String that represents the start time of the action.

status

string

The status of the action.

targets

experimentExecutionActionTargetDetailsProperties[]

The array of targets.

branchStatus

Model that represents the a list of actions and action statuses.

Name Type Description
actions

actionStatus[]

The array of actions.

branchId

string

The id of the branch status.

branchName

string

The name of the branch status.

status

string

The status of the branch.

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

experimentExecutionActionTargetDetailsError

Model that represents the Experiment action target details error model.

Name Type Description
code

string

The error code.

message

string

The error message

experimentExecutionActionTargetDetailsProperties

Model that represents the Experiment action target details properties model.

Name Type Description
error

experimentExecutionActionTargetDetailsError

The error of the action.

status

string

The status of the execution.

target

string

The target for the action.

targetCompletedTime

string

String that represents the completed date time.

targetFailedTime

string

String that represents the failed date time.

experimentExecutionDetails

Model that represents the execution details of an Experiment.

Name Type Description
id

string

String of the fully qualified resource ID.

name

string

String of the resource name.

properties.failureReason

string

The reason why the execution failed.

properties.lastActionAt

string

String that represents the last action date time.

properties.runInformation

RunInformation

The information of the experiment run.

properties.startedAt

string

String that represents the start date time.

properties.status

string

The status of the execution.

properties.stoppedAt

string

String that represents the stop date time.

type

string

String of the resource type.

RunInformation

The information of the experiment run.

Name Type Description
steps

stepStatus[]

The steps of the experiment run.

stepStatus

Model that represents the a list of branches and branch statuses.

Name Type Description
branches

branchStatus[]

The array of branches.

status

string

The value of the status of the step.

stepId

string

The id of the step.

stepName

string

The name of the step.