Skip to main content

user_sessions

Overview

Nameuser_sessions
TypeResource
Idazure.desktop_virtualization.user_sessions

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectSchema for UserSession properties.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECThostPoolName, resourceGroupName, sessionHostName, subscriptionId, userSessionIdGet a userSession.
listSELECThostPoolName, resourceGroupName, sessionHostName, subscriptionIdList userSessions.
list_by_host_poolSELECThostPoolName, resourceGroupName, subscriptionIdList userSessions.
deleteDELETEhostPoolName, resourceGroupName, sessionHostName, subscriptionId, userSessionIdRemove a userSession.
_listEXEChostPoolName, resourceGroupName, sessionHostName, subscriptionIdList userSessions.
_list_by_host_poolEXEChostPoolName, resourceGroupName, subscriptionIdList userSessions.
disconnectEXEChostPoolName, resourceGroupName, sessionHostName, subscriptionId, userSessionIdDisconnect a userSession.
send_messageEXEChostPoolName, resourceGroupName, sessionHostName, subscriptionId, userSessionIdSend a message to a user.