Catalog
laktory.models.resources.databricks.Catalog
¤
Bases: CatalogBase
A catalog is the first layer of Unity Catalog's three-level namespace. It's used to organize your data assets.
Examples:
import io
from laktory import models
catalog_yaml = '''
name: dev
grants:
- principal: account users
privileges:
- USE_CATALOG
- USE_SCHEMA
schemas:
- name: engineering
grants:
- principal: domain-engineering
privileges:
- SELECT
- name: sources
volumes:
- name: landing
volume_type: EXTERNAL
grants:
- principal: account users
privileges:
- READ_VOLUME
- principal: role-metastore-admins
privileges:
- WRITE_VOLUME
'''
catalog = models.resources.databricks.Catalog.model_validate_yaml(
io.StringIO(catalog_yaml)
)
References
| BASE | DESCRIPTION |
|---|---|
browse_only
|
Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request.
TYPE:
|
comment
|
User-provided free-form text description.
TYPE:
|
connection_name
|
The name of the connection to an external data source.
TYPE:
|
effective_predictive_optimization_flag
|
TYPE:
|
enable_predictive_optimization
|
Whether predictive optimization should be enabled for this object and objects under it.
TYPE:
|
force_destroy
|
If
TYPE:
|
isolation_mode
|
Whether the catalog is accessible from all workspaces or a specific set of workspaces. Can be ISOLATED or OPEN. Setting the catalog to ISOLATED will automatically allow access from the current workspace.
TYPE:
|
managed_encryption_settings
|
Control CMK encryption for managed catalog data
TYPE:
|
metastore_id
|
Unique identifier of parent metastore.
TYPE:
|
name
|
Name of the catalog
TYPE:
|
options
|
A map of key-value properties attached to the securable.
TYPE:
|
owner
|
Username of current owner of catalog.
TYPE:
|
properties
|
A map of key-value properties attached to the securable.
TYPE:
|
provider_name
|
The name of delta sharing provider.
TYPE:
|
provisioning_info
|
TYPE:
|
share_name
|
The name of the share under the share provider.
TYPE:
|
storage_root
|
Storage root URL for managed tables within catalog.
TYPE:
|
| LAKTORY | DESCRIPTION |
|---|---|
grant
|
Non-destructive grant for specific principal(s). Adds or updates privileges for the listed principal(s) and leaves
grants for all other principals untouched. Use when access is managed from multiple sources (Laktory, Databricks
UI, etc.). Mutually exclusive with
TYPE:
|
grants
|
Authoritative grant list for all principals. Replaces every existing grant on this Catalog - including those set
outside Laktory - with only the entries listed here. Use only when Laktory owns all access management for this
resource. Mutually exclusive with
TYPE:
|
schemas
|
List of schemas stored in the catalog
TYPE:
|
workspace_bindings
|
If you use workspaces to isolate user data access, you may want to limit access from specific workspaces in your account, also known as workspace binding.
TYPE:
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
additional_core_resources |
TYPE:
|
full_name |
Full name of the catalog
TYPE:
|
laktory.models.resources.databricks.catalog.CatalogEffectivePredictiveOptimizationFlag
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
inherited_from_name
|
TYPE:
|
inherited_from_type
|
TYPE:
|
value
|
TYPE:
|
laktory.models.resources.databricks.catalog.CatalogLookup
¤
laktory.models.resources.databricks.catalog.CatalogManagedEncryptionSettings
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
azure_encryption_settings
|
TYPE:
|
azure_key_vault_key_id
|
TYPE:
|
customer_managed_key_id
|
TYPE:
|
laktory.models.resources.databricks.catalog.CatalogManagedEncryptionSettingsAzureEncryptionSettings
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
azure_cmk_access_connector_id
|
TYPE:
|
azure_cmk_managed_identity_id
|
TYPE:
|
azure_tenant_id
|
TYPE:
|