UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

82 lines (81 loc) 2.91 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the properties of the specified workspace. * * Uses Azure REST API version 2024-03-31. * * Other available API versions: 2022-10-01-preview, 2022-12-01, 2023-02-28, 2023-09-06, 2023-11-01, 2023-12-01, 2024-03-01, 2025-03-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native healthcareapis [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWorkspace(args: GetWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkspaceResult>; export interface GetWorkspaceArgs { /** * The name of the resource group that contains the service instance. */ resourceGroupName: string; /** * The name of workspace resource. */ workspaceName: string; } /** * Workspace resource. */ export interface GetWorkspaceResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * An etag associated with the resource, used for optimistic concurrency when editing it. */ readonly etag?: string; /** * The resource identifier. */ readonly id: string; /** * The resource location. */ readonly location?: string; /** * The resource name. */ readonly name: string; /** * Workspaces resource specific properties. */ readonly properties: outputs.healthcareapis.WorkspaceResponseProperties; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: outputs.healthcareapis.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The resource type. */ readonly type: string; } /** * Gets the properties of the specified workspace. * * Uses Azure REST API version 2024-03-31. * * Other available API versions: 2022-10-01-preview, 2022-12-01, 2023-02-28, 2023-09-06, 2023-11-01, 2023-12-01, 2024-03-01, 2025-03-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native healthcareapis [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkspaceResult>; export interface GetWorkspaceOutputArgs { /** * The name of the resource group that contains the service instance. */ resourceGroupName: pulumi.Input<string>; /** * The name of workspace resource. */ workspaceName: pulumi.Input<string>; }