cluster_constraints
Summary
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.
Example object
{
"constraint_key": "constraint-key-1",
"cluster_key": "passthrough-cluster-3",
"metadata": null,
"properties": null,
"response_data": {},
"weight": 1
}Fields
constraint_key
constraint_keyA string value to uniquely identify this constraint in the API.
cluster_key
cluster_keyThe key of the cluster that matching requests will be sent to.
metadata
metadataArray of {"key": "", "value": } pairs that mush match on the intended cluster.
properties
propertiesThis field has no effect.
response_data
response_dataArray of Response data
weight
weightRelative weight of this constraint expressed as an integer.
Last updated
Was this helpful?