# 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/policies 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, hidden, 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:vsan="urn:vsan" name="PortGroupProfile"> <complexContent> <extension base="vsan:ApplyProfile"> <sequence> <element name="key" type="xsd:string"/> <element name="name" type="xsd:string"/> <element name="vlan" type="vsan:VlanProfile"/> <element name="vswitch" type="vsan:VirtualSwitchSelectionProfile"/> <element name="networkPolicy" type="vsan:NetworkPolicyProfile"/> </sequence> </extension> </complexContent> </complexType>