# Data Object - DvsGreEncapNetworkRuleAction(vim.dvs.TrafficRule.GreAction)

Extends
  DvsNetworkRuleAction
See also
  SingleIp
Since
  vSphere API 5.5

## Data Object Description

This class defines network rule action to GRE Encapsulate a packet.

Properties

Name | Type | Description
--- | --- | ---
encapsulationIp | SingleIp | Single IP address. Only IPv4 is supported for vSphere API 5.5.
Properties inherited from DvsNetworkRuleAction
None
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="DvsGreEncapNetworkRuleAction"> <complexContent> <extension base="vsan:DvsNetworkRuleAction"> <sequence> <element name="encapsulationIp" type="vsan:SingleIp"/> </sequence> </extension> </complexContent> </complexType>