VM Migration v1 API - Class CloneJob (2.3.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
NameDescription
otherCloneJob

Properties

CloneJobName

public CloneJobName CloneJobName { get; set; }

CloneJobName-typed view over the Name resource name property.

Property Value
TypeDescription
CloneJobName

ComputeEngineTargetDetails

public ComputeEngineTargetDetails ComputeEngineTargetDetails { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
Timestamp

EndTime

public Timestamp EndTime { get; set; }

Output only. The time the clone job was ended.

Property Value
TypeDescription
Timestamp

Error

public Status Error { get; set; }

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

Property Value
TypeDescription
Status

Name

public string Name { get; set; }

Output only. The name of the clone.

Property Value
TypeDescription
String

State

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

Output only. State of the clone job.

Property Value
TypeDescription
CloneJob.Types.State

StateTime

public Timestamp StateTime { get; set; }

Output only. The time the state was last updated.

Property Value
TypeDescription
Timestamp

Steps

public RepeatedField<CloneStep> Steps { get; }

Output only. The clone steps list representing its progress.

Property Value
TypeDescription
RepeatedField<CloneStep>

TargetVmDetailsCase

public CloneJob.TargetVmDetailsOneofCase TargetVmDetailsCase { get; }
Property Value
TypeDescription
CloneJob.TargetVmDetailsOneofCase