# Template.md

## NAMESPACE

RASAdminEngine.Core.OutputModels.Template

## DESCRIPTION

RAS Template

## INHERITED FROM

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

⇒

[RASListObj](/landing/ras-powershell-api-guide/v20/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/v20/parallels-ras-powershell-admin-module/types/raslistobj.md)    |
| String                                                                                                                            | AdminLastMod                                                                                                                 | Inherited from [RASListObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/raslistobj.md)    |
| [TemplateAdvanced](/landing/ras-powershell-api-guide/v20/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/v20/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/v20/parallels-ras-powershell-admin-module/types/templatedistribution.md) | Distribution                                                                                                                 | Datastore Source.                                                                                                               |
| UInt32                                                                                                                            | Id                                                                                                                           | Nullable\<Boolean>                                                                                                              |
| InheritDefaultOptimizationSettings                                                                                                | Specifies the 'Image Optimization' object.                                                                                   | [TemplateLicense](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/templatelicense.md)         |
| LicenseKeys                                                                                                                       | License Key settings.                                                                                                        | String                                                                                                                          |
| Name                                                                                                                              | Template Name                                                                                                                | [TemplateObjType](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/templateobjtype.md)         |
| ObjType                                                                                                                           | Template Object Type                                                                                                         | [ImageOptimization](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/imageoptimization.md)     |
| Optimization                                                                                                                      | Specifies the 'Image Optimization' object.                                                                                   | [TemplatePreparation](/landing/ras-powershell-api-guide/v20/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/v20/parallels-ras-powershell-admin-module/types/hostsessiontype.md)         |
| TemplateType                                                                                                                      | The Template type.                                                                                                           | DateTime                                                                                                                        |
| TimeCreate                                                                                                                        | Inherited from [RASListObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/raslistobj.md) | DateTime                                                                                                                        |
| TimeLastMod                                                                                                                       | Inherited from [RASListObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/raslistobj.md) | String                                                                                                                          |

## PUBLIC METHODS

| Type                                                                                                                                                                                         | Name                       | Description                                                                                                                                |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| Int32                                                                                                                                                                                        | CompareTo (Object obj)     | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Boolean                                                                                                                                                                                      | Equals (Object obj)        | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Int32                                                                                                                                                                                        | GetHashCode ()             | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Type                                                                                                                                                                                         | GetType ()                 | String                                                                                                                                     |
| ToString ()                                                                                                                                                                                  | ### References to Commands |                                                                                                                                            |
| ----                                                                                                                                                                                         |                            |                                                                                                                                            |
| [Get-RASTemplateLicenseKey](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Get-RASTemplateLicenseKey.md) |                            |                                                                                                                                            |
| [Invoke-RASTemplate](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Invoke-RASTemplate.md)               |                            |                                                                                                                                            |
| [New-RASPubVDIDesktop](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/New-RASPubVDIDesktop.md)           |                            |                                                                                                                                            |
| [Remove-RASTemplate](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Remove-RASTemplate.md)               |                            |                                                                                                                                            |
| [Set-RASPubVDIDesktop](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Set-RASPubVDIDesktop.md)           |                            |                                                                                                                                            |


---

# Agent Instructions: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
