# Data Object - DvsPortCreatedEvent(vim.event.DvsPortCreatedEvent)

Extends
  DvsEvent
Since
  vSphere API 4.0

## Data Object Description

New ports are created in the distributed virtual switch.

Properties

Name | Type | Description
--- | --- | ---
portKey | xsd:string[] | The key of the ports that are created.
Properties inherited from DvsEvent
None
Properties inherited from Event
chainId, changeTag, computeResource, createdTime, datacenter, ds, dvs, fullFormattedMessage, host, key, net, userName, vm
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="DvsPortCreatedEvent"> <complexContent> <extension base="vsan:DvsEvent"> <sequence> <element name="portKey" type="xsd:string" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>