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.
prioritystringA numeric string. Priority determines execution order. Lower numbers execute first. [Default 100]
service_idstringAlphanumeric string identifying the service. Read-only.
statementstringA conditional expression in VCL used to determine if the condition is met.
typestringType of the condition.
versionstringA numeric string that represents the service version.
created_atstringDate and time in ISO 8601 format. Read-only.
deleted_atstringDate and time in ISO 8601 format. Read-only.
updated_atstringDate and time in ISO 8601 format. Read-only.


List conditions


Create a condition


Describe a condition


Update a condition


Delete a condition