Azure Kubernetes Service Agent Pools API

Operations for managing agent pools (node pools) within AKS clusters

Business capability
IT Infrastructure Management BC-600.50

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools List node pools in an AKS cluster · Azure Kubernetes Service List Agent Pools #
Ask an LLM
“What node pools does my AKS cluster have?”
“Can I see all agent pools attached to one managed cluster at once?”
Tell an agent
List the agent pools in AKS cluster {resourceName} in resource group {resourceGroupName}.
Show every node pool of cluster {resourceName} in subscription {subscriptionId}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName} Get details of one node pool · Azure Kubernetes Service Get an Agent Pool #
Ask an LLM
“How is a specific AKS node pool configured?”
“Where can I check the VM size and node count of one agent pool?”
Tell an agent
Get agent pool {agentPoolName} of AKS cluster {resourceName}.
Show settings of node pool {agentPoolName} in cluster {resourceName}, subscription {subscriptionId}, group {resourceGroupName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName} Add or reconfigure a node pool · Azure Kubernetes Service Create or Update an Agent Pool #
Ask an LLM
“How do I add a new node pool to an existing AKS cluster?”
“Can I scale or change the settings of a node pool that already exists?”
Tell an agent
Create agent pool {agentPoolName} in AKS cluster {resourceName} with properties {properties}.
Update node pool {agentPoolName} of cluster {resourceName} in subscription {subscriptionId}, group {resourceGroupName}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName} Delete a node pool from an AKS cluster · Azure Kubernetes Service Delete an Agent Pool #
Ask an LLM
“How do I remove an entire node pool from my cluster?”
“What is the way to get rid of an agent pool I no longer use?”
Tell an agent destructive · confirm first
Delete agent pool {agentPoolName} from AKS cluster {resourceName}.
Remove the whole node pool {agentPoolName} in cluster {resourceName}, subscription {subscriptionId}, group {resourceGroupName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default Check available upgrades for a node pool · Azure Kubernetes Service Get the Upgrade Profile for an Agent Pool #
Ask an LLM
“Is there an upgrade available for one of my AKS node pools?”
“What does the upgrade profile of a single agent pool show?”
Tell an agent
Get the upgrade profile for agent pool {agentPoolName} in cluster {resourceName}.
Show upgrade options for node pool {agentPoolName} of cluster {resourceName} in subscription {subscriptionId}, group {resourceGroupName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/availableAgentPoolVersions List supported Kubernetes versions for a node pool · Azure Kubernetes Service Get Available Agent Pool Versions #
Ask an LLM
“Which Kubernetes versions are supported for a given agent pool?”
“Can I see the full list of versions a node pool is allowed to run?”
Tell an agent
List the supported Kubernetes versions for agent pool {agentPoolName} in cluster {resourceName}.
Show available versions for pool {agentPoolName} of cluster {resourceName} in subscription {subscriptionId}, group {resourceGroupName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion Upgrade a node pool to the latest node image · Azure Kubernetes Service Upgrade Node Image Version #
Ask an LLM
“How do I patch my AKS nodes to the newest OS node image?”
“Can I refresh one node pool's image without changing its Kubernetes version?”
Tell an agent
Upgrade the node image of agent pool {agentPoolName} in cluster {resourceName} to the latest.
Roll node pool {agentPoolName} of cluster {resourceName} (subscription {subscriptionId}, group {resourceGroupName}) onto the newest image.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/abort Cancel the running operation on a node pool · Azure Kubernetes Service Abort Latest Operation on an Agent Pool #
Ask an LLM
“Can I stop a node pool upgrade or scale operation that is still running?”
“What is the way to abort an in-flight change on just one agent pool?”
Tell an agent destructive · confirm first
Abort the operation currently running on agent pool {agentPoolName} in cluster {resourceName}.
Cancel the in-progress change on pool {agentPoolName} of cluster {resourceName} in subscription {subscriptionId}, group {resourceGroupName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/deleteMachines Delete specific machines from a node pool · Azure Kubernetes Service Delete Specific Machines in an Agent Pool #
Ask an LLM
“Can I remove individual bad nodes from a pool instead of the whole pool?”
“Which machines get deleted when I target specific names in an agent pool?”
Tell an agent destructive · confirm first
Delete machines {machineNames} from agent pool {agentPoolName} in cluster {resourceName}.
Remove only nodes {machineNames} from pool {agentPoolName} of cluster {resourceName}, subscription {subscriptionId}, group {resourceGroupName}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure-kubernetes-service:microsoft-azure-kubernetes-service-agent-pools-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-kubernetes-service-agent-pools-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Kubernetes Service REST Agent Pools API
  description: REST API for managing Azure Kubernetes Service (AKS) resources including managed clusters, agent pools, maintenance configurations, snapshots, private endpoint connections, and trusted access role bindings. AKS simplifies deploying a managed Kubernetes cluster in Azure by offloading operational overhead such as health monitoring and maintenance.
  version: '2025-10-01'
  contact:
    name: Microsoft Azure Support
    url: https://azure.microsoft.com/en-us/support/options/
  license:
    name: Microsoft API License
    url: https://azure.microsoft.com/en-us/support/legal/
  x-apisguru-categories:
  - cloud
  - containers
  - kubernetes
  x-logo:
    url: https://azure.microsoft.com/images/aks-icon.png
servers:
- url: https://management.azure.com
  description: Azure Resource Manager
security:
- azure_auth:
  - user_impersonation
tags:


# --- truncated at 32 KB (43 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure-kubernetes-service/refs/heads/main/openapi/microsoft-azure-kubernetes-service-agent-pools-api-openapi.yml