cluster_constraints
Last updated
Was this helpful?
Last updated
Was this helpful?
A ClusterConstraint describes a filtering of the Instances in a Cluster based on their Metadata. Instances in the keyed cluster with a superset of the specified Metadata will be included. The Weight of the ClusterConstraint is used to inform selection of one ClusterConstraint over another.
constraint_key
A string value to uniquely identify this constraint in the API.
cluster_key
The key of the that matching requests will be sent to.
metadata
Array of {"key": "", "value": }
pairs that mush match on the intended cluster.
properties
This field has no effect.
response_data
Array of Response data
weight
Relative weight of this constraint expressed as an integer.