Azure Kubernetes Service Agent Pools API

The Agent Pools API from Azure Kubernetes Service — 7 operation(s) for agent pools.

GitHub OpenAPI
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 · Agent pools list #
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 · Agent pools get #
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 · Agent pools create or update #
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 · Agent pools delete #
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}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/abort Cancel the running operation on a node pool · Aborts last operation running on 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 · Agent pools delete machines #
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}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion Upgrade a node pool to the latest node image · Upgrades the node image version of an agent pool to the latest #
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.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default Check available upgrades for a node pool · Agent pools get upgrade profile #
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}/availableAgentPoolVersions Gets a list of supported Kubernetes versions for the specified agent pool #

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"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: ContainerServiceClient Agent Pools API
  version: '2026-09-01'
  description: The Container Service Client.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:


# --- truncated at 32 KB (84 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-azure-kubernetes-service/openapi/microsoft-azure-kubernetes-service-agent-pools-api-openapi.yml