---
title: "GET /providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}"
method: GET
path: "/providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}"
tags: ["SubscriptionDefinitions"]
---

# GET /providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}

`GET /providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}`

Get an Azure subscription definition.

## Path parameters

- `subscriptionDefinitionName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.

- SubscriptionDefinition — The subscription definition used to create the subscription.
  - `id` string — The resource ID.
  - `name` string — The name of the resource.
  - `type` string — The type of the resource.
  - `properties` SubscriptionDefinitionProperties — The subscription definition properties.
    - `subscriptionId` string — The ID of the subscription.
    - `subscriptionDisplayName` string — The display name of the subscription.
    - `offerType` string — The offer type of the subscription. For example, MS-AZR-0017P (EnterpriseAgreement) and MS-AZR-0148P (EnterpriseAgreement devTest) are available.
    - `etag` string — The etag the subscription definition.

## Other responses

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

---

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