Host V Motion System Get Ip Config

Host V Motion System Get Ip Config

IP configuration of the VMotion VirtualNic.

Request
URI
GET
https://{vcenter-host}/sdk/vim25/{release}/HostVMotionSystem/{moId}/ipConfig
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case HostVMotionSystem/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns HostIpConfig of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "dhcp": false,
    "ipAddress": "string",
    "subnetMask": "string",
    "ipV6Config": {
        "_typeName": "string",
        "ipV6Address": [
            {
                "_typeName": "string",
                "ipAddress": "string",
                "prefixLength": 0,
                "origin": "string",
                "dadState": "string",
                "lifetime": "string",
                "operation": "string"
            }
        ],
        "autoConfigurationEnabled": false,
        "dhcpV6Enabled": false
    }
}
boolean
dhcp
Required

The flag to indicate whether or not DHCP (dynamic host control protocol) is enabled.

If this property is set to true, the ipAddress and the subnetMask strings cannot be set explicitly.

string
ipAddress
Optional

The IP address currently used by the network adapter.

All IP addresses are specified using IPv4 dot notation. For example, "192.168.0.1". Subnet addresses and netmasks are specified using the same notation.

Note: When DHCP is enabled, this property reflects the current IP configuration and cannot be set. When DHCP is not enabled, this property can be set explicitly.

string
subnetMask
Optional

The subnet mask.

Note: When DHCP is not enabled, this property can be set explicitly. When DHCP is enabled, this property reflects the current IP configuration and cannot be set.

ipV6Config
Optional

The ipv6 address configuration