Skip to content
Start here

Cf Interconnects

List interconnects
magic_transit.cf_interconnects.list(CfInterconnectListParams**kwargs) -> CfInterconnectListResponse
GET/accounts/{account_id}/magic/cf_interconnects
List interconnect Details
magic_transit.cf_interconnects.get(strcf_interconnect_id, CfInterconnectGetParams**kwargs) -> CfInterconnectGetResponse
GET/accounts/{account_id}/magic/cf_interconnects/{cf_interconnect_id}
Update interconnect
magic_transit.cf_interconnects.update(strcf_interconnect_id, CfInterconnectUpdateParams**kwargs) -> CfInterconnectUpdateResponse
PUT/accounts/{account_id}/magic/cf_interconnects/{cf_interconnect_id}
Update multiple interconnects
magic_transit.cf_interconnects.bulk_update(CfInterconnectBulkUpdateParams**kwargs) -> CfInterconnectBulkUpdateResponse
PUT/accounts/{account_id}/magic/cf_interconnects
ModelsExpand Collapse
class CfInterconnectListResponse:
interconnects: Optional[List[Interconnect]]
id: Optional[str]

Identifier

maxLength32
automatic_return_routing: Optional[bool]

True if automatic stateful return routing should be enabled for a tunnel, false otherwise.

colo_name: Optional[str]

The name of the interconnect. The name cannot share a name with other tunnels.

created_on: Optional[datetime]

The date and time the tunnel was created.

formatdate-time
description: Optional[str]

An optional description of the interconnect.

gre: Optional[InterconnectGRE]

The configuration specific to GRE interconnects.

cloudflare_endpoint: Optional[str]

The IP address assigned to the Cloudflare side of the GRE tunnel created as part of the Interconnect.

health_check: Optional[HealthCheck]
interface_address: Optional[str]

A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255.

interface_address6: Optional[str]

A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127

modified_on: Optional[datetime]

The date and time the tunnel was last modified.

formatdate-time
mtu: Optional[int]

The Maximum Transmission Unit (MTU) in bytes for the interconnect. The minimum value is 576.

name: Optional[str]

The name of the interconnect. The name cannot share a name with other tunnels.

virtual_port_reservation_id: Optional[str]

An identifier that correlates this interconnect with the corresponding V2 CNI interconnect resource.

maxLength32
class CfInterconnectGetResponse:
interconnect: Optional[Interconnect]
id: Optional[str]

Identifier

maxLength32
automatic_return_routing: Optional[bool]

True if automatic stateful return routing should be enabled for a tunnel, false otherwise.

colo_name: Optional[str]

The name of the interconnect. The name cannot share a name with other tunnels.

created_on: Optional[datetime]

The date and time the tunnel was created.

formatdate-time
description: Optional[str]

An optional description of the interconnect.

gre: Optional[InterconnectGRE]

The configuration specific to GRE interconnects.

cloudflare_endpoint: Optional[str]

The IP address assigned to the Cloudflare side of the GRE tunnel created as part of the Interconnect.

health_check: Optional[HealthCheck]
interface_address: Optional[str]

A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255.

interface_address6: Optional[str]

A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127

modified_on: Optional[datetime]

The date and time the tunnel was last modified.

formatdate-time
mtu: Optional[int]

The Maximum Transmission Unit (MTU) in bytes for the interconnect. The minimum value is 576.

name: Optional[str]

The name of the interconnect. The name cannot share a name with other tunnels.

virtual_port_reservation_id: Optional[str]

An identifier that correlates this interconnect with the corresponding V2 CNI interconnect resource.

maxLength32
class CfInterconnectUpdateResponse:
modified: Optional[bool]
modified_interconnect: Optional[ModifiedInterconnect]
id: Optional[str]

Identifier

maxLength32
automatic_return_routing: Optional[bool]

True if automatic stateful return routing should be enabled for a tunnel, false otherwise.

colo_name: Optional[str]

The name of the interconnect. The name cannot share a name with other tunnels.

created_on: Optional[datetime]

The date and time the tunnel was created.

formatdate-time
description: Optional[str]

An optional description of the interconnect.

gre: Optional[ModifiedInterconnectGRE]

The configuration specific to GRE interconnects.

cloudflare_endpoint: Optional[str]

The IP address assigned to the Cloudflare side of the GRE tunnel created as part of the Interconnect.

health_check: Optional[HealthCheck]
interface_address: Optional[str]

A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255.

interface_address6: Optional[str]

A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127

modified_on: Optional[datetime]

The date and time the tunnel was last modified.

formatdate-time
mtu: Optional[int]

The Maximum Transmission Unit (MTU) in bytes for the interconnect. The minimum value is 576.

name: Optional[str]

The name of the interconnect. The name cannot share a name with other tunnels.

virtual_port_reservation_id: Optional[str]

An identifier that correlates this interconnect with the corresponding V2 CNI interconnect resource.

maxLength32
class CfInterconnectBulkUpdateResponse:
modified: Optional[bool]
modified_interconnects: Optional[List[ModifiedInterconnect]]
id: Optional[str]

Identifier

maxLength32
automatic_return_routing: Optional[bool]

True if automatic stateful return routing should be enabled for a tunnel, false otherwise.

colo_name: Optional[str]

The name of the interconnect. The name cannot share a name with other tunnels.

created_on: Optional[datetime]

The date and time the tunnel was created.

formatdate-time
description: Optional[str]

An optional description of the interconnect.

gre: Optional[ModifiedInterconnectGRE]

The configuration specific to GRE interconnects.

cloudflare_endpoint: Optional[str]

The IP address assigned to the Cloudflare side of the GRE tunnel created as part of the Interconnect.

health_check: Optional[HealthCheck]
interface_address: Optional[str]

A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255.

interface_address6: Optional[str]

A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127

modified_on: Optional[datetime]

The date and time the tunnel was last modified.

formatdate-time
mtu: Optional[int]

The Maximum Transmission Unit (MTU) in bytes for the interconnect. The minimum value is 576.

name: Optional[str]

The name of the interconnect. The name cannot share a name with other tunnels.

virtual_port_reservation_id: Optional[str]

An identifier that correlates this interconnect with the corresponding V2 CNI interconnect resource.

maxLength32