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.

NetworkInterface

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

NetworkInterface represents a NIC of a VM.

JSON representation
{
  "network": string,
  "subnetwork": string,
  "internalIp": string,
  "externalIp": string
}
Fields
network

string

The network to connect the NIC to.

subnetwork

string

The subnetwork to connect the NIC to.

internalIp

string

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

externalIp

string

The external IP to define in the NIC.