Skip to main content

session_host_managements_update_status

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

Overview

Namesession_host_managements_update_status
TypeResource
Idazure.desktop_virtualization.session_host_managements_update_status

Fields

The following fields are returned by SELECT queries:

Successfully retrieved the session host update status.

NameDatatypeDescription
idstringFully qualified ID for the async operation.
namestringName of the async operation.
endTimestring (date-time)The end time of the operation.
errorobjectIf present, details of the operation error.
percentCompletenumberPercent of the operation that is complete.
propertiesobjectThe custom properties of the SessionHost Update Status.
startTimestring (date-time)The start time of the operation.
statusstringOperation status. Current defined values are < Error | Scheduled | UpdatingSessionHosts | ValidatingSessionHostUpdate | Paused | Pausing | Cancelling > | Succeeded | Failed | Canceled

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, hostPoolNameGet the session host update status for a given 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

Get the session host update status for a given hostpool.

SELECT
id,
name,
endTime,
error,
percentComplete,
properties,
startTime,
status
FROM azure.desktop_virtualization.session_host_managements_update_status
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND hostPoolName = '{{ hostPoolName }}' -- required
;