Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AutomatedBackupPolicy

import type { AutomatedBackupPolicy } from "https://googleapis.deno.dev/v1/alloydb:v1.ts";

Message describing the user-specified automated backup policy. All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.

interface AutomatedBackupPolicy {
backupWindow?: number;
enabled?: boolean;
encryptionConfig?: EncryptionConfig;
labels?: {
[key: string]: string;
}
;
location?: string;
quantityBasedRetention?: QuantityBasedRetention;
timeBasedRetention?: TimeBasedRetention;
weeklySchedule?: WeeklySchedule;
}

§Properties

§
backupWindow?: number
[src]

The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.

§
enabled?: boolean
[src]

Whether automated automated backups are enabled. If not set, defaults to true.

§
encryptionConfig?: EncryptionConfig
[src]

Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.

§
labels?: {
[key: string]: string;
}
[src]

Labels to apply to backups created using this configuration.

§
location?: string
[src]

The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. If empty, defaults to the region of the cluster.

§
quantityBasedRetention?: QuantityBasedRetention
[src]

Quantity-based Backup retention policy to retain recent backups.

§
timeBasedRetention?: TimeBasedRetention
[src]

Time-based Backup retention policy.

§
weeklySchedule?: WeeklySchedule
[src]

Weekly schedule for the Backup.