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,
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 |
State
State(value)
The possible values of the state/health of source VM.
Values: STATE_UNSPECIFIED (0): The state was not sampled by the health checks yet. PENDING (1): The VM in the source is being verified. READY (2): The source VM was verified, and it's ready to start replication. FIRST_SYNC (3): Migration is going through the first sync cycle. ACTIVE (4): The replication is active, and it's running or scheduled to run. CUTTING_OVER (7): The source VM is being turned off, and a final replication is currently running. CUTOVER (8): The source VM was stopped and replicated. The replication is currently paused. FINAL_SYNC (9): A cutover job is active and replication cycle is running the final sync. PAUSED (10): The replication was paused by the user and no cycles are scheduled to run. FINALIZING (11): The migrating VM is being finalized and migration resources are being removed. FINALIZED (12): The replication process is done. The migrating VM is finalized and no longer consumes billable resources. ERROR (13): The replication process encountered an unrecoverable error and was aborted.