[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
ConstraintTarget
Resource attribute on which constraint should be applied. Example - sourceGroups attribute of Edge CommunicationEntry to be restricted, is given as: { “target_resource_type”:“CommunicationEntry”, “attribute”:“sourceGroups”, “path_prefix”:"/infra/domains/vmc-domain/edge-communication-maps/default/communication-entries" }
Properties
string
target_resource_type
Required
Resource type of the target entity.
string
attribute
Optional
Attribute name of the target entity.
string
path_prefix
Optional
Path prefix of the entity to apply constraint. This is required to further disambiguiate if multiple policy entities share the same resource type. Example - Edge FW and DFW use the same resource type CommunicationMap, CommunicationEntry, Group, etc.
JSON Example
{
"target_resource_type": "string"
}
Vendor Extensions
This class contains the following vendor extensions defined in the spec:
x-vmw-nsx-module: PolicyConstraints