# Template

## NAMESPACE

RASAdminEngine.Core.OutputModels.Template

## DESCRIPTION

RAS Template

## INHERITED FROM

[RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj)

⇒

[RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj)

⇒

Template

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

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