-
Notifications
You must be signed in to change notification settings - Fork 5k
/
ListJobExecutionsByAgentWithFilter.json
56 lines (56 loc) · 2.48 KB
/
ListJobExecutionsByAgentWithFilter.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "group1",
"serverName": "server1",
"jobAgentName": "agent1",
"api-version": "2020-11-01-preview",
"createTimeMin": "2017-03-21T19:00:00Z",
"createTimeMax": "2017-03-21T19:05:00Z",
"endTimeMin": "2017-03-21T19:20:00Z",
"endTimeMax": "2017-03-21T19:25:00Z",
"isActive": false
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"jobVersion": 1,
"jobExecutionId": "5A86BF65-43AC-F258-2524-9E92992F97CA",
"lifecycle": "Created",
"provisioningState": "Created",
"createTime": "2017-03-21T19:02:00.8707045Z",
"startTime": "2017-03-21T19:12:00.8707045Z",
"endTime": "2017-03-21T19:22:00.8707045Z",
"currentAttempts": 0,
"currentAttemptStartTime": "2017-03-21T19:12:00.8707045Z",
"lastMessage": "Job execution created."
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job1/executions/5555-6666-7777-8888-999999999999",
"name": "5555-6666-7777-8888-999999999999",
"type": "Microsoft.Sql/servers/jobAgents/jobs/executions"
},
{
"properties": {
"jobVersion": 1,
"jobExecutionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"lifecycle": "Succeeded",
"provisioningState": "Succeeded",
"createTime": "2017-12-15T19:02:00.8707045Z",
"startTime": "2017-12-15T19:12:00.8707045Z",
"endTime": "2017-12-15T19:22:00.8707045Z",
"currentAttempts": 1,
"lastMessage": "Job execution succeeded."
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1/jobs/job2/executions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"name": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"type": "Microsoft.Sql/servers/jobAgents/jobs/executions"
}
],
"nextLink": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1//executions?api-version=2017-03-01-preview&%24skip=2"
}
}
}
}