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

# Gets a list of container services in the specified resource group.

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

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

## Path parameters

- `resourceGroupName` string, required
- `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)
