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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _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.
compute_engine_disks_target_defaults google.cloud.vmmigration_v1.types.ComputeEngineDisksTargetDefaults
Details of the target Persistent Disks in Compute Engine. This field is a member of oneof_ target_vm_defaults.
vmware_source_vm_details google.cloud.vmmigration_v1.types.VmwareSourceVmDetails
Output only. Details of the VM from a Vmware source. This field is a member of oneof_ source_vm_details.
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.
azure_source_vm_details google.cloud.vmmigration_v1.types.AzureSourceVmDetails
Output only. Details of the VM from an Azure 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. Details of the current running replication cycle.
last_replication_cycle google.cloud.vmmigration_v1.types.ReplicationCycle
Output only. Details of the last replication cycle. This will be updated whenever a replication cycle is finished and is not to be confused with last_sync which is only updated on successful replication cycles.
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.
cutover_forecast google.cloud.vmmigration_v1.types.CutoverForecast
Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable.
expiration google.cloud.vmmigration_v1.types.MigratingVm.Expiration
Output only. Provides details about the expiration state of the migrating VM.

Classes

Expiration

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

Expiration holds information about the expiration of a MigratingVm.

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.