---
title: "Gets a list of container services in the specified subscription."
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/containerServices"
tags: ["ContainerServices"]
---

# Gets a list of container services in the specified subscription.

`GET /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/containerServices`

Gets a list of container services in the specified subscription. The operation returns properties of each container service including state, orchestrator, number of masters and agents, and FQDNs of masters and agents.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK

- ContainerServiceListResult — The response from the List Container Services operation.
  - `value` ContainerService[] — the list of container services.
    - `id` string — Resource Id
    - `name` string — Resource name
    - `type` string — Resource type
    - `location` string, required — Resource location
    - `tags` object — Resource tags
  - `nextLink` string — The URL to get the next set of container service results.

---

[API](https://skmtc.net/azure/apis/compute-microsoft-containerservice-containerservice.md) · [All operations](https://skmtc.net/azure/apis/compute-microsoft-containerservice-containerservice/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/compute-microsoft-containerservice-containerservice/revisions/0e562f3ba3f9/schema)
