Skip to main content

metastore_summary

Creates, updates, deletes, gets or lists a metastore_summary resource.

Overview

Namemetastore_summary
TypeResource
Iddatabricks_workspace.unitycatalog.metastore_summary

Fields

The following fields are returned by SELECT queries:

The metastore summary was successfully retrieved.

NameDatatypeDescription
namestring
default_data_access_config_idstring
global_metastore_idstring
metastore_idstring
storage_root_credential_idstring
delta_sharing_organization_namestring
storage_root_credential_namestring
cloudstring
created_atinteger
created_bystring
delta_sharing_recipient_token_lifetime_in_secondsinteger
delta_sharing_scopestring
external_access_enabledboolean
ownerstring
privilege_model_versionstring
regionstring
storage_rootstring
updated_atinteger
updated_bystring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
summaryselectdeployment_nameGets information about a metastore. This summary includes the storage credential, the cloud vendor, the cloud region, and the global metastore ID.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

SELECT examples

Gets information about a metastore. This summary includes the storage credential, the cloud vendor, the cloud region, and the global metastore ID.

SELECT
name,
default_data_access_config_id,
global_metastore_id,
metastore_id,
storage_root_credential_id,
delta_sharing_organization_name,
storage_root_credential_name,
cloud,
created_at,
created_by,
delta_sharing_recipient_token_lifetime_in_seconds,
delta_sharing_scope,
external_access_enabled,
owner,
privilege_model_version,
region,
storage_root,
updated_at,
updated_by
FROM databricks_workspace.unitycatalog.metastore_summary
WHERE deployment_name = '{{ deployment_name }}' -- required;