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

FieldSanityConstraintExpression

Represents the field value constraint to constrain specified field value based on defined sanity checks. Example - For DNS.upstream_servers, all the IP addresses must either be public or private. { “target”: { “target_resource_type”: “DnsForwarderZone”, “attribute”: “upstreamServers”, “path_prefix”: “/infra/dns-forwarder-zones/” }, “constraint_expression”: { “resource_type”: “FieldSanityConstraintExpression”, “operator”: “OR”, “checks”: [“ALL_PUBLIC_IPS”, “ALL_PRIVATE_IPS”] } }


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?