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

Backup

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

Backup of a cluster.

interface Backup {
readonly backupFiles?: BackupFile[];
readonly backupType?: "BACKUP_TYPE_UNSPECIFIED" | "ON_DEMAND" | "AUTOMATED";
readonly cluster?: string;
readonly clusterUid?: string;
readonly createTime?: Date;
readonly encryptionInfo?: EncryptionInfo;
readonly engineVersion?: string;
readonly expireTime?: Date;
name?: string;
readonly nodeType?:
| "NODE_TYPE_UNSPECIFIED"
| "REDIS_SHARED_CORE_NANO"
| "REDIS_HIGHMEM_MEDIUM"
| "REDIS_HIGHMEM_XLARGE"
| "REDIS_STANDARD_SMALL";
readonly replicaCount?: number;
readonly shardCount?: number;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "ACTIVE"
| "DELETING"
| "SUSPENDED";
readonly totalSizeBytes?: bigint;
readonly uid?: string;
}

§Properties

§
readonly backupFiles?: BackupFile[]
[src]

Output only. List of backup files of the backup.

§
readonly backupType?: "BACKUP_TYPE_UNSPECIFIED" | "ON_DEMAND" | "AUTOMATED"
[src]

Output only. Type of the backup.

§
readonly cluster?: string
[src]

Output only. Cluster resource path of this backup.

§
readonly clusterUid?: string
[src]

Output only. Cluster uid of this backup.

§
readonly createTime?: Date
[src]

Output only. The time when the backup was created.

§
readonly encryptionInfo?: EncryptionInfo
[src]

Output only. Encryption information of the backup.

§
readonly engineVersion?: string
[src]

Output only. redis-7.2, valkey-7.5

§
readonly expireTime?: Date
[src]

Output only. The time when the backup will expire.

§
name?: string
[src]

Identifier. Full resource path of the backup. the last part of the name is the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted Cluster UID] OR customer specified while backup cluster. Example: 20240515123000_1234

§
readonly nodeType?: "NODE_TYPE_UNSPECIFIED" | "REDIS_SHARED_CORE_NANO" | "REDIS_HIGHMEM_MEDIUM" | "REDIS_HIGHMEM_XLARGE" | "REDIS_STANDARD_SMALL"
[src]

Output only. Node type of the cluster.

§
readonly replicaCount?: number
[src]

Output only. Number of replicas for the cluster.

§
readonly shardCount?: number
[src]

Output only. Number of shards for the cluster.

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "ACTIVE" | "DELETING" | "SUSPENDED"
[src]

Output only. State of the backup.

§
readonly totalSizeBytes?: bigint
[src]

Output only. Total size of the backup in bytes.

§
readonly uid?: string
[src]

Output only. System assigned unique identifier of the backup.