UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

54 lines (53 loc) 2.51 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 `applicationIds` of all databricks.ServicePrincipal based on their `displayName` */ export declare function getServicePrincipals(args?: GetServicePrincipalsArgs, opts?: pulumi.InvokeOptions): Promise<GetServicePrincipalsResult>; /** * A collection of arguments for invoking getServicePrincipals. */ export interface GetServicePrincipalsArgs { /** * List of `applicationIds` of service principals Individual service principal can be retrieved using databricks.ServicePrincipal data source */ applicationIds?: string[]; /** * Only return databricks.ServicePrincipal display name that match the given name string */ displayNameContains?: string; } /** * A collection of values returned by getServicePrincipals. */ export interface GetServicePrincipalsResult { /** * List of `applicationIds` of service principals Individual service principal can be retrieved using databricks.ServicePrincipal data source */ readonly applicationIds: string[]; readonly displayNameContains: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: 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 `applicationIds` of all databricks.ServicePrincipal based on their `displayName` */ export declare function getServicePrincipalsOutput(args?: GetServicePrincipalsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServicePrincipalsResult>; /** * A collection of arguments for invoking getServicePrincipals. */ export interface GetServicePrincipalsOutputArgs { /** * List of `applicationIds` of service principals Individual service principal can be retrieved using databricks.ServicePrincipal data source */ applicationIds?: pulumi.Input<pulumi.Input<string>[]>; /** * Only return databricks.ServicePrincipal display name that match the given name string */ displayNameContains?: pulumi.Input<string>; }