Conditions are used to control whether logic defined in configured VCL objects is applied for a particular client request. A condition contains a VCL conditional expression that evaluates to either true or false and is used to determine whether the condition is met. The type of the condition determines where it is executed and the VCL variables that can be evaluated as part of the conditional logic.

Data model

commentstringA freeform descriptive note.
namestringName of the condition. Required.
priorityintegerPriority determines execution order. Lower numbers execute first.
statementstringA conditional expression in VCL used to determine if the condition is met.
typestringType of the condition.
created_atstringDate and time in ISO 8601 format.
deleted_atstringDate and time in ISO 8601 format.
service_idstringAlphanumeric string identifying the service.
updated_atstringDate and time in ISO 8601 format.
versionintegerInteger identifying a service version.


List conditions


Create a condition


Describe a condition


Update a condition


Delete a condition