-
Notifications
You must be signed in to change notification settings - Fork 5k
/
TrustedAccessRoleBindings_CreateOrUpdate.json
34 lines (34 loc) · 1.27 KB
/
TrustedAccessRoleBindings_CreateOrUpdate.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
{
"parameters": {
"api-version": "2023-01-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"resourceName": "clustername1",
"trustedAccessRoleBindingName": "binding1",
"trustedAccessRoleBinding": {
"properties": {
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/b/providers/Microsoft.MachineLearningServices/workspaces/c",
"roles": [
"Microsoft.MachineLearningServices/workspaces/reader",
"Microsoft.MachineLearningServices/workspaces/writer"
]
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/trustedAccessRoleBindings/binding1",
"type": "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings",
"name": "binding1",
"properties": {
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/b/providers/Microsoft.MachineLearningServices/workspaces/c",
"roles": [
"Microsoft.MachineLearningServices/workspaces/reader",
"Microsoft.MachineLearningServices/workspaces/writer"
]
}
}
}
}
}