NicSettings

NicSettings
NicSettings

Contains information about IP settings for each NIC.

  • primary_ip_settings contains information required to customize the network adapters on the virtual machine when migrating back to the source vCenter Server
  • secondary_ip_settings contains information required to customize the network adapters on the virtual machine when migrating to a new vCenter Server

JSON Example
{
    "device_id": 0,
    "primary_ip_settings": {
        "ip_v4": {
            "ip_address": "string",
            "type": "string",
            "default_gateway": "string",
            "alternate_gateway": "string",
            "subnet_mask": "255.255.255.0"
        },
        "ip_v6": {
            "ip_address": "fdda:5cc1:23:4::1f",
            "type": "string",
            "default_gateway": "string",
            "alternate_gateway": "string",
            "subnet_prefix_length": 0
        },
        "dns": {
            "type": "string",
            "preferred_server": "string",
            "alternate_server": "string",
            "suffixes": [
                "string"
            ]
        },
        "wins": {
            "primary_server": "string",
            "alternate_server": "string"
        }
    },
    "secondary_ip_settings": {
        "ip_v4": {
            "ip_address": "string",
            "type": "string",
            "default_gateway": "string",
            "alternate_gateway": "string",
            "subnet_mask": "255.255.255.0"
        },
        "ip_v6": {
            "ip_address": "fdda:5cc1:23:4::1f",
            "type": "string",
            "default_gateway": "string",
            "alternate_gateway": "string",
            "subnet_prefix_length": 0
        },
        "dns": {
            "type": "string",
            "preferred_server": "string",
            "alternate_server": "string",
            "suffixes": [
                "string"
            ]
        },
        "wins": {
            "primary_server": "string",
            "alternate_server": "string"
        }
    }
}
integer As int32 As int32
device_id
Optional

The ID of the NIC.

primary_ip_settings
Optional

primary_ip_settings

secondary_ip_settings
Optional

secondary_ip_settings