-
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.
re-apply the changes to making the count field optional to fix regres…
…sion when duplicating API versions
- Loading branch information
Showing
10 changed files
with
385 additions
and
40 deletions.
There are no files selected for viewing
73 changes: 73 additions & 0 deletions
73
...urce-manager/Microsoft.ContainerService/stable/2019-11-01/examples/AgentPools_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,73 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-11-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"enableAutoScaling": true, | ||
"minCount": 2, | ||
"maxCount": 2, | ||
"vmSize": "Standard_DS1_v2", | ||
"osType": "Linux", | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"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, | ||
"enableAutoScaling": true, | ||
"minCount": 2, | ||
"maxCount": 2, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"scaleSetEvictionPolicy": "Delete" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"orchestratorVersion": "1.9.6", | ||
"count": 3, | ||
"enableAutoScaling": true, | ||
"minCount": 2, | ||
"maxCount": 2, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"scaleSetEvictionPolicy": "Delete" | ||
} | ||
} | ||
} | ||
} | ||
} |
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
73 changes: 73 additions & 0 deletions
73
...urce-manager/Microsoft.ContainerService/stable/2020-01-01/examples/AgentPools_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,73 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"enableAutoScaling": true, | ||
"minCount": 2, | ||
"maxCount": 2, | ||
"vmSize": "Standard_DS1_v2", | ||
"osType": "Linux", | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"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, | ||
"enableAutoScaling": true, | ||
"minCount": 2, | ||
"maxCount": 2, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"scaleSetEvictionPolicy": "Delete" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"orchestratorVersion": "1.9.6", | ||
"count": 3, | ||
"enableAutoScaling": true, | ||
"minCount": 2, | ||
"maxCount": 2, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"scaleSetEvictionPolicy": "Delete" | ||
} | ||
} | ||
} | ||
} | ||
} |
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
73 changes: 73 additions & 0 deletions
73
...urce-manager/Microsoft.ContainerService/stable/2020-02-01/examples/AgentPools_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,73 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"enableAutoScaling": true, | ||
"minCount": 2, | ||
"maxCount": 2, | ||
"vmSize": "Standard_DS1_v2", | ||
"osType": "Linux", | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"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, | ||
"enableAutoScaling": true, | ||
"minCount": 2, | ||
"maxCount": 2, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"scaleSetEvictionPolicy": "Delete" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"orchestratorVersion": "1.9.6", | ||
"count": 3, | ||
"enableAutoScaling": true, | ||
"minCount": 2, | ||
"maxCount": 2, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"scaleSetEvictionPolicy": "Delete" | ||
} | ||
} | ||
} | ||
} | ||
} |
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
73 changes: 73 additions & 0 deletions
73
...urce-manager/Microsoft.ContainerService/stable/2020-03-01/examples/AgentPools_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,73 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"enableAutoScaling": true, | ||
"minCount": 2, | ||
"maxCount": 2, | ||
"vmSize": "Standard_DS1_v2", | ||
"osType": "Linux", | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"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, | ||
"enableAutoScaling": true, | ||
"minCount": 2, | ||
"maxCount": 2, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"scaleSetEvictionPolicy": "Delete" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"orchestratorVersion": "1.9.6", | ||
"count": 3, | ||
"enableAutoScaling": true, | ||
"minCount": 2, | ||
"maxCount": 2, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Low", | ||
"scaleSetEvictionPolicy": "Delete" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.