UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

65 lines (64 loc) 1.98 kB
import * as pulumi from "@pulumi/pulumi"; /** * > **Note** This data source could be only used with workspace-level provider! * * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const _this = databricks.getMlflowModels({}); * export const model = _this; * ``` */ export declare function getMlflowModels(args?: GetMlflowModelsArgs, opts?: pulumi.InvokeOptions): Promise<GetMlflowModelsResult>; /** * A collection of arguments for invoking getMlflowModels. */ export interface GetMlflowModelsArgs { /** * List of names of databricks_mlflow_model */ names?: string[]; } /** * A collection of values returned by getMlflowModels. */ export interface GetMlflowModelsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of names of databricks_mlflow_model */ readonly names: string[]; } /** * > **Note** This data source could be only used with workspace-level provider! * * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const _this = databricks.getMlflowModels({}); * export const model = _this; * ``` */ export declare function getMlflowModelsOutput(args?: GetMlflowModelsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMlflowModelsResult>; /** * A collection of arguments for invoking getMlflowModels. */ export interface GetMlflowModelsOutputArgs { /** * List of names of databricks_mlflow_model */ names?: pulumi.Input<pulumi.Input<string>[]>; }