VM Migration v1 API - Class CloneJob (2.5.0)

public sealed class CloneJob : IMessage<CloneJob>, IEquatable<CloneJob>, IDeepCloneable<CloneJob>, IBufferMessage, IMessage

Reference documentation and code samples for the VM Migration v1 API class CloneJob.

CloneJob describes the process of creating a clone of a [MigratingVM][google.cloud.vmmigration.v1.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.

Inheritance

object > CloneJob

Namespace

Google.Cloud.VMMigration.V1

Assembly

Google.Cloud.VMMigration.V1.dll

Constructors

CloneJob()

public CloneJob()

CloneJob(CloneJob)

public CloneJob(CloneJob other)
Parameter
Name Description
other CloneJob

Properties

CloneJobName

public CloneJobName CloneJobName { get; set; }

CloneJobName-typed view over the Name resource name property.

Property Value
Type Description
CloneJobName

ComputeEngineTargetDetails

public ComputeEngineTargetDetails ComputeEngineTargetDetails { get; set; }

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

Property Value
Type Description
ComputeEngineTargetDetails

CreateTime

public Timestamp CreateTime { get; set; }

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

Property Value
Type Description
Timestamp

EndTime

public Timestamp EndTime { get; set; }

Output only. The time the clone job was ended.

Property Value
Type Description
Timestamp

Error

public Status Error { get; set; }

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

Property Value
Type Description
Status

Name

public string Name { get; set; }

Output only. The name of the clone.

Property Value
Type Description
string

State

public CloneJob.Types.State State { get; set; }

Output only. State of the clone job.

Property Value
Type Description
CloneJobTypesState

StateTime

public Timestamp StateTime { get; set; }

Output only. The time the state was last updated.

Property Value
Type Description
Timestamp

Steps

public RepeatedField<CloneStep> Steps { get; }

Output only. The clone steps list representing its progress.

Property Value
Type Description
RepeatedFieldCloneStep

TargetVmDetailsCase

public CloneJob.TargetVmDetailsOneofCase TargetVmDetailsCase { get; }
Property Value
Type Description
CloneJobTargetVmDetailsOneofCase