- Resource: MigratingVm
- ComputeEngineTargetDefaults
- ComputeEngineDisksTargetDefaults
- DisksMigrationDisksTargetDefaults
- DisksMigrationVmTargetDefaults
- BootDiskDefaults
- DiskImageDefaults
- PersistentDiskDefaults
- VmAttachmentDetails
- VmwareSourceVmDetails
- Firmware
- VmwareDiskDetails
- VmCapabilities
- OsCapability
- AwsSourceVmDetails
- Firmware
- AwsDiskDetails
- AzureSourceVmDetails
- Firmware
- AzureDiskDetails
- SchedulePolicy
- ReplicationSync
- State
- CutoverForecast
- 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. |
cutoverForecast |
Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable. |
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. |
computeEngineDisksTargetDefaults |
Details of the target Persistent Disks in Compute Engine. |
Union field source_vm_details . Details about the source VM. source_vm_details can be only one of the following: |
|
vmwareSourceVmDetails |
Output only. Details of the VM from a Vmware source. |
awsSourceVmDetails |
Output only. Details of the VM from an AWS source. |
azureSourceVmDetails |
Output only. Details of the VM from an Azure 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 list 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. |
enableVtpm |
Optional. Defines whether the instance has vTPM enabled. This can be set to true only if the VM boot option is EFI. |
enableIntegrityMonitoring |
Optional. Defines whether the instance has integrity monitoring enabled. This can be set to true only if the VM boot option is EFI, and vTPM is enabled. |
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. |
encryption |
Optional. Immutable. The encryption to apply to the VM disks. |
bootConversion |
Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another. |
ComputeEngineDisksTargetDefaults
ComputeEngineDisksTargetDefaults is a collection of details for creating Persistent Disks in a target Compute Engine project.
JSON representation |
---|
{ "targetProject": string, "disks": [ { object ( |
Fields | |
---|---|
targetProject |
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create the Persistent Disks. |
disks[] |
The details of each Persistent Disk to create. |
Union field
|
|
zone |
The zone in which to create the Persistent Disks. |
Union field vm_target . Details of the VM to attach the disks to as the target of this migration. vm_target can be only one of the following: |
|
disksTargetDefaults |
Details of the disk only migration target. |
vmTargetDefaults |
Details of the VM migration target. |
DisksMigrationDisksTargetDefaults
This type has no fields.
Details for a disk only migration.
DisksMigrationVmTargetDefaults
Details for creation of a VM that migrated data disks will be attached to.
JSON representation |
---|
{ "vmName": string, "machineTypeSeries": string, "machineType": string, "networkTags": [ string ], "networkInterfaces": [ { object ( |
Fields | |
---|---|
vmName |
Required. The name of the VM to create. |
machineTypeSeries |
Optional. The machine type series to create the VM with. For presentation only. |
machineType |
Required. The machine type to create the VM with. |
networkTags[] |
Optional. A list of network tags to associate with the VM. |
networkInterfaces[] |
Optional. NICs to attach to the VM. |
serviceAccount |
Optional. The service account to associate the VM with. |
computeScheduling |
Optional. Compute instance scheduling information (if empty default is used). |
secureBoot |
Optional. Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI. |
enableVtpm |
Optional. Defines whether the instance has vTPM enabled. |
enableIntegrityMonitoring |
Optional. Defines whether the instance has integrity monitoring enabled. |
metadata |
Optional. The metadata key/value pairs to assign to the VM. An object containing a list of |
additionalLicenses[] |
Optional. Additional licenses to assign to the VM. |
hostname |
Optional. The hostname to assign to the VM. |
labels |
Optional. A map of labels to associate with the VM. An object containing a list of |
bootDiskDefaults |
Optional. Details of the boot disk of the VM. |
encryption |
Optional. The encryption to apply to the VM. |
BootDiskDefaults
BootDiskDefaults hold information about the boot disk of a VM.
JSON representation |
---|
{ "diskName": string, "diskType": enum ( |
Fields | |
---|---|
diskName |
Optional. The name of the disk. |
diskType |
Optional. The type of disk provisioning to use for the VM. |
deviceName |
Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. |
encryption |
Optional. The encryption to apply to the boot disk. |
Union field
|
|
image |
The image to use when creating the disk. |
DiskImageDefaults
Contains details about the image source used to create the disk.
JSON representation |
---|
{ "sourceImage": string } |
Fields | |
---|---|
sourceImage |
Required. The Image resource used when creating the disk. |
PersistentDiskDefaults
Details for creation of a Persistent Disk.
JSON representation |
---|
{ "sourceDiskNumber": integer, "diskName": string, "diskType": enum ( |
Fields | |
---|---|
sourceDiskNumber |
Required. The ordinal number of the source VM disk. |
diskName |
Optional. The name of the Persistent Disk to create. |
diskType |
The disk type to use. |
additionalLabels |
A map of labels to associate with the Persistent Disk. An object containing a list of |
encryption |
Optional. The encryption to apply to the disk. |
vmAttachmentDetails |
Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attached to a target VM. |
VmAttachmentDetails
Details for attachment of the disk to a VM.
JSON representation |
---|
{ "deviceName": string } |
Fields | |
---|---|
deviceName |
Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. |
VmwareSourceVmDetails
Represent the source Vmware VM details.
JSON representation |
---|
{ "firmware": enum ( |
Fields | |
---|---|
firmware |
Output only. The firmware type of the source VM. |
committedStorageBytes |
Output only. The total size of the disks being migrated in bytes. |
disks[] |
Output only. The disks attached to the source VM. |
vmCapabilitiesInfo |
Output only. Information about VM capabilities needed for some Compute Engine features. |
Firmware
Possible values for Vmware VM firmware.
Enums | |
---|---|
FIRMWARE_UNSPECIFIED |
The firmware is unknown. |
EFI |
The firmware is EFI. |
BIOS |
The firmware is BIOS. |
VmwareDiskDetails
The details of a Vmware VM disk.
JSON representation |
---|
{ "diskNumber": integer, "sizeGb": string, "label": string } |
Fields | |
---|---|
diskNumber |
Output only. The ordinal number of the disk. |
sizeGb |
Output only. Size in GB. |
label |
Output only. The disk label. |
VmCapabilities
Migrating VM source information about the VM capabilities needed for some Compute Engine features.
JSON representation |
---|
{
"osCapabilities": [
enum ( |
Fields | |
---|---|
osCapabilities[] |
Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features. |
lastOsCapabilitiesUpdateTime |
Output only. The last time OS capabilities list was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
OsCapability
VM operating system (OS) capabilities needed for determining compatibility with Compute Engine features supported by the migration.
Enums | |
---|---|
OS_CAPABILITY_UNSPECIFIED |
This is for API compatibility only and is not in use. |
OS_CAPABILITY_NVME_STORAGE_ACCESS |
NVMe driver installed and the VM can use NVMe PD or local SSD. |
OS_CAPABILITY_GVNIC_NETWORK_INTERFACE |
gVNIC virtual NIC driver supported. |
AwsSourceVmDetails
Represent the source AWS VM details.
JSON representation |
---|
{ "firmware": enum ( |
Fields | |
---|---|
firmware |
Output only. The firmware type of the source VM. |
committedStorageBytes |
Output only. The total size of the disks being migrated in bytes. |
disks[] |
Output only. The disks attached to the source VM. |
vmCapabilitiesInfo |
Output only. Information about VM capabilities needed for some Compute Engine features. |
Firmware
Possible values for AWS VM firmware.
Enums | |
---|---|
FIRMWARE_UNSPECIFIED |
The firmware is unknown. |
EFI |
The firmware is EFI. |
BIOS |
The firmware is BIOS. |
AwsDiskDetails
The details of an AWS instance disk.
JSON representation |
---|
{ "diskNumber": integer, "volumeId": string, "sizeGb": string } |
Fields | |
---|---|
diskNumber |
Output only. The ordinal number of the disk. |
volumeId |
Output only. AWS volume ID. |
sizeGb |
Output only. Size in GB. |
AzureSourceVmDetails
Represent the source Azure VM details.
JSON representation |
---|
{ "firmware": enum ( |
Fields | |
---|---|
firmware |
Output only. The firmware type of the source VM. |
committedStorageBytes |
Output only. The total size of the disks being migrated in bytes. |
disks[] |
Output only. The disks attached to the source VM. |
vmCapabilitiesInfo |
Output only. Information about VM capabilities needed for some Compute Engine features. |
Firmware
Possible values for Azure VM firmware.
Enums | |
---|---|
FIRMWARE_UNSPECIFIED |
The firmware is unknown. |
EFI |
The firmware is EFI. |
BIOS |
The firmware is BIOS. |
AzureDiskDetails
The details of an Azure VM disk.
JSON representation |
---|
{ "diskNumber": integer, "diskId": string, "sizeGb": string } |
Fields | |
---|---|
diskNumber |
Output only. The ordinal number of the disk. |
diskId |
Output only. Azure disk ID. |
sizeGb |
Output only. Size in GB. |
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. |
CutoverForecast
CutoverForecast holds information about future CutoverJobs of a MigratingVm.
JSON representation |
---|
{ "estimatedCutoverJobDuration": string } |
Fields | |
---|---|
estimatedCutoverJobDuration |
Output only. Estimation of the CutoverJob duration. A duration in seconds with up to nine fractional digits, ending with ' |
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. |