Skip to content

Commit

Permalink
add recording for test_list_trustedaccess_roles
Browse files Browse the repository at this point in the history
  • Loading branch information
FumingZhang committed Jul 27, 2022
1 parent 8f3c840 commit b090b19
Showing 1 changed file with 117 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- aks trustedaccess role list
Connection:
- keep-alive
ParameterSetName:
- -l
User-Agent:
- AZURECLI/2.38.0 azsdk-python-azure-mgmt-containerservice/20.0.0b Python/3.8.10
(Linux-5.15.0-1014-azure-x86_64-with-glibc2.29)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus2euap/trustedAccessRoles?api-version=2022-06-02-preview
response:
body:
string: "{\n \"value\": [\n {\n \"sourceResourceType\": \"Microsoft.Compute/virtualMachineScaleSets\",\n
\ \"name\": \"test-node-reader\",\n \"rules\": [\n {\n \"verbs\":
[\n \"list\"\n ],\n \"apiGroups\": [\n \"\"\n ],\n
\ \"resources\": [\n \"nodes\"\n ]\n }\n ]\n },\n
\ {\n \"sourceResourceType\": \"Microsoft.Compute/virtualMachineScaleSets\",\n
\ \"name\": \"test-pod-reader\",\n \"rules\": [\n {\n \"verbs\":
[\n \"list\"\n ],\n \"apiGroups\": [\n \"\"\n ],\n
\ \"resources\": [\n \"pods\"\n ]\n }\n ]\n },\n {\n
\ \"sourceResourceType\": \"Microsoft.Compute/virtualMachineScaleSets\",\n
\ \"name\": \"test-admin\",\n \"rules\": [\n {\n \"verbs\":
[\n \"*\"\n ],\n \"apiGroups\": [\n \"\"\n ],\n
\ \"resources\": [\n \"*\"\n ]\n }\n ]\n },\n {\n
\ \"sourceResourceType\": \"Microsoft.DataProtection/BackupVaults\",\n \"name\":
\"pvbackup\",\n \"rules\": [\n {\n \"verbs\": [\n \"list\"\n
\ ],\n \"apiGroups\": [\n \"\"\n ],\n \"resources\":
[\n \"events\"\n ]\n },\n {\n \"verbs\": [\n \"get\",\n
\ \"list\"\n ],\n \"apiGroups\": [\n \"\"\n ],\n
\ \"resources\": [\n \"namespaces\",\n \"deployments\",\n
\ \"statefulsets\",\n \"replicasets\",\n \"daemonsets\"\n
\ ]\n },\n {\n \"verbs\": [\n \"create\",\n \"get\",\n
\ \"list\",\n \"patch\",\n \"update\",\n \"delete\"\n
\ ],\n \"apiGroups\": [\n \"\"\n ],\n \"resources\":
[\n \"persistentvolumes\",\n \"persistentvolumeclaims\"\n ]\n
\ },\n {\n \"verbs\": [\n \"get\",\n \"list\"\n ],\n
\ \"apiGroups\": [\n \"storage.k8s.io\"\n ],\n \"resources\":
[\n \"csidrivers\"\n ]\n },\n {\n \"verbs\": [\n \"create\",\n
\ \"get\",\n \"list\",\n \"patch\",\n \"update\"\n
\ ],\n \"apiGroups\": [\n \"storage.k8s.io\"\n ],\n \"resources\":
[\n \"storageclasses\",\n \"volumeattachments\"\n ]\n },\n
\ {\n \"verbs\": [\n \"create\",\n \"get\",\n \"list\",\n
\ \"patch\",\n \"update\",\n \"delete\"\n ],\n \"apiGroups\":
[\n \"snapshot.storage.k8s.io\"\n ],\n \"resources\": [\n
\ \"volumesnapshots\",\n \"volumesnapshotcontents\",\n \"volumesnapshotclasses\"\n
\ ]\n }\n ]\n },\n {\n \"sourceResourceType\": \"Microsoft.MachineLearningServices/workspaces\",\n
\ \"name\": \"training\",\n \"rules\": [\n {\n \"verbs\": [\n
\ \"create\",\n \"get\",\n \"list\",\n \"patch\",\n
\ \"update\",\n \"delete\"\n ],\n \"apiGroups\": [\n
\ \"\"\n ],\n \"resources\": [\n \"services\",\n \"services/proxy\"\n
\ ]\n }\n ]\n },\n {\n \"sourceResourceType\": \"Microsoft.MachineLearningServices/workspaces\",\n
\ \"name\": \"inferenceV2\",\n \"rules\": [\n {\n \"verbs\":
[\n \"create\",\n \"get\",\n \"list\",\n \"patch\",\n
\ \"update\",\n \"delete\"\n ],\n \"apiGroups\": [\n
\ \"\"\n ],\n \"resources\": [\n \"services\",\n \"services/proxy\"\n
\ ]\n }\n ]\n },\n {\n \"sourceResourceType\": \"Microsoft.MachineLearningServices/workspaces\",\n
\ \"name\": \"inferenceV1\",\n \"rules\": [\n {\n \"verbs\":
[\n \"list\"\n ],\n \"apiGroups\": [\n \"\"\n ],\n
\ \"resources\": [\n \"events\",\n \"nodes\"\n ]\n },\n
\ {\n \"verbs\": [\n \"create\",\n \"get\",\n \"list\",\n
\ \"patch\",\n \"update\",\n \"delete\"\n ],\n \"apiGroups\":
[\n \"\"\n ],\n \"resources\": [\n \"persistentvolumes\",\n
\ \"persistentvolumeclaims\"\n ]\n },\n {\n \"verbs\":
[\n \"create\",\n \"get\",\n \"list\",\n \"patch\",\n
\ \"update\",\n \"delete\"\n ],\n \"apiGroups\": [\n
\ \"\"\n ],\n \"resources\": [\n \"namespaces\",\n \"pods\",\n
\ \"configmaps\",\n \"secrets\",\n \"services\",\n \"services/proxy\",\n
\ \"serviceaccounts\"\n ]\n },\n {\n \"verbs\": [\n
\ \"create\",\n \"get\",\n \"list\",\n \"patch\",\n
\ \"update\",\n \"delete\"\n ],\n \"apiGroups\": [\n
\ \"\"\n ],\n \"resources\": [\n \"deployments\",\n \"replicasets\",\n
\ \"daemonsets\"\n ]\n },\n {\n \"verbs\": [\n \"create\",\n
\ \"get\",\n \"list\"\n ],\n \"apiGroups\": [\n \"\"\n
\ ],\n \"resources\": [\n \"jobs\"\n ]\n },\n {\n
\ \"verbs\": [\n \"create\",\n \"get\",\n \"list\",\n
\ \"patch\",\n \"update\",\n \"delete\"\n ],\n \"apiGroups\":
[\n \"storage.k8s.io\"\n ],\n \"resources\": [\n \"csidrivers\"\n
\ ]\n },\n {\n \"verbs\": [\n \"create\",\n \"get\",\n
\ \"list\",\n \"update\"\n ],\n \"apiGroups\": [\n \"rbac.authorization.k8s.io\"\n
\ ],\n \"resources\": [\n \"clusterroles\",\n \"clusterrolebindings\"\n
\ ]\n }\n ]\n }\n ]\n }"
headers:
cache-control:
- no-cache
content-length:
- '4926'
content-type:
- application/json
date:
- Tue, 26 Jul 2022 07:07:41 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- nginx
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
status:
code: 200
message: OK
version: 1

0 comments on commit b090b19

Please sign in to comment.