Skip to main content
Version: Next

ImportV1Database

allow_csv_uploadboolean
allow_ctasboolean
allow_cvasboolean
allow_dmlboolean
allow_run_asyncboolean
cache_timeoutintegernullable
database_namestringrequired
encrypted_extrastringnullable
expose_in_sqllabboolean
external_urlstringnullable
extra object
allow_multi_catalogboolean
allows_virtual_table_exploreboolean
cancel_query_on_windows_unloadboolean
cost_estimate_enabledboolean
disable_data_previewboolean
disable_drill_to_detailboolean
engine_params object
property name*any
metadata_cache_timeout object
property name*integer
metadata_params object
property name*any
schema_options object
property name*any
schemas_allowed_for_csv_uploadstring[]
versionstringnullable
impersonate_userboolean
is_managed_externallybooleannullable
passwordstringnullable
sqlalchemy_uristringrequired
ssh_tunnel objectnullable
idintegernullable

SSH Tunnel ID (for updates)

passwordstring
private_keystring
private_key_passwordstring
server_addressstring
server_portinteger
usernamestring
uuidstring<uuid>required
versionstringrequired
ImportV1Database
{
"allow_csv_upload": true,
"allow_ctas": true,
"allow_cvas": true,
"allow_dml": true,
"allow_run_async": true,
"cache_timeout": 0,
"database_name": "string",
"encrypted_extra": "string",
"expose_in_sqllab": true,
"external_url": "string",
"extra": {
"allow_multi_catalog": true,
"allows_virtual_table_explore": true,
"cancel_query_on_windows_unload": true,
"cost_estimate_enabled": true,
"disable_data_preview": true,
"disable_drill_to_detail": true,
"engine_params": {},
"metadata_cache_timeout": {},
"metadata_params": {},
"schema_options": {},
"schemas_allowed_for_csv_upload": [
"string"
],
"version": "string"
},
"impersonate_user": true,
"is_managed_externally": true,
"password": "string",
"sqlalchemy_uri": "string",
"ssh_tunnel": {
"id": 0,
"password": "string",
"private_key": "string",
"private_key_password": "string",
"server_address": "string",
"server_port": 0,
"username": "string"
},
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"version": "string"
}