validate_origin
Creates, updates, deletes, gets or lists a validate_origin resource.
Overview
| Name | validate_origin |
| Type | Resource |
| Id | cloudflare.logpush.validate_origin |
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 |
|---|---|---|---|---|
origin_by_account | insert | account_id, logpull_options | Validates logpull origin with logpull_options. | |
origin_by_zone | insert | zone_id, logpull_options | Validates logpull origin with logpull_options. |
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 |
|---|---|---|
account_id | string | The Cloudflare account ID. |
zone_id | string | The Cloudflare zone ID. |
INSERT examples
- origin_by_account
- origin_by_zone
- Manifest
Validates logpull origin with logpull_options.
INSERT INTO cloudflare.logpush.validate_origin (
logpull_options,
account_id
)
SELECT
'{{ logpull_options }}' /* required */,
'{{ account_id }}'
RETURNING
errors,
messages,
result,
success
;
Validates logpull origin with logpull_options.
INSERT INTO cloudflare.logpush.validate_origin (
logpull_options,
zone_id
)
SELECT
'{{ logpull_options }}' /* required */,
'{{ zone_id }}'
RETURNING
errors,
messages,
result,
success
;
# Description fields are for documentation purposes
- name: validate_origin
props:
- name: account_id
value: "{{ account_id }}"
description: Required parameter for the validate_origin resource.
- name: zone_id
value: "{{ zone_id }}"
description: Required parameter for the validate_origin resource.
- name: logpull_options
value: "{{ logpull_options }}"
description: |
This field is deprecated. Use `output_options` instead. Configuration string. It specifies things like requested fields and timestamp formats. If migrating from the logpull api, copy the url (full url or just the query string) of your call here, and logpush will keep on making this call for you, setting start and end times appropriately.