Skip to main content

host_pools_registration_tokens

Creates, updates, deletes, gets or lists a host_pools_registration_tokens resource.

Overview

Namehost_pools_registration_tokens
TypeResource
Idazure.desktop_virtualization.host_pools_registration_tokens

Fields

The following fields are returned by SELECT queries:

Successfully retrieved host pool in resource group.

NameDatatypeDescription
expirationTimestring (date-time)Expiration time of registration token.
tokenstringThe registration token base64 encoded string.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, hostPoolNameOperation to list the RegistrationTokens associated with the HostPool.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
hostPoolNamestringThe name of the host pool within the specified resource group
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Operation to list the RegistrationTokens associated with the HostPool.

SELECT
expirationTime,
token
FROM azure.desktop_virtualization.host_pools_registration_tokens
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND hostPoolName = '{{ hostPoolName }}' -- required
;