Skip to main content

interconnects

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

Overview

Nameinterconnects
TypeResource
Idcloudflare.network_interconnects.interconnects

Fields

The following fields are returned by SELECT queries:

Information about the specified interconnect

NameDatatypeDescription
namestring
slot_idstring (uuid)
accountstring
facilityobject
ownerstring
regionstring
sitestringA Cloudflare site name.
speedstring
typestring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselecticon, account_id
listselectaccount_idsite, type, cursor, limit
createinsertaccount_id, account, type
deletedeleteicon, account_id

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.
iconstringInterconnect name to retrieve information about
cursorinteger (int32)
limitinteger
sitestringIf specified, only show interconnects located at the given site
typestringIf specified, only show interconnects of the given type

SELECT examples

Information about the specified interconnect

SELECT
name,
slot_id,
account,
facility,
owner,
region,
site,
speed,
type
FROM cloudflare.network_interconnects.interconnects
WHERE icon = '{{ icon }}' -- required
AND account_id = '{{ account_id }}' -- required
;

INSERT examples

No description available.

INSERT INTO cloudflare.network_interconnects.interconnects (
account,
type,
slot_id,
speed,
bandwidth,
pairing_key,
account_id
)
SELECT
'{{ account }}' /* required */,
'{{ type }}' /* required */,
'{{ slot_id }}',
'{{ speed }}',
'{{ bandwidth }}',
'{{ pairing_key }}',
'{{ account_id }}'
RETURNING
name,
slot_id,
account,
facility,
owner,
region,
site,
speed,
type
;

DELETE examples

No description available.

DELETE FROM cloudflare.network_interconnects.interconnects
WHERE icon = '{{ icon }}' --required
AND account_id = '{{ account_id }}' --required
;