GuestNicInfo

GuestNicInfo
GuestNicInfo

Information about each virtual network adapter configured in the guest operating system.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "network": "string",
    "ipAddress": [
        "string"
    ],
    "macAddress": "string",
    "connected": false,
    "deviceConfigId": 0,
    "dnsConfig": {
        "_typeName": "string",
        "dhcp": false,
        "hostName": "string",
        "domainName": "string",
        "ipAddress": [
            "string"
        ],
        "searchDomain": [
            "string"
        ]
    },
    "ipConfig": {
        "_typeName": "string",
        "ipAddress": [
            {
                "_typeName": "string",
                "ipAddress": "string",
                "prefixLength": 0,
                "origin": "string",
                "state": "string",
                "lifetime": "string"
            }
        ],
        "dhcp": {
            "_typeName": "string",
            "ipv6": {
                "_typeName": "string",
                "enable": false,
                "config": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "value": "string"
                    }
                ]
            },
            "ipv4": {
                "_typeName": "string",
                "enable": false,
                "config": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "value": "string"
                    }
                ]
            }
        },
        "autoConfigurationEnabled": false
    },
    "netBIOSConfig": {
        "_typeName": "string",
        "mode": "string"
    }
}
string
network
Optional

Name of the virtual switch portgroup or dvPort connected to this adapter.

array of string
ipAddress
Optional

Deprecated as of vSphere API 5.0, use ipConfig property.

IP addresses of the adapter.

string
macAddress
Optional

MAC address of the adapter.

boolean
connected
Required

Flag indicating whether or not the virtual device is connected.

integer As int32 As int32
deviceConfigId
Required

Link to the corresponding virtual device.

dnsConfig
Optional

DNS configuration of the adapter.

This property is set only when Guest OS supports it. See GuestStackInfo dnsConfig for system wide settings.

ipConfig
Optional

IP configuration settings of the adapter See GuestStackInfo ipStackConfig for system wide settings.

netBIOSConfig
Optional

NetBIOS configuration of the adapter