Warehouse
laktory.models.resources.databricks.Warehouse
¤
Bases: BaseModel
, PulumiResource
, TerraformResource
Databricks Warehouse
ATTRIBUTE | DESCRIPTION |
---|---|
access_controls |
Warehouse access controls
TYPE:
|
auto_stop_mins |
Time in minutes until an idle SQL warehouse terminates all clusters and stops.
TYPE:
|
channel_name |
Channel specifications
TYPE:
|
cluster_size |
The size of the clusters allocated to the endpoint
TYPE:
|
enable_photon |
If
TYPE:
|
enable_serverless_compute |
If
TYPE:
|
instance_profile_arn |
TODO
TYPE:
|
jdbc_url |
JDBC connection string.
TYPE:
|
lookup_existing |
Specifications for looking up existing resource. Other attributes will be ignored.
TYPE:
|
max_num_clusters |
Maximum number of clusters available when a SQL warehouse is running.
TYPE:
|
min_num_clusters |
Minimum number of clusters available when a SQL warehouse is running.
TYPE:
|
name |
Warehouse name
TYPE:
|
num_clusters |
Fixed number of clusters when autoscaling is not enabled.
TYPE:
|
spot_instance_policy |
The spot policy to use for allocating instances to clusters.
TYPE:
|
tags |
Databricks tags all endpoint resources with these tags.
TYPE:
|
warehouse_type |
SQL warehouse type. |
Examples:
from laktory import models
warehouse = models.resources.databricks.Warehouse(
name="default",
cluster_size="2X-Small",
auto_stop_mins=30,
channel_name="CHANNEL_NAME_PREVIEW",
enable_photon=True,
enable_serverless_compute=True,
access_controls=[
{"group_name": "account users", "permission_level": "CAN_USE"}
],
)
ATTRIBUTE | DESCRIPTION |
---|---|
additional_core_resources |
TYPE:
|
laktory.models.resources.databricks.warehouse.WarehouseTags
¤
Bases: BaseModel
Warehouse Tags specifications
ATTRIBUTE | DESCRIPTION |
---|---|
custom_tags |
Tags specifications
TYPE:
|
laktory.models.resources.databricks.warehouse.WarehouseCustomTag
¤
--