ConditionalValueConstraintExpression
Represents the leaf level expression to restrict the target attribute value based on the set of existing values. Generally, used in combination with RelatedAttributeConditionalExpression to constraint the values related to another attribute on the same resource. This object is always used in conjunction with some exression. Example - { “condition” : { “operator”:“INCLUDES”, “rhs_value”: ["/infra/domains/mgw/groups/VCENTER", “/infra/domains/mgw/groups/SRM”, “/infra/domains/mgw/groups/NSX”], “value_constraint”: { “resource_type”: “ValueConstraintExpression”, “operator”:“EXCLUDES”, “values”:["/infra/domains/mgw/groups/VCENTER", “/infra/domains/mgw/groups/SRM”, “/infra/domains/mgw/groups/NSX”] } }
Properties
Set operation to constraint values.
Possible values are: INCLUDES , EXCLUDES , EQUALS
List of values.
Values to apply the conditional constraint on target.
JSON Example
{
"operator": "INCLUDES",
"rhs_value": [
"string"
],
"value_constraint": {}
}
Vendor Extensions
x-vmw-nsx-module: PolicyConstraints
Property Of
InlineRelatedAttributeConditionalExpression1