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

CloneJob

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

CloneJob describes the process of creating a clone of a MigratingVM to the requested target based on the latest successful uploaded snapshots. While the migration cycles of a MigratingVm take place, it is possible to verify the uploaded VM can be started in the cloud, by creating a clone. The clone can be created without any downtime, and it is created using the latest snapshots which are already in the cloud. The cloneJob is only responsible for its work, not its products, which means once it is finished, it will never touch the instance it created. It will only delete it in case of the CloneJob being cancelled or upon failure to clone.

interface CloneJob {
readonly computeEngineDisksTargetDetails?: ComputeEngineDisksTargetDetails;
readonly computeEngineTargetDetails?: ComputeEngineTargetDetails;
readonly createTime?: Date;
readonly endTime?: Date;
readonly error?: Status;
readonly name?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "PENDING"
| "ACTIVE"
| "FAILED"
| "SUCCEEDED"
| "CANCELLED"
| "CANCELLING"
| "ADAPTING_OS";
readonly stateTime?: Date;
readonly steps?: CloneStep[];
}

§Properties

§
readonly computeEngineDisksTargetDetails?: ComputeEngineDisksTargetDetails
[src]

Output only. Details of the target Persistent Disks in Compute Engine.

§
readonly computeEngineTargetDetails?: ComputeEngineTargetDetails
[src]

Output only. Details of the target VM in Compute Engine.

§
readonly createTime?: Date
[src]

Output only. The time the clone job was created (as an API call, not when it was actually created in the target).

§
readonly endTime?: Date
[src]

Output only. The time the clone job was ended.

§
readonly error?: Status
[src]

Output only. Provides details for the errors that led to the Clone Job's state.

§
readonly name?: string
[src]

Output only. The name of the clone.

§
readonly state?: "STATE_UNSPECIFIED" | "PENDING" | "ACTIVE" | "FAILED" | "SUCCEEDED" | "CANCELLED" | "CANCELLING" | "ADAPTING_OS"
[src]

Output only. State of the clone job.

§
readonly stateTime?: Date
[src]

Output only. The time the state was last updated.

§
readonly steps?: CloneStep[]
[src]

Output only. The clone steps list representing its progress.