> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/template.md).

# Template

## NAMESPACE

RASAdminEngine.Core.OutputModels.Template

## DESCRIPTION

RAS Template

## INHERITED FROM

[RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md)

⇒

[RASListObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj.md)

⇒

Template

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type                                                                                                                          | Name            | Description                                                                                                                                                                                     |
| ----------------------------------------------------------------------------------------------------------------------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| String                                                                                                                        | AdminCreate     | Inherited from [RASListObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj.md) User who created the object.                                           |
| String                                                                                                                        | AdminLastMod    | Inherited from [RASListObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj.md) User who last modified the object.                                     |
| [TemplateAdvanced](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/templateadvanced.md)         | Advanced        | Advanced settings.                                                                                                                                                                              |
| Boolean                                                                                                                       | AvailabilitySet | Availability Set.                                                                                                                                                                               |
| String                                                                                                                        | AzureId         | Azure ID. Nullable<[CloneMethod](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/clonemethod.md)> CloneMethod Clone method: Full clone (default) or Linked clone. |
| String                                                                                                                        | Description     | Template Description                                                                                                                                                                            |
| [TemplateDistribution](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/templatedistribution.md) | Distribution    | Datastore Source.                                                                                                                                                                               |
| UInt32                                                                                                                        | Id              | ID of the object. Nullable\<Boolean> InheritDefaultOptimizationSettings Specifies the 'Image Optimization' object.                                                                              |
| [TemplateLicense](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/templatelicense.md)           | LicenseKeys     | License Key settings.                                                                                                                                                                           |
| String                                                                                                                        | Name            | Template Name                                                                                                                                                                                   |
| [TemplateObjType](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/templateobjtype.md)           | ObjType         | Template Object Type                                                                                                                                                                            |
| [ImageOptimization](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/imageoptimization.md)       | Optimization    | Specifies the 'Image Optimization' object.                                                                                                                                                      |
| [TemplatePreparation](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/templatepreparation.md)   | Preparation     | Preparation settings.                                                                                                                                                                           |
| UInt32                                                                                                                        | ProviderId      | Provider ID                                                                                                                                                                                     |
| UInt32                                                                                                                        | SiteId          | Site ID                                                                                                                                                                                         |
| [HostSessionType](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/hostsessiontype.md)           | TemplateType    | The Template type.                                                                                                                                                                              |
| DateTime                                                                                                                      | TimeCreate      | Inherited from [RASListObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj.md) Time when the object was created.                                      |
| DateTime                                                                                                                      | TimeLastMod     | Inherited from [RASListObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj.md) Time when the object was last modified.                                |
| String                                                                                                                        | VMId            | The ID of the source VM.                                                                                                                                                                        |

## PUBLIC METHODS

| Type                                                                                                                                                                            | Name                       | Description                                                                                                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Int32                                                                                                                                                                           | CompareTo (Object obj)     | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Boolean                                                                                                                                                                         | Equals (Object obj)        | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Int32                                                                                                                                                                           | GetHashCode ()             | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Type                                                                                                                                                                            | GetType ()                 | String                                                                                                                                 |
| ToString ()                                                                                                                                                                     | ### References to Commands |                                                                                                                                        |
| ----                                                                                                                                                                            |                            |                                                                                                                                        |
| [Get-RASTemplateLicenseKey](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Get-RASTemplateLicenseKey.md) |                            |                                                                                                                                        |
| [Invoke-RASTemplate](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Invoke-RASTemplate.md)               |                            |                                                                                                                                        |
| [New-RASPubVDIDesktop](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/New-RASPubVDIDesktop.md)           |                            |                                                                                                                                        |
| [Remove-RASTemplate](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Remove-RASTemplate.md)               |                            |                                                                                                                                        |
| [Set-RASPubVDIDesktop](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Set-RASPubVDIDesktop.md)           |                            |                                                                                                                                        |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/template.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
