import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Virtual Desktop Workspace. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.desktopvirtualization.getWorkspace({ * name: "existing", * resourceGroupName: "existing", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.DesktopVirtualization` - 2024-04-03 */ export declare function getWorkspace(args: GetWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getWorkspace. */ export interface GetWorkspaceArgs { /** * The name of this Virtual Desktop Workspace to retrieve. */ name: string; /** * The name of the Resource Group where the Virtual Desktop Workspace exists. */ resourceGroupName: string; } /** * A collection of values returned by getWorkspace. */ export interface GetWorkspaceResult { /** * The description for the Virtual Desktop Workspace. */ readonly description: string; /** * The friendly name for the Virtual Desktop Workspace. */ readonly friendlyName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Azure Region where the Virtual Desktop Workspace exists. */ readonly location: string; readonly name: string; /** * Is public network access enabled? */ readonly publicNetworkAccessEnabled: boolean; readonly resourceGroupName: string; /** * A mapping of tags assigned to the Virtual Desktop Workspace. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing Virtual Desktop Workspace. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.desktopvirtualization.getWorkspace({ * name: "existing", * resourceGroupName: "existing", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.DesktopVirtualization` - 2024-04-03 */ export declare function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getWorkspace. */ export interface GetWorkspaceOutputArgs { /** * The name of this Virtual Desktop Workspace to retrieve. */ name: pulumi.Input; /** * The name of the Resource Group where the Virtual Desktop Workspace exists. */ resourceGroupName: pulumi.Input; }