Version 5.0

TargetVMDetails

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

JSON representation
{
  "name": string,
  "project": string,
  "targetProject": string,
  "zone": string,
  "machineTypeSeries": string,
  "machineType": string,
  "network": string,
  "subnetwork": string,
  "internalIp": string,
  "externalIp": string,
  "networkTags": [
    string
  ],
  "serviceAccount": string,
  "diskType": enum (DiskType),
  "labels": {
    string: string,
    ...
  }
}
Fields
name

string

The name of the VM to create.

project
(deprecated)

string

The project in which to create the VM.

targetProject

string

The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.

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.

network

string

The network to connect the VM to.

subnetwork

string

The subnetwork to connect the VM to.

internalIp

string

The internal IP to define in the VM. The formats accepted are: ephemeral \ ipv4 address \ a named address resource full path.

externalIp

string

The external IP to define in the VM.

networkTags[]

string

A map of network tags to associate with the VM.

serviceAccount

string

The service account to associate the VM with.

diskType

enum (DiskType)

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" }.

DiskType

Types of disks supported for the VM.

Enums
DISK_TYPE_UNSPECIFIED An unspecified disk type. Will be used as STANDARD.
STANDARD A Standard disk type.
BALANCED An alternative to SSD persistent disks that balance performance and cost.
SSD SSD hard disk type.