Postgres Snapshot Schedules

Package: databricks.bundles.postgres_snapshot_schedules

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 PostgresSnapshotSchedule
branch: str

The branch whose automatic-snapshot schedule this manages. Format: projects/{project_id}/branches/{branch_id}

lifecycle: Lifecycle | None = None

Settings that control the deployment lifecycle of the resource, such as preventing it from being destroyed.

schedule: list[ScheduleCadence]

The cadences at which automatic snapshots are taken. An empty set disables automatic snapshots. When several cadences fire together, one snapshot is taken and retained for the longest of their retentions.

classmethod from_dict(
value: dict,
) → Self
as_dict(
self,
) → dict
class ScheduleCadence

One cadence at which automatic snapshots are taken.

classmethod from_dict(
value: dict,
) → Self
as_dict(
self,
) → dict