databricks.getSqlWarehouse
Explore with Pulumi AI
Note If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent default auth: cannot configure default credentials errors.
Retrieves information about a databricks.getSqlWarehouse using its id. This could be retrieved programmatically using databricks.getSqlWarehouses data source.
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, [__key]: databricks.getSqlWarehouse({
    id: __value,
}) })));
import pulumi
import pulumi_databricks as databricks
all = databricks.get_sql_warehouses()
this = {__key: databricks.get_sql_warehouse(id=__value) for __key, __value in all.ids}
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 = ;
});
Coming soon!
Coming soon!
- 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.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 all = DatabricksFunctions.getSqlWarehouse(GetSqlWarehouseArgs.builder()
            .name("Starter Warehouse")
            .build());
    }
}
variables:
  all:
    fn::invoke:
      function: databricks:getSqlWarehouse
      arguments:
        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.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and more.
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?: InvokeOptions): 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,
                      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_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,
                      spot_instance_policy: Optional[str] = None,
                      state: Optional[str] = None,
                      tags: Optional[GetSqlWarehouseTags] = None,
                      warehouse_type: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetSqlWarehouseResult
def get_sql_warehouse_output(auto_stop_mins: Optional[pulumi.Input[int]] = None,
                      channel: Optional[pulumi.Input[GetSqlWarehouseChannelArgs]] = None,
                      cluster_size: Optional[pulumi.Input[str]] = None,
                      creator_name: Optional[pulumi.Input[str]] = None,
                      data_source_id: Optional[pulumi.Input[str]] = None,
                      enable_photon: Optional[pulumi.Input[bool]] = None,
                      enable_serverless_compute: Optional[pulumi.Input[bool]] = None,
                      health: Optional[pulumi.Input[GetSqlWarehouseHealthArgs]] = None,
                      id: Optional[pulumi.Input[str]] = None,
                      instance_profile_arn: Optional[pulumi.Input[str]] = None,
                      jdbc_url: Optional[pulumi.Input[str]] = None,
                      max_num_clusters: Optional[pulumi.Input[int]] = None,
                      min_num_clusters: Optional[pulumi.Input[int]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      num_active_sessions: Optional[pulumi.Input[int]] = None,
                      num_clusters: Optional[pulumi.Input[int]] = None,
                      odbc_params: Optional[pulumi.Input[GetSqlWarehouseOdbcParamsArgs]] = None,
                      spot_instance_policy: Optional[pulumi.Input[str]] = None,
                      state: Optional[pulumi.Input[str]] = None,
                      tags: Optional[pulumi.Input[GetSqlWarehouseTagsArgs]] = None,
                      warehouse_type: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = 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 CompletableFuture<GetSqlWarehouseResult> getSqlWarehouse(GetSqlWarehouseArgs args, InvokeOptions options)
public static Output<GetSqlWarehouseResult> getSqlWarehouse(GetSqlWarehouseArgs args, InvokeOptions options)
fn::invoke:
  function: databricks:index/getSqlWarehouse:getSqlWarehouse
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AutoStop intMins 
- Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- Channel
GetSql Warehouse Channel 
- block, consisting of following fields:
- ClusterSize 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".
- CreatorName string
- The username of the user who created the endpoint.
- DataSource stringId 
- ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- EnablePhoton bool
- Whether Photon is enabled.
- EnableServerless boolCompute 
- Whether this SQL warehouse is a serverless SQL warehouse.
- Health
GetSql Warehouse Health 
- Health status of the endpoint.
- Id string
- The ID of the SQL warehouse.
- InstanceProfile stringArn 
- JdbcUrl string
- JDBC connection string.
- MaxNum intClusters 
- Maximum number of clusters available when a SQL warehouse is running.
- MinNum intClusters 
- Minimum number of clusters available when a SQL warehouse is running.
- Name string
- Name of the SQL warehouse to search (case-sensitive).
- NumActive intSessions 
- The current number of clusters used by the endpoint.
- NumClusters int
- The current number of clusters used by the endpoint.
- OdbcParams GetSql Warehouse Odbc Params 
- ODBC connection params: odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port.
- SpotInstance stringPolicy 
- The spot policy to use for allocating instances to clusters: COST_OPTIMIZEDorRELIABILITY_OPTIMIZED.
- State string
- The current state of the endpoint.
- 
GetSql Warehouse Tags 
- tags used for SQL warehouse resources.
- WarehouseType string
- SQL warehouse type. See for AWS or Azure.
- AutoStop intMins 
- Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- Channel
GetSql Warehouse Channel 
- block, consisting of following fields:
- ClusterSize 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".
- CreatorName string
- The username of the user who created the endpoint.
- DataSource stringId 
- ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- EnablePhoton bool
- Whether Photon is enabled.
- EnableServerless boolCompute 
- Whether this SQL warehouse is a serverless SQL warehouse.
- Health
GetSql Warehouse Health 
- Health status of the endpoint.
- Id string
- The ID of the SQL warehouse.
- InstanceProfile stringArn 
- JdbcUrl string
- JDBC connection string.
- MaxNum intClusters 
- Maximum number of clusters available when a SQL warehouse is running.
- MinNum intClusters 
- Minimum number of clusters available when a SQL warehouse is running.
- Name string
- Name of the SQL warehouse to search (case-sensitive).
- NumActive intSessions 
- The current number of clusters used by the endpoint.
- NumClusters int
- The current number of clusters used by the endpoint.
- OdbcParams GetSql Warehouse Odbc Params 
- ODBC connection params: odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port.
- SpotInstance stringPolicy 
- The spot policy to use for allocating instances to clusters: COST_OPTIMIZEDorRELIABILITY_OPTIMIZED.
- State string
- The current state of the endpoint.
- 
GetSql Warehouse Tags 
- tags used for SQL warehouse resources.
- WarehouseType string
- SQL warehouse type. See for AWS or Azure.
- autoStop IntegerMins 
- Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel
GetSql Warehouse Channel 
- block, consisting of following fields:
- clusterSize 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".
- creatorName String
- The username of the user who created the endpoint.
- dataSource StringId 
- ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enablePhoton Boolean
- Whether Photon is enabled.
- enableServerless BooleanCompute 
- Whether this SQL warehouse is a serverless SQL warehouse.
- health
GetSql Warehouse Health 
- Health status of the endpoint.
- id String
- The ID of the SQL warehouse.
- instanceProfile StringArn 
- jdbcUrl String
- JDBC connection string.
- maxNum IntegerClusters 
- Maximum number of clusters available when a SQL warehouse is running.
- minNum IntegerClusters 
- Minimum number of clusters available when a SQL warehouse is running.
- name String
- Name of the SQL warehouse to search (case-sensitive).
- numActive IntegerSessions 
- The current number of clusters used by the endpoint.
- numClusters Integer
- The current number of clusters used by the endpoint.
- odbcParams GetSql Warehouse Odbc Params 
- ODBC connection params: odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port.
- spotInstance StringPolicy 
- The spot policy to use for allocating instances to clusters: COST_OPTIMIZEDorRELIABILITY_OPTIMIZED.
- state String
- The current state of the endpoint.
- 
GetSql Warehouse Tags 
- tags used for SQL warehouse resources.
- warehouseType String
- SQL warehouse type. See for AWS or Azure.
- autoStop numberMins 
- Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel
GetSql Warehouse Channel 
- block, consisting of following fields:
- clusterSize 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".
- creatorName string
- The username of the user who created the endpoint.
- dataSource stringId 
- ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enablePhoton boolean
- Whether Photon is enabled.
- enableServerless booleanCompute 
- Whether this SQL warehouse is a serverless SQL warehouse.
- health
GetSql Warehouse Health 
- Health status of the endpoint.
- id string
- The ID of the SQL warehouse.
- instanceProfile stringArn 
- jdbcUrl string
- JDBC connection string.
- maxNum numberClusters 
- Maximum number of clusters available when a SQL warehouse is running.
- minNum numberClusters 
- Minimum number of clusters available when a SQL warehouse is running.
- name string
- Name of the SQL warehouse to search (case-sensitive).
- numActive numberSessions 
- The current number of clusters used by the endpoint.
- numClusters number
- The current number of clusters used by the endpoint.
- odbcParams GetSql Warehouse Odbc Params 
- ODBC connection params: odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port.
- spotInstance stringPolicy 
- The spot policy to use for allocating instances to clusters: COST_OPTIMIZEDorRELIABILITY_OPTIMIZED.
- state string
- The current state of the endpoint.
- 
GetSql Warehouse Tags 
- tags used for SQL warehouse resources.
- warehouseType string
- SQL warehouse type. See for AWS or Azure.
- auto_stop_ intmins 
- Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel
GetSql 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".
- creator_name str
- The username of the user who created the endpoint.
- data_source_ strid 
- 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
GetSql 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_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.
- spot_instance_ strpolicy 
- The spot policy to use for allocating instances to clusters: COST_OPTIMIZEDorRELIABILITY_OPTIMIZED.
- state str
- The current state of the endpoint.
- 
GetSql Warehouse Tags 
- tags used for SQL warehouse resources.
- warehouse_type str
- SQL warehouse type. See for AWS or Azure.
- autoStop NumberMins 
- Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel Property Map
- block, consisting of following fields:
- clusterSize 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".
- creatorName String
- The username of the user who created the endpoint.
- dataSource StringId 
- ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enablePhoton Boolean
- Whether Photon is enabled.
- enableServerless 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.
- instanceProfile StringArn 
- jdbcUrl String
- JDBC connection string.
- maxNum NumberClusters 
- Maximum number of clusters available when a SQL warehouse is running.
- minNum NumberClusters 
- Minimum number of clusters available when a SQL warehouse is running.
- name String
- Name of the SQL warehouse to search (case-sensitive).
- numActive NumberSessions 
- The current number of clusters used by the endpoint.
- numClusters Number
- The current number of clusters used by the endpoint.
- odbcParams Property Map
- ODBC connection params: odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port.
- spotInstance StringPolicy 
- The spot policy to use for allocating instances to clusters: COST_OPTIMIZEDorRELIABILITY_OPTIMIZED.
- state String
- The current state of the endpoint.
- Property Map
- tags used for SQL warehouse resources.
- warehouseType String
- SQL warehouse type. See for AWS or Azure.
getSqlWarehouse Result
The following output properties are available:
- AutoStop intMins 
- Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- Channel
GetSql Warehouse Channel 
- block, consisting of following fields:
- ClusterSize 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".
- CreatorName string
- The username of the user who created the endpoint.
- DataSource stringId 
- ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- EnablePhoton bool
- Whether Photon is enabled.
- EnableServerless boolCompute 
- Whether this SQL warehouse is a serverless SQL warehouse.
- Health
GetSql Warehouse Health 
- Health status of the endpoint.
- Id string
- The ID of the SQL warehouse.
- InstanceProfile stringArn 
- JdbcUrl string
- JDBC connection string.
- MaxNum intClusters 
- Maximum number of clusters available when a SQL warehouse is running.
- MinNum 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.
- NumActive intSessions 
- The current number of clusters used by the endpoint.
- NumClusters int
- The current number of clusters used by the endpoint.
- OdbcParams GetSql Warehouse Odbc Params 
- ODBC connection params: odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port.
- SpotInstance stringPolicy 
- The spot policy to use for allocating instances to clusters: COST_OPTIMIZEDorRELIABILITY_OPTIMIZED.
- State string
- The current state of the endpoint.
- 
GetSql Warehouse Tags 
- tags used for SQL warehouse resources.
- WarehouseType string
- SQL warehouse type. See for AWS or Azure.
- AutoStop intMins 
- Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- Channel
GetSql Warehouse Channel 
- block, consisting of following fields:
- ClusterSize 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".
- CreatorName string
- The username of the user who created the endpoint.
- DataSource stringId 
- ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- EnablePhoton bool
- Whether Photon is enabled.
- EnableServerless boolCompute 
- Whether this SQL warehouse is a serverless SQL warehouse.
- Health
GetSql Warehouse Health 
- Health status of the endpoint.
- Id string
- The ID of the SQL warehouse.
- InstanceProfile stringArn 
- JdbcUrl string
- JDBC connection string.
- MaxNum intClusters 
- Maximum number of clusters available when a SQL warehouse is running.
- MinNum 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.
- NumActive intSessions 
- The current number of clusters used by the endpoint.
- NumClusters int
- The current number of clusters used by the endpoint.
- OdbcParams GetSql Warehouse Odbc Params 
- ODBC connection params: odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port.
- SpotInstance stringPolicy 
- The spot policy to use for allocating instances to clusters: COST_OPTIMIZEDorRELIABILITY_OPTIMIZED.
- State string
- The current state of the endpoint.
- 
GetSql Warehouse Tags 
- tags used for SQL warehouse resources.
- WarehouseType string
- SQL warehouse type. See for AWS or Azure.
- autoStop IntegerMins 
- Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel
GetSql Warehouse Channel 
- block, consisting of following fields:
- clusterSize 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".
- creatorName String
- The username of the user who created the endpoint.
- dataSource StringId 
- ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enablePhoton Boolean
- Whether Photon is enabled.
- enableServerless BooleanCompute 
- Whether this SQL warehouse is a serverless SQL warehouse.
- health
GetSql Warehouse Health 
- Health status of the endpoint.
- id String
- The ID of the SQL warehouse.
- instanceProfile StringArn 
- jdbcUrl String
- JDBC connection string.
- maxNum IntegerClusters 
- Maximum number of clusters available when a SQL warehouse is running.
- minNum 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.
- numActive IntegerSessions 
- The current number of clusters used by the endpoint.
- numClusters Integer
- The current number of clusters used by the endpoint.
- odbcParams GetSql Warehouse Odbc Params 
- ODBC connection params: odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port.
- spotInstance StringPolicy 
- The spot policy to use for allocating instances to clusters: COST_OPTIMIZEDorRELIABILITY_OPTIMIZED.
- state String
- The current state of the endpoint.
- 
GetSql Warehouse Tags 
- tags used for SQL warehouse resources.
- warehouseType String
- SQL warehouse type. See for AWS or Azure.
- autoStop numberMins 
- Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel
GetSql Warehouse Channel 
- block, consisting of following fields:
- clusterSize 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".
- creatorName string
- The username of the user who created the endpoint.
- dataSource stringId 
- ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enablePhoton boolean
- Whether Photon is enabled.
- enableServerless booleanCompute 
- Whether this SQL warehouse is a serverless SQL warehouse.
- health
GetSql Warehouse Health 
- Health status of the endpoint.
- id string
- The ID of the SQL warehouse.
- instanceProfile stringArn 
- jdbcUrl string
- JDBC connection string.
- maxNum numberClusters 
- Maximum number of clusters available when a SQL warehouse is running.
- minNum 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.
- numActive numberSessions 
- The current number of clusters used by the endpoint.
- numClusters number
- The current number of clusters used by the endpoint.
- odbcParams GetSql Warehouse Odbc Params 
- ODBC connection params: odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port.
- spotInstance stringPolicy 
- The spot policy to use for allocating instances to clusters: COST_OPTIMIZEDorRELIABILITY_OPTIMIZED.
- state string
- The current state of the endpoint.
- 
GetSql Warehouse Tags 
- tags used for SQL warehouse resources.
- warehouseType string
- SQL warehouse type. See for AWS or Azure.
- auto_stop_ intmins 
- Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel
GetSql 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".
- creator_name str
- The username of the user who created the endpoint.
- data_source_ strid 
- 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
GetSql 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_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.
- spot_instance_ strpolicy 
- The spot policy to use for allocating instances to clusters: COST_OPTIMIZEDorRELIABILITY_OPTIMIZED.
- state str
- The current state of the endpoint.
- 
GetSql Warehouse Tags 
- tags used for SQL warehouse resources.
- warehouse_type str
- SQL warehouse type. See for AWS or Azure.
- autoStop NumberMins 
- Time in minutes until an idle SQL warehouse terminates all clusters and stops.
- channel Property Map
- block, consisting of following fields:
- clusterSize 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".
- creatorName String
- The username of the user who created the endpoint.
- dataSource StringId 
- ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
- enablePhoton Boolean
- Whether Photon is enabled.
- enableServerless 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.
- instanceProfile StringArn 
- jdbcUrl String
- JDBC connection string.
- maxNum NumberClusters 
- Maximum number of clusters available when a SQL warehouse is running.
- minNum 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.
- numActive NumberSessions 
- The current number of clusters used by the endpoint.
- numClusters Number
- The current number of clusters used by the endpoint.
- odbcParams Property Map
- ODBC connection params: odbc_params.hostname,odbc_params.path,odbc_params.protocol, andodbc_params.port.
- spotInstance StringPolicy 
- The spot policy to use for allocating instances to clusters: COST_OPTIMIZEDorRELIABILITY_OPTIMIZED.
- state String
- The current state of the endpoint.
- Property Map
- tags used for SQL warehouse resources.
- warehouseType String
- SQL warehouse type. See for AWS or Azure.
Supporting Types
GetSqlWarehouseChannel   
- DbsqlVersion string
- Name string
- Name of the SQL warehouse to search (case-sensitive).
- DbsqlVersion string
- Name string
- Name of the SQL warehouse to search (case-sensitive).
- dbsqlVersion String
- name String
- Name of the SQL warehouse to search (case-sensitive).
- dbsqlVersion 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).
- dbsqlVersion String
- name String
- Name of the SQL warehouse to search (case-sensitive).
GetSqlWarehouseHealth   
- Details string
- FailureReason GetSql Warehouse Health Failure Reason 
- Message string
- Status string
- Summary string
- Details string
- FailureReason GetSql Warehouse Health Failure Reason 
- Message string
- Status string
- Summary string
- details String
- failureReason GetSql Warehouse Health Failure Reason 
- message String
- status String
- summary String
- details string
- failureReason GetSql Warehouse Health Failure Reason 
- message string
- status string
- summary string
- details String
- failureReason 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,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    
GetSqlWarehouseTags   
GetSqlWarehouseTagsCustomTag     
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the databricksTerraform Provider.