-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AKS]: SP/AAD update operation for 2018-03-31 and 2018-08-01-preview (#…
…4937) * add operation for 2018-03-31 and 2018-08-01-preview * correct example fileName * add default response and 202, correct typo
- Loading branch information
1 parent
60ba6c3
commit e13c045
Showing
6 changed files
with
573 additions
and
0 deletions.
There are no files selected for viewing
74 changes: 74 additions & 0 deletions
74
....ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetAADProfile.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,74 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-08-01-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"parameters": { | ||
"aadProfile": { | ||
"clientAppID": "clientappid", | ||
"serverAppID": "serverappid", | ||
"serverAppSecret": "serverappsecret", | ||
"tenantID": "tenantid" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", | ||
"location": "location1", | ||
"name": "clustername1", | ||
"tags": { | ||
"archv2": "", | ||
"tier": "production" | ||
}, | ||
"type": "Microsoft.ContainerService/ManagedClusters", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"kubernetesVersion": "1.9.6", | ||
"dnsPrefix": "dnsprefix1", | ||
"agentPoolProfiles": [ | ||
{ | ||
"name": "nodepool1", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"storageProfile": "ManagedDisks", | ||
"maxPods": 110, | ||
"osType": "Linux" | ||
} | ||
], | ||
"linuxProfile": { | ||
"adminUsername": "azureuser", | ||
"ssh": { | ||
"publicKeys": [ | ||
{ | ||
"keyData": "keydata" | ||
} | ||
] | ||
} | ||
}, | ||
"servicePrincipalProfile": { | ||
"clientId": "clientid" | ||
}, | ||
"aadProfile": { | ||
"clientAppID": "clientappid", | ||
"serverAppID": "serverappid", | ||
"tenantID": "tenantid" | ||
}, | ||
"nodeResourceGroup": "MC_rg1_clustername1_location1", | ||
"enableRBAC": false, | ||
"fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", | ||
"networkProfile": { | ||
"networkPlugin": "kubenet", | ||
"podCidr": "10.244.0.0/16", | ||
"serviceCidr": "10.0.0.0/16", | ||
"dnsServiceIP": "10.0.0.10", | ||
"dockerBridgeCidr": "172.17.0.1/16" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
67 changes: 67 additions & 0 deletions
67
...vice/preview/2018-08-01-preview/examples/ManagedClustersResetServicePrincipalProfile.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,67 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-08-01-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"parameters": { | ||
"servicePrincipalProfile": { | ||
"clientId": "clientid", | ||
"secret": "secret" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", | ||
"location": "location1", | ||
"name": "clustername1", | ||
"tags": { | ||
"archv2": "", | ||
"tier": "production" | ||
}, | ||
"type": "Microsoft.ContainerService/ManagedClusters", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"kubernetesVersion": "1.9.6", | ||
"dnsPrefix": "dnsprefix1", | ||
"agentPoolProfiles": [ | ||
{ | ||
"name": "nodepool1", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"storageProfile": "ManagedDisks", | ||
"maxPods": 110, | ||
"osType": "Linux" | ||
} | ||
], | ||
"linuxProfile": { | ||
"adminUsername": "azureuser", | ||
"ssh": { | ||
"publicKeys": [ | ||
{ | ||
"keyData": "keydata" | ||
} | ||
] | ||
} | ||
}, | ||
"servicePrincipalProfile": { | ||
"clientId": "clientid" | ||
}, | ||
"nodeResourceGroup": "MC_rg1_clustername1_location1", | ||
"enableRBAC": false, | ||
"fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", | ||
"networkProfile": { | ||
"networkPlugin": "kubenet", | ||
"podCidr": "10.244.0.0/16", | ||
"serviceCidr": "10.0.0.0/16", | ||
"dnsServiceIP": "10.0.0.10", | ||
"dockerBridgeCidr": "172.17.0.1/16" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
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
Oops, something went wrong.