Skip to main content

slots

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

Overview

Nameslots
TypeResource
Idcloudflare.network_interconnects.slots

Fields

The following fields are returned by SELECT queries:

Information about the specified slot

NameDatatypeDescription
idstring (uuid)Slot ID
accountstringCustomer account tag
facilityobject
occupiedbooleanWhether the slot is occupied or not
sitestring
speedstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectslot, account_id
listselectaccount_idaddress_contains, site, speed, occupied, cursor, limit

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.
slotstring (uuid)
address_containsstringIf specified, only show slots with the given text in their address field
cursorinteger (int32)
limitinteger
occupiedbooleanIf specified, only show slots with a specific occupied/unoccupied state
sitestringIf specified, only show slots located at the given site
speedstringIf specified, only show slots that support the given speed

SELECT examples

Information about the specified slot

SELECT
id,
account,
facility,
occupied,
site,
speed
FROM cloudflare.network_interconnects.slots
WHERE slot = '{{ slot }}' -- required
AND account_id = '{{ account_id }}' -- required
;