# Data Object - NetworkProfile(vim.profile.host.NetworkProfile)

Property of
  HostApplyProfile
Extends
  ApplyProfile
See also
  DvsHostVNicProfile, DvsProfile, DvsServiceConsoleVNicProfile, HostPortGroupProfile, IpRouteProfile, NetStackInstanceProfile, NetworkProfileDnsConfigProfile, NsxHostVNicProfile, PhysicalNicProfile, ServiceConsolePortGroupProfile, VirtualSwitchProfile, VmPortGroupProfile
Since
  vSphere API 4.0

## Data Object Description

The NetworkProfile data object contains a set of subprofiles for network configuration.

Properties

Name | Type | Description
--- | --- | ---
consoleIpRouteConfig* | IpRouteProfile | Subprofile that describes the IP Route configuration for the Service Console gateway.
dnsConfig* | NetworkProfileDnsConfigProfile | DNS (Domain Name System) configuration subprofile.
dvsHostNic* | DvsHostVNicProfile[] | List of subprofiles for host Virtual NICs connected to a distributed virtual switch. Use the DvsHostVNicProfile.key property to access a subprofile in the list.
dvsServiceConsoleNic* | DvsServiceConsoleVNicProfile[] | List of subprofiles for service console Virtual NICs connected to a distributed virtual switch. Use the DvsServiceConsoleVNicProfile.key property to access a subprofile in the list.
dvswitch* | DvsProfile[] | List of subprofiles for distributed virtual switches to which this host is connected. Use the key property to access a subprofile in the list.
hostPortGroup* | HostPortGroupProfile[] | List of port groups for use by the host. Use the HostPortGroupProfile.key property to access port groups in the list.
ipRouteConfig* | IpRouteProfile | Subprofile that describes the IP Route configuration for the VMKernel gateway.
netStackInstance* | NetStackInstanceProfile[] | List of NetStackInstance subprofiles. Use the key property to access a subprofile in the list. Since vSphere API 5.5
nsxHostNic* | NsxHostVNicProfile[] | List of subprofiles for host Virtual NICs connected to a NSX logic switch. Use the NsxHostVNicProfile.key property to access a subprofile in the list. Since vSphere API 6.7
pnic* | PhysicalNicProfile[] | List of subprofiles that represent physical NIC configuration. Use the key property to access a subprofile in the list.
serviceConsolePortGroup* | ServiceConsolePortGroupProfile[] | List of port groups for use by the service console. The Profile Engine uses this field only when applying a profile to a host that has a service console.
vmPortGroup* | VmPortGroupProfile[] | List of port groups for use by virtual machines. Use the VmPortGroupProfile.key property to access a port group in the list.
vswitch* | VirtualSwitchProfile[] | List of virtual switch subprofiles. Use the key property to access a subprofile in the list.
Properties inherited from ApplyProfile
copyEnableStatus, enabled, favorite, hidden, policy, profileTypeName, profileVersion, property, toBeDeleted, toBeMerged, toReplaceWith
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="NetworkProfile"> <complexContent> <extension base="vsan:ApplyProfile"> <sequence> <element name="vswitch" type="vsan:VirtualSwitchProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="vmPortGroup" type="vsan:VmPortGroupProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="hostPortGroup" type="vsan:HostPortGroupProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="serviceConsolePortGroup" type="vsan:ServiceConsolePortGroupProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="dnsConfig" type="vsan:NetworkProfileDnsConfigProfile" minOccurs="0"/> <element name="ipRouteConfig" type="vsan:IpRouteProfile" minOccurs="0"/> <element name="consoleIpRouteConfig" type="vsan:IpRouteProfile" minOccurs="0"/> <element name="pnic" type="vsan:PhysicalNicProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="dvswitch" type="vsan:DvsProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="dvsServiceConsoleNic" type="vsan:DvsServiceConsoleVNicProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="dvsHostNic" type="vsan:DvsHostVNicProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="nsxHostNic" type="vsan:NsxHostVNicProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="netStackInstance" type="vsan:NetStackInstanceProfile" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>