Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"parameters": {
"api-version": "2025-04-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg1",
"resourceName": "clustername1",
"agentPoolName": "agentpool1",
"parameters": {
"properties": {
"orchestratorVersion": "1.9.6",
"osType": "Linux",
"tags": {
"name1": "val1"
},
"nodeLabels": {
"key1": "val1"
},
"nodeTaints": [
"Key1=Value1:NoSchedule"
],
"type": "VirtualMachines",
"virtualMachinesProfile": {
"scale": {
"manual": [
{
"size": "Standard_D2_v2",
"count": 3
},
{
"size": "Standard_D2_v3",
"count": 2
}
]
}
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/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",
"maxPods": 110,
"osType": "Linux",
"tags": {
"name1": "val1"
},
"nodeLabels": {
"key1": "val1"
},
"nodeTaints": [
"Key1=Value1:NoSchedule"
],
"type": "VirtualMachines",
"virtualMachinesProfile": {
"scale": {
"manual": [
{
"size": "Standard_D2_v2",
"count": 3
},
{
"size": "Standard_D2_v3",
"count": 2
}
]
}
},
"virtualMachineNodesStatus": [
{
"size": "Standard_D2_v2",
"count": 3
},
{
"size": "Standard_D2_v3",
"count": 2
}
],
"nodeImageVersion": "AKSUbuntu-1804gen2containerd-2021.09.11"
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/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",
"maxPods": 110,
"osType": "Linux",
"tags": {
"name1": "val1"
},
"nodeLabels": {
"key1": "val1"
},
"nodeTaints": [
"Key1=Value1:NoSchedule"
],
"type": "VirtualMachines",
"virtualMachinesProfile": {
"scale": {
"manual": [
{
"size": "Standard_D2_v2",
"count": 3
},
{
"size": "Standard_D2_v3",
"count": 2
}
]
}
},
"virtualMachineNodesStatus": [
{
"size": "Standard_D2_v2",
"count": 3
},
{
"size": "Standard_D2_v3",
"count": 2
}
],
"nodeImageVersion": "AKSUbuntu-1804gen2containerd-2021.09.11"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check notice on line 1 in specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2025-04-01/managedClusters.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Brownfield services will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.
"swagger": "2.0",
"info": {
"title": "ContainerServiceClient",
Expand Down Expand Up @@ -1225,6 +1225,9 @@
},
"Create Agent Pool with Dedicated Host Group": {
"$ref": "./examples/AgentPoolsCreate_DedicatedHostGroup.json"
},
"Create Agent Pool with VirtualMachines pool type": {
"$ref": "./examples/AgentPoolsCreate_TypeVirtualMachines.json"
}
}
},
Expand Down Expand Up @@ -3259,6 +3262,68 @@
"clientId"
]
},
"VirtualMachinesProfile": {
"type": "object",
"properties": {
"scale": {
"$ref": "#/definitions/ScaleProfile",
"description": "Specifications on how to scale a VirtualMachines agent pool."
}
},
"description": "Specifications on VirtualMachines agent pool."
},
"ScaleProfile": {
"type": "object",
"properties": {
"manual": {
"type": "array",
"items": {
"$ref": "#/definitions/ManualScaleProfile"
},
"x-ms-identifiers": [],
"description": "Specifications on how to scale the VirtualMachines agent pool to a fixed size."
}
},
"description": "Specifications on how to scale a VirtualMachines agent pool."
},
"ManualScaleProfile": {
"type": "object",
"properties": {
"size": {
"type": "string",
"description": "VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'."
},
"count": {
"type": "integer",
"format": "int32",
"description": "Number of nodes."
}
},
"description": "Specifications on number of machines."
},
"VirtualMachineNodesStatus": {
"type": "array",
"items": {
"$ref": "#/definitions/VirtualMachineNodes"
},
"x-ms-identifiers": [],
"description": "The status of nodes in a VirtualMachines agent pool."
},
"VirtualMachineNodes": {
"type": "object",
"properties": {
"size": {
"type": "string",
"description": "The VM size of the agents used to host this group of nodes."
},
"count": {
"type": "integer",
"format": "int32",
"description": "Number of nodes."
}
},
"description": "Current status on a group of nodes of the same vm size."
},
"ManagedClusterAgentPoolProfileProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -3516,6 +3581,12 @@
"gatewayProfile": {
"$ref": "#/definitions/AgentPoolGatewayProfile",
"description": "Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway."
},
"virtualMachinesProfile": {
"$ref": "#/definitions/VirtualMachinesProfile"
},
"virtualMachineNodesStatus": {
"$ref": "#/definitions/VirtualMachineNodesStatus"
}
},
"description": "Properties for the container service agent pool profile."
Expand Down Expand Up @@ -3641,7 +3712,8 @@
"type": "string",
"enum": [
"VirtualMachineScaleSets",
"AvailabilitySet"
"AvailabilitySet",
"VirtualMachines"
],
"x-ms-enum": {
"name": "AgentPoolType",
Expand All @@ -3654,6 +3726,10 @@
{
"value": "AvailabilitySet",
"description": "Use of this is strongly discouraged."
},
{
"value": "VirtualMachines",
"description": "Create an Agent Pool backed by a Single Instance VM orchestration mode."
}
]
},
Expand Down
Loading