public class HostNetworkConfig extends DynamicData
Java class for HostNetworkConfig complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostNetworkConfig">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="vswitch" type="{urn:vim25}HostVirtualSwitchConfig" maxOccurs="unbounded" minOccurs="0"/>
<element name="proxySwitch" type="{urn:vim25}HostProxySwitchConfig" maxOccurs="unbounded" minOccurs="0"/>
<element name="portgroup" type="{urn:vim25}HostPortGroupConfig" maxOccurs="unbounded" minOccurs="0"/>
<element name="pnic" type="{urn:vim25}PhysicalNicConfig" maxOccurs="unbounded" minOccurs="0"/>
<element name="vnic" type="{urn:vim25}HostVirtualNicConfig" maxOccurs="unbounded" minOccurs="0"/>
<element name="consoleVnic" type="{urn:vim25}HostVirtualNicConfig" maxOccurs="unbounded" minOccurs="0"/>
<element name="dnsConfig" type="{urn:vim25}HostDnsConfig" minOccurs="0"/>
<element name="ipRouteConfig" type="{urn:vim25}HostIpRouteConfig" minOccurs="0"/>
<element name="consoleIpRouteConfig" type="{urn:vim25}HostIpRouteConfig" minOccurs="0"/>
<element name="routeTableConfig" type="{urn:vim25}HostIpRouteTableConfig" minOccurs="0"/>
<element name="dhcp" type="{urn:vim25}HostDhcpServiceConfig" maxOccurs="unbounded" minOccurs="0"/>
<element name="nat" type="{urn:vim25}HostNatServiceConfig" maxOccurs="unbounded" minOccurs="0"/>
<element name="ipV6Enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="netStackSpec" type="{urn:vim25}HostNetworkConfigNetStackSpec" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected HostIpRouteConfig |
consoleIpRouteConfig |
protected List<HostVirtualNicConfig> |
consoleVnic |
protected List<HostDhcpServiceConfig> |
dhcp |
protected HostDnsConfig |
dnsConfig |
protected HostIpRouteConfig |
ipRouteConfig |
protected Boolean |
ipV6Enabled |
protected List<HostNatServiceConfig> |
nat |
protected List<HostNetworkConfigNetStackSpec> |
netStackSpec |
protected List<PhysicalNicConfig> |
pnic |
protected List<HostPortGroupConfig> |
portgroup |
protected List<HostProxySwitchConfig> |
proxySwitch |
protected HostIpRouteTableConfig |
routeTableConfig |
protected List<HostVirtualNicConfig> |
vnic |
protected List<HostVirtualSwitchConfig> |
vswitch |
| Constructor and Description |
|---|
HostNetworkConfig() |
| Modifier and Type | Method and Description |
|---|---|
HostIpRouteConfig |
getConsoleIpRouteConfig()
Gets the value of the consoleIpRouteConfig property.
|
List<HostVirtualNicConfig> |
getConsoleVnic()
Gets the value of the consoleVnic property.
|
List<HostDhcpServiceConfig> |
getDhcp()
Gets the value of the dhcp property.
|
HostDnsConfig |
getDnsConfig()
Gets the value of the dnsConfig property.
|
HostIpRouteConfig |
getIpRouteConfig()
Gets the value of the ipRouteConfig property.
|
List<HostNatServiceConfig> |
getNat()
Gets the value of the nat property.
|
List<HostNetworkConfigNetStackSpec> |
getNetStackSpec()
Gets the value of the netStackSpec property.
|
List<PhysicalNicConfig> |
getPnic()
Gets the value of the pnic property.
|
List<HostPortGroupConfig> |
getPortgroup()
Gets the value of the portgroup property.
|
List<HostProxySwitchConfig> |
getProxySwitch()
Gets the value of the proxySwitch property.
|
HostIpRouteTableConfig |
getRouteTableConfig()
Gets the value of the routeTableConfig property.
|
List<HostVirtualNicConfig> |
getVnic()
Gets the value of the vnic property.
|
List<HostVirtualSwitchConfig> |
getVswitch()
Gets the value of the vswitch property.
|
Boolean |
isIpV6Enabled()
Gets the value of the ipV6Enabled property.
|
void |
setConsoleIpRouteConfig(HostIpRouteConfig value)
Sets the value of the consoleIpRouteConfig property.
|
void |
setDnsConfig(HostDnsConfig value)
Sets the value of the dnsConfig property.
|
void |
setIpRouteConfig(HostIpRouteConfig value)
Sets the value of the ipRouteConfig property.
|
void |
setIpV6Enabled(Boolean value)
Sets the value of the ipV6Enabled property.
|
void |
setRouteTableConfig(HostIpRouteTableConfig value)
Sets the value of the routeTableConfig property.
|
protected List<HostVirtualSwitchConfig> vswitch
protected List<HostProxySwitchConfig> proxySwitch
protected List<HostPortGroupConfig> portgroup
protected List<PhysicalNicConfig> pnic
protected List<HostVirtualNicConfig> vnic
protected List<HostVirtualNicConfig> consoleVnic
protected HostDnsConfig dnsConfig
protected HostIpRouteConfig ipRouteConfig
protected HostIpRouteConfig consoleIpRouteConfig
protected HostIpRouteTableConfig routeTableConfig
protected List<HostDhcpServiceConfig> dhcp
protected List<HostNatServiceConfig> nat
protected Boolean ipV6Enabled
protected List<HostNetworkConfigNetStackSpec> netStackSpec
public List<HostVirtualSwitchConfig> getVswitch()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the vswitch property.
For example, to add a new item, do as follows:
getVswitch().add(newItem);
Objects of the following type(s) are allowed in the list
HostVirtualSwitchConfig
public List<HostProxySwitchConfig> getProxySwitch()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the proxySwitch property.
For example, to add a new item, do as follows:
getProxySwitch().add(newItem);
Objects of the following type(s) are allowed in the list
HostProxySwitchConfig
public List<HostPortGroupConfig> getPortgroup()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the portgroup property.
For example, to add a new item, do as follows:
getPortgroup().add(newItem);
Objects of the following type(s) are allowed in the list
HostPortGroupConfig
public List<PhysicalNicConfig> getPnic()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the pnic property.
For example, to add a new item, do as follows:
getPnic().add(newItem);
Objects of the following type(s) are allowed in the list
PhysicalNicConfig
public List<HostVirtualNicConfig> getVnic()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the vnic property.
For example, to add a new item, do as follows:
getVnic().add(newItem);
Objects of the following type(s) are allowed in the list
HostVirtualNicConfig
public List<HostVirtualNicConfig> getConsoleVnic()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the consoleVnic property.
For example, to add a new item, do as follows:
getConsoleVnic().add(newItem);
Objects of the following type(s) are allowed in the list
HostVirtualNicConfig
public HostDnsConfig getDnsConfig()
HostDnsConfigpublic void setDnsConfig(HostDnsConfig value)
value - allowed object is
HostDnsConfigpublic HostIpRouteConfig getIpRouteConfig()
HostIpRouteConfigpublic void setIpRouteConfig(HostIpRouteConfig value)
value - allowed object is
HostIpRouteConfigpublic HostIpRouteConfig getConsoleIpRouteConfig()
HostIpRouteConfigpublic void setConsoleIpRouteConfig(HostIpRouteConfig value)
value - allowed object is
HostIpRouteConfigpublic HostIpRouteTableConfig getRouteTableConfig()
HostIpRouteTableConfigpublic void setRouteTableConfig(HostIpRouteTableConfig value)
value - allowed object is
HostIpRouteTableConfigpublic List<HostDhcpServiceConfig> getDhcp()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the dhcp property.
For example, to add a new item, do as follows:
getDhcp().add(newItem);
Objects of the following type(s) are allowed in the list
HostDhcpServiceConfig
public List<HostNatServiceConfig> getNat()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the nat property.
For example, to add a new item, do as follows:
getNat().add(newItem);
Objects of the following type(s) are allowed in the list
HostNatServiceConfig
public Boolean isIpV6Enabled()
Booleanpublic void setIpV6Enabled(Boolean value)
value - allowed object is
Booleanpublic List<HostNetworkConfigNetStackSpec> getNetStackSpec()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the netStackSpec property.
For example, to add a new item, do as follows:
getNetStackSpec().add(newItem);
Objects of the following type(s) are allowed in the list
HostNetworkConfigNetStackSpec
Copyright © 2018. All rights reserved.