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";
description?: string;
diskEncryptionConfiguration?: DiskEncryptionConfiguration;
diskEncryptionStatus?: DiskEncryptionStatus;
endTime?: Date;
enqueuedTime?: Date;
id?: bigint;
instance?: string;
kind?: string;
location?: string;
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.

§
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.

§
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.