Class MigratingVm (1.10.0)

MigratingVm(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
compute_engine_target_defaults google.cloud.vmmigration_v1.types.ComputeEngineTargetDefaults
Details of the target VM in Compute Engine. This field is a member of oneof_ target_vm_defaults.
aws_source_vm_details google.cloud.vmmigration_v1.types.AwsSourceVmDetails
Output only. Details of the VM from an AWS source. This field is a member of oneof_ source_vm_details.
name str
Output only. The identifier of the MigratingVm.
source_vm_id str
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-
display_name str
The display name attached to the MigratingVm by the user.
description str
The description attached to the migrating VM by the user.
policy google.cloud.vmmigration_v1.types.SchedulePolicy
The replication schedule policy.
create_time google.protobuf.timestamp_pb2.Timestamp
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).
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The last time the migrating VM resource was updated.
last_sync google.cloud.vmmigration_v1.types.ReplicationSync
Output only. The most updated snapshot created time in the source that finished replication.
state google.cloud.vmmigration_v1.types.MigratingVm.State
Output only. State of the MigratingVm.
state_time google.protobuf.timestamp_pb2.Timestamp
Output only. The last time the migrating VM state was updated.
current_sync_info google.cloud.vmmigration_v1.types.ReplicationCycle
Output only. The percentage progress of the current running replication cycle.
group str
Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
labels MutableMapping[str, str]
The labels of the migrating VM.
recent_clone_jobs MutableSequence[google.cloud.vmmigration_v1.types.CloneJob]
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.
error google.rpc.status_pb2.Status
Output only. Provides details on the state of the Migrating VM in case of an error in replication.
recent_cutover_jobs MutableSequence[google.cloud.vmmigration_v1.types.CutoverJob]
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.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

The possible values of the state/health of source VM.