---
title: "GET /providers/Microsoft.Resources/builtInTemplateSpecs/{templateSpecName}/versions"
method: GET
path: "/providers/Microsoft.Resources/builtInTemplateSpecs/{templateSpecName}/versions"
tags: ["TemplateSpecVersions"]
---

# GET /providers/Microsoft.Resources/builtInTemplateSpecs/{templateSpecName}/versions

`GET /providers/Microsoft.Resources/builtInTemplateSpecs/{templateSpecName}/versions`

Lists all the Template Spec versions in the specified built-in Template Spec.

## Path parameters

- `templateSpecName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK - Returns an array of built-in Template Spec versions.

- TemplateSpecVersionsListResult — List of Template Specs versions
  - `value` TemplateSpecVersion[] — An array of Template Spec versions.
    - `id` string — String Id used to locate any resource on Azure.
    - `name` string — Name of this resource.
    - `type` string — Type of this resource.
    - `systemData` SystemData — unresolved $ref
  - `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.net/azure/apis/resources-microsoft-resources-templatespecs.md) · [All operations](https://skmtc.net/azure/apis/resources-microsoft-resources-templatespecs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/resources-microsoft-resources-templatespecs/revisions/097ef22eb201/schema)
