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:

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

Attributes:

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

-.dns.mode string DNS mode. This attribute was added in vSphere API 6.7.

Describes the source of DNS servers. This enumeration was added in vSphere API 6.7. Value is one of:
DHCP: The DNS servers addresses are obtained from a DHCP server. This constant was added in vSphere API 6.7.
STATIC: The DNS servers addresses are specified explicitly. This constant was added in vSphere API 6.7.

-.dns.hostname string Hostname. This attribute was added in vSphere API 6.7.

-.dns.servers string[] Servers. This attribute was added in vSphere API 6.7.

-.interfaces object 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.Object with element values of type interface_info.