@pulumi/databricks
Version:
A Pulumi package for creating and managing databricks cloud resources.
76 lines (75 loc) • 2.51 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied.
*
* > This data source can only be used with a workspace-level provider!
*
* ## 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[];
/**
* Configure the provider for management through account provider. This block consists of the following fields:
*/
providerConfig?: inputs.GetMlflowModelsProviderConfig;
}
/**
* 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[];
readonly providerConfig?: outputs.GetMlflowModelsProviderConfig;
}
/**
* Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied.
*
* > This data source can only be used with a workspace-level provider!
*
* ## 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>[]>;
/**
* Configure the provider for management through account provider. This block consists of the following fields:
*/
providerConfig?: pulumi.Input<inputs.GetMlflowModelsProviderConfigArgs>;
}