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

CloneContext

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

Database instance clone context.

interface CloneContext {
allocatedIpRange?: string;
binLogCoordinates?: BinLogCoordinates;
databaseNames?: string[];
destinationInstanceName?: string;
kind?: string;
pitrTimestampMs?: bigint;
pointInTime?: Date;
preferredZone?: string;
}

§Properties

§
allocatedIpRange?: string
[src]

The name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. Reserved for future use.

§
binLogCoordinates?: BinLogCoordinates
[src]

Binary log coordinates, if specified, identify the position up to which the source instance is cloned. If not specified, the source instance is cloned up to the most recent binary log coordinates.

§
databaseNames?: string[]
[src]

(SQL Server only) Clone only the specified databases from the source instance. Clone all databases if empty.

§
destinationInstanceName?: string
[src]

Name of the Cloud SQL instance to be created as a clone.

§
kind?: string
[src]

This is always sql#cloneContext.

§
pitrTimestampMs?: bigint
[src]

Reserved for future use.

§
pointInTime?: Date
[src]

Timestamp, if specified, identifies the time to which the source instance is cloned.

§
preferredZone?: string
[src]

Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance.