Volumes

Package: databricks.bundles.volumes

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 Volume
catalog_name: str

The name of the catalog where the schema and the volume are

name: str

The name of the volume

schema_name: str

The name of the schema where the volume is

comment: str | None = None

The comment attached to the volume

grants: list[VolumeGrant]
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.

storage_location: str | None = None

The storage location on the cloud

volume_type: VolumeType | None = None
classmethod from_dict(
value: dict,
) Self
as_dict(
self,
) dict
class VolumeGrant
principal: str
privileges: list[VolumeGrantPrivilege]
classmethod from_dict(
value: dict,
) Self
as_dict(
self,
) dict
class VolumeGrantPrivilege
ALL_PRIVILEGES = 'ALL_PRIVILEGES'
APPLY_TAG = 'APPLY_TAG'
MANAGE = 'MANAGE'
READ_VOLUME = 'READ_VOLUME'
WRITE_VOLUME = 'WRITE_VOLUME'
class VolumeType
MANAGED = 'MANAGED'
EXTERNAL = 'EXTERNAL'