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
chevron-right
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 · min: 1 · max: 255 · 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 · min: 1 · max: 255 · nullableOptional

Folder name where desktop VMs will be created.

folderIdstring · min: 1 · max: 255 · nullableOptional

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

subFolderNamestring · min: 1 · max: 255 · nullableOptional

Subfolder name where desktop VMs will be created.

nativePoolIdstring · min: 1 · max: 255 · nullableOptional

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

nativePoolNamestring · min: 1 · max: 255 · nullableOptional

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

hwgpubooleanOptional

Enable hardware acceleration graphics licensing support.

physicalHostIdstring · min: 1 · max: 255 · nullableOptional

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

physicalHostNamestring · min: 1 · max: 255 · nullableOptional

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

useSeperateNetworkInterfacebooleanOptional

Use a separate network interface for LAN access.

addressstring · min: 1 · max: 255 · nullableOptional

The address of the network interface.

subnetMaskstring · min: 1 · max: 255 · nullableOptional

The subnet mask of the network interface.

instanceTypestring · min: 1 · max: 255 · nullableOptional

Instance type.

deviceNamestring · min: 1 · max: 255 · 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 · min: 1 · max: 255 · nullableOptional

Resource group.

vmSizestring · min: 1 · max: 255 · nullableOptional

VM size.

osDiskTypestring · enumOptional

Volume type

Possible values:
virtualNetworkIDstring · min: 1 · max: 255 · nullableOptional

Virtual network ID.

virtualNetworkNamestring · min: 1 · max: 255 · nullableOptional

Virtual network name.

subnetIDstring · min: 1 · max: 255 · nullableOptional

Subnet ID.

subnetNamestring · min: 1 · max: 255 · nullableOptional

Subnet name.

imagePrepToolstring · enumOptional

Image preparation tool

Possible values:
computerNamestring · min: 1 · max: 255 · nullableOptional

The FQDN or IP address of the target VM.

ownerNamestring · min: 1 · max: 255 · nullableOptional

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

organizationstring · min: 1 · max: 255 · nullableOptional

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

domainstring · min: 1 · max: 255 · 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 · min: 1 · max: 255 · 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 · min: 1 · max: 255 · 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
chevron-right
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 · min: 1 · max: 255 · nullableOptional

Folder name where desktop VMs will be created.

folderIdstring · min: 1 · max: 255 · nullableOptional

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

subFolderNamestring · min: 1 · max: 255 · nullableOptional

Subfolder name where desktop VMs will be created.

nativePoolIdstring · min: 1 · max: 255 · nullableOptional

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

nativePoolNamestring · min: 1 · max: 255 · nullableOptional

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

hwgpuboolean · nullableOptional

Enable hardware acceleration graphics licensing support.

physicalHostIdstring · min: 1 · max: 255 · nullableOptional

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

physicalHostNamestring · min: 1 · max: 255 · nullableOptional

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

useSeperateNetworkInterfaceboolean · nullableOptional

Use a separate network interface for LAN access.

addressstring · min: 1 · max: 255 · nullableOptional

The address of the network interface.

subnetMaskstring · min: 1 · max: 255 · nullableOptional

The subnet mask of the network interface.

instanceTypestring · min: 1 · max: 255 · nullableOptional

Instance type.

deviceNamestring · min: 1 · max: 255 · 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 · min: 1 · max: 255 · nullableOptional

Resource group.

vmSizestring · min: 1 · max: 255 · nullableOptional

VM size.

osDiskTypestring · enumOptional

Volume type

Possible values:
virtualNetworkIDstring · min: 1 · max: 255 · nullableOptional

Virtual network ID.

virtualNetworkNamestring · min: 1 · max: 255 · nullableOptional

Virtual network name.

subnetIDstring · min: 1 · max: 255 · nullableOptional

Subnet ID.

subnetNamestring · min: 1 · max: 255 · nullableOptional

Subnet name.

imagePrepToolstring · enumOptional

Image preparation tool

Possible values:
computerNamestring · min: 1 · max: 255 · nullableOptional

The FQDN or IP address of the target VM.

ownerNamestring · min: 1 · max: 255 · nullableOptional

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

organizationstring · min: 1 · max: 255 · nullableOptional

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

domainstring · min: 1 · max: 255 · 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 · min: 1 · max: 255 · 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 · min: 1 · max: 255 · 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?