[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

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

string
operator Required

Set operation to constraint values.

Possible values are: INCLUDESEXCLUDESEQUALS


array of string
rhs_value Required

List of values.


value_constraint Required

Values to apply the conditional constraint on target.

JSON Example

{
	"operator": "INCLUDES",
	"rhs_value": [
		"string"
	],
	"value_constraint": {}
}

Vendor Extensions

This class contains the following vendor extensions defined in the spec:
x-vmw-nsx-module: PolicyConstraints
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Property Of

InlineRelatedAttributeConditionalExpression1

Feedback

Was this page helpful?