# Data Object - DvsTrafficRuleset(vim.dvs.TrafficRuleset)

Property of
  DvsTrafficFilterConfig
Extends
  DynamicData
See also
  DvsTrafficRule
Since
  vSphere API 5.5

## Data Object Description

This class defines a ruleset(set of rules) that will be applied to network traffic.

Properties

Name | Type | Description
--- | --- | ---
enabled* | xsd:boolean | Whether ruleset is enabled or not.
key* | xsd:string | The key of the ruleset.
precedence* | xsd:int | Precedence of the ruleset. Rulesets for a port will be executed in the order of their precedence.
rules* | DvsTrafficRule[] | List of rules belonging to this ruleset.
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="DvsTrafficRuleset"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="key" type="xsd:string" minOccurs="0"/> <element name="enabled" type="xsd:boolean" minOccurs="0"/> <element name="precedence" type="xsd:int" minOccurs="0"/> <element name="rules" type="vsan:DvsTrafficRule" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>