# Data Object - DVSTrafficShapingPolicy(vim.dvs.DistributedVirtualPort.TrafficShapingPolicy)

Property of
  DVPortSetting
Extends
  InheritablePolicy
See also
  BoolPolicy, LongPolicy
Since
  vSphere API 4.0

## Data Object Description

This data object type describes traffic shaping policy.

Properties

Name | Type | Description
--- | --- | ---
averageBandwidth* | LongPolicy | The average bandwidth in bits per second if shaping is enabled on the port.
burstSize* | LongPolicy | The maximum burst size allowed in bytes if shaping is enabled on the port.
enabled* | BoolPolicy | The flag to indicate whether or not traffic shaper is enabled on the port.
peakBandwidth* | LongPolicy | The peak bandwidth during bursts in bits per second if traffic shaping is enabled on the port.
Properties inherited from InheritablePolicy
inherited
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="DVSTrafficShapingPolicy"> <complexContent> <extension base="sms:InheritablePolicy"> <sequence> <element name="enabled" type="sms:BoolPolicy" minOccurs="0"/> <element name="averageBandwidth" type="sms:LongPolicy" minOccurs="0"/> <element name="peakBandwidth" type="sms:LongPolicy" minOccurs="0"/> <element name="burstSize" type="sms:LongPolicy" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>