# Azure AKS integration

AKS operations cover managed clusters, node pools, maintenance, upgrade metadata, private endpoints and trusted access. Version, power/provisioning state and node count are useful direct outputs.

Canonical URL: https://opennodeflow.dev/wiki/integration-azure-aks/
JSON reference: https://opennodeflow.dev/wiki/integration-azure-aks/index.json
Source snapshot: 2026-10-23

Azure AKS contributes **15 operations** in the current source catalog. Its implementation family belongs to the **Azure** pack. Add that pack to the chosen workspace before authoring with its definitions.

## Capabilities and boundaries

AKS operations cover managed clusters, node pools, maintenance, upgrade metadata, private endpoints and trusted access. Version, power/provisioning state and node count are useful direct outputs.

Lifecycle and node-image upgrade operations are deliberate management actions. They do not obtain a kubeconfig or authorize Kubernetes workloads. Cluster ARM permissions and in-cluster RBAC are separate.

## Configure the connection

Use an authorized bearer credential stored under the secret name `AZURE_ARM_ACCESS_TOKEN` or a deliberate override.

The source default base origin is `https://management.azure.com`. Domains under example.com/example.net are placeholders for your own API, not running public services. Use the exact provider API origin and trusted certificate chain. A connection profile can supply credentials and repeated target defaults; profile credentials take precedence over node secret-name overrides. These developer nodes do not obtain tokens or refresh grants.

Read the chosen operation's permission entry before granting the account access. Least required target permissions are preferable to a broad administrator credential.

## First bounded read

Start with **Azure AKS List AKS Clusters**, which is declared as a read. Its synthetic argument fixture is:

```json
{
  "subscriptionId": "00000000-0000-4000-8000-000000000001"
}
```

Replace the synthetic resource identifiers with an explicitly authorized target before any real read. An example is not an installed workflow and contains no credential values.

Set `maxPages:1` initially and inspect the result, `status`, selected direct fields and any `request_id`. Lists return `count`, `has_more` and optional `continuation`; not every provider resource is paginated. Keep the same resource/query scope when resuming. Optional outputs remain absent when the provider does not supply them. Wire only the fields present on the selected branch.

## Available operations

| Operation | Effect | API route |
| --- | --- | --- |
| [Azure AKS List AKS Clusters](/wiki/reference-dev-azure-aks-clusters-list/) | read | `GET /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters` |
| [Azure AKS List Resource Group AKS Clusters](/wiki/reference-dev-azure-aks-group-clusters-list/) | read | `GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters` |
| [Azure AKS List AKS Node Pools](/wiki/reference-dev-azure-aks-node-pools-list/) | read | `GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools` |
| [Azure AKS List AKS Maintenance Configurations](/wiki/reference-dev-azure-aks-maintenance-list/) | read | `GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations` |
| [Azure AKS List AKS Private Endpoint Connections](/wiki/reference-dev-azure-aks-private-endpoints-list/) | read | `GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections` |
| [Azure AKS List AKS Trusted Access Role Bindings](/wiki/reference-dev-azure-aks-trusted-access-list/) | read | `GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings` |
| [Azure AKS Get AKS Cluster](/wiki/reference-dev-azure-aks-cluster-get/) | read | `GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}` |
| [Azure AKS Get AKS Node Pool](/wiki/reference-dev-azure-aks-node-pool-get/) | read | `GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}` |
| [Azure AKS Get AKS Maintenance Configuration](/wiki/reference-dev-azure-aks-maintenance-get/) | read | `GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}` |
| [Azure AKS Get AKS Upgrade Profile](/wiki/reference-dev-azure-aks-cluster-upgrades-get/) | read | `GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default` |
| [Azure AKS Get AKS Node Pool Upgrade Profile](/wiki/reference-dev-azure-aks-node-pool-upgrades-get/) | read | `GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default` |
| [Azure AKS Update AKS Cluster Tags](/wiki/reference-dev-azure-aks-cluster-tags-update/) | write | `PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}` |
| [Azure AKS Start AKS Cluster](/wiki/reference-dev-azure-aks-cluster-start/) | write | `POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start` |
| [Azure AKS Stop AKS Cluster](/wiki/reference-dev-azure-aks-cluster-stop/) | write | `POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop` |
| [Azure AKS Upgrade AKS Node Pool Image](/wiki/reference-dev-azure-aks-node-pool-image-upgrade/) | write | `POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion` |

Each linked reference contains exact source arguments, named socket contracts, configuration schema, response shape and synthetic data. Source keys must be resolved to the installation's actual definition/version before graph editing.

## Bounds, changes and recovery

The shared developer adapter defaults to a 15-second request timeout, a 1 MiB response bound, one page and 1,000 accumulated items. Configurable maxima are 120 seconds, 3,000,000 response bytes, 20 pages and 5,000 items. Choose smaller limits where appropriate; an excessive response fails rather than becoming a silently complete list.

Read HTTP status and provider-specific success markers. Rejected authentication, permission failures and invalid requests need configuration correction. Rate limiting needs deliberate later scheduling. Same-origin/API-root continuation checks prevent sending credentials to an unrelated next link.

Write/delete operations require `confirmWrites:true` and ONF runtime `$retries:0`. Inspect the target and body before running. A timeout or lost response can follow a successful external action; reconcile the provider resource before repeating. HTTP 202 records acceptance, not completed work.

The reference is source-derived. Synthetic fixtures and isolated worker proof do not establish your account permissions, API availability or live delivery. See [shared setup](/wiki/integration-setup/) and [pack behavior](/wiki/library-packs/).

## Provider contract references

- [Provider reference 1](https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-10-01/managedClusters.json)

---

## Documentation provenance

- `../OpenNodeFlow-Library/docs/DEVELOPER-PACKS.md`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/CONTRACT.md`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/cloud-research.md`

This page describes maintained source, not a live inventory or an authorization to perform actions.
