UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

54 lines (53 loc) 2.15 kB
import * as pulumi from "@pulumi/pulumi"; /** * Retrieves `applicationIds` of all databricks.ServicePrincipal based on their `displayName` * * > This data source can be used with an account or workspace-level provider. */ 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; } /** * Retrieves `applicationIds` of all databricks.ServicePrincipal based on their `displayName` * * > This data source can be used with an account or workspace-level provider. */ 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>; }