import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Databricks workspace. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.databricks.getWorkspace({ * name: "example-workspace", * resourceGroupName: "example-rg", * }); * export const databricksWorkspaceId = example.then(example => example.workspaceId); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Databricks` - 2026-01-01 */ export declare function getWorkspace(args: GetWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getWorkspace. */ export interface GetWorkspaceArgs { /** * The name of the Databricks Workspace. */ name: string; /** * The Name of the Resource Group where the Databricks Workspace exists. */ resourceGroupName: string; /** * A mapping of tags to assign to the Databricks Workspace. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getWorkspace. */ export interface GetWorkspaceResult { /** * A `customParameters` block as documented below. * * */ readonly customParameters: outputs.databricks.GetWorkspaceCustomParameter[]; /** * An `enhancedSecurityCompliance` block as documented below. */ readonly enhancedSecurityCompliances: outputs.databricks.GetWorkspaceEnhancedSecurityCompliance[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Azure location where the Databricks Workspace exists. */ readonly location: string; /** * A `managedDiskIdentity` block as documented below. */ readonly managedDiskIdentities: outputs.databricks.GetWorkspaceManagedDiskIdentity[]; readonly name: string; readonly resourceGroupName: string; /** * SKU of this Databricks Workspace. */ readonly sku: string; /** * A `storageAccountIdentity` block as documented below. */ readonly storageAccountIdentities: outputs.databricks.GetWorkspaceStorageAccountIdentity[]; /** * A mapping of tags to assign to the Databricks Workspace. */ readonly tags?: { [key: string]: string; }; /** * Unique ID of this Databricks Workspace in Databricks management plane. */ readonly workspaceId: string; /** * URL this Databricks Workspace is accessible on. */ readonly workspaceUrl: string; } /** * Use this data source to access information about an existing Databricks workspace. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.databricks.getWorkspace({ * name: "example-workspace", * resourceGroupName: "example-rg", * }); * export const databricksWorkspaceId = example.then(example => example.workspaceId); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Databricks` - 2026-01-01 */ export declare function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getWorkspace. */ export interface GetWorkspaceOutputArgs { /** * The name of the Databricks Workspace. */ name: pulumi.Input; /** * The Name of the Resource Group where the Databricks Workspace exists. */ resourceGroupName: pulumi.Input; /** * A mapping of tags to assign to the Databricks Workspace. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }