# Enum - DvsNetworkRuleDirectionType(vim.dvs.TrafficRule.RuleDirectionType)

Since
  vSphere API 5.5

## Enum Description

Network Traffic Rule direction types. It specifies whether rule needs to be applied for packets which are incoming/outgoing or both.

Enum Constants

Name | Description
--- | ---
both |
incomingPackets |
outgoingPackets |

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="DvsNetworkRuleDirectionType"> <restriction base="xsd:string"> <enumeration value="incomingPackets"/> <enumeration value="outgoingPackets"/> <enumeration value="both"/> </restriction> </simpleType>