Skip to main content

infrastructure

Creates, updates, deletes, gets or lists an infrastructure resource.

Overview

Nameinfrastructure
TypeResource
Idcloudflare.zero_trust.infrastructure

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:

NameAccessible byRequired ParamsOptional ParamsDescription
create_targetsexecaccount_id, hostname, ip

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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.

Lifecycle Methods

Successfully created the target

EXEC cloudflare.zero_trust.infrastructure.create_targets
@account_id='{{ account_id }}' --required
@@json=
'{
"hostname": "{{ hostname }}",
"ip": "{{ ip }}"
}'
;