Experiments - List All Executions
Get a list of executions of an Experiment resource.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}/executions?api-version=2024-01-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
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 |
List of executions returned if request was successful. |
|
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
List all executions of an Experiment.
Sample Request
Sample Response
{
"value": [
{
"type": "Microsoft.Chaos/experiments/executions",
"id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment/executions/",
"name": "f24500ad-744e-4a26-864b-b76199eac333",
"properties": {
"startedAt": "2020-12-14T21:52:52.2552574Z",
"stoppedAt": "2020-12-14T21:56:18.9281956Z",
"status": "failed"
}
},
{
"type": "Microsoft.Chaos/experiments/executions",
"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": {
"startedAt": "2020-12-14T21:52:52.2552574Z",
"stoppedAt": "2020-12-14T21:56:18.9281956Z",
"status": "success"
}
}
],
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment/executionDetails?continuationToken=&api-version=2024-01-01"
}
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
experiment |
Model that represents the execution of a Experiment. |
experiment |
Model that represents a list of Experiment executions and a link for pagination. |
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. |
experimentExecution
Model that represents the execution of a Experiment.
Name | Type | Description |
---|---|---|
id |
string |
String of the fully qualified resource ID. |
name |
string |
String of the resource name. |
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. |
experimentExecutionListResult
Model that represents a list of Experiment executions and a link for pagination.
Name | Type | Description |
---|---|---|
nextLink |
string |
URL to retrieve the next page of Experiment executions. |
value |
List of Experiment executions. |