- Resource: MigratingVm
- ComputeEngineTargetDefaults
- AwsSourceVmDetails
- Firmware
- SchedulePolicy
- ReplicationSync
- State
- Methods
Resource: MigratingVm
MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
JSON representation |
---|
{ "name": string, "sourceVmId": string, "displayName": string, "description": string, "targetDefaults": { object ( |
Fields | |
---|---|
name |
Output only. The identifier of the MigratingVm. |
sourceVmId |
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- |
displayName |
The display name attached to the MigratingVm by the user. |
description |
The description attached to the migrating VM by the user. |
targetDefaults |
The default configuration of the target VM that will be created in Google Cloud as a result of the migration. Deprecated: Use computeEngineTargetDefaults instead. |
policy |
The replication schedule policy. |
createTime |
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). A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The last time the migrating VM resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
lastSync |
Output only. The most updated snapshot created time in the source that finished replication. |
state |
Output only. State of the MigratingVm. |
stateTime |
Output only. The last time the migrating VM state was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
currentSyncInfo |
Output only. Details of the current running replication cycle. |
lastReplicationCycle |
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 lastSync which is only updated on successful replication cycles. |
group |
Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate |
labels |
The labels of the migrating VM. An object containing a list of |
recentCloneJobs[] |
Output only. The recent |
error |
Output only. Provides details on the state of the Migrating VM in case of an error in replication. |
recentCutoverJobs[] |
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. |
Union field target . The default configuration of the target VM that will be created in Google Cloud as a result of the migration. target can be only one of the following: |
|
computeEngineVmDefaults |
Details of the VM in Compute Engine. Deprecated: Use computeEngineTargetDefaults instead. |
Union field target_vm_defaults . The default configuration of the target VM that will be created in Google Cloud as a result of the migration. target_vm_defaults can be only one of the following: |
|
computeEngineTargetDefaults |
Details of the target VM in Compute Engine. |
Union field source_vm_details . Details about the source VM. source_vm_details can be only one of the following: |
|
awsSourceVmDetails |
Output only. Details of the VM from an AWS source. |
ComputeEngineTargetDefaults
ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.
JSON representation |
---|
{ "vmName": string, "targetProject": string, "zone": string, "machineTypeSeries": string, "machineType": string, "networkTags": [ string ], "networkInterfaces": [ { object ( |
Fields | |
---|---|
vmName |
The name of the VM to create. |
targetProject |
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. |
zone |
The zone in which to create the VM. |
machineTypeSeries |
The machine type series to create the VM with. |
machineType |
The machine type to create the VM with. |
networkTags[] |
A map of network tags to associate with the VM. |
networkInterfaces[] |
List of NICs connected to this VM. |
serviceAccount |
The service account to associate the VM with. |
diskType |
The disk type to use in the VM. |
labels |
A map of labels to associate with the VM. An object containing a list of |
licenseType |
The license type to use in OS adaptation. |
appliedLicense |
Output only. The OS license returned from the adaptation module report. |
computeScheduling |
Compute instance scheduling information (if empty default is used). |
secureBoot |
Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. |
bootOption |
Output only. The VM Boot Option, as set in the source vm. |
metadata |
The metadata key/value pairs to assign to the VM. An object containing a list of |
additionalLicenses[] |
Additional licenses to assign to the VM. |
hostname |
The hostname to assign to the VM. |
AwsSourceVmDetails
Represent the source AWS VM details.
JSON representation |
---|
{
"firmware": enum ( |
Fields | |
---|---|
firmware |
The firmware type of the source VM. |
committedStorageBytes |
The total size of the disks being migrated in bytes. |
Firmware
Possible values for AWS VM firmware.
Enums | |
---|---|
FIRMWARE_UNSPECIFIED |
The firmware is unknown. |
EFI |
The firmware is EFI. |
BIOS |
The firmware is BIOS. |
SchedulePolicy
A policy for scheduling replications.
JSON representation |
---|
{ "idleDuration": string, "skipOsAdaptation": boolean } |
Fields | |
---|---|
idleDuration |
The idle duration between replication stages. A duration in seconds with up to nine fractional digits, ending with ' |
skipOsAdaptation |
A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM's operating system undergoes changes and adaptations to fully function on Compute Engine. |
ReplicationSync
ReplicationSync contain information about the last replica sync to the cloud.
JSON representation |
---|
{ "lastSyncTime": string } |
Fields | |
---|---|
lastSyncTime |
The most updated snapshot created time in the source that finished replication. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
State
The possible values of the state/health of source VM.
Enums | |
---|---|
STATE_UNSPECIFIED |
The state was not sampled by the health checks yet. |
PENDING |
The VM in the source is being verified. |
READY |
The source VM was verified, and it's ready to start replication. |
FIRST_SYNC |
Migration is going through the first sync cycle. |
ACTIVE |
The replication is active, and it's running or scheduled to run. |
CUTTING_OVER |
The source VM is being turned off, and a final replication is currently running. |
CUTOVER |
The source VM was stopped and replicated. The replication is currently paused. |
FINAL_SYNC |
A cutover job is active and replication cycle is running the final sync. |
PAUSED |
The replication was paused by the user and no cycles are scheduled to run. |
FINALIZING |
The migrating VM is being finalized and migration resources are being removed. |
FINALIZED |
The replication process is done. The migrating VM is finalized and no longer consumes billable resources. |
ERROR |
The replication process encountered an unrecoverable error and was aborted. |
Methods |
|
---|---|
|
Creates a new MigratingVm in a given Source. |
|
Deletes a single MigratingVm. |
|
Marks a migration as completed, deleting migration resources that are no longer being used. |
|
Gets details of a single MigratingVm. |
|
Lists MigratingVms in a given Source. |
|
Updates the parameters of a single MigratingVm. |
|
Pauses a migration for a VM. |
|
Resumes a migration for a VM. |
|
Starts migration for a VM. |