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 .
Send feedback
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-12-11 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?