Viewing docs for Databricks v1.119.0
published on Tuesday, Nov 3, 2026 by Pulumi
published on Tuesday, Nov 3, 2026 by Pulumi
Viewing docs for Databricks v1.119.0
published on Tuesday, Nov 3, 2026 by Pulumi
published on Tuesday, Nov 3, 2026 by Pulumi
Retrieves information about a databricks.getSqlWarehouse using its id. This could be retrieved programmatically using databricks.getSqlWarehouses data source.
This data source can only be used with a workspace-level provider!
Example Usage
- Retrieve attributes of each SQL warehouses in a workspace:
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const all = databricks.getSqlWarehouses({});
const _this = all.then(all => .reduce((__obj, [__key, __value]) => ({ ...__obj, [String(__key)]: databricks.getSqlWarehouse({
id: __value,
}) }), {}));
import pulumi
import pulumi_databricks as databricks
all = databricks.get_sql_warehouses()
this = {str(__key): databricks.get_sql_warehouse(id=__value) for __key, __value in enumerate(all.ids)}
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var all = Databricks.GetSqlWarehouses.Invoke();
var @this = .ToDictionary(item => {
var __key = item.Key;
return __key.ToString(System.Globalization.CultureInfo.InvariantCulture);
}, item => {
var __value = item.Value;
return Databricks.GetSqlWarehouse.Invoke(new()
{
Id = __value,
});
});
});
Example coming soon!
Example coming soon!
terraform {
required_providers {
databricks = {
source = "pulumi/databricks"
}
}
}
data "databricks_sql_warehouses" "all" {
}
data "databricks_sql_warehouse" "invoke_1" {
for_each = data.databricks_sql_warehouses.all.ids
id = each.value
}
locals {
this = {for __key, __value in data.databricks_sql_warehouses.all.ids : __key => data.databricks_sql_warehouse.invoke_1[__key]}
}
- Search for a specific SQL Warehouse by name:
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const all = databricks.getSqlWarehouse({
name: "Starter Warehouse",
});
import pulumi
import pulumi_databricks as databricks
all = databricks.get_sql_warehouse(name="Starter Warehouse")
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.GetSqlWarehouse(ctx, &databricks.GetSqlWarehouseArgs{
Name: pulumi.StringRef("Starter Warehouse"),
}, 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 all = Databricks.GetSqlWarehouse.Invoke(new()
{
Name = "Starter Warehouse",
});
});
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.GetSqlWarehouseArgs;
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 all = DatabricksFunctions.getSqlWarehouse(GetSqlWarehouseArgs.builder()
.name("Starter Warehouse")
.build());
}
}
variables:
all:
fn::invoke:
function: databricks:getSqlWarehouse
arguments:
name: Starter Warehouse
terraform {
required_providers {
databricks = {
source = "pulumi/databricks"
}
}
}
data "databricks_sql_warehouse" "all" {
name = "Starter Warehouse"
}
Related resources
The following resources are often used in the same context:
- End to end workspace management guide.
- databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
- databricks.SqlDashboard to manage Databricks SQL Dashboards.
- databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and data access properties for all databricks.getSqlWarehouse of workspace.
- databricks.Grants to manage data access in Unity Catalog.
Using getSqlWarehouse
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 getSqlWarehouse(args: GetSqlWarehouseArgs, opts?: InvokeOptions): Promise<GetSqlWarehouseResult>
function getSqlWarehouseOutput(args: GetSqlWarehouseOutputArgs, opts?: InvokeOutputOptions): Output<GetSqlWarehouseResult>def get_sql_warehouse(auto_stop_mins: Optional[int] = None,
channel: Optional[GetSqlWarehouseChannel] = None,
cluster_size: Optional[str] = None,
creator_name: Optional[str] = None,
customer_version_label: Optional[str] = None,
data_source_id: Optional[str] = None,
enable_photon: Optional[bool] = None,
enable_serverless_compute: Optional[bool] = None,
health: Optional[GetSqlWarehouseHealth] = None,
id: Optional[str] = None,
instance_profile_arn: Optional[str] = None,
jdbc_url: Optional[str] = None,
max_dbu: Optional[int] = None,
max_num_clusters: Optional[int] = None,
min_num_clusters: Optional[int] = None,
name: Optional[str] = None,
num_active_sessions: Optional[int] = None,
num_clusters: Optional[int] = None,
odbc_params: Optional[GetSqlWarehouseOdbcParams] = None,
provider_config: Optional[GetSqlWarehouseProviderConfig] = None,
reyden_cluster_size_multiplier: Optional[float] = None,
spot_instance_policy: Optional[str] = None,
state: Optional[str] = None,
statement_timeout: Optional[int] = None,
tags: Optional[GetSqlWarehouseTags] = None,
warehouse_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlWarehouseResult
def get_sql_warehouse_output(auto_stop_mins: pulumi.Input[Optional[int]] = None,
channel: pulumi.Input[Optional[GetSqlWarehouseChannelArgs]] = None,
cluster_size: pulumi.Input[Optional[str]] = None,
creator_name: pulumi.Input[Optional[str]] = None,
customer_version_label: pulumi.Input[Optional[str]] = None,
data_source_id: pulumi.Input[Optional[str]] = None,
enable_photon: pulumi.Input[Optional[bool]] = None,
enable_serverless_compute: pulumi.Input[Optional[bool]] = None,
health: pulumi.Input[Optional[GetSqlWarehouseHealthArgs]] = None,
id: pulumi.Input[Optional[str]] = None,
instance_profile_arn: pulumi.Input[Optional[str]] = None,
jdbc_url: pulumi.Input[Optional[str]] = None,
max_dbu: pulumi.Input[Optional[int]] = None,
max_num_clusters: pulumi.Input[Optional[int]] = None,
min_num_clusters: pulumi.Input[Optional[int]] = None,
name: pulumi.Input[Optional[str]] = None,
num_active_sessions: pulumi.Input[Optional[int]] = None,
num_clusters: pulumi.Input[Optional[int]] = None,
odbc_params: pulumi.Input[Optional[GetSqlWarehouseOdbcParamsArgs]] = None,
provider_config: pulumi.Input[Optional[GetSqlWarehouseProviderConfigArgs]] = None,
reyden_cluster_size_multiplier: pulumi.Input[Optional[float]] = None,
spot_instance_policy: pulumi.Input[Optional[str]] = None,
state: pulumi.Input[Optional[str]] = None,
statement_timeout: pulumi.Input[Optional[int]] = None,
tags: pulumi.Input[Optional[GetSqlWarehouseTagsArgs]] = None,
warehouse_type: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSqlWarehouseResult]func GetSqlWarehouse(ctx *Context, args *GetSqlWarehouseArgs, opts ...InvokeOption) (*GetSqlWarehouseResult, error)
func GetSqlWarehouseOutput(ctx *Context, args *GetSqlWarehouseOutputArgs, opts ...InvokeOption) GetSqlWarehouseResultOutput> Note: This function is named GetSqlWarehouse in the Go SDK.
public static class GetSqlWarehouse
{
public static Task<GetSqlWarehouseResult> InvokeAsync(GetSqlWarehouseArgs args, InvokeOptions? opts = null)
public static Output<GetSqlWarehouseResult> Invoke(GetSqlWarehouseInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSqlWarehouseResult> Invoke(GetSqlWarehouseInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSqlWarehouseResult> getSqlWarehouse(GetSqlWarehouseArgs args, InvokeOptions options)
public static Output<GetSqlWarehouseResult> getSqlWarehouse(GetSqlWarehouseArgs args, InvokeOptions options)
public static Output<GetSqlWarehouseResult> getSqlWarehouse(GetSqlWarehouseArgs args, InvokeOutputOptions options)
fn::invoke:
function: databricks:index/getSqlWarehouse:getSqlWarehouse
arguments:
# arguments dictionarydata "databricks_get_sql_warehouse" "name" {
# arguments
}The following arguments are supported:
- Auto
Stop intMins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- Channel
Get
Sql Warehouse Channel - block, consisting of following fields:
- Cluster
Size string - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- Creator
Name string - The username of the user who created the endpoint.
- Customer
Version stringLabel - REALTIME compute version label; empty if the API omits it.
- Data
Source stringId - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- Enable
Photon bool - Whether Photon is enabled.
- Enable
Serverless boolCompute - Whether this SQL warehouse is a serverless SQL warehouse.
- Health
Get
Sql Warehouse Health - Health status of the endpoint.
- Id string
- The ID of the SQL warehouse.
- Instance
Profile stringArn - Jdbc
Url string - JDBC connection string.
- Max
Dbu int - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - Max
Num intClusters - Maximum number of clusters available when a SQL warehouse is running.
- Min
Num intClusters - Minimum number of clusters available when a SQL warehouse is running.
- Name string
- Name of the SQL warehouse to search (case-sensitive).
- Num
Active intSessions - The current number of clusters used by the endpoint.
- Num
Clusters int - The current number of clusters used by the endpoint.
- Odbc
Params GetSql Warehouse Odbc Params - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - Provider
Config GetSql Warehouse Provider Config - Reyden
Cluster doubleSize Multiplier - Spot
Instance stringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - State string
- The current state of the endpoint.
- Statement
Timeout int - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. -
Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- Warehouse
Type string - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
- Auto
Stop intMins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- Channel
Get
Sql Warehouse Channel - block, consisting of following fields:
- Cluster
Size string - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- Creator
Name string - The username of the user who created the endpoint.
- Customer
Version stringLabel - REALTIME compute version label; empty if the API omits it.
- Data
Source stringId - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- Enable
Photon bool - Whether Photon is enabled.
- Enable
Serverless boolCompute - Whether this SQL warehouse is a serverless SQL warehouse.
- Health
Get
Sql Warehouse Health - Health status of the endpoint.
- Id string
- The ID of the SQL warehouse.
- Instance
Profile stringArn - Jdbc
Url string - JDBC connection string.
- Max
Dbu int - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - Max
Num intClusters - Maximum number of clusters available when a SQL warehouse is running.
- Min
Num intClusters - Minimum number of clusters available when a SQL warehouse is running.
- Name string
- Name of the SQL warehouse to search (case-sensitive).
- Num
Active intSessions - The current number of clusters used by the endpoint.
- Num
Clusters int - The current number of clusters used by the endpoint.
- Odbc
Params GetSql Warehouse Odbc Params - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - Provider
Config GetSql Warehouse Provider Config - Reyden
Cluster float64Size Multiplier - Spot
Instance stringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - State string
- The current state of the endpoint.
- Statement
Timeout int - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. -
Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- Warehouse
Type string - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
- auto_
stop_ numbermins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel object
- block, consisting of following fields:
- cluster_
size string - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- creator_
name string - The username of the user who created the endpoint.
- customer_
version_ stringlabel - REALTIME compute version label; empty if the API omits it.
- data_
source_ stringid - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enable_
photon bool - Whether Photon is enabled.
- enable_
serverless_ boolcompute - Whether this SQL warehouse is a serverless SQL warehouse.
- health object
- Health status of the endpoint.
- id string
- The ID of the SQL warehouse.
- instance_
profile_ stringarn - jdbc_
url string - JDBC connection string.
- max_
dbu number - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - max_
num_ numberclusters - Maximum number of clusters available when a SQL warehouse is running.
- min_
num_ numberclusters - Minimum number of clusters available when a SQL warehouse is running.
- name string
- Name of the SQL warehouse to search (case-sensitive).
- num_
active_ numbersessions - The current number of clusters used by the endpoint.
- num_
clusters number - The current number of clusters used by the endpoint.
- odbc_
params object - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - provider_
config object - reyden_
cluster_ numbersize_ multiplier - spot_
instance_ stringpolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - state string
- The current state of the endpoint.
- statement_
timeout number - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. - object
- tags used for SQL warehouse resources.
- warehouse_
type string - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
- auto
Stop IntegerMins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel
Get
Sql Warehouse Channel - block, consisting of following fields:
- cluster
Size String - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- creator
Name String - The username of the user who created the endpoint.
- customer
Version StringLabel - REALTIME compute version label; empty if the API omits it.
- data
Source StringId - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enable
Photon Boolean - Whether Photon is enabled.
- enable
Serverless BooleanCompute - Whether this SQL warehouse is a serverless SQL warehouse.
- health
Get
Sql Warehouse Health - Health status of the endpoint.
- id String
- The ID of the SQL warehouse.
- instance
Profile StringArn - jdbc
Url String - JDBC connection string.
- max
Dbu Integer - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - max
Num IntegerClusters - Maximum number of clusters available when a SQL warehouse is running.
- min
Num IntegerClusters - Minimum number of clusters available when a SQL warehouse is running.
- name String
- Name of the SQL warehouse to search (case-sensitive).
- num
Active IntegerSessions - The current number of clusters used by the endpoint.
- num
Clusters Integer - The current number of clusters used by the endpoint.
- odbc
Params GetSql Warehouse Odbc Params - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - provider
Config GetSql Warehouse Provider Config - reyden
Cluster DoubleSize Multiplier - spot
Instance StringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - state String
- The current state of the endpoint.
- statement
Timeout Integer - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. -
Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- warehouse
Type String - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
- auto
Stop numberMins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel
Get
Sql Warehouse Channel - block, consisting of following fields:
- cluster
Size string - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- creator
Name string - The username of the user who created the endpoint.
- customer
Version stringLabel - REALTIME compute version label; empty if the API omits it.
- data
Source stringId - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enable
Photon boolean - Whether Photon is enabled.
- enable
Serverless booleanCompute - Whether this SQL warehouse is a serverless SQL warehouse.
- health
Get
Sql Warehouse Health - Health status of the endpoint.
- id string
- The ID of the SQL warehouse.
- instance
Profile stringArn - jdbc
Url string - JDBC connection string.
- max
Dbu number - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - max
Num numberClusters - Maximum number of clusters available when a SQL warehouse is running.
- min
Num numberClusters - Minimum number of clusters available when a SQL warehouse is running.
- name string
- Name of the SQL warehouse to search (case-sensitive).
- num
Active numberSessions - The current number of clusters used by the endpoint.
- num
Clusters number - The current number of clusters used by the endpoint.
- odbc
Params GetSql Warehouse Odbc Params - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - provider
Config GetSql Warehouse Provider Config - reyden
Cluster numberSize Multiplier - spot
Instance stringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - state string
- The current state of the endpoint.
- statement
Timeout number - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. -
Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- warehouse
Type string - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
- auto_
stop_ intmins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel
Get
Sql Warehouse Channel - block, consisting of following fields:
- cluster_
size str - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- creator_
name str - The username of the user who created the endpoint.
- customer_
version_ strlabel - REALTIME compute version label; empty if the API omits it.
- data_
source_ strid - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enable_
photon bool - Whether Photon is enabled.
- enable_
serverless_ boolcompute - Whether this SQL warehouse is a serverless SQL warehouse.
- health
Get
Sql Warehouse Health - Health status of the endpoint.
- id str
- The ID of the SQL warehouse.
- instance_
profile_ strarn - jdbc_
url str - JDBC connection string.
- max_
dbu int - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - max_
num_ intclusters - Maximum number of clusters available when a SQL warehouse is running.
- min_
num_ intclusters - Minimum number of clusters available when a SQL warehouse is running.
- name str
- Name of the SQL warehouse to search (case-sensitive).
- num_
active_ intsessions - The current number of clusters used by the endpoint.
- num_
clusters int - The current number of clusters used by the endpoint.
- odbc_
params GetSql Warehouse Odbc Params - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - provider_
config GetSql Warehouse Provider Config - reyden_
cluster_ floatsize_ multiplier - spot_
instance_ strpolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - state str
- The current state of the endpoint.
- statement_
timeout int - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. -
Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- warehouse_
type str - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
- auto
Stop NumberMins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel Property Map
- block, consisting of following fields:
- cluster
Size String - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- creator
Name String - The username of the user who created the endpoint.
- customer
Version StringLabel - REALTIME compute version label; empty if the API omits it.
- data
Source StringId - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enable
Photon Boolean - Whether Photon is enabled.
- enable
Serverless BooleanCompute - Whether this SQL warehouse is a serverless SQL warehouse.
- health Property Map
- Health status of the endpoint.
- id String
- The ID of the SQL warehouse.
- instance
Profile StringArn - jdbc
Url String - JDBC connection string.
- max
Dbu Number - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - max
Num NumberClusters - Maximum number of clusters available when a SQL warehouse is running.
- min
Num NumberClusters - Minimum number of clusters available when a SQL warehouse is running.
- name String
- Name of the SQL warehouse to search (case-sensitive).
- num
Active NumberSessions - The current number of clusters used by the endpoint.
- num
Clusters Number - The current number of clusters used by the endpoint.
- odbc
Params Property Map - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - provider
Config Property Map - reyden
Cluster NumberSize Multiplier - spot
Instance StringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - state String
- The current state of the endpoint.
- statement
Timeout Number - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. - Property Map
- tags used for SQL warehouse resources.
- warehouse
Type String - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
getSqlWarehouse Result
The following output properties are available:
- Auto
Stop intMins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- Channel
Get
Sql Warehouse Channel - block, consisting of following fields:
- Cluster
Size string - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- Creator
Name string - The username of the user who created the endpoint.
- Customer
Version stringLabel - REALTIME compute version label; empty if the API omits it.
- Data
Source stringId - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- Enable
Photon bool - Whether Photon is enabled.
- Enable
Serverless boolCompute - Whether this SQL warehouse is a serverless SQL warehouse.
- Health
Get
Sql Warehouse Health - Health status of the endpoint.
- Id string
- The ID of the SQL warehouse.
- Instance
Profile stringArn - Jdbc
Url string - JDBC connection string.
- Max
Dbu int - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - Max
Num intClusters - Maximum number of clusters available when a SQL warehouse is running.
- Min
Num intClusters - Minimum number of clusters available when a SQL warehouse is running.
- Name string
- Name of the Databricks SQL release channel. Possible values are:
CHANNEL_NAME_PREVIEWandCHANNEL_NAME_CURRENT. Default isCHANNEL_NAME_CURRENT. - Num
Active intSessions - The current number of clusters used by the endpoint.
- Num
Clusters int - The current number of clusters used by the endpoint.
- Odbc
Params GetSql Warehouse Odbc Params - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - Provider
Config GetSql Warehouse Provider Config - Reyden
Cluster doubleSize Multiplier - Spot
Instance stringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - State string
- The current state of the endpoint.
- Statement
Timeout int - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. -
Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- Warehouse
Type string - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
- Auto
Stop intMins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- Channel
Get
Sql Warehouse Channel - block, consisting of following fields:
- Cluster
Size string - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- Creator
Name string - The username of the user who created the endpoint.
- Customer
Version stringLabel - REALTIME compute version label; empty if the API omits it.
- Data
Source stringId - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- Enable
Photon bool - Whether Photon is enabled.
- Enable
Serverless boolCompute - Whether this SQL warehouse is a serverless SQL warehouse.
- Health
Get
Sql Warehouse Health - Health status of the endpoint.
- Id string
- The ID of the SQL warehouse.
- Instance
Profile stringArn - Jdbc
Url string - JDBC connection string.
- Max
Dbu int - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - Max
Num intClusters - Maximum number of clusters available when a SQL warehouse is running.
- Min
Num intClusters - Minimum number of clusters available when a SQL warehouse is running.
- Name string
- Name of the Databricks SQL release channel. Possible values are:
CHANNEL_NAME_PREVIEWandCHANNEL_NAME_CURRENT. Default isCHANNEL_NAME_CURRENT. - Num
Active intSessions - The current number of clusters used by the endpoint.
- Num
Clusters int - The current number of clusters used by the endpoint.
- Odbc
Params GetSql Warehouse Odbc Params - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - Provider
Config GetSql Warehouse Provider Config - Reyden
Cluster float64Size Multiplier - Spot
Instance stringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - State string
- The current state of the endpoint.
- Statement
Timeout int - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. -
Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- Warehouse
Type string - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
- auto_
stop_ numbermins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel object
- block, consisting of following fields:
- cluster_
size string - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- creator_
name string - The username of the user who created the endpoint.
- customer_
version_ stringlabel - REALTIME compute version label; empty if the API omits it.
- data_
source_ stringid - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enable_
photon bool - Whether Photon is enabled.
- enable_
serverless_ boolcompute - Whether this SQL warehouse is a serverless SQL warehouse.
- health object
- Health status of the endpoint.
- id string
- The ID of the SQL warehouse.
- instance_
profile_ stringarn - jdbc_
url string - JDBC connection string.
- max_
dbu number - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - max_
num_ numberclusters - Maximum number of clusters available when a SQL warehouse is running.
- min_
num_ numberclusters - Minimum number of clusters available when a SQL warehouse is running.
- name string
- Name of the Databricks SQL release channel. Possible values are:
CHANNEL_NAME_PREVIEWandCHANNEL_NAME_CURRENT. Default isCHANNEL_NAME_CURRENT. - num_
active_ numbersessions - The current number of clusters used by the endpoint.
- num_
clusters number - The current number of clusters used by the endpoint.
- odbc_
params object - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - provider_
config object - reyden_
cluster_ numbersize_ multiplier - spot_
instance_ stringpolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - state string
- The current state of the endpoint.
- statement_
timeout number - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. - object
- tags used for SQL warehouse resources.
- warehouse_
type string - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
- auto
Stop IntegerMins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel
Get
Sql Warehouse Channel - block, consisting of following fields:
- cluster
Size String - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- creator
Name String - The username of the user who created the endpoint.
- customer
Version StringLabel - REALTIME compute version label; empty if the API omits it.
- data
Source StringId - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enable
Photon Boolean - Whether Photon is enabled.
- enable
Serverless BooleanCompute - Whether this SQL warehouse is a serverless SQL warehouse.
- health
Get
Sql Warehouse Health - Health status of the endpoint.
- id String
- The ID of the SQL warehouse.
- instance
Profile StringArn - jdbc
Url String - JDBC connection string.
- max
Dbu Integer - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - max
Num IntegerClusters - Maximum number of clusters available when a SQL warehouse is running.
- min
Num IntegerClusters - Minimum number of clusters available when a SQL warehouse is running.
- name String
- Name of the Databricks SQL release channel. Possible values are:
CHANNEL_NAME_PREVIEWandCHANNEL_NAME_CURRENT. Default isCHANNEL_NAME_CURRENT. - num
Active IntegerSessions - The current number of clusters used by the endpoint.
- num
Clusters Integer - The current number of clusters used by the endpoint.
- odbc
Params GetSql Warehouse Odbc Params - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - provider
Config GetSql Warehouse Provider Config - reyden
Cluster DoubleSize Multiplier - spot
Instance StringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - state String
- The current state of the endpoint.
- statement
Timeout Integer - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. -
Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- warehouse
Type String - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
- auto
Stop numberMins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel
Get
Sql Warehouse Channel - block, consisting of following fields:
- cluster
Size string - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- creator
Name string - The username of the user who created the endpoint.
- customer
Version stringLabel - REALTIME compute version label; empty if the API omits it.
- data
Source stringId - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enable
Photon boolean - Whether Photon is enabled.
- enable
Serverless booleanCompute - Whether this SQL warehouse is a serverless SQL warehouse.
- health
Get
Sql Warehouse Health - Health status of the endpoint.
- id string
- The ID of the SQL warehouse.
- instance
Profile stringArn - jdbc
Url string - JDBC connection string.
- max
Dbu number - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - max
Num numberClusters - Maximum number of clusters available when a SQL warehouse is running.
- min
Num numberClusters - Minimum number of clusters available when a SQL warehouse is running.
- name string
- Name of the Databricks SQL release channel. Possible values are:
CHANNEL_NAME_PREVIEWandCHANNEL_NAME_CURRENT. Default isCHANNEL_NAME_CURRENT. - num
Active numberSessions - The current number of clusters used by the endpoint.
- num
Clusters number - The current number of clusters used by the endpoint.
- odbc
Params GetSql Warehouse Odbc Params - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - provider
Config GetSql Warehouse Provider Config - reyden
Cluster numberSize Multiplier - spot
Instance stringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - state string
- The current state of the endpoint.
- statement
Timeout number - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. -
Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- warehouse
Type string - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
- auto_
stop_ intmins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel
Get
Sql Warehouse Channel - block, consisting of following fields:
- cluster_
size str - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- creator_
name str - The username of the user who created the endpoint.
- customer_
version_ strlabel - REALTIME compute version label; empty if the API omits it.
- data_
source_ strid - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enable_
photon bool - Whether Photon is enabled.
- enable_
serverless_ boolcompute - Whether this SQL warehouse is a serverless SQL warehouse.
- health
Get
Sql Warehouse Health - Health status of the endpoint.
- id str
- The ID of the SQL warehouse.
- instance_
profile_ strarn - jdbc_
url str - JDBC connection string.
- max_
dbu int - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - max_
num_ intclusters - Maximum number of clusters available when a SQL warehouse is running.
- min_
num_ intclusters - Minimum number of clusters available when a SQL warehouse is running.
- name str
- Name of the Databricks SQL release channel. Possible values are:
CHANNEL_NAME_PREVIEWandCHANNEL_NAME_CURRENT. Default isCHANNEL_NAME_CURRENT. - num_
active_ intsessions - The current number of clusters used by the endpoint.
- num_
clusters int - The current number of clusters used by the endpoint.
- odbc_
params GetSql Warehouse Odbc Params - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - provider_
config GetSql Warehouse Provider Config - reyden_
cluster_ floatsize_ multiplier - spot_
instance_ strpolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - state str
- The current state of the endpoint.
- statement_
timeout int - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. -
Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- warehouse_
type str - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
- auto
Stop NumberMins - Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel Property Map
- block, consisting of following fields:
- cluster
Size String - The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large", "5X-Large".
- creator
Name String - The username of the user who created the endpoint.
- customer
Version StringLabel - REALTIME compute version label; empty if the API omits it.
- data
Source StringId - (Deprecated, will be removed) ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enable
Photon Boolean - Whether Photon is enabled.
- enable
Serverless BooleanCompute - Whether this SQL warehouse is a serverless SQL warehouse.
- health Property Map
- Health status of the endpoint.
- id String
- The ID of the SQL warehouse.
- instance
Profile StringArn - jdbc
Url String - JDBC connection string.
- max
Dbu Number - Configured maximum compute capacity in DBU per hour for a REALTIME warehouse. Returns
0when the API omits the field. - max
Num NumberClusters - Maximum number of clusters available when a SQL warehouse is running.
- min
Num NumberClusters - Minimum number of clusters available when a SQL warehouse is running.
- name String
- Name of the Databricks SQL release channel. Possible values are:
CHANNEL_NAME_PREVIEWandCHANNEL_NAME_CURRENT. Default isCHANNEL_NAME_CURRENT. - num
Active NumberSessions - The current number of clusters used by the endpoint.
- num
Clusters Number - The current number of clusters used by the endpoint.
- odbc
Params Property Map - ODBC connection params:
odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port. - provider
Config Property Map - reyden
Cluster NumberSize Multiplier - spot
Instance StringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZEDorRELIABILITY_OPTIMIZED. - state String
- The current state of the endpoint.
- statement
Timeout Number - Statement timeout in seconds for a REALTIME warehouse;
0means no warehouse override. Returns0if the API omits the field or for other warehouse types. - Property Map
- tags used for SQL warehouse resources.
- warehouse
Type String - SQL warehouse type:
PRO,CLASSIC, orREALTIME. See documentation.
Supporting Types
GetSqlWarehouseChannel
- Dbsql
Version string - Name string
- Name of the SQL warehouse to search (case-sensitive).
- Dbsql
Version string - Name string
- Name of the SQL warehouse to search (case-sensitive).
- dbsql_
version string - name string
- Name of the SQL warehouse to search (case-sensitive).
- dbsql
Version String - name String
- Name of the SQL warehouse to search (case-sensitive).
- dbsql
Version string - name string
- Name of the SQL warehouse to search (case-sensitive).
- dbsql_
version str - name str
- Name of the SQL warehouse to search (case-sensitive).
- dbsql
Version String - name String
- Name of the SQL warehouse to search (case-sensitive).
GetSqlWarehouseHealth
- Details string
- Failure
Reason GetSql Warehouse Health Failure Reason - Message string
- Status string
- Summary string
- Details string
- Failure
Reason GetSql Warehouse Health Failure Reason - Message string
- Status string
- Summary string
- details String
- failure
Reason GetSql Warehouse Health Failure Reason - message String
- status String
- summary String
- details string
- failure
Reason GetSql Warehouse Health Failure Reason - message string
- status string
- summary string
- details String
- failure
Reason Property Map - message String
- status String
- summary String
GetSqlWarehouseHealthFailureReason
- Code string
- Parameters Dictionary<string, string>
- Type string
- Code string
- Parameters map[string]string
- Type string
- code string
- parameters map(string)
- type string
- code String
- parameters Map<String,String>
- type String
- code string
- parameters {[key: string]: string}
- type string
- code str
- parameters Mapping[str, str]
- type str
- code String
- parameters Map<String>
- type String
GetSqlWarehouseOdbcParams
GetSqlWarehouseProviderConfig
- Workspace
Id string
- Workspace
Id string
- workspace_
id string
- workspace
Id String
- workspace
Id string
- workspace_
id str
- workspace
Id String
GetSqlWarehouseTags
GetSqlWarehouseTagsCustomTag
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.119.0
published on Tuesday, Nov 3, 2026 by Pulumi
published on Tuesday, Nov 3, 2026 by Pulumi