Viewing docs for Databricks v1.90.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
Viewing docs for Databricks v1.90.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
This data source can be used to get a single Database Catalog.
Example Usage
Referring to a Database Catalog by name:
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const _this = databricks.getDatabaseDatabaseCatalog({
name: "my-database-catalog",
});
import pulumi
import pulumi_databricks as databricks
this = databricks.get_database_database_catalog(name="my-database-catalog")
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.LookupDatabaseDatabaseCatalog(ctx, &databricks.LookupDatabaseDatabaseCatalogArgs{
Name: "my-database-catalog",
}, 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.GetDatabaseDatabaseCatalog.Invoke(new()
{
Name = "my-database-catalog",
});
});
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.GetDatabaseDatabaseCatalogArgs;
import java.util.List;
import java.util.ArrayList;
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.getDatabaseDatabaseCatalog(GetDatabaseDatabaseCatalogArgs.builder()
.name("my-database-catalog")
.build());
}
}
variables:
this:
fn::invoke:
function: databricks:getDatabaseDatabaseCatalog
arguments:
name: my-database-catalog
Using getDatabaseDatabaseCatalog
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 getDatabaseDatabaseCatalog(args: GetDatabaseDatabaseCatalogArgs, opts?: InvokeOptions): Promise<GetDatabaseDatabaseCatalogResult>
function getDatabaseDatabaseCatalogOutput(args: GetDatabaseDatabaseCatalogOutputArgs, opts?: InvokeOptions): Output<GetDatabaseDatabaseCatalogResult>def get_database_database_catalog(name: Optional[str] = None,
provider_config: Optional[GetDatabaseDatabaseCatalogProviderConfig] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseDatabaseCatalogResult
def get_database_database_catalog_output(name: Optional[pulumi.Input[str]] = None,
provider_config: Optional[pulumi.Input[GetDatabaseDatabaseCatalogProviderConfigArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseDatabaseCatalogResult]func LookupDatabaseDatabaseCatalog(ctx *Context, args *LookupDatabaseDatabaseCatalogArgs, opts ...InvokeOption) (*LookupDatabaseDatabaseCatalogResult, error)
func LookupDatabaseDatabaseCatalogOutput(ctx *Context, args *LookupDatabaseDatabaseCatalogOutputArgs, opts ...InvokeOption) LookupDatabaseDatabaseCatalogResultOutput> Note: This function is named LookupDatabaseDatabaseCatalog in the Go SDK.
public static class GetDatabaseDatabaseCatalog
{
public static Task<GetDatabaseDatabaseCatalogResult> InvokeAsync(GetDatabaseDatabaseCatalogArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseDatabaseCatalogResult> Invoke(GetDatabaseDatabaseCatalogInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabaseDatabaseCatalogResult> getDatabaseDatabaseCatalog(GetDatabaseDatabaseCatalogArgs args, InvokeOptions options)
public static Output<GetDatabaseDatabaseCatalogResult> getDatabaseDatabaseCatalog(GetDatabaseDatabaseCatalogArgs args, InvokeOptions options)
fn::invoke:
function: databricks:index/getDatabaseDatabaseCatalog:getDatabaseDatabaseCatalog
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the catalog in UC
- Provider
Config GetDatabase Database Catalog Provider Config - Configure the provider for management through account provider.
- Name string
- The name of the catalog in UC
- Provider
Config GetDatabase Database Catalog Provider Config - Configure the provider for management through account provider.
- name String
- The name of the catalog in UC
- provider
Config GetDatabase Database Catalog Provider Config - Configure the provider for management through account provider.
- name string
- The name of the catalog in UC
- provider
Config GetDatabase Database Catalog Provider Config - Configure the provider for management through account provider.
- name str
- The name of the catalog in UC
- provider_
config GetDatabase Database Catalog Provider Config - Configure the provider for management through account provider.
- name String
- The name of the catalog in UC
- provider
Config Property Map - Configure the provider for management through account provider.
getDatabaseDatabaseCatalog Result
The following output properties are available:
- Create
Database boolIf Not Exists - (boolean)
- Database
Instance stringName - (string) - The name of the DatabaseInstance housing the database
- Database
Name string - (string) - The name of the database (in a instance) associated with the catalog
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- (string) - The name of the catalog in UC
- Uid string
- (string)
- Provider
Config GetDatabase Database Catalog Provider Config
- Create
Database boolIf Not Exists - (boolean)
- Database
Instance stringName - (string) - The name of the DatabaseInstance housing the database
- Database
Name string - (string) - The name of the database (in a instance) associated with the catalog
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- (string) - The name of the catalog in UC
- Uid string
- (string)
- Provider
Config GetDatabase Database Catalog Provider Config
- create
Database BooleanIf Not Exists - (boolean)
- database
Instance StringName - (string) - The name of the DatabaseInstance housing the database
- database
Name String - (string) - The name of the database (in a instance) associated with the catalog
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- (string) - The name of the catalog in UC
- uid String
- (string)
- provider
Config GetDatabase Database Catalog Provider Config
- create
Database booleanIf Not Exists - (boolean)
- database
Instance stringName - (string) - The name of the DatabaseInstance housing the database
- database
Name string - (string) - The name of the database (in a instance) associated with the catalog
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- (string) - The name of the catalog in UC
- uid string
- (string)
- provider
Config GetDatabase Database Catalog Provider Config
- create_
database_ boolif_ not_ exists - (boolean)
- database_
instance_ strname - (string) - The name of the DatabaseInstance housing the database
- database_
name str - (string) - The name of the database (in a instance) associated with the catalog
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- (string) - The name of the catalog in UC
- uid str
- (string)
- provider_
config GetDatabase Database Catalog Provider Config
- create
Database BooleanIf Not Exists - (boolean)
- database
Instance StringName - (string) - The name of the DatabaseInstance housing the database
- database
Name String - (string) - The name of the database (in a instance) associated with the catalog
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- (string) - The name of the catalog in UC
- uid String
- (string)
- provider
Config Property Map
Supporting Types
GetDatabaseDatabaseCatalogProviderConfig
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id String - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace_
id str - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id String - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
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.90.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
