/
updateWatcher.json
39 lines (39 loc) · 1.13 KB
/
updateWatcher.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
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg",
"automationAccountName": "MyTestAutomationAccount",
"watcherName": "MyTestWatcher",
"parameters": {
"name": "MyTestWatcher",
"properties": {
"executionFrequencyInSeconds": 600
}
},
"api-version": "2020-01-13-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyTestAutomationAccount/watchers/MyTestWatcher",
"name": "MyTestWatcher",
"type": null,
"location": null,
"tags": {},
"etag": null,
"properties": {
"executionFrequencyInSeconds": 600,
"scriptName": "MyTestWatcherRunbook",
"scriptParameters": {},
"description": "This is a test watcher.",
"status": "New",
"scriptRunOn": "MyTestHybridWorkerGroup",
"creationTime": "2018-05-14T21:33:02.197+00:00",
"lastModifiedBy": null,
"lastModifiedTime": "2018-05-14T22:29:57.65+00:00"
}
}
}
}
}