VmNetworkSettings

VmNetworkSettings
VmNetworkSettings
JSON Example
{
    "computerName": "testpc",
    "copySourceNicSettings": false,
    "enableGuestCustomization": false,
    "nics": [
        {
            "externalIpAddress": "64.71.222.37",
            "ipAddress": "192.0.0.1",
            "ipAddressAllocationMode": "DHCP",
            "isConnected": false,
            "macAddress": "00:0a:95:9d:68:17",
            "needsCustomization": true,
            "network": "network1",
            "networkAdapterType": "VMXNET 3",
            "nicIndex": 0,
            "resetMacAddress": true
        }
    ],
    "primaryNicIndex": 0
}
string
computerName
Optional

Optionally provide computer name

boolean
copySourceNicSettings
Optional

Indicates whether the source Vm NIC settings should be copied to the recovered Vm

boolean
enableGuestCustomization
Optional

Optionally provide whether to enable guest customization

nics
Optional

Network settings for the VM's NIC

integer As int32 As int32
primaryNicIndex
Optional

primaryNicIndex