# 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 virtual switch.
networkPolicy | NetworkPolicyProfile | Network policy for the virtual switch.
numPorts | NumPortsProfile | Number of ports on the virtual switch.
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:pbm="urn:pbm" name="VirtualSwitchProfile"> <complexContent> <extension base="pbm:ApplyProfile"> <sequence> <element name="key" type="xsd:string"/> <element name="name" type="xsd:string"/> <element name="link" type="pbm:LinkProfile"/> <element name="numPorts" type="pbm:NumPortsProfile"/> <element name="networkPolicy" type="pbm:NetworkPolicyProfile"/> </sequence> </extension> </complexContent> </complexType>