-
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.
[Hub Generated] Review request for Microsoft.ContainerService to add …
…version 2019-02-01 (#5350) * Adds base for updating Microsoft.ContainerService from version preview/2018-08-01-preview to version 2019-02-01 * Updates readme * Updates API version in new specs and examples * [AKS] add availabilityZones to agent pool profile (#5120) * including orchestratorVersion and provisioning state for agent pool (#5156) * including orchestratorVersion and provisioning state for agent pool * fixing the readme.go.md * including enablePodSecurityPoliy properties for managedcluster and updating examples * fixing the example for enablePodSecurityPolicy * including apiServerAuthorizedIPRanges (#5286) * including apiServerAuthorizedIPRanges * support azure network policy * mark the new features as PREVIEW in description (#5310) * mark the new features as PREVIEW * mark vmss as required for az
- Loading branch information
1 parent
88eb4ce
commit 33d17e2
Showing
15 changed files
with
2,307 additions
and
3 deletions.
There are no files selected for viewing
150 changes: 150 additions & 0 deletions
150
...r/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersCreate_Update.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,150 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-02-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"parameters": { | ||
"location": "location1", | ||
"tags": { | ||
"tier": "production", | ||
"archv2": "" | ||
}, | ||
"properties": { | ||
"kubernetesVersion": "", | ||
"dnsPrefix": "dnsprefix1", | ||
"agentPoolProfiles": [ | ||
{ | ||
"name": "nodepool1", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"osType": "Linux" | ||
} | ||
], | ||
"linuxProfile": { | ||
"adminUsername": "azureuser", | ||
"ssh": { | ||
"publicKeys": [ | ||
{ | ||
"keyData": "keydata" | ||
} | ||
] | ||
} | ||
}, | ||
"servicePrincipalProfile": { | ||
"clientId": "clientid", | ||
"secret": "secret" | ||
}, | ||
"addonProfiles": { | ||
}, | ||
"enableRBAC": true, | ||
"enablePodSecurityPolicy": true | ||
} | ||
} | ||
}, | ||
"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", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"provisioningState": "Succeeded", | ||
"orchestratorVersion": "1.9.6" | ||
} | ||
], | ||
"linuxProfile": { | ||
"adminUsername": "azureuser", | ||
"ssh": { | ||
"publicKeys": [ | ||
{ | ||
"keyData": "keydata" | ||
} | ||
] | ||
} | ||
}, | ||
"servicePrincipalProfile": { | ||
"clientId": "clientid" | ||
}, | ||
"nodeResourceGroup": "MC_rg1_clustername1_location1", | ||
"enableRBAC": true, | ||
"enablePodSecurityPolicy": true, | ||
"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" | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"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": "Creating", | ||
"kubernetesVersion": "1.9.6", | ||
"dnsPrefix": "dnsprefix1", | ||
"agentPoolProfiles": [ | ||
{ | ||
"name": "nodepool1", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"provisioningState": "Creating", | ||
"orchestratorVersion": "1.9.6" | ||
} | ||
], | ||
"linuxProfile": { | ||
"adminUsername": "azureuser", | ||
"ssh": { | ||
"publicKeys": [ | ||
{ | ||
"keyData": "keydata" | ||
} | ||
] | ||
} | ||
}, | ||
"servicePrincipalProfile": { | ||
"clientId": "clientid" | ||
}, | ||
"nodeResourceGroup": "MC_rg1_clustername1_location1", | ||
"enableRBAC": true, | ||
"enablePodSecurityPolicy": true, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersDelete.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,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-02-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1" | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
...rce-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersGet.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,66 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-02-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1" | ||
}, | ||
"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", | ||
"fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", | ||
"agentPoolProfiles": [ | ||
{ | ||
"name": "nodepool1", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"provisioningState": "Succeeded", | ||
"orchestratorVersion": "1.9.6", | ||
"availabilityZones": [ | ||
"1", | ||
"2", | ||
"3" | ||
] | ||
} | ||
], | ||
"linuxProfile": { | ||
"adminUsername": "azureuser", | ||
"ssh": { | ||
"publicKeys": [ | ||
{ | ||
"keyData": "keydata" | ||
} | ||
] | ||
} | ||
}, | ||
"servicePrincipalProfile": { | ||
"clientId": "clientid" | ||
}, | ||
"nodeResourceGroup": "MC_rg1_clustername1_location1", | ||
"enableRBAC": false, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...icrosoft.ContainerService/stable/2019-02-01/examples/ManagedClustersGetAccessProfile.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,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-02-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"roleName": "clusterUser" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/accessProfiles/clusterUser", | ||
"location": "location1", | ||
"name": "clusterUser", | ||
"properties": { | ||
"kubeConfig": "kubeConfig1" | ||
}, | ||
"type": "Microsoft.ContainerService/ManagedClusters/AccessProfiles" | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...crosoft.ContainerService/stable/2019-02-01/examples/ManagedClustersGetUpgradeProfile.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,37 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-02-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/upgradeprofiles/default", | ||
"name": "default", | ||
"properties": { | ||
"agentPoolProfiles": [ | ||
{ | ||
"kubernetesVersion": "1.7.7", | ||
"name": "agent", | ||
"osType": "Linux", | ||
"upgrades": [ | ||
"1.8.1" | ||
] | ||
} | ||
], | ||
"controlPlaneProfile": { | ||
"kubernetesVersion": "1.7.7", | ||
"name": "master", | ||
"osType": "Linux", | ||
"upgrades": [ | ||
"1.8.1" | ||
] | ||
} | ||
}, | ||
"type": "Microsoft.ContainerService/managedClusters/upgradeprofiles" | ||
} | ||
} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...ce-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersList.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,63 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-02-01", | ||
"subscriptionId": "subid1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid1/providers/Microsoft.ContainerService/managedClusters", | ||
"location": "location1", | ||
"name": "clustername1", | ||
"tags": { | ||
"archv2": "", | ||
"tier": "production" | ||
}, | ||
"type": "Microsoft.ContainerService/ManagedClusters", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"kubernetesVersion": "1.9.6", | ||
"dnsPrefix": "dnsprefix1", | ||
"fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", | ||
"agentPoolProfiles": [ | ||
{ | ||
"name": "nodepool1", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"provisioningState": "Succeeded", | ||
"orchestratorVersion": "1.9.6" | ||
} | ||
], | ||
"linuxProfile": { | ||
"adminUsername": "azureuser", | ||
"ssh": { | ||
"publicKeys": [ | ||
{ | ||
"keyData": "keydata" | ||
} | ||
] | ||
} | ||
}, | ||
"servicePrincipalProfile": { | ||
"clientId": "clientid" | ||
}, | ||
"nodeResourceGroup": "MC_rg1_clustername1_location1", | ||
"enableRBAC": false, | ||
"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" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.