appliance networking: info

The info structure contains information about the network configuration of a virtual appliance. This structure was added in vSphere API 6.7

Representation:

{
    "dns"{
        "hostname""string",
        "mode""DHCP",
        "servers"[
            "string",
            "string"
        ]
    },
    "interfaces"[
        {
            "key""obj-103",
            "value"{
                "ipv4"{
                    "address""string",
                    "configurable"true,
                    "default_gateway""string",
                    "mode""DHCP",
                    "prefix"1
                },
                "ipv6"{
                    "addresses"[
                        {
                            "address""string",
                            "origin""DHCP",
                            "prefix"1,
                            "status""TENTATIVE"
                        },
                        {
                            "address""string",
                            "origin""DHCP",
                            "prefix"1,
                            "status""TENTATIVE"
                        }
                    ],
                    "autoconf"true,
                    "configurable"true,
                    "default_gateway""string",
                    "dhcp"true
                },
                "mac""string",
                "name""string",
                "status""down"
            }
        }
    ]
}

Attributes:

Name Type Description
Required
dns DNS_info DNS configuration. This attribute was added in vSphere API 6.7

interfaces list Interface configuration as a key-value map where key is a network interface name, for example, "nic0". This attribute was added in vSphere API 6.7

When clients pass a value of this structure as a parameter, the key in the field key/value pairs must be an identifier for the resource type: com.vmware.appliance.networking.interfaces. When operations return a value of this structure as a result, the key in the field key/value pairs will be an identifier for the resource type: com.vmware.appliance.networking.interfaces.List of {"key": string, "value": interface_info}