Skip to contents

Sets the workspace level configuration that is shared by all SQL warehouses in a workspace.

Usage

set_warehouse_workspace_config(
  client,
  channel = NULL,
  config_param = NULL,
  data_access_config = NULL,
  enabled_warehouse_types = NULL,
  global_param = NULL,
  google_service_account = NULL,
  instance_profile_arn = NULL,
  security_policy = NULL,
  sql_configuration_parameters = NULL
)

warehousesSetWorkspaceWarehouseConfig(
  client,
  channel = NULL,
  config_param = NULL,
  data_access_config = NULL,
  enabled_warehouse_types = NULL,
  global_param = NULL,
  google_service_account = NULL,
  instance_profile_arn = NULL,
  security_policy = NULL,
  sql_configuration_parameters = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

channel

Optional: Channel selection details.

config_param

Deprecated: Use sql_configuration_parameters.

data_access_config

Spark confs for external hive metastore configuration JSON serialized size must be less than <= 512K.

enabled_warehouse_types

List of Warehouse Types allowed in this workspace (limits allowed value of the type field in CreateWarehouse and EditWarehouse).

global_param

Deprecated: Use sql_configuration_parameters.

google_service_account

GCP only: Google Service Account used to pass to cluster to access Google Cloud Storage.

instance_profile_arn

AWS Only: Instance profile used to pass IAM role to the cluster.

security_policy

Security policy for warehouses.

sql_configuration_parameters

SQL configuration parameters.