/
WorkspacesSavedSearchesCreateOrUpdate.json
42 lines (42 loc) · 1.38 KB
/
WorkspacesSavedSearchesCreateOrUpdate.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
{
"parameters": {
"resourceGroupName": "TestRG",
"workspaceName": "TestWS",
"savedSearchName": "SavedSearchName",
"parameters": {
"properties": {
"category": "Saved Search Test Category",
"displayName": "Create or Update Saved Search Test",
"version": 2,
"functionAlias": "heartbeat_func",
"functionParameters": "a:int=1",
"query": "Heartbeat | summarize Count() by Computer | take a",
"tags": [
{
"name": "Group",
"value": "Computer"
}
]
}
},
"api-version": "2020-08-01",
"savedSearchId": "00000000-0000-0000-0000-00000000000",
"subscriptionId": "00000000-0000-0000-0000-00000000000"
},
"responses": {
"200": {
"body": {
"id": "subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/AtlantisDemo/savedSearches/test-new-saved-search-id-2015",
"etag": "W/\"datetime'2017-10-02T23%3A15%3A41.0709875Z'\"",
"properties": {
"category": "Saved Search Test Category",
"displayName": "Create or Update Saved Search Test",
"functionAlias": "heartbeat_func",
"functionParameters": "a:int=1",
"query": "Heartbeat | summarize Count() by Computer | take a",
"version": 2
}
}
}
}
}