Help Page Home

# GET ComputeResources({id})/Templates

Get the templates (machines that can be used for creating session machine catalogs) on a compute resource.

## Request Information

### Parameters

Name | Description | Additional information
--- | --- | ---
id | ID of the compute resource. | Type:
name | See Filtering, Arranging, and Paging. | Type: String
filterBy | See Filtering, Arranging, and Paging. The supported filters are: All: All templates. (default) | Type: Filter
filterProp | See Filtering, Arranging, and Paging. | Type: String
arrangeBy | See Filtering, Arranging, and Paging. The supported arrangers are: Name: Arrange by name. (default) | Type: String
skip | See Filtering, Arranging, and Paging. | Type: Number
take | See Filtering, Arranging, and Paging. | Type: Number

## Response Information

The templates on the compute resource.

### Response type

CollectionResultModel<ComputeResourceTemplateModel>

### Response body formats

#### application/json, text/json

Sample:

    {
      "Href": "[api:ComputeResources(ab32f043-4682-4953-8dea-a0489b839f80)/Templates]",
      "Count": 1,
      "TotalMatchingFilter": 1,
      "Items": [
        {
          "Name": "vm1"
        }
      ]
    }