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 |
---|---|---|---|---|
execution
|
path | True |
string |
GUID that represents a Experiment execution detail. Regex pattern: |
experiment
|
path | True |
string |
String that represents a Experiment resource name. Regex pattern: |
resource
|
path | True |
string |
String that represents an Azure resource group. Regex pattern: |
subscription
|
path | True |
string |
GUID that represents an Azure subscription ID. Regex pattern: |
api-version
|
query | True |
string |
String that sets the API version. Regex pattern: |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Get experiment execution details. |
|
Other Status Codes |
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
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 |
---|---|
action |
Model that represents the an action and its status. |
branch |
Model that represents the a list of actions and action statuses. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
experiment |
Model that represents the Experiment action target details error model. |
experiment |
Model that represents the Experiment action target details properties model. |
experiment |
Model that represents the execution details of an Experiment. |
Run |
The information of the experiment run. |
step |
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 |
The array of targets. |
branchStatus
Model that represents the a list of actions and action statuses.
Name | Type | Description |
---|---|---|
actions |
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 |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
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 |
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 |
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 |
The steps of the experiment run. |
stepStatus
Model that represents the a list of branches and branch statuses.
Name | Type | Description |
---|---|---|
branches |
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. |