Schemas

Package: databricks.bundles.schemas

Classes

class Lifecycle
prevent_destroy: bool | None = None

Lifecycle setting to prevent the resource from being destroyed.

classmethod from_dict(
value: dict,
) Self
as_dict(
self,
) dict
class Schema
catalog_name: str

Name of parent catalog.

name: str

Name of schema, relative to parent catalog.

comment: str | None = None

User-provided free-form text description.

grants: list[SchemaGrant]
lifecycle: Lifecycle | None = None

Lifecycle is a struct that contains the lifecycle settings for a resource. It controls the behavior of the resource when it is deployed or destroyed.

properties: dict[str, str]
storage_root: str | None = None

Storage root URL for managed tables within schema.

classmethod from_dict(
value: dict,
) Self
as_dict(
self,
) dict
class SchemaGrant
principal: str
privileges: list[SchemaGrantPrivilege]
classmethod from_dict(
value: dict,
) Self
as_dict(
self,
) dict
class SchemaGrantPrivilege
ALL_PRIVILEGES = 'ALL_PRIVILEGES'
APPLY_TAG = 'APPLY_TAG'
CREATE_FUNCTION = 'CREATE_FUNCTION'
CREATE_TABLE = 'CREATE_TABLE'
CREATE_VOLUME = 'CREATE_VOLUME'
MANAGE = 'MANAGE'
USE_SCHEMA = 'USE_SCHEMA'
EXECUTE = 'EXECUTE'
MODIFY = 'MODIFY'
REFRESH = 'REFRESH'
SELECT = 'SELECT'
READ_VOLUME = 'READ_VOLUME'
WRITE_VOLUME = 'WRITE_VOLUME'