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

Extends
  DvsEvent
See also
  DVPortStatus
Since
  vSphere API 4.0

## Data Object Description

A port is blocked in the distributed virtual switch.

Properties

Name | Type | Description
--- | --- | ---
portKey | xsd:string | The port key.
prevBlockState* | xsd:string | Previous state of the DvsPort. See DvsEventPortBlockState Since vSphere API 6.5
runtimeInfo* | DVPortStatus | The port runtime information. Since vSphere API 5.1
statusDetail* | xsd:string | Reason for port's current status Since vSphere API 4.1
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

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="DvsPortBlockedEvent"> <complexContent> <extension base="vsan:DvsEvent"> <sequence> <element name="portKey" type="xsd:string"/> <element name="statusDetail" type="xsd:string" minOccurs="0"/> <element name="runtimeInfo" type="vsan:DVPortStatus" minOccurs="0"/> <element name="prevBlockState" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>