UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

30 lines (29 loc) 1.31 kB
import * as pulumi from "@pulumi/pulumi"; /** * 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. * * > This data source can only be used with a workspace-level provider! */ 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; } /** * 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. * * > This data source can only be used with a workspace-level provider! */ export declare function getCurrentUserOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCurrentUserResult>;