@pulumi/databricks
Version:
A Pulumi package for creating and managing databricks cloud resources.
54 lines • 2.02 kB
JavaScript
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getMlflowModelsOutput = exports.getMlflowModels = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* > **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;
* ```
*/
function getMlflowModels(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("databricks:index/getMlflowModels:getMlflowModels", {
"names": args.names,
}, opts);
}
exports.getMlflowModels = getMlflowModels;
/**
* > **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;
* ```
*/
function getMlflowModelsOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("databricks:index/getMlflowModels:getMlflowModels", {
"names": args.names,
}, opts);
}
exports.getMlflowModelsOutput = getMlflowModelsOutput;
//# sourceMappingURL=getMlflowModels.js.map
;