host_pools_registration_tokens
Creates, updates, deletes, gets or lists a host_pools_registration_tokens resource.
Overview
| Name | host_pools_registration_tokens |
| Type | Resource |
| Id | azure.desktop_virtualization.host_pools_registration_tokens |
Fields
The following fields are returned by SELECT queries:
- list
Successfully retrieved host pool in resource group.
| Name | Datatype | Description |
|---|---|---|
expirationTime | string (date-time) | Expiration time of registration token. |
token | string | The registration token base64 encoded string. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, resourceGroupName, hostPoolName | Operation 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.
| Name | Datatype | Description |
|---|---|---|
hostPoolName | string | The name of the host pool within the specified resource group |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT examples
- list
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
;