# VM Templates

### View VM Templates&#x20;

Navigate to the Resource Provider -> VConnect, then click a connection.  Click ‘VM Templates’ and the available templates are shown.&#x20;

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoOW0tKkl3hfpWMgkVr-4262638340%2Fuploads%2FiRb23lcjG795uwy30Lxx%2Ffile.png?alt=media)

### Publish VM Templates&#x20;

Select the templates that to publish and click the icon ‘Publish to Gallery’ and the selected templates will be available for deployment in the tenant.&#x20;

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoOW0tKkl3hfpWMgkVr-4262638340%2Fuploads%2FOHo4gFh7dyWgtBtZInFD%2Ffile.png?alt=media)

### Unpublish VM Templates&#x20;

Select the templates to unpublish and click the icon ‘Remove from Gallery’ and the templates will be removed for deployment in tenant.&#x20;

### Create, Edit or Delete a VM Template&#x20;

Creating a Virtual Machine Template includes scenarios like Domain Join a virtual machine, specifying the type of Data Store to place the virtual machine in, adding installation scripts on start of the virtual machine, specifying a network name to join the virtual machine to, deciding which parameters the tenants can override.&#x20;

* Select the OS platform &#x20;
* The list of templates available in the datacenter will be shown in the drop down.&#x20;
* Choose a template and the section of params to be configured for the template will be shown.&#x20;
* They can be configured by tenant if the admin wants to allow them.&#x20;

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoOW0tKkl3hfpWMgkVr-4262638340%2Fuploads%2FOGiU0yCiTDV8ACAs7osX%2Ffile.png?alt=media)

### Clone a VM Template&#x20;

* Select a template from the list of templates in the view and click the clone button.&#x20;
* The original template name (read only) and the new name text boxes are shown.&#x20;
* Enter the new template name.&#x20;
* Click ‘Clone’ button.&#x20;

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoOW0tKkl3hfpWMgkVr-4262638340%2Fuploads%2FMap3dhKqbnOXdcDKBfWC%2Ffile.png?alt=media)

### Configure Params&#x20;

Drill down to each template to view the parameters configured in them.  The admin can add custom parameters and edit them.&#x20;

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoOW0tKkl3hfpWMgkVr-4262638340%2Fuploads%2FsvFQC3MtSfg5eiLPLGpy%2Ffile.png?alt=media)


---

# 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.cloudassert.com/azure-stack-vconnect/features/admin-features/vm-templates.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.
