Skip to main content

regions

Creates, updates, deletes, gets or lists a regions resource.

Overview

Nameregions
TypeResource
Idcloudflare.workers.regions

Fields

The following fields are returned by SELECT queries:

List Placement Regions response.

NameDatatypeDescription
idstringThe cloud provider identifier. (example: aws)
regionsarrayList of regions available for this provider.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idReturns a list of available placement regions organized by cloud provider. These regions can be used to configure Smart Placement for Workers.

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.

SELECT examples

Returns a list of available placement regions organized by cloud provider. These regions can be used to configure Smart Placement for Workers.

SELECT
id,
regions
FROM cloudflare.workers.regions
WHERE account_id = '{{ account_id }}' -- required
;