Skip to main content

migrating_vms

Overview

Namemigrating_vms
TypeResource
Idgoogle.vmmigration.migrating_vms

Fields

NameDatatypeDescription
namestringOutput only. The identifier of the MigratingVm.
descriptionstringThe description attached to the migrating VM by the user.
awsSourceVmDetailsobjectRepresent the source AWS VM details.
computeEngineDisksTargetDefaultsobjectComputeEngineDisksTargetDefaults is a collection of details for creating Persistent Disks in a target Compute Engine project.
computeEngineTargetDefaultsobjectComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.
createTimestringOutput only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
currentSyncInfoobjectReplicationCycle contains information about the current replication cycle status.
cutoverForecastobjectCutoverForecast holds information about future CutoverJobs of a MigratingVm.
displayNamestringThe display name attached to the MigratingVm by the user.
errorobjectThe Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
groupstringOutput only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
labelsobjectThe labels of the migrating VM.
lastReplicationCycleobjectReplicationCycle contains information about the current replication cycle status.
lastSyncobjectReplicationSync contain information about the last replica sync to the cloud.
policyobjectA policy for scheduling replications.
recentCloneJobsarrayOutput only. The recent clone jobs 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.
recentCutoverJobsarrayOutput 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.
sourceVmIdstringThe 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-.
statestringOutput only. State of the MigratingVm.
stateTimestringOutput only. The last time the migrating VM state was updated.
updateTimestringOutput only. The last time the migrating VM resource was updated.
vmwareSourceVmDetailsobjectRepresent the source Vmware VM details.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocationsId, migratingVmsId, projectsId, sourcesIdGets details of a single MigratingVm.
listSELECTlocationsId, projectsId, sourcesIdLists MigratingVms in a given Source.
createINSERTlocationsId, projectsId, sourcesIdCreates a new MigratingVm in a given Source.
deleteDELETElocationsId, migratingVmsId, projectsId, sourcesIdDeletes a single MigratingVm.
_listEXEClocationsId, projectsId, sourcesIdLists MigratingVms in a given Source.
finalize_migrationEXEClocationsId, migratingVmsId, projectsId, sourcesIdMarks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.
patchEXEClocationsId, migratingVmsId, projectsId, sourcesIdUpdates the parameters of a single MigratingVm.
pause_migrationEXEClocationsId, migratingVmsId, projectsId, sourcesIdPauses a migration for a VM. If cycle tasks are running they will be cancelled, preserving source task data. Further replication cycles will not be triggered while the VM is paused.
resume_migrationEXEClocationsId, migratingVmsId, projectsId, sourcesIdResumes a migration for a VM. When called on a paused migration, will start the process of uploading data and creating snapshots; when called on a completed cut-over migration, will update the migration to active state and start the process of uploading data and creating snapshots.
start_migrationEXEClocationsId, migratingVmsId, projectsId, sourcesIdStarts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.