VM Migration v1 API - Class MigratingVm (2.5.0)

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

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

MigratingVm describes the VM that will be migrated from a Source environment and its replication state.

Inheritance

object > MigratingVm

Namespace

Google.Cloud.VMMigration.V1

Assembly

Google.Cloud.VMMigration.V1.dll

Constructors

MigratingVm()

public MigratingVm()

MigratingVm(MigratingVm)

public MigratingVm(MigratingVm other)
Parameter
Name Description
other MigratingVm

Properties

AwsSourceVmDetails

public AwsSourceVmDetails AwsSourceVmDetails { get; set; }

Output only. Details of the VM from an AWS source.

Property Value
Type Description
AwsSourceVmDetails

ComputeEngineTargetDefaults

public ComputeEngineTargetDefaults ComputeEngineTargetDefaults { get; set; }

Details of the target VM in Compute Engine.

Property Value
Type Description
ComputeEngineTargetDefaults

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).

Property Value
Type Description
Timestamp

CurrentSyncInfo

public ReplicationCycle CurrentSyncInfo { get; set; }

Output only. The percentage progress of the current running replication cycle.

Property Value
Type Description
ReplicationCycle

Description

public string Description { get; set; }

The description attached to the migrating VM by the user.

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

The display name attached to the MigratingVm by the user.

Property Value
Type Description
string

Error

public Status Error { get; set; }

Output only. Provides details on the state of the Migrating VM in case of an error in replication.

Property Value
Type Description
Status

Group

public string Group { get; set; }

Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate [Group][google.cloud.vmmigration.v1.Group] resource.

Property Value
Type Description
string

GroupAsLocationName

public LocationName GroupAsLocationName { get; set; }

LocationName-typed view over the Group resource name property.

Property Value
Type Description
LocationName

Labels

public MapField<string, string> Labels { get; }

The labels of the migrating VM.

Property Value
Type Description
MapFieldstringstring

LastSync

public ReplicationSync LastSync { get; set; }

Output only. The most updated snapshot created time in the source that finished replication.

Property Value
Type Description
ReplicationSync

MigratingVmName

public MigratingVmName MigratingVmName { get; set; }

MigratingVmName-typed view over the Name resource name property.

Property Value
Type Description
MigratingVmName

Name

public string Name { get; set; }

Output only. The identifier of the MigratingVm.

Property Value
Type Description
string

Policy

public SchedulePolicy Policy { get; set; }

The replication schedule policy.

Property Value
Type Description
SchedulePolicy

RecentCloneJobs

public RepeatedField<CloneJob> RecentCloneJobs { get; }

Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob] performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

Property Value
Type Description
RepeatedFieldCloneJob

RecentCutoverJobs

public RepeatedField<CutoverJob> RecentCutoverJobs { get; }

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

Property Value
Type Description
RepeatedFieldCutoverJob

SourceVmDetailsCase

public MigratingVm.SourceVmDetailsOneofCase SourceVmDetailsCase { get; }
Property Value
Type Description
MigratingVmSourceVmDetailsOneofCase

SourceVmId

public string SourceVmId { get; set; }

The unique ID of the VM in the source. The VM's name in vSphere can be changed, so this is not the VM's name but rather its moRef id. This id is of the form vm-<num>.

Property Value
Type Description
string

State

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

Output only. State of the MigratingVm.

Property Value
Type Description
MigratingVmTypesState

StateTime

public Timestamp StateTime { get; set; }

Output only. The last time the migrating VM state was updated.

Property Value
Type Description
Timestamp

TargetVmDefaultsCase

public MigratingVm.TargetVmDefaultsOneofCase TargetVmDefaultsCase { get; }
Property Value
Type Description
MigratingVmTargetVmDefaultsOneofCase

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The last time the migrating VM resource was updated.

Property Value
Type Description
Timestamp