VmNicSettings

VmNicSettings
VmNicSettings

Network Settings for Virtual Machine's NIC.

JSON Example
{
    "externalIpAddress": "64.71.222.37",
    "ipAddress": "192.0.0.1",
    "ipAddressAllocationMode": "string",
    "isConnected": false,
    "macAddress": "00:0a:95:9d:68:17",
    "needsCustomization": true,
    "network": "network1",
    "networkAdapterType": "VMXNET 3",
    "nicIndex": 0,
    "resetMacAddress": true,
    "resolutionType": "EXPLICIT"
}
string
externalIpAddress
Optional

If the network that the NIC is connected to has NAT or port mapping, the external address is populated in this element.

string
ipAddress
Optional

IP address of the NIC.

ipAddressAllocationMode
Optional

ipAddressAllocationMode

boolean
isConnected
Optional

Indicates whether the NIC should be connected.

string
macAddress
Optional

The MAC address of the NIC.

boolean
needsCustomization
Optional

Flag to signify if the NIC needs customization.

string
network
Optional

The name of the network to which the NIC is attached.

string
networkAdapterType
Optional

NIC Adapter type.

integer As int32 As int32
nicIndex
Optional

Index of the NIC starting from 0 in a VM.

boolean
resetMacAddress
Optional

Indicates whether the NIC MAC address should be reset (regenerated) or kept as it is.

string
resolutionType
Optional

Signifies how these NIC settings were obtained. Whether they were automatically derived or explicitly configured. Read-only, ignored on update.