You are now viewing Migrate to Virtual Machines (formerly Migrate for Compute Engine). For Migrate for Compute Engine versions 4.x, see the 4.x documentation.

ComputeEngineTargetDetails

Stay organized with collections Save and categorize content based on your preferences.

ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.

JSON representation
{
  "vmName": string,
  "project": string,
  "zone": string,
  "machineTypeSeries": string,
  "machineType": string,
  "networkTags": [
    string
  ],
  "networkInterfaces": [
    {
      object (NetworkInterface)
    }
  ],
  "serviceAccount": string,
  "diskType": enum (ComputeEngineDiskType),
  "labels": {
    string: string,
    ...
  },
  "licenseType": enum (ComputeEngineLicenseType),
  "appliedLicense": {
    object (AppliedLicense)
  },
  "computeScheduling": {
    object (ComputeScheduling)
  },
  "secureBoot": boolean,
  "bootOption": enum (ComputeEngineBootOption),
  "metadata": {
    string: string,
    ...
  },
  "additionalLicenses": [
    string
  ],
  "hostname": string
}
Fields
vmName

string

The name of the VM to create.

project

string

The GCP target project ID or project name.

zone

string

The zone in which to create the VM.

machineTypeSeries

string

The machine type series to create the VM with.

machineType

string

The machine type to create the VM with.

networkTags[]

string

A map of network tags to associate with the VM.

networkInterfaces[]

object (NetworkInterface)

List of NICs connected to this VM.

serviceAccount

string

The service account to associate the VM with.

diskType

enum (ComputeEngineDiskType)

The disk type to use in the VM.

labels

map (key: string, value: string)

A map of labels to associate with the VM.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

licenseType

enum (ComputeEngineLicenseType)

The license type to use in OS adaptation.

appliedLicense

object (AppliedLicense)

The OS license returned from the adaptation module report.

computeScheduling

object (ComputeScheduling)

Compute instance scheduling information (if empty default is used).

secureBoot

boolean

Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.

bootOption

enum (ComputeEngineBootOption)

The VM Boot Option, as set in the source vm.

metadata

map (key: string, value: string)

The metadata key/value pairs to assign to the VM.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

additionalLicenses[]

string

Additional licenses to assign to the VM.

hostname

string

The hostname to assign to the VM.