DvsTrafficRuleset

DvsTrafficRuleset
DvsTrafficRuleset

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

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "key": "string",
    "enabled": false,
    "precedence": 0,
    "rules": [
        {
            "_typeName": "string",
            "key": "string",
            "description": "string",
            "sequence": 0,
            "qualifier": [
                {
                    "_typeName": "string",
                    "key": "string"
                }
            ],
            "action": {
                "_typeName": "string"
            },
            "direction": "string"
        }
    ]
}
string
key
Optional

The key of the ruleset.

boolean
enabled
Optional

Whether ruleset is enabled or not.

integer As int32 As int32
precedence
Optional

Precedence of the ruleset.

Rulesets for a port will be executed in the order of their precedence.

rules
Optional

List of rules belonging to this ruleset.