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

RelatedAttributeConditionalExpression

Represents the leaf level type expression to express constraint as value of realted attribute to the target. Example - Constraint traget attribute ‘X’ (example in Constraint), if destinationGroups contains ‘vCeneter’ then allow only values “HTTPS”, “HTTP” for attribute X. { “target”:{ “target_resource_type”:“CommunicationEntry”, “attribute”:“services”, “path_prefix”: “/infra/domains/{{DOMAIN}}/edge-communication-maps/default/communication-entries/” }, “constraint_expression”: { “resource_type”: “RelatedAttributeConditionalExpression”, “related_attribute”:{ “attribute”:“destinationGroups” }, “condition” : { “operator”:“INCLUDES”, “rhs_value”: ["/infra/domains/mgw/groups/VCENTER"], “value_constraint”: { “resource_type”: “ValueConstraintExpression”, “operator”:“INCLUDES”, “values”:["/infra/services/HTTP", “/infra/services/HTTPS”] } } } }


AllOf


This class requires all of the following:

JSON Example

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

Feedback

Was this page helpful?