fallthrough
Creates, updates, deletes, gets or lists a fallthrough resource.
Overview
| Name | fallthrough |
| Type | Resource |
| Id | cloudflare.api_gateway.fallthrough |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create | insert | zone_id, hosts | Creates an expression template fallthrough rule for API Shield. Used for configuring default behavior when no other expression templates match. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
zone_id | string | The Cloudflare zone ID. |
INSERT examples
- create
- Manifest
Creates an expression template fallthrough rule for API Shield. Used for configuring default behavior when no other expression templates match.
INSERT INTO cloudflare.api_gateway.fallthrough (
hosts,
zone_id
)
SELECT
'{{ hosts }}' /* required */,
'{{ zone_id }}'
RETURNING
errors,
messages,
result,
success
;
# Description fields are for documentation purposes
- name: fallthrough
props:
- name: zone_id
value: "{{ zone_id }}"
description: Required parameter for the fallthrough resource.
- name: hosts
value:
- "{{ hosts }}"
description: |
List of hosts to be targeted in the expression