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

Property of
  NetworkProfile
Extends
  ApplyProfile
See also
  LinkProfile, NetworkPolicyProfile, NumPortsProfile
Since
  vSphere API 4.0

## Data Object Description

The VirtualSwitchProfile data object represents a subprofile for a virtual switch. If a profile plug-in defines policies or subprofiles, use the policy or property list to access the additional configuration data.

Properties

Name | Type | Description
--- | --- | ---
key | xsd:string | Linkable identifier.
link | LinkProfile | Links that are connected to the virtual switch.
name | xsd:string | Name of the standard virtual switch(VSS).
networkPolicy | NetworkPolicyProfile | Network policy/policies for the virtual switch.
numPorts | NumPortsProfile | Number of ports on the virtual switch.
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="VirtualSwitchProfile"> <complexContent> <extension base="vsan:ApplyProfile"> <sequence> <element name="key" type="xsd:string"/> <element name="name" type="xsd:string"/> <element name="link" type="vsan:LinkProfile"/> <element name="numPorts" type="vsan:NumPortsProfile"/> <element name="networkPolicy" type="vsan:NetworkPolicyProfile"/> </sequence> </extension> </complexContent> </complexType>