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

Property of
  HostApplyProfile
Extends
  ApplyProfile
See also
  DvsHostVNicProfile, DvsProfile, DvsServiceConsoleVNicProfile, HostPortGroupProfile, IpRouteProfile, NetStackInstanceProfile, NetworkProfileDnsConfigProfile, NsxHostVNicProfile, OpaqueSwitchProfile, 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
opaqueSwitch* | OpaqueSwitchProfile | OpaqueSwitch subprofile. Since vSphere API 7.0
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:vslm="urn:vslm" name="NetworkProfile"> <complexContent> <extension base="vslm:ApplyProfile"> <sequence> <element name="vswitch" type="vslm:VirtualSwitchProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="vmPortGroup" type="vslm:VmPortGroupProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="hostPortGroup" type="vslm:HostPortGroupProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="serviceConsolePortGroup" type="vslm:ServiceConsolePortGroupProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="dnsConfig" type="vslm:NetworkProfileDnsConfigProfile" minOccurs="0"/> <element name="ipRouteConfig" type="vslm:IpRouteProfile" minOccurs="0"/> <element name="consoleIpRouteConfig" type="vslm:IpRouteProfile" minOccurs="0"/> <element name="pnic" type="vslm:PhysicalNicProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="dvswitch" type="vslm:DvsProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="dvsServiceConsoleNic" type="vslm:DvsServiceConsoleVNicProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="dvsHostNic" type="vslm:DvsHostVNicProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="nsxHostNic" type="vslm:NsxHostVNicProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="netStackInstance" type="vslm:NetStackInstanceProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="opaqueSwitch" type="vslm:OpaqueSwitchProfile" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>