ownership_validate
Creates, updates, deletes, gets or lists an ownership_validate resource.
Overview
| Name | ownership_validate |
| Type | Resource |
| Id | cloudflare.logpush.ownership_validate |
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 |
|---|---|---|---|---|
validate_by_account | insert | account_id, destination_conf, ownership_challenge | Validates ownership challenge of the destination. | |
validate_by_zone | insert | zone_id, destination_conf, ownership_challenge | Validates ownership challenge of the destination. |
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
- validate_by_account
- validate_by_zone
- Manifest
Validates ownership challenge of the destination.
INSERT INTO cloudflare.logpush.ownership_validate (
destination_conf,
ownership_challenge,
account_id
)
SELECT
'{{ destination_conf }}' /* required */,
'{{ ownership_challenge }}' /* required */,
'{{ account_id }}'
RETURNING
errors,
messages,
result,
success
;
Validates ownership challenge of the destination.
INSERT INTO cloudflare.logpush.ownership_validate (
destination_conf,
ownership_challenge,
zone_id
)
SELECT
'{{ destination_conf }}' /* required */,
'{{ ownership_challenge }}' /* required */,
'{{ zone_id }}'
RETURNING
errors,
messages,
result,
success
;
# Description fields are for documentation purposes
- name: ownership_validate
props:
- name: account_id
value: "{{ account_id }}"
description: Required parameter for the ownership_validate resource.
- name: zone_id
value: "{{ zone_id }}"
description: Required parameter for the ownership_validate resource.
- name: destination_conf
value: "{{ destination_conf }}"
description: |
Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included.
- name: ownership_challenge
value: "{{ ownership_challenge }}"
description: |
Ownership challenge token to prove destination ownership.