---
title: "Import Cluster"
method: POST
path: "/ocean/azure/np/cluster/aks/import"
tags: ["Ocean AKS"]
---

# Import Cluster

`POST /ocean/azure/np/cluster/aks/import`

## Request

- Base URL: `https://api.spotinst.io`
- URL: `https://api.spotinst.io/ocean/azure/np/cluster/aks/import`
- Auth: HTTP bearer

The Import Cluster API call returns a JSON formatted Ocean cluster specification for a given AKS cluster and import identifier.
The returned specification is ready to use in the [Ocean AKS Cluster Create](https://spec.dev.spot.io/#operation/oceanAKSClusterCreate) API call.

## Query parameters

- `resourceGroupName` string, required
- `aksClusterName` string, required

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` (unresolved $ref)

## Other responses

- `400`: Bad Request

## Changes

- **2026-08-20** `72813baf8d47`: 1 info
  - added the optional property `allOf[subschema #2]/response/items/items/cluster/virtualNodeGroupTemplate/nodePoolProperties/encryptionAtHost` to the response with the `200` status
- **2026-08-10** `a5e92e992535`: 1 info
  - added the optional property `allOf[subschema #2]/response/items/items/cluster/virtualNodeGroupTemplate/nodePoolProperties/localDnsProfile` to the response with the `200` status

[Operation history](https://skmtc.dev/spot/apis/spot-by-flexera-api/changes/ocean/azure/np/cluster/aks/import/post.md)

---

[API](https://skmtc.dev/spot/apis/spot-by-flexera-api.md) - [All operations](https://skmtc.dev/spot/apis/spot-by-flexera-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spot/apis/spot-by-flexera-api/revisions/f7e206fa6474?raw)
