import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Represents a SessionHost definition. * * 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 class SessionHost extends pulumi.CustomResource { /** * Get an existing SessionHost resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SessionHost; /** * Returns true if the given object is an instance of SessionHost. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SessionHost; /** * Number of active sessions on SessionHost. */ readonly activeSessions: pulumi.Output; /** * Version of agent on SessionHost. */ readonly agentVersion: pulumi.Output; /** * Allow a new session. */ readonly allowNewSession: pulumi.Output; /** * User assigned to SessionHost. */ readonly assignedUser: pulumi.Output; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output; /** * Number of disconnected sessions on SessionHost. */ readonly disconnectedSessions: pulumi.Output; /** * Friendly name of SessionHost */ readonly friendlyName: pulumi.Output; /** * Last heart beat from SessionHost. */ readonly lastHeartBeat: pulumi.Output; /** * The last time update was completed. */ readonly lastSessionHostUpdateTime: pulumi.Output; /** * The timestamp of the last update. */ readonly lastUpdateTime: pulumi.Output; /** * The name of the resource */ readonly name: pulumi.Output; /** * ObjectId of SessionHost. (internal use) */ readonly objectId: pulumi.Output; /** * The version of the OS on the session host. */ readonly osVersion: pulumi.Output; /** * Number of pending sessions on SessionHost. */ readonly pendingSessions: pulumi.Output; /** * Resource Id of SessionHost's underlying virtual machine. */ readonly resourceId: pulumi.Output; /** * SessionHostConfiguration version reference at the time the update is initiated, in the format of date time. Example: 2024-04-26T04:56:45Z */ readonly sessionHostConfiguration: pulumi.Output; /** * List of SessionHostHealthCheckReports */ readonly sessionHostHealthCheckResults: pulumi.Output; /** * Number of sessions on SessionHost. */ readonly sessions: pulumi.Output; /** * Status for a SessionHost. */ readonly status: pulumi.Output; /** * The timestamp of the status. */ readonly statusTimestamp: pulumi.Output; /** * The version of the side by side stack on the session host. */ readonly sxSStackVersion: pulumi.Output; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output; /** * The error message. */ readonly updateErrorMessage: pulumi.Output; /** * Update state of a SessionHost. */ readonly updateState: pulumi.Output; /** * Virtual Machine Id of SessionHost's underlying virtual machine. */ readonly virtualMachineId: pulumi.Output; /** * Create a SessionHost resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SessionHostArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a SessionHost resource. */ export interface SessionHostArgs { /** * Allow a new session. */ allowNewSession?: pulumi.Input; /** * User assigned to SessionHost. */ assignedUser?: pulumi.Input; /** * Friendly name of SessionHost */ friendlyName?: pulumi.Input; /** * 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=sessionHost.d.ts.map