Template

List

get

Retrieve settings about RAS Templates.

Query parameters
SiteIdinteger · int32Optional

The site ID from which to retrieve the RAS Template info (optional).

NamestringOptional

RAS Template name.

Responses
200

Success

application/json; api-version=1.0
get
/api/AVD/Template

Create

post

Creates a new RAS Template.

Body
providerIdinteger · int32Required

The ID of a Provider on which the source desktop VM resides.

vmIdstring | nullableRequired

The ID of the source VM.

namestring | nullableOptional

RAS Template Name.

siteIdinteger · int32Optional

The site ID in which to create the RAS Template info. If the parameter is omitted, the site ID of the Licensing Server will be used.

descriptionstring | nullableOptional

RAS Template Description.

templateTypestring · enumOptional

Host Session Type

Possible values:
cloneMethodstring · enumOptional

Clone Method

Possible values:
folderNamestring | nullableOptional

Folder name where desktop VMs will be created.

folderIdstring | nullableOptional

The ID of a folder where desktop VMs will be created.

subFolderNamestring | nullableOptional

Subfolder name where desktop VMs will be created.

nativePoolIdstring | nullableOptional

The ID of the native pool where desktop VMs will be created.

nativePoolNamestring | nullableOptional

The name of the native pool where desktop VMs will be created.

hwgpubooleanOptional

Enable hardware acceleration graphics licensing support.

physicalHostIdstring | nullableOptional

The ID of a physical host where desktop VMs will be created.

physicalHostNamestring | nullableOptional

The name of a physical host where desktop VMs will be created.

useSeperateNetworkInterfacebooleanOptional

Use a separate network interface for LAN access.

addressstring | nullableOptional

The address of the network interface.

subnetMaskstring | nullableOptional

The subnet mask of the network interface.

instanceTypestring | nullableOptional

Instance type.

deviceNamestring | nullableOptional

Device name.

volumeTypestring · enumOptional

Volume type

Possible values:
sizeinteger · int32Optional

Size (GiB).

maximumIOPSinteger · int64 | nullableOptional

Maximum IOPS.

throughputinteger · int64 | nullableOptional

Throughput (MB/s).

resourceGroupstring | nullableOptional

Resource group.

vmSizestring | nullableOptional

VM size.

osDiskTypestring · enumOptional

Volume type

Possible values:
virtualNetworkIDstring | nullableOptional

Virtual network ID.

virtualNetworkNamestring | nullableOptional

Virtual network name.

subnetIDstring | nullableOptional

Subnet ID.

subnetNamestring | nullableOptional

Subnet name.

imagePrepToolstring · enumOptional

Image preparation tool

Possible values:
computerNamestring | nullableOptional

The FQDN or IP address of the target VM.

ownerNamestring | nullableOptional

A desktop VM owner name (assigned to a VM by RASprep or Sysprep).

organizationstring | nullableOptional

Organization name (assigned to a VM by RASprep or Sysprep).

domainstring | nullableRequired

Domain or WorkGroup to join (assigned to a VM by RASprep or Sysprep).

domainPasswordstring | nullableRequired

The password of the domain administrator specified in the Administrator parameter.

administratorstring | nullableRequired

The administrator of the domain specified in the JoinDomain parameter.

adminPasswordstring | nullableRequired

The password of the administrator for the desktop VM (assigned to a VM by RASprep or Sysprep).

domainOrgUnitstring | nullableOptional

Domain Organization unit

Responses
post
/api/AVD/Template

Get

get

Retrieve settings of a RAS Template.

Path parameters
idinteger · int32Required

The ID of a RAS Template for which to retrieve the information.

Responses
200

Success

application/json; api-version=1.0
get
/api/AVD/Template/{id}

Update

put

Modifies the settings of a RAS Template.

Path parameters
idinteger · int32Required

The ID of a RAS Template to modify.

Body
descriptionstring | nullableOptional

RAS Template Description.

folderNamestring | nullableOptional

Folder name where desktop VMs will be created.

folderIdstring | nullableOptional

The ID of a folder where desktop VMs will be created.

subFolderNamestring | nullableOptional

Subfolder name where desktop VMs will be created.

nativePoolIdstring | nullableOptional

The ID of the native pool where desktop VMs will be created.

nativePoolNamestring | nullableOptional

The name of the native pool where desktop VMs will be created.

hwgpuboolean | nullableOptional

Enable hardware acceleration graphics licensing support.

physicalHostIdstring | nullableOptional

The ID of a physical host where desktop VMs will be created.

physicalHostNamestring | nullableOptional

The name of a physical host where desktop VMs will be created.

useSeperateNetworkInterfaceboolean | nullableOptional

Use a separate network interface for LAN access.

addressstring | nullableOptional

The address of the network interface.

subnetMaskstring | nullableOptional

The subnet mask of the network interface.

instanceTypestring | nullableOptional

Instance type.

deviceNamestring | nullableOptional

Device name.

volumeTypestring · enumOptional

Volume type

Possible values:
sizeinteger · int64 | nullableOptional

Size (GiB).

maximumIOPSinteger · int64 | nullableOptional

Maximum IOPS.

throughputinteger · int64 | nullableOptional

Throughput (MB/s).

resourceGroupstring | nullableOptional

Resource group.

vmSizestring | nullableOptional

VM size.

osDiskTypestring · enumOptional

Volume type

Possible values:
virtualNetworkIDstring | nullableOptional

Virtual network ID.

virtualNetworkNamestring | nullableOptional

Virtual network name.

subnetIDstring | nullableOptional

Subnet ID.

subnetNamestring | nullableOptional

Subnet name.

imagePrepToolstring · enumOptional

Image preparation tool

Possible values:
computerNamestring | nullableOptional

The FQDN or IP address of the target VM.

ownerNamestring | nullableOptional

A desktop VM owner name (assigned to a VM by RASprep or Sysprep).

organizationstring | nullableOptional

Organization name (assigned to a VM by RASprep or Sysprep).

domainstring | nullableOptional

Domain or WorkGroup to join (assigned to a VM by RASprep or Sysprep).

domainPasswordstring | nullableOptional

The password of the domain administrator specified in the Administrator parameter.

administratorstring | nullableOptional

The administrator of the domain specified in the JoinDomain parameter.

adminPasswordstring | nullableOptional

The password of the administrator for the desktop VM (assigned to a VM by RASprep or Sysprep).

domainOrgUnitstring | nullableOptional

Domain Organization unit

inheritDefaultOptimizationSettingsboolean | nullableOptional

If true, default Optimization settings will be inherited.

Responses
put
/api/AVD/Template/{id}

No content

Delete

delete

Remove settings of a RAS Template.

Path parameters
idinteger · int32Required

The ID of a RAS Template for which to retrieve the information.

Responses
delete
/api/AVD/Template/{id}

Was this helpful?