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

BackupRun

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

A BackupRun resource.

interface BackupRun {
backupKind?: "SQL_BACKUP_KIND_UNSPECIFIED" | "SNAPSHOT" | "PHYSICAL";
readonly databaseVersion?:
| "SQL_DATABASE_VERSION_UNSPECIFIED"
| "MYSQL_5_1"
| "MYSQL_5_5"
| "MYSQL_5_6"
| "MYSQL_5_7"
| "MYSQL_8_0"
| "MYSQL_8_0_18"
| "MYSQL_8_0_26"
| "MYSQL_8_0_27"
| "MYSQL_8_0_28"
| "MYSQL_8_0_29"
| "MYSQL_8_0_30"
| "MYSQL_8_0_31"
| "MYSQL_8_0_32"
| "MYSQL_8_0_33"
| "MYSQL_8_0_34"
| "MYSQL_8_0_35"
| "MYSQL_8_0_36"
| "MYSQL_8_0_37"
| "MYSQL_8_0_39"
| "MYSQL_8_0_40"
| "MYSQL_8_0_41"
| "MYSQL_8_0_42"
| "MYSQL_8_0_43"
| "MYSQL_8_0_44"
| "MYSQL_8_0_45"
| "MYSQL_8_0_46"
| "MYSQL_8_4"
| "SQLSERVER_2017_STANDARD"
| "SQLSERVER_2017_ENTERPRISE"
| "SQLSERVER_2017_EXPRESS"
| "SQLSERVER_2017_WEB"
| "POSTGRES_9_6"
| "POSTGRES_10"
| "POSTGRES_11"
| "POSTGRES_12"
| "POSTGRES_13"
| "POSTGRES_14"
| "POSTGRES_15"
| "POSTGRES_16"
| "POSTGRES_17"
| "SQLSERVER_2019_STANDARD"
| "SQLSERVER_2019_ENTERPRISE"
| "SQLSERVER_2019_EXPRESS"
| "SQLSERVER_2019_WEB"
| "SQLSERVER_2022_STANDARD"
| "SQLSERVER_2022_ENTERPRISE"
| "SQLSERVER_2022_EXPRESS"
| "SQLSERVER_2022_WEB";
description?: string;
diskEncryptionConfiguration?: DiskEncryptionConfiguration;
diskEncryptionStatus?: DiskEncryptionStatus;
endTime?: Date;
enqueuedTime?: Date;
id?: bigint;
instance?: string;
kind?: string;
location?: string;
readonly maxChargeableBytes?: bigint;
selfLink?: string;
startTime?: Date;
status?:
| "SQL_BACKUP_RUN_STATUS_UNSPECIFIED"
| "ENQUEUED"
| "OVERDUE"
| "RUNNING"
| "FAILED"
| "SUCCESSFUL"
| "SKIPPED"
| "DELETION_PENDING"
| "DELETION_FAILED"
| "DELETED";
timeZone?: string;
type?: "SQL_BACKUP_RUN_TYPE_UNSPECIFIED" | "AUTOMATED" | "ON_DEMAND";
windowStartTime?: Date;
}

§Properties

§
backupKind?: "SQL_BACKUP_KIND_UNSPECIFIED" | "SNAPSHOT" | "PHYSICAL"
[src]

Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.

§
readonly databaseVersion?: "SQL_DATABASE_VERSION_UNSPECIFIED" | "MYSQL_5_1" | "MYSQL_5_5" | "MYSQL_5_6" | "MYSQL_5_7" | "MYSQL_8_0" | "MYSQL_8_0_18" | "MYSQL_8_0_26" | "MYSQL_8_0_27" | "MYSQL_8_0_28" | "MYSQL_8_0_29" | "MYSQL_8_0_30" | "MYSQL_8_0_31" | "MYSQL_8_0_32" | "MYSQL_8_0_33" | "MYSQL_8_0_34" | "MYSQL_8_0_35" | "MYSQL_8_0_36" | "MYSQL_8_0_37" | "MYSQL_8_0_39" | "MYSQL_8_0_40" | "MYSQL_8_0_41" | "MYSQL_8_0_42" | "MYSQL_8_0_43" | "MYSQL_8_0_44" | "MYSQL_8_0_45" | "MYSQL_8_0_46" | "MYSQL_8_4" | "SQLSERVER_2017_STANDARD" | "SQLSERVER_2017_ENTERPRISE" | "SQLSERVER_2017_EXPRESS" | "SQLSERVER_2017_WEB" | "POSTGRES_9_6" | "POSTGRES_10" | "POSTGRES_11" | "POSTGRES_12" | "POSTGRES_13" | "POSTGRES_14" | "POSTGRES_15" | "POSTGRES_16" | "POSTGRES_17" | "SQLSERVER_2019_STANDARD" | "SQLSERVER_2019_ENTERPRISE" | "SQLSERVER_2019_EXPRESS" | "SQLSERVER_2019_WEB" | "SQLSERVER_2022_STANDARD" | "SQLSERVER_2022_ENTERPRISE" | "SQLSERVER_2022_EXPRESS" | "SQLSERVER_2022_WEB"
[src]

Output only. The instance database version at the time this backup was made.

§
description?: string
[src]

The description of this run, only applicable to on-demand backups.

§
diskEncryptionConfiguration?: DiskEncryptionConfiguration
[src]

Encryption configuration specific to a backup.

§
diskEncryptionStatus?: DiskEncryptionStatus
[src]

Encryption status specific to a backup.

§
endTime?: Date
[src]

The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

§
enqueuedTime?: Date
[src]

The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

§

Information about why the backup operation failed. This is only present if the run has the FAILED status.

§
id?: bigint
[src]

The identifier for this backup run. Unique only for a specific Cloud SQL instance.

§
instance?: string
[src]

Name of the database instance.

§
kind?: string
[src]

This is always sql#backupRun.

§
location?: string
[src]

Location of the backups.

§
readonly maxChargeableBytes?: bigint
[src]

Output only. The maximum chargeable bytes for the backup.

§
startTime?: Date
[src]

The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

§
status?: "SQL_BACKUP_RUN_STATUS_UNSPECIFIED" | "ENQUEUED" | "OVERDUE" | "RUNNING" | "FAILED" | "SUCCESSFUL" | "SKIPPED" | "DELETION_PENDING" | "DELETION_FAILED" | "DELETED"
[src]

The status of this run.

§
timeZone?: string
[src]

Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.

§
type?: "SQL_BACKUP_RUN_TYPE_UNSPECIFIED" | "AUTOMATED" | "ON_DEMAND"
[src]

The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.

§
windowStartTime?: Date
[src]

The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.