Condition
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
comment | string | A freeform descriptive note. | |
name | string | Name of the condition. Required. | |
priority | string | A numeric string. Priority determines execution order. Lower numbers execute first. [Default 100 ] | |
service_id | string | Alphanumeric string identifying the service. Read-only. | |
statement | string | A conditional expression in VCL used to determine if the condition is met. | |
type | string | Type of the condition. | |
version | string | A numeric string that represents the service version. | |
created_at | string | Date and time in ISO 8601 format. Read-only. | |
deleted_at | string | Date and time in ISO 8601 format. Read-only. | |
updated_at | string | Date and time in ISO 8601 format. Read-only. |