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

Extended by
  HostPortGroupProfile, ServiceConsolePortGroupProfile, VmPortGroupProfile
Extends
  ApplyProfile
See also
  NetworkPolicyProfile, VirtualSwitchSelectionProfile, VlanProfile
Since
  vSphere API 4.0

## Data Object Description

PortGroupProfile is the base class for the different port group subprofile objects.

Properties

Name | Type | Description
--- | --- | ---
key | xsd:string | Linkable identifier.
name | xsd:string | Name of the portgroup.
networkPolicy | NetworkPolicyProfile | The network policy applicable on the port group.
vlan | VlanProfile | VLAN identifier for the port group.
vswitch | VirtualSwitchSelectionProfile | Virtual switch to which the port group is connected.
Properties inherited from ApplyProfile
copyEnableStatus, enabled, favorite, policy, profileTypeName, profileVersion, property, toBeDeleted, toBeMerged, toReplaceWith
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="PortGroupProfile"> <complexContent> <extension base="vim25:ApplyProfile"> <sequence> <element name="key" type="xsd:string"/> <element name="name" type="xsd:string"/> <element name="vlan" type="vim25:VlanProfile"/> <element name="vswitch" type="vim25:VirtualSwitchSelectionProfile"/> <element name="networkPolicy" type="vim25:NetworkPolicyProfile"/> </sequence> </extension> </complexContent> </complexType>