-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
KustoDatabaseAddPrincipals.json
69 lines (69 loc) · 1.64 KB
/
KustoDatabaseAddPrincipals.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
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"databaseName": "databaseName1",
"api-version": "2019-05-15",
"databasePrincipalsToAdd": {
"value": [
{
"name": "Some User",
"role": "Admin",
"type": "User",
"fqn": "aaduser=some_guid",
"email": "user@microsoft.com",
"appId": ""
},
{
"name": "Kusto",
"role": "Viewer",
"type": "Group",
"fqn": "aadgroup=some_guid",
"email": "kusto@microsoft.com",
"appId": ""
},
{
"name": "SomeApp",
"role": "Admin",
"type": "App",
"fqn": "aadapp=some_guid_app_id",
"email": "",
"appId": "some_guid_app_id"
}
]
}
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Some User",
"role": "Admin",
"type": "User",
"fqn": "aaduser=some_guid",
"email": "user@microsoft.com",
"appId": ""
},
{
"name": "Kusto",
"role": "Viewer",
"type": "Group",
"fqn": "aadgroup=some_guid",
"email": "kusto@microsoft.com",
"appId": ""
},
{
"name": "SomeApp",
"role": "Admin",
"type": "App",
"fqn": "aadapp=some_guid_app_id",
"email": "",
"appId": "some_guid_app_id"
}
]
}
}
}
}