import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a session host. * * Uses Azure REST API version 2026-01-01-preview. * * Other available API versions: 2026-03-01-preview, 2026-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native desktopvirtualization [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getSessionHost(args: GetSessionHostArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetSessionHostArgs { /** * The name of the host pool within the specified resource group */ hostPoolName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the session host within the specified host pool */ sessionHostName: string; } /** * Represents a SessionHost definition. */ export interface GetSessionHostResult { /** * Number of active sessions on SessionHost. */ readonly activeSessions: number; /** * Version of agent on SessionHost. */ readonly agentVersion: string; /** * Allow a new session. */ readonly allowNewSession?: boolean; /** * User assigned to SessionHost. */ readonly assignedUser?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Number of disconnected sessions on SessionHost. */ readonly disconnectedSessions: number; /** * Friendly name of SessionHost */ readonly friendlyName?: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * Last heart beat from SessionHost. */ readonly lastHeartBeat: string; /** * The last time update was completed. */ readonly lastSessionHostUpdateTime: string; /** * The timestamp of the last update. */ readonly lastUpdateTime: string; /** * The name of the resource */ readonly name: string; /** * ObjectId of SessionHost. (internal use) */ readonly objectId: string; /** * The version of the OS on the session host. */ readonly osVersion: string; /** * Number of pending sessions on SessionHost. */ readonly pendingSessions: number; /** * Resource Id of SessionHost's underlying virtual machine. */ readonly resourceId: string; /** * SessionHostConfiguration version reference at the time the update is initiated, in the format of date time. Example: 2024-04-26T04:56:45Z */ readonly sessionHostConfiguration: string; /** * List of SessionHostHealthCheckReports */ readonly sessionHostHealthCheckResults: outputs.desktopvirtualization.SessionHostHealthCheckReportResponse[]; /** * Number of sessions on SessionHost. */ readonly sessions: number; /** * Status for a SessionHost. */ readonly status: string; /** * The timestamp of the status. */ readonly statusTimestamp: string; /** * The version of the side by side stack on the session host. */ readonly sxSStackVersion: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.desktopvirtualization.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * The error message. */ readonly updateErrorMessage: string; /** * Update state of a SessionHost. */ readonly updateState: string; /** * Virtual Machine Id of SessionHost's underlying virtual machine. */ readonly virtualMachineId: string; } /** * Get a session host. * * Uses Azure REST API version 2026-01-01-preview. * * Other available API versions: 2026-03-01-preview, 2026-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native desktopvirtualization [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getSessionHostOutput(args: GetSessionHostOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetSessionHostOutputArgs { /** * The name of the host pool within the specified resource group */ hostPoolName: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * The name of the session host within the specified host pool */ sessionHostName: pulumi.Input; } //# sourceMappingURL=getSessionHost.d.ts.map