# Template

## NAMESPACE

RASAdminEngine.Core.OutputModels.Template

## DESCRIPTION

RAS Template

## INHERITED FROM

[RASSerilazableObj](rasserilazableobj)

⇒

[RASListObj](raslistobj)

⇒

Template

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type                                         | Name                                       | Description                                         |
| -------------------------------------------- | ------------------------------------------ | --------------------------------------------------- |
| String                                       | AdminCreate                                | Inherited from [RASListObj](raslistobj)             |
| String                                       | AdminLastMod                               | Inherited from [RASListObj](raslistobj)             |
| [TemplateAdvanced](templateadvanced)         | Advanced                                   | Advanced settings.                                  |
| Boolean                                      | AvailabilitySet                            | Availability Set.                                   |
| String                                       | AzureId                                    | Azure ID.                                           |
| Nullable<[CloneMethod](clonemethod)>         | CloneMethod                                | Clone method: Full clone (default) or Linked clone. |
| String                                       | Description                                | Template Description                                |
| [TemplateDistribution](templatedistribution) | Distribution                               | Datastore Source.                                   |
| UInt32                                       | Id                                         | Nullable\<Boolean>                                  |
| InheritDefaultOptimizationSettings           | Specifies the 'Image Optimization' object. | [TemplateLicense](templatelicense)                  |
| LicenseKeys                                  | License Key settings.                      | String                                              |
| Name                                         | Template Name                              | [TemplateObjType](templateobjtype)                  |
| ObjType                                      | Template Object Type                       | [ImageOptimization](imageoptimization)              |
| Optimization                                 | Specifies the 'Image Optimization' object. | [TemplatePreparation](templatepreparation)          |
| Preparation                                  | Preparation settings.                      | UInt32                                              |
| ProviderId                                   | Provider ID                                | UInt32                                              |
| SiteId                                       | Site ID                                    | [HostSessionType](hostsessiontype)                  |
| TemplateType                                 | The Template type.                         | DateTime                                            |
| TimeCreate                                   | Inherited from [RASListObj](raslistobj)    | DateTime                                            |
| TimeLastMod                                  | Inherited from [RASListObj](raslistobj)    | String                                              |

## PUBLIC METHODS

| Type                                                                                                                                                                                         | Name                       | Description                                           |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- | ----------------------------------------------------- |
| Int32                                                                                                                                                                                        | CompareTo (Object obj)     | Inherited from [RASSerilazableObj](rasserilazableobj) |
| Boolean                                                                                                                                                                                      | Equals (Object obj)        | Inherited from [RASSerilazableObj](rasserilazableobj) |
| Int32                                                                                                                                                                                        | GetHashCode ()             | Inherited from [RASSerilazableObj](rasserilazableobj) |
| 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)           |                            |                                                       |
