UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

47 lines (46 loc) 1.66 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * This data source can be used to fetch the list of Database Instances within the workspace. * The list can then be accessed via the data object's `databaseInstances` field. * * ## Example Usage * * Getting a list of all Database Instances: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const all = databricks.getDatabaseInstances({}); * export const allDatabaseInstances = all.then(all => all.databaseInstances); * ``` */ export declare function getDatabaseInstances(opts?: pulumi.InvokeOptions): Promise<GetDatabaseInstancesResult>; /** * A collection of values returned by getDatabaseInstances. */ export interface GetDatabaseInstancesResult { readonly databaseInstances: outputs.GetDatabaseInstancesDatabaseInstance[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * This data source can be used to fetch the list of Database Instances within the workspace. * The list can then be accessed via the data object's `databaseInstances` field. * * ## Example Usage * * Getting a list of all Database Instances: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const all = databricks.getDatabaseInstances({}); * export const allDatabaseInstances = all.then(all => all.databaseInstances); * ``` */ export declare function getDatabaseInstancesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabaseInstancesResult>;