DvsTrafficRule
This class defines a single rule that will be applied to network traffic.
{
"_typeName": "string",
"key": "string",
"description": "string",
"sequence": 0,
"qualifier": [
{
"_typeName": "string",
"key": "string"
}
],
"action": {
"_typeName": "string"
},
"direction": "string"
}
The key of the rule
Description of the rule
Sequence of this rule.
i.e, the order in which this rule appears in the ruleset.
List of Network rule qualifiers.
'AND' of this array of network rule qualifiers is applied as one network traffic rule. If the TrafficRule belongs to DvsFilterPolicy : There can be a maximum of 1 DvsIpNetworkRuleQualifier, 1 DvsMacNetworkRuleQualifier and 1 DvsSystemTrafficNetworkRuleQualifier for a total of 3 qualifier
Whether this rule needs to be applied to incoming packets, to outgoing packets or both.
See DvsNetworkRuleDirectionTypeEnum for valid values.