Skip to main content

active_session_host_configurations

Creates, updates, deletes, gets or lists an active_session_host_configurations resource.

Overview

Nameactive_session_host_configurations
TypeResource
Idazure.desktop_virtualization.active_session_host_configurations

Fields

The following fields are returned by SELECT queries:

Successfully retrieved activeSessionHostConfiguration.

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
propertiesobjectDetailed properties for SessionHostConfiguration
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, hostPoolNameGet the ActiveSessionHostConfiguration for the hostPool that is currently being used for update operations.
list_by_host_poolselectsubscriptionId, resourceGroupName, hostPoolNameList activeSessionHostConfigurations.

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

Get the ActiveSessionHostConfiguration for the hostPool that is currently being used for update operations.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.desktop_virtualization.active_session_host_configurations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND hostPoolName = '{{ hostPoolName }}' -- required
;