Skip to content

Commit b005d51

Browse files
Xiaofang Zhangveronicagg
Xiaofang Zhang
authored andcommitted
Dev containerservice microsoft.container service 2019 02 01 (#5406)
* copy 2018-08-01-preview folder to 2019-02-01 without changes * implementing agentpool api in 2019-02-01 * 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 * fixing minor api-version errors * fixing the agentpool list operation paths * [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 * fixing the agentpool example * add default response * including name validation
1 parent 978c77a commit b005d51

File tree

6 files changed

+432
-3
lines changed

6 files changed

+432
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-02-01",
4+
"subscriptionId": "subid1",
5+
"resourceGroupName": "rg1",
6+
"managedClusterName": "clustername1",
7+
"agentPoolName":"agentpool1",
8+
"parameters": {
9+
"properties": {
10+
"orchestratorVersion": "",
11+
"count": 3,
12+
"vmSize": "Standard_DS1_v2",
13+
"osType": "Linux"
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
21+
"type": "Microsoft.ContainerService/managedClusters/agentPools",
22+
"name": "agentpool1",
23+
"properties": {
24+
"provisioningState": "Succeeded",
25+
"orchestratorVersion": "1.9.6",
26+
"count": 3,
27+
"vmSize": "Standard_DS1_v2",
28+
"maxPods": 110,
29+
"osType": "Linux"
30+
}
31+
}
32+
},
33+
"201": {
34+
"body": {
35+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
36+
"type": "Microsoft.ContainerService/managedClusters/agentPools",
37+
"name": "agentpool1",
38+
"properties": {
39+
"provisioningState": "Creating",
40+
"orchestratorVersion": "1.9.6",
41+
"count": 3,
42+
"vmSize": "Standard_DS1_v2",
43+
"maxPods": 110,
44+
"osType": "Linux"
45+
}
46+
}
47+
}
48+
}
49+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-02-01",
4+
"subscriptionId": "subid1",
5+
"resourceGroupName": "rg1",
6+
"managedClusterName": "clustername1",
7+
"agentPoolName":"agentpool1"
8+
},
9+
"responses": {
10+
"202": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-02-01",
4+
"subscriptionId": "subid1",
5+
"resourceGroupName": "rg1",
6+
"managedClusterName": "clustername1",
7+
"agentPoolName":"agentpool1"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
13+
"name": "agentpool1",
14+
"properties": {
15+
"provisioningState": "Succeeded",
16+
"count": 3,
17+
"vmSize": "Standard_DS1_v2",
18+
"maxPods": 110,
19+
"osType": "Linux",
20+
"orchestratorVersion": "1.9.6"
21+
}
22+
}
23+
}
24+
}
25+
}
26+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-02-01",
4+
"subscriptionId": "subid1",
5+
"resourceGroupName": "rg1",
6+
"managedClusterName": "clustername1"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
14+
"name": "agentpool1",
15+
"properties": {
16+
"provisioningState": "Succeeded",
17+
"count": 3,
18+
"vmSize": "Standard_DS1_v2",
19+
"maxPods": 110,
20+
"osType": "Linux",
21+
"orchestratorVersion": "1.9.6"
22+
}
23+
}
24+
]
25+
}
26+
}
27+
}
28+
}
29+

0 commit comments

Comments
 (0)