-
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.
Review request for Microsoft.ContainerService to add version 2022-06-…
…02-preview (#19653) * Adds base for updating Microsoft.ContainerService from version preview/2022-05-02-preview to version 2022-06-02-preview * Updates readme * Updates API version in new specs and examples * update readmes (#19422) * Containerservice 2022 06 02 preview fleet (#19541) * add fleets and fleet members resource types * remove clusterLocation * wording * don't flatten hubprofile * extra comma * fix patch example * Fix violated rule R4041 for 2022-06-02-preview managedCluster swagger (#19582) * remove useless directive * fix R4041 * fix * add node restriction to swagger (#19587) * aks fleet list credentials api (#19559) * add fleet list credential api * tweaks * fix example filename * fix casing * add resourceId on hubProfile * drop the new field, keep it as internal field * fix duplicate shema error * different name for fleet credential results * use xms-identifier on the array items * prettier fi Co-authored-by: Stephane Erbrech <stephane.erbrech@gmail.com> * sterbrec - address fleet comments - Microsoft.ContainerService - 2022-06-02-preview (#19783) * address fleet comments * add example for nadditional status code * Add missing `x-ms-long-running-operation-options` for delete operations in fleet-related API (#19787) * add final-state-via * fix final state to location header Co-authored-by: Stéphane Erbrech <stephane.erbrech@gmail.com> Co-authored-by: lht6 <46062996+lht6@users.noreply.github.com> Co-authored-by: Haitao Chen <haitch@users.noreply.github.com>
- Loading branch information
1 parent
8612e52
commit 3b2a6bb
Showing
118 changed files
with
22,313 additions
and
102 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
...crosoft.ContainerService/preview/2022-06-02-preview/examples/AgentPoolsAssociate_CRG.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,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"capacityReservationGroupID": "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/CapacityReservationGroups/crg1" | ||
} | ||
} | ||
}, | ||
"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", | ||
"currentOrchestratorVersion": "1.9.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"capacityReservationGroupID": "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/CapacityReservationGroups/crg1" | ||
} | ||
} | ||
}, | ||
"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", | ||
"currentOrchestratorVersion": "1.9.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"capacityReservationGroupID": "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/CapacityReservationGroups/crg1" | ||
} | ||
} | ||
} | ||
} | ||
} |
124 changes: 124 additions & 0 deletions
124
...ntainerService/preview/2022-06-02-preview/examples/AgentPoolsCreate_CustomNodeConfig.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,124 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"kubeletConfig": { | ||
"cpuManagerPolicy": "static", | ||
"cpuCfsQuota": true, | ||
"cpuCfsQuotaPeriod": "200ms", | ||
"imageGcHighThreshold": 90, | ||
"imageGcLowThreshold": 70, | ||
"topologyManagerPolicy": "best-effort", | ||
"allowedUnsafeSysctls": [ | ||
"kernel.msg*", | ||
"net.core.somaxconn" | ||
], | ||
"failSwapOn": false | ||
}, | ||
"linuxOSConfig": { | ||
"sysctls": { | ||
"netCoreWmemDefault": 12345, | ||
"netIpv4TcpTwReuse": true, | ||
"netIpv4IpLocalPortRange": "20000 60000", | ||
"kernelThreadsMax": 99999 | ||
}, | ||
"transparentHugePageEnabled": "always", | ||
"transparentHugePageDefrag": "madvise", | ||
"swapFileSizeMB": 1500 | ||
} | ||
} | ||
} | ||
}, | ||
"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.17.8", | ||
"currentOrchestratorVersion": "1.17.8", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"kubeletConfig": { | ||
"cpuManagerPolicy": "static", | ||
"cpuCfsQuota": true, | ||
"cpuCfsQuotaPeriod": "200ms", | ||
"imageGcHighThreshold": 90, | ||
"imageGcLowThreshold": 70, | ||
"topologyManagerPolicy": "best-effort", | ||
"allowedUnsafeSysctls": [ | ||
"kernel.msg*", | ||
"net.core.somaxconn" | ||
], | ||
"failSwapOn": false | ||
}, | ||
"linuxOSConfig": { | ||
"sysctls": { | ||
"netCoreWmemDefault": 12345, | ||
"netIpv4TcpTwReuse": true, | ||
"netIpv4IpLocalPortRange": "20000 60000", | ||
"kernelThreadsMax": 99999 | ||
}, | ||
"transparentHugePageEnabled": "always", | ||
"transparentHugePageDefrag": "madvise", | ||
"swapFileSizeMB": 1500 | ||
} | ||
} | ||
} | ||
}, | ||
"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.17.8", | ||
"currentOrchestratorVersion": "1.17.8", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"kubeletConfig": { | ||
"cpuManagerPolicy": "static", | ||
"cpuCfsQuota": true, | ||
"cpuCfsQuotaPeriod": "200ms", | ||
"imageGcHighThreshold": 90, | ||
"imageGcLowThreshold": 70, | ||
"topologyManagerPolicy": "best-effort", | ||
"allowedUnsafeSysctls": [ | ||
"kernel.msg*", | ||
"net.core.somaxconn" | ||
], | ||
"failSwapOn": false, | ||
"podMaxPids": 100 | ||
}, | ||
"linuxOSConfig": { | ||
"sysctls": { | ||
"netCoreWmemDefault": 65536, | ||
"netIpv4TcpTwReuse": true, | ||
"netIpv4IpLocalPortRange": "20000 60000", | ||
"kernelThreadsMax": 99999 | ||
}, | ||
"transparentHugePageEnabled": "always", | ||
"transparentHugePageDefrag": "madvise", | ||
"swapFileSizeMB": 1500 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...ainerService/preview/2022-06-02-preview/examples/AgentPoolsCreate_DedicatedHostGroup.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,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"hostGroupID": "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1" | ||
} | ||
} | ||
}, | ||
"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.19.6", | ||
"currentOrchestratorVersion": "1.19.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"hostGroupID": "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1" | ||
} | ||
} | ||
}, | ||
"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.19.6", | ||
"currentOrchestratorVersion": "1.19.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"hostGroupID": "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1" | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...inerService/preview/2022-06-02-preview/examples/AgentPoolsCreate_EnableCustomCATrust.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,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"enableCustomCATrust": true | ||
} | ||
} | ||
}, | ||
"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.19.6", | ||
"currentOrchestratorVersion": "1.19.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"enableCustomCATrust": true | ||
} | ||
} | ||
}, | ||
"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.19.6", | ||
"currentOrchestratorVersion": "1.19.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"enableCustomCATrust": true | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...rService/preview/2022-06-02-preview/examples/AgentPoolsCreate_EnableEncryptionAtHost.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,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"enableEncryptionAtHost": true | ||
} | ||
} | ||
}, | ||
"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.17.13", | ||
"currentOrchestratorVersion": "1.17.13", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"enableEncryptionAtHost": true | ||
} | ||
} | ||
}, | ||
"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.17.13", | ||
"currentOrchestratorVersion": "1.17.13", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"enableEncryptionAtHost": true | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...oft.ContainerService/preview/2022-06-02-preview/examples/AgentPoolsCreate_EnableFIPS.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,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"enableFIPS": true | ||
} | ||
} | ||
}, | ||
"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.19.6", | ||
"currentOrchestratorVersion": "1.19.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"enableFIPS": true | ||
} | ||
} | ||
}, | ||
"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.19.6", | ||
"currentOrchestratorVersion": "1.19.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"enableFIPS": true | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.