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, [, ]) => ({ ...__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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: databricks:index/getSqlWarehouse:getSqlWarehouse
arguments:
# arguments dictionary
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".
- Creator
Name string - The username of the user who created the endpoint.
- Data
Source stringId - 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
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
. - Spot
Instance stringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZED
orRELIABILITY_OPTIMIZED
. - State string
- The current state of the endpoint.
- Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- Warehouse
Type 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
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".
- Creator
Name string - The username of the user who created the endpoint.
- Data
Source stringId - 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
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
. - Spot
Instance stringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZED
orRELIABILITY_OPTIMIZED
. - State string
- The current state of the endpoint.
- Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- Warehouse
Type string - SQL warehouse type. See for AWS or Azure.
- 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".
- creator
Name String - The username of the user who created the endpoint.
- data
Source StringId - 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
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
. - spot
Instance StringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZED
orRELIABILITY_OPTIMIZED
. - state String
- The current state of the endpoint.
- Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- warehouse
Type String - SQL warehouse type. See for AWS or Azure.
- 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".
- creator
Name string - The username of the user who created the endpoint.
- data
Source stringId - 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
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
. - spot
Instance stringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZED
orRELIABILITY_OPTIMIZED
. - state string
- The current state of the endpoint.
- Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- warehouse
Type 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
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".
- 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
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_
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_OPTIMIZED
orRELIABILITY_OPTIMIZED
. - state str
- The current state of the endpoint.
- Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- warehouse_
type str - SQL warehouse type. See for AWS or Azure.
- 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".
- creator
Name String - The username of the user who created the endpoint.
- data
Source StringId - 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
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
. - spot
Instance StringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZED
orRELIABILITY_OPTIMIZED
. - state String
- The current state of the endpoint.
- Property Map
- tags used for SQL warehouse resources.
- warehouse
Type String - SQL warehouse type. See for AWS or Azure.
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".
- Creator
Name string - The username of the user who created the endpoint.
- Data
Source stringId - 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
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_PREVIEW
andCHANNEL_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 stringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZED
orRELIABILITY_OPTIMIZED
. - State string
- The current state of the endpoint.
- Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- Warehouse
Type 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
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".
- Creator
Name string - The username of the user who created the endpoint.
- Data
Source stringId - 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
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_PREVIEW
andCHANNEL_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 stringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZED
orRELIABILITY_OPTIMIZED
. - State string
- The current state of the endpoint.
- Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- Warehouse
Type string - SQL warehouse type. See for AWS or Azure.
- 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".
- creator
Name String - The username of the user who created the endpoint.
- data
Source StringId - 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
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_PREVIEW
andCHANNEL_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
. - spot
Instance StringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZED
orRELIABILITY_OPTIMIZED
. - state String
- The current state of the endpoint.
- Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- warehouse
Type String - SQL warehouse type. See for AWS or Azure.
- 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".
- creator
Name string - The username of the user who created the endpoint.
- data
Source stringId - 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
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_PREVIEW
andCHANNEL_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
. - spot
Instance stringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZED
orRELIABILITY_OPTIMIZED
. - state string
- The current state of the endpoint.
- Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- warehouse
Type 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
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".
- 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
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_
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_PREVIEW
andCHANNEL_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_OPTIMIZED
orRELIABILITY_OPTIMIZED
. - state str
- The current state of the endpoint.
- Get
Sql Warehouse Tags - tags used for SQL warehouse resources.
- warehouse_
type str - SQL warehouse type. See for AWS or Azure.
- 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".
- creator
Name String - The username of the user who created the endpoint.
- data
Source StringId - 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
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_PREVIEW
andCHANNEL_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
. - spot
Instance StringPolicy - The spot policy to use for allocating instances to clusters:
COST_OPTIMIZED
orRELIABILITY_OPTIMIZED
. - state String
- The current state of the endpoint.
- Property Map
- tags used for SQL warehouse resources.
- warehouse
Type String - SQL warehouse type. See for AWS or Azure.
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 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,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
databricks
Terraform Provider.