-
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.
Publish Microsoft.ContainerService api-version 2020-03-01 (#8756)
* Adds base for updating Microsoft.ContainerService from version stable/2020-02-01 to version 2020-03-01 * Updates readme * Updates API version in new specs and examples * added sku to managed cluster api (#8426) * added sku to managed cluster api * move managedcluster sku data model location * Generate sdk (#8512) * Adds base for updating Microsoft.ContainerService from version stable/2019-02-01 to version 2019-04-01 * Updates readme * Updates API version in new specs and examples * Adding windowsProfile and maxAgentPools property in the new 2019-04-01 api version (#5465) * add maxAgentPools and windowsprofile properties * fixing the sdk generation error * adding load balancer sku property (#5556) * Add support VMSS agent nodes with public IP. (#5748) * Add identity property in managedCluster definition and add an example (#5709) * Add identity property in managedCluster definition and add an example * Fix typo * readmefor generating sdks * remove weird file Co-authored-by: Xiaofang Zhang <[email protected]> Co-authored-by: Jun Sun <[email protected]> Co-authored-by: Tongyao Si <[email protected]> * Add managed AAD section (#8429) * add agentpool mode property (#8534) * add balance nodegroups flag (#8571) Co-authored-by: mslonli <[email protected]> Co-authored-by: Qingqing <[email protected]> Co-authored-by: Jun Sun <[email protected]> Co-authored-by: Tongyao Si <[email protected]> Co-authored-by: Dong Liu <[email protected]> Co-authored-by: Marwan Ahmed <[email protected]>
- Loading branch information
1 parent
8bf7252
commit 08c4662
Showing
24 changed files
with
3,638 additions
and
2 deletions.
There are no files selected for viewing
84 changes: 84 additions & 0 deletions
84
...-manager/Microsoft.ContainerService/stable/2020-03-01/examples/AgentPoolsCreate_Spot.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,84 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"osType": "Linux", | ||
"tags": { | ||
"name1": "val1" | ||
}, | ||
"nodeLabels": { | ||
"key1": "val1" | ||
}, | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Spot", | ||
"scaleSetEvictionPolicy": "Delete" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"orchestratorVersion": "1.9.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"tags": { | ||
"name1": "val1" | ||
}, | ||
"nodeLabels": { | ||
"key1": "val1" | ||
}, | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Spot", | ||
"scaleSetEvictionPolicy": "Delete", | ||
"spotMaxPrice": -1 | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"orchestratorVersion": "1.9.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"tags": { | ||
"name1": "val1" | ||
}, | ||
"nodeLabels": { | ||
"key1": "val1" | ||
}, | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Spot", | ||
"scaleSetEvictionPolicy": "Delete", | ||
"spotMaxPrice": -1 | ||
} | ||
} | ||
} | ||
} | ||
} |
85 changes: 85 additions & 0 deletions
85
...anager/Microsoft.ContainerService/stable/2020-03-01/examples/AgentPoolsCreate_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,85 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"osType": "Linux", | ||
"tags": { | ||
"name1": "val1" | ||
}, | ||
"nodeLabels": { | ||
"key1": "val1" | ||
}, | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"scaleSetEvictionPolicy": "Delete", | ||
"mode": "User" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"orchestratorVersion": "1.9.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"tags": { | ||
"name1": "val1" | ||
}, | ||
"nodeLabels": { | ||
"key1": "val1" | ||
}, | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"scaleSetEvictionPolicy": "Delete", | ||
"mode": "User" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"orchestratorVersion": "1.9.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"tags": { | ||
"name1": "val1" | ||
}, | ||
"nodeLabels": { | ||
"key1": "val1" | ||
}, | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"scaleSetEvictionPolicy": "Delete", | ||
"mode": "User" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ource-manager/Microsoft.ContainerService/stable/2020-03-01/examples/AgentPoolsDelete.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,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1" | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...resource-manager/Microsoft.ContainerService/stable/2020-03-01/examples/AgentPoolsGet.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": "2020-03-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"orchestratorVersion": "1.9.6" | ||
} | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
....ContainerService/stable/2020-03-01/examples/AgentPoolsGetAgentPoolAvailableVersions.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,32 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/availableagentpoolversions", | ||
"name": "default", | ||
"properties": { | ||
"agentPoolVersions": [ | ||
{ | ||
"kubernetesVersion": "1.12.7" | ||
}, | ||
{ | ||
"kubernetesVersion": "1.12.8" | ||
}, | ||
{ | ||
"default": true, | ||
"kubernetesVersion": "1.13.5", | ||
"isPreview": true | ||
} | ||
] | ||
}, | ||
"type": "Microsoft.ContainerService/managedClusters/availableAgentpoolVersions" | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...er/Microsoft.ContainerService/stable/2020-03-01/examples/AgentPoolsGetUpgradeProfile.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,27 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1/upgradeprofiles/default", | ||
"name": "default", | ||
"properties": { | ||
"kubernetesVersion": "1.12.8", | ||
"osType": "Linux", | ||
"upgrades": [ | ||
{ | ||
"kubernetesVersion": "1.13.5" | ||
} | ||
] | ||
}, | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools/upgradeProfiles" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...esource-manager/Microsoft.ContainerService/stable/2020-03-01/examples/AgentPoolsList.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": "2020-03-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"orchestratorVersion": "1.9.6" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.