-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AKS] Add trustedAccessRoles and trustedAccessRoleBindings into Micro…
…soft.ContainerService 2023-09-01 api (#26043) * Add trustedAccessRoles and trustedAccessRoleBindings into Microsoft.ContainerService 2023-09-01 api * fixup! Add trustedAccessRoles and trustedAccessRoleBindings into Microsoft.ContainerService 2023-09-01 api
- Loading branch information
Showing
6 changed files
with
572 additions
and
0 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
...ainerService/aks/stable/2023-09-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-09-01", | ||
"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" | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"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" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...oft.ContainerService/aks/stable/2023-09-01/examples/TrustedAccessRoleBindings_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-09-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"trustedAccessRoleBindingName": "binding1" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/subid1/providers/Microsoft.ContainerService/locations/eastus/operationresults/00000000-0000-0000-0000-000000000000?api-version=2017-08-31" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...rosoft.ContainerService/aks/stable/2023-09-01/examples/TrustedAccessRoleBindings_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-09-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"trustedAccessRoleBindingName": "binding1" | ||
}, | ||
"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" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...osoft.ContainerService/aks/stable/2023-09-01/examples/TrustedAccessRoleBindings_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-09-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"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" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...er/Microsoft.ContainerService/aks/stable/2023-09-01/examples/TrustedAccessRoles_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-09-01", | ||
"subscriptionId": "subid1", | ||
"location": "westus2" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"sourceResourceType": "Microsoft.MachineLearningServices/workspaces", | ||
"name": "reader", | ||
"rules": [ | ||
{ | ||
"verbs": [ | ||
"get" | ||
], | ||
"apiGroups": [ | ||
"" | ||
], | ||
"resources": [ | ||
"pods" | ||
], | ||
"resourceNames": [], | ||
"nonResourceURLs": [] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.