---
title: "Gets all App Service Plans for a subscription"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms"
tags: ["Global"]
---

# Gets all App Service Plans for a subscription

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms`

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `detailed` boolean
- `api-version` string, required

## Response `200`

OK

- ServerFarmCollection — Collection of serverfarms
  - `value` ServerFarmWithRichSku[] — Collection of resources
    - `id` string — Resource Id
    - `name` string — Resource Name
    - `kind` string — Kind of resource
    - `location` string, required — Resource Location
    - `type` string — Resource type
    - `tags` object — Resource tags
  - `nextLink` string — Link to next page of resources

---

[API](https://skmtc.net/azure/apis/website-management-client.md) · [All operations](https://skmtc.net/azure/apis/website-management-client/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/website-management-client/versions/e6d8fbd68044/schema)
