Viewing docs for Databricks v1.100.0
published on Tuesday, Jul 21, 2026 by Pulumi
published on Tuesday, Jul 21, 2026 by Pulumi
Viewing docs for Databricks v1.100.0
published on Tuesday, Jul 21, 2026 by Pulumi
published on Tuesday, Jul 21, 2026 by Pulumi
This resource allows you to get information about Model in Unity Catalog in Databricks.
This data source can only be used with a workspace-level provider!
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const _this = databricks.getRegisteredModel({
fullName: "main.default.my_model",
});
import pulumi
import pulumi_databricks as databricks
this = databricks.get_registered_model(full_name="main.default.my_model")
package main
import (
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databricks.GetRegisteredModel(ctx, &databricks.LookupRegisteredModelArgs{
FullName: "main.default.my_model",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var @this = Databricks.GetRegisteredModel.Invoke(new()
{
FullName = "main.default.my_model",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.DatabricksFunctions;
import com.pulumi.databricks.inputs.GetRegisteredModelArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var this = DatabricksFunctions.getRegisteredModel(GetRegisteredModelArgs.builder()
.fullName("main.default.my_model")
.build());
}
}
variables:
this:
fn::invoke:
function: databricks:getRegisteredModel
arguments:
fullName: main.default.my_model
pulumi {
required_providers {
databricks = {
source = "pulumi/databricks"
}
}
}
data "databricks_getregisteredmodel" "this" {
full_name = "main.default.my_model"
}
Related Resources
The following resources are often used in the same context:
- 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 in Databricks.
Using getRegisteredModel
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRegisteredModel(args: GetRegisteredModelArgs, opts?: InvokeOptions): Promise<GetRegisteredModelResult>
function getRegisteredModelOutput(args: GetRegisteredModelOutputArgs, opts?: InvokeOptions): Output<GetRegisteredModelResult>def get_registered_model(full_name: Optional[str] = None,
include_aliases: Optional[bool] = None,
include_browse: Optional[bool] = None,
model_infos: Optional[Sequence[GetRegisteredModelModelInfo]] = None,
provider_config: Optional[GetRegisteredModelProviderConfig] = None,
opts: Optional[InvokeOptions] = None) -> GetRegisteredModelResult
def get_registered_model_output(full_name: pulumi.Input[Optional[str]] = None,
include_aliases: pulumi.Input[Optional[bool]] = None,
include_browse: pulumi.Input[Optional[bool]] = None,
model_infos: pulumi.Input[Optional[Sequence[pulumi.Input[GetRegisteredModelModelInfoArgs]]]] = None,
provider_config: pulumi.Input[Optional[GetRegisteredModelProviderConfigArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegisteredModelResult]func LookupRegisteredModel(ctx *Context, args *LookupRegisteredModelArgs, opts ...InvokeOption) (*LookupRegisteredModelResult, error)
func LookupRegisteredModelOutput(ctx *Context, args *LookupRegisteredModelOutputArgs, opts ...InvokeOption) LookupRegisteredModelResultOutput> Note: This function is named LookupRegisteredModel in the Go SDK.
public static class GetRegisteredModel
{
public static Task<GetRegisteredModelResult> InvokeAsync(GetRegisteredModelArgs args, InvokeOptions? opts = null)
public static Output<GetRegisteredModelResult> Invoke(GetRegisteredModelInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRegisteredModelResult> getRegisteredModel(GetRegisteredModelArgs args, InvokeOptions options)
public static Output<GetRegisteredModelResult> getRegisteredModel(GetRegisteredModelArgs args, InvokeOptions options)
fn::invoke:
function: databricks:index/getRegisteredModel:getRegisteredModel
arguments:
# arguments dictionarydata "databricks_get_registered_model" "name" {
# arguments
}The following arguments are supported:
- Full
Name string - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - Include
Aliases bool - flag to specify if list of aliases should be included into output.
- Include
Browse bool - flag to specify if include registered models in the response for which the principal can only access selective metadata for.
- Model
Infos List<GetRegistered Model Model Info> - block with information about the model in Unity Catalog:
- Provider
Config GetRegistered Model Provider Config
- Full
Name string - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - Include
Aliases bool - flag to specify if list of aliases should be included into output.
- Include
Browse bool - flag to specify if include registered models in the response for which the principal can only access selective metadata for.
- Model
Infos []GetRegistered Model Model Info - block with information about the model in Unity Catalog:
- Provider
Config GetRegistered Model Provider Config
- full_
name string - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - include_
aliases bool - flag to specify if list of aliases should be included into output.
- include_
browse bool - flag to specify if include registered models in the response for which the principal can only access selective metadata for.
- model_
infos list(object) - block with information about the model in Unity Catalog:
- provider_
config object
- full
Name String - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - include
Aliases Boolean - flag to specify if list of aliases should be included into output.
- include
Browse Boolean - flag to specify if include registered models in the response for which the principal can only access selective metadata for.
- model
Infos List<GetRegistered Model Model Info> - block with information about the model in Unity Catalog:
- provider
Config GetRegistered Model Provider Config
- full
Name string - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - include
Aliases boolean - flag to specify if list of aliases should be included into output.
- include
Browse boolean - flag to specify if include registered models in the response for which the principal can only access selective metadata for.
- model
Infos GetRegistered Model Model Info[] - block with information about the model in Unity Catalog:
- provider
Config GetRegistered Model Provider Config
- full_
name str - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - include_
aliases bool - flag to specify if list of aliases should be included into output.
- include_
browse bool - flag to specify if include registered models in the response for which the principal can only access selective metadata for.
- model_
infos Sequence[GetRegistered Model Model Info] - block with information about the model in Unity Catalog:
- provider_
config GetRegistered Model Provider Config
- full
Name String - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - include
Aliases Boolean - flag to specify if list of aliases should be included into output.
- include
Browse Boolean - flag to specify if include registered models in the response for which the principal can only access selective metadata for.
- model
Infos List<Property Map> - block with information about the model in Unity Catalog:
- provider
Config Property Map
getRegisteredModel Result
The following output properties are available:
- Full
Name string - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - Id string
- The provider-assigned unique ID for this managed resource.
- Model
Infos List<GetRegistered Model Model Info> - block with information about the model in Unity Catalog:
- Include
Aliases bool - Include
Browse bool - Provider
Config GetRegistered Model Provider Config
- Full
Name string - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - Id string
- The provider-assigned unique ID for this managed resource.
- Model
Infos []GetRegistered Model Model Info - block with information about the model in Unity Catalog:
- Include
Aliases bool - Include
Browse bool - Provider
Config GetRegistered Model Provider Config
- full_
name string - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - id string
- The provider-assigned unique ID for this managed resource.
- model_
infos list(object) - block with information about the model in Unity Catalog:
- include_
aliases bool - include_
browse bool - provider_
config object
- full
Name String - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - id String
- The provider-assigned unique ID for this managed resource.
- model
Infos List<GetRegistered Model Model Info> - block with information about the model in Unity Catalog:
- include
Aliases Boolean - include
Browse Boolean - provider
Config GetRegistered Model Provider Config
- full
Name string - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - id string
- The provider-assigned unique ID for this managed resource.
- model
Infos GetRegistered Model Model Info[] - block with information about the model in Unity Catalog:
- include
Aliases boolean - include
Browse boolean - provider
Config GetRegistered Model Provider Config
- full_
name str - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - id str
- The provider-assigned unique ID for this managed resource.
- model_
infos Sequence[GetRegistered Model Model Info] - block with information about the model in Unity Catalog:
- include_
aliases bool - include_
browse bool - provider_
config GetRegistered Model Provider Config
- full
Name String - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - id String
- The provider-assigned unique ID for this managed resource.
- model
Infos List<Property Map> - block with information about the model in Unity Catalog:
- include
Aliases Boolean - include
Browse Boolean - provider
Config Property Map
Supporting Types
GetRegisteredModelModelInfo
- Browse
Only bool - Aliases
List<Get
Registered Model Model Info Alias> - the list of aliases associated with this model. Each item is object consisting of following attributes:
- Catalog
Name string - The name of the catalog where the schema and the registered model reside.
- Comment string
- The comment attached to the registered model.
- Created
At int - the Unix timestamp at the model's creation
- Created
By string - the identifier of the user who created the model
- Full
Name string - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - Metastore
Id string - the unique identifier of the metastore
- Name string
- The name of the registered model.
- Owner string
- Name of the registered model owner.
- Schema
Name string - The name of the schema where the registered model resides.
- Storage
Location string - The storage location under which model version data files are stored.
- Updated
At int - the timestamp of the last time changes were made to the model
- Updated
By string - the identifier of the user who updated the model last time
- Browse
Only bool - Aliases
[]Get
Registered Model Model Info Alias - the list of aliases associated with this model. Each item is object consisting of following attributes:
- Catalog
Name string - The name of the catalog where the schema and the registered model reside.
- Comment string
- The comment attached to the registered model.
- Created
At int - the Unix timestamp at the model's creation
- Created
By string - the identifier of the user who created the model
- Full
Name string - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - Metastore
Id string - the unique identifier of the metastore
- Name string
- The name of the registered model.
- Owner string
- Name of the registered model owner.
- Schema
Name string - The name of the schema where the registered model resides.
- Storage
Location string - The storage location under which model version data files are stored.
- Updated
At int - the timestamp of the last time changes were made to the model
- Updated
By string - the identifier of the user who updated the model last time
- browse_
only bool - aliases list(object)
- the list of aliases associated with this model. Each item is object consisting of following attributes:
- catalog_
name string - The name of the catalog where the schema and the registered model reside.
- comment string
- The comment attached to the registered model.
- created_
at number - the Unix timestamp at the model's creation
- created_
by string - the identifier of the user who created the model
- full_
name string - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - metastore_
id string - the unique identifier of the metastore
- name string
- The name of the registered model.
- owner string
- Name of the registered model owner.
- schema_
name string - The name of the schema where the registered model resides.
- storage_
location string - The storage location under which model version data files are stored.
- updated_
at number - the timestamp of the last time changes were made to the model
- updated_
by string - the identifier of the user who updated the model last time
- browse
Only Boolean - aliases
List<Get
Registered Model Model Info Alias> - the list of aliases associated with this model. Each item is object consisting of following attributes:
- catalog
Name String - The name of the catalog where the schema and the registered model reside.
- comment String
- The comment attached to the registered model.
- created
At Integer - the Unix timestamp at the model's creation
- created
By String - the identifier of the user who created the model
- full
Name String - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - metastore
Id String - the unique identifier of the metastore
- name String
- The name of the registered model.
- owner String
- Name of the registered model owner.
- schema
Name String - The name of the schema where the registered model resides.
- storage
Location String - The storage location under which model version data files are stored.
- updated
At Integer - the timestamp of the last time changes were made to the model
- updated
By String - the identifier of the user who updated the model last time
- browse
Only boolean - aliases
Get
Registered Model Model Info Alias[] - the list of aliases associated with this model. Each item is object consisting of following attributes:
- catalog
Name string - The name of the catalog where the schema and the registered model reside.
- comment string
- The comment attached to the registered model.
- created
At number - the Unix timestamp at the model's creation
- created
By string - the identifier of the user who created the model
- full
Name string - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - metastore
Id string - the unique identifier of the metastore
- name string
- The name of the registered model.
- owner string
- Name of the registered model owner.
- schema
Name string - The name of the schema where the registered model resides.
- storage
Location string - The storage location under which model version data files are stored.
- updated
At number - the timestamp of the last time changes were made to the model
- updated
By string - the identifier of the user who updated the model last time
- browse_
only bool - aliases
Sequence[Get
Registered Model Model Info Alias] - the list of aliases associated with this model. Each item is object consisting of following attributes:
- catalog_
name str - The name of the catalog where the schema and the registered model reside.
- comment str
- The comment attached to the registered model.
- created_
at int - the Unix timestamp at the model's creation
- created_
by str - the identifier of the user who created the model
- full_
name str - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - metastore_
id str - the unique identifier of the metastore
- name str
- The name of the registered model.
- owner str
- Name of the registered model owner.
- schema_
name str - The name of the schema where the registered model resides.
- storage_
location str - The storage location under which model version data files are stored.
- updated_
at int - the timestamp of the last time changes were made to the model
- updated_
by str - the identifier of the user who updated the model last time
- browse
Only Boolean - aliases List<Property Map>
- the list of aliases associated with this model. Each item is object consisting of following attributes:
- catalog
Name String - The name of the catalog where the schema and the registered model reside.
- comment String
- The comment attached to the registered model.
- created
At Number - the Unix timestamp at the model's creation
- created
By String - the identifier of the user who created the model
- full
Name String - The fully-qualified name of the registered model (
catalog_name.schema_name.name). - metastore
Id String - the unique identifier of the metastore
- name String
- The name of the registered model.
- owner String
- Name of the registered model owner.
- schema
Name String - The name of the schema where the registered model resides.
- storage
Location String - The storage location under which model version data files are stored.
- updated
At Number - the timestamp of the last time changes were made to the model
- updated
By String - the identifier of the user who updated the model last time
GetRegisteredModelModelInfoAlias
- Alias
Name string - string with the name of alias
- Catalog
Name string - The name of the catalog where the schema and the registered model reside.
- Id string
- Model
Name string - Schema
Name string - The name of the schema where the registered model resides.
- Version
Num int - associated model version
- Alias
Name string - string with the name of alias
- Catalog
Name string - The name of the catalog where the schema and the registered model reside.
- Id string
- Model
Name string - Schema
Name string - The name of the schema where the registered model resides.
- Version
Num int - associated model version
- alias_
name string - string with the name of alias
- catalog_
name string - The name of the catalog where the schema and the registered model reside.
- id string
- model_
name string - schema_
name string - The name of the schema where the registered model resides.
- version_
num number - associated model version
- alias
Name String - string with the name of alias
- catalog
Name String - The name of the catalog where the schema and the registered model reside.
- id String
- model
Name String - schema
Name String - The name of the schema where the registered model resides.
- version
Num Integer - associated model version
- alias
Name string - string with the name of alias
- catalog
Name string - The name of the catalog where the schema and the registered model reside.
- id string
- model
Name string - schema
Name string - The name of the schema where the registered model resides.
- version
Num number - associated model version
- alias_
name str - string with the name of alias
- catalog_
name str - The name of the catalog where the schema and the registered model reside.
- id str
- model_
name str - schema_
name str - The name of the schema where the registered model resides.
- version_
num int - associated model version
- alias
Name String - string with the name of alias
- catalog
Name String - The name of the catalog where the schema and the registered model reside.
- id String
- model
Name String - schema
Name String - The name of the schema where the registered model resides.
- version
Num Number - associated model version
GetRegisteredModelProviderConfig
- Workspace
Id string
- Workspace
Id string
- workspace_
id string
- workspace
Id String
- workspace
Id string
- workspace_
id str
- workspace
Id String
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricksTerraform Provider.
Viewing docs for Databricks v1.100.0
published on Tuesday, Jul 21, 2026 by Pulumi
published on Tuesday, Jul 21, 2026 by Pulumi