UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

74 lines 3.28 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getRegisteredModelVersionsOutput = exports.getRegisteredModelVersions = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html). * * > 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.getRegisteredModelVersions({ * fullName: "main.default.my_model", * }); * ``` * * ## Related Resources * * The following resources are often used in the same context: * * * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog. * * databricks.RegisteredModel resource to manage models within Unity Catalog. * * databricks.ModelServing to serve this model on a Databricks serving endpoint. * * databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks. */ function getRegisteredModelVersions(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", { "fullName": args.fullName, "modelVersions": args.modelVersions, }, opts); } exports.getRegisteredModelVersions = getRegisteredModelVersions; /** * This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html). * * > 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.getRegisteredModelVersions({ * fullName: "main.default.my_model", * }); * ``` * * ## Related Resources * * The following resources are often used in the same context: * * * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog. * * databricks.RegisteredModel resource to manage models within Unity Catalog. * * databricks.ModelServing to serve this model on a Databricks serving endpoint. * * databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks. */ function getRegisteredModelVersionsOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", { "fullName": args.fullName, "modelVersions": args.modelVersions, }, opts); } exports.getRegisteredModelVersionsOutput = getRegisteredModelVersionsOutput; //# sourceMappingURL=getRegisteredModelVersions.js.map