Class MigratingVm (1.0.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

NameDescription
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.
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 Sequence[google.cloud.vmmigration_v1.types.MigratingVm.LabelsEntry]
The labels of the migrating VM.
error google.rpc.status_pb2.Status
Output only. Provides details on the state of the Migrating VM in case of an error in replication.

Classes

LabelsEntry

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

The abstract base class for a message.

Parameters
NameDescription
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.