UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

30 lines (29 loc) 1.69 kB
import * as pulumi from "@pulumi/pulumi"; /** * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors. * * Retrieves information about databricks.User or databricks_service_principal, that is calling Databricks REST API. Might be useful in applying the same Pulumi by different users in the shared workspace for testing purposes. */ export declare function getCurrentUser(opts?: pulumi.InvokeOptions): Promise<GetCurrentUserResult>; /** * A collection of values returned by getCurrentUser. */ export interface GetCurrentUserResult { readonly aclPrincipalId: string; readonly alphanumeric: string; readonly externalId: string; readonly home: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly repos: string; readonly userName: string; readonly workspaceUrl: string; } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors. * * Retrieves information about databricks.User or databricks_service_principal, that is calling Databricks REST API. Might be useful in applying the same Pulumi by different users in the shared workspace for testing purposes. */ export declare function getCurrentUserOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCurrentUserResult>;