Get Networking
Get Networking information for all configured interfaces.
Request
URLURL
Header Parameters
Header Parameters
Response
Response BodyResponse Body
The Map of network configuration info for all interfaces.
{
"dns": {
"hostname": "string",
"mode": "enum",
"servers": [
"string"
]
},
"interfaces": {
"key": {
"ipv4": {
"address": "string",
"configurable": false,
"default_gateway": "string",
"mode": "enum",
"prefix": 0
},
"ipv6": {
"addresses": [
{
"address": "string",
"origin": "enum",
"prefix": 0,
"status": "enum"
}
],
"autoconf": false,
"configurable": false,
"default_gateway": "string",
"dhcp": false
},
"mac": "string",
"name": "string",
"status": "enum"
}
},
"vcenter_base_url": "string"
}
Interface configuration as a key-value map where key is a network interface name, for example, “nic0”. When clients pass a value of this structure as a parameter, the key in the field map 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 map will be an identifier for the resource type: com.vmware.appliance.networking.interfaces.
Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. This field will be unset if the vcenter base url is not retrieved