---
title: "GET /subscriptions/{subscriptionId}/providers"
method: GET
path: "/subscriptions/{subscriptionId}/providers"
tags: ["Providers"]
---

# GET /subscriptions/{subscriptionId}/providers

`GET /subscriptions/{subscriptionId}/providers`

Gets all resource providers for a subscription.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `$top` integer
- `$expand` string
- `api-version` string, required

## Response `200`

OK - Returns an array of resource providers.

- ProviderListResult — List of resource providers.
  - `value` Provider[] — An array of resource providers.
    - `id` string — The provider ID.
    - `namespace` string — The namespace of the resource provider.
    - `registrationState` string — The registration state of the resource provider.
    - `registrationPolicy` string — The registration policy of the resource provider.
    - `resourceTypes` ProviderResourceType[] — The collection of provider resource types.
      - `resourceType` string — The resource type.
      - `locations` string[] — The collection of locations where this resource type can be created.
      - `aliases` AliasType[] — The aliases that are supported by this resource type.
        - `name` string — The alias name.
        - `paths` AliasPathType[] — The paths for an alias.
          - `path` string — The path of an alias.
          - `apiVersions` string[] — The API versions.
      - `apiVersions` string[] — The API version.
      - `zoneMappings` ZoneMapping[]
        - `location` string — The location of the zone mapping.
        - `zones` string[]
      - `capabilities` string — The additional capabilities offered by this resource type.
      - `properties` object — The properties.
  - `nextLink` string — The URL to use for getting the next set of results.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.dev/azure/apis/resourcemanagementclient.md) · [All operations](https://skmtc.dev/azure/apis/resourcemanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/resourcemanagementclient/revisions/917e67faecf0/schema)
