Skip to content

Commit 062b523

Browse files
committed
separate examples for list cluster credentials operations
1 parent 4b1bae9 commit 062b523

File tree

4 files changed

+43
-3
lines changed

4 files changed

+43
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-07-01",
4+
"subscriptionId": "subid1",
5+
"resourceGroupName": "rg1",
6+
"resourceName": "clustername1"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"kubeconfigs": [
12+
{
13+
"name": "credentialName1",
14+
"value": "credentialValue1"
15+
}
16+
]
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-07-01",
4+
"subscriptionId": "subid1",
5+
"resourceGroupName": "rg1",
6+
"resourceName": "clustername1"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"kubeconfigs": [
12+
{
13+
"name": "credentialName1",
14+
"value": "credentialValue1"
15+
}
16+
]
17+
}
18+
}
19+
}
20+
}

specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/managedClusters.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@
326326
},
327327
"x-ms-examples": {
328328
"Get Managed Cluster": {
329-
"$ref": "./examples/ManagedClustersListClusterCredentialResult.json"
329+
"$ref": "./examples/ManagedClustersListClusterAdminCredentials.json"
330330
}
331331
}
332332
}
@@ -374,7 +374,7 @@
374374
},
375375
"x-ms-examples": {
376376
"Get Managed Cluster": {
377-
"$ref": "./examples/ManagedClustersListClusterCredentialResult.json"
377+
"$ref": "./examples/ManagedClustersListClusterUserCredentials.json"
378378
}
379379
}
380380
}
@@ -419,7 +419,7 @@
419419
},
420420
"x-ms-examples": {
421421
"Get Managed Cluster": {
422-
"$ref": "./examples/ManagedClustersListClusterCredentialResult.json"
422+
"$ref": "./examples/ManagedClustersListClusterMonitoringUserCredentials.json"
423423
}
424424
}
425425
}

0 commit comments

Comments
 (0)