List all Virtual Cross Connects.
{- "data": [
- {
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "virtual_cross_connect",
- "created_at": "2018-02-02T22:25:27.521Z",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "name": "test interface",
- "status": "provisioned",
- "cloud_provider": "aws",
- "cloud_region": "us-east-1",
- "bgp_asn": 1234,
- "bandwidth_mbps": 50,
- "primary_enabled": true,
- "primary_cloud_account_id": "123456789012",
- "primary_telnyx_ip": "169.254.0.1",
- "primary_cloud_ip": "169.254.0.2",
- "primary_bgp_key": "yFV4wEPtPVPfDUGLWiyQzwga",
- "secondary_enabled": true,
- "secondary_cloud_account_id": "",
- "secondary_telnyx_ip": "169.254.0.3",
- "secondary_cloud_ip": "169.254.0.4",
- "secondary_bgp_key": "ge1lONeK9RcA83uuWaw9DvZy",
- "region_code": "ashburn-va",
- "primary_routing_announcement": false,
- "secondary_routing_announcement": false,
- "region": {
- "code": "ashburn-va",
- "name": "Ashburn",
- "record_type": "region"
}
}
], - "meta": {
- "total_pages": 3,
- "total_results": 55,
- "page_number": 2,
- "page_size": 25
}
}
Create a new Virtual Cross Connect.
For AWS and GCE, you have the option of creating the primary connection first and the secondary connection later. You also have the option of disabling the primary and/or secondary connections at any time and later re-enabling them. With Azure, you do not have this option. Azure requires both the primary and secondary connections to be created at the same time and they can not be independantly disabled.
Successful response
Unprocessable entity. Check the 'detail' field in response for details.
{- "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "name": "test interface",
- "cloud_provider": "aws",
- "cloud_region": "us-east-1",
- "bgp_asn": 1234,
- "bandwidth_mbps": 50,
- "primary_cloud_account_id": "123456789012",
- "primary_telnyx_ip": "169.254.0.1",
- "primary_cloud_ip": "169.254.0.2",
- "primary_bgp_key": "yFV4wEPtPVPfDUGLWiyQzwga",
- "secondary_cloud_account_id": "",
- "secondary_telnyx_ip": "169.254.0.3",
- "secondary_cloud_ip": "169.254.0.4",
- "secondary_bgp_key": "ge1lONeK9RcA83uuWaw9DvZy",
- "region_code": "ashburn-va"
}
{- "data": {
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "virtual_cross_connect",
- "created_at": "2018-02-02T22:25:27.521Z",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "name": "test interface",
- "status": "provisioned",
- "cloud_provider": "aws",
- "cloud_region": "us-east-1",
- "bgp_asn": 1234,
- "bandwidth_mbps": 50,
- "primary_enabled": true,
- "primary_cloud_account_id": "123456789012",
- "primary_telnyx_ip": "169.254.0.1",
- "primary_cloud_ip": "169.254.0.2",
- "primary_bgp_key": "yFV4wEPtPVPfDUGLWiyQzwga",
- "secondary_enabled": true,
- "secondary_cloud_account_id": "",
- "secondary_telnyx_ip": "169.254.0.3",
- "secondary_cloud_ip": "169.254.0.4",
- "secondary_bgp_key": "ge1lONeK9RcA83uuWaw9DvZy",
- "region_code": "ashburn-va",
- "primary_routing_announcement": false,
- "secondary_routing_announcement": false,
- "region": {
- "code": "ashburn-va",
- "name": "Ashburn",
- "record_type": "region"
}
}
}
Retrieve a Virtual Cross Connect.
Successful response
object (VirtualCrossConnectCombined) | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
{- "data": {
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "virtual_cross_connect",
- "created_at": "2018-02-02T22:25:27.521Z",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "name": "test interface",
- "status": "provisioned",
- "cloud_provider": "aws",
- "cloud_region": "us-east-1",
- "bgp_asn": 1234,
- "bandwidth_mbps": 50,
- "primary_enabled": true,
- "primary_cloud_account_id": "123456789012",
- "primary_telnyx_ip": "169.254.0.1",
- "primary_cloud_ip": "169.254.0.2",
- "primary_bgp_key": "yFV4wEPtPVPfDUGLWiyQzwga",
- "secondary_enabled": true,
- "secondary_cloud_account_id": "",
- "secondary_telnyx_ip": "169.254.0.3",
- "secondary_cloud_ip": "169.254.0.4",
- "secondary_bgp_key": "ge1lONeK9RcA83uuWaw9DvZy",
- "region_code": "ashburn-va",
- "primary_routing_announcement": false,
- "secondary_routing_announcement": false,
- "region": {
- "code": "ashburn-va",
- "name": "Ashburn",
- "record_type": "region"
}
}
}
Update the Virtual Cross Connect.
Cloud IPs can only be patched during the created
state, as GCE will only inform you of your generated IP once the pending connection requested has been accepted. Once the Virtual Cross Connect has moved to provisioning
, the IPs can no longer be patched.
Once the Virtual Cross Connect has moved to provisioned
and you are ready to enable routing, you can toggle the routing announcements to true
.
primary_enabled | boolean Indicates whether the primary circuit is enabled. Setting this to |
primary_routing_announcement | boolean Whether the primary BGP route is being announced. |
primary_cloud_ip | string <ipv4> The IP address assigned for your side of the Virtual Cross Connect. |
secondary_enabled | boolean Indicates whether the secondary circuit is enabled. Setting this to |
secondary_routing_announcement | boolean Whether the secondary BGP route is being announced. |
secondary_cloud_ip | string <ipv4> The IP address assigned for your side of the Virtual Cross Connect. |
Successful response
object (VirtualCrossConnectCombined) | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unprocessable entity. Check the 'detail' field in response for details.
{- "primary_enabled": true,
- "primary_routing_announcement": false,
- "primary_cloud_ip": "169.254.0.2",
- "secondary_enabled": true,
- "secondary_routing_announcement": false,
- "secondary_cloud_ip": "169.254.0.4"
}
{- "data": {
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "virtual_cross_connect",
- "created_at": "2018-02-02T22:25:27.521Z",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "name": "test interface",
- "status": "provisioned",
- "cloud_provider": "aws",
- "cloud_region": "us-east-1",
- "bgp_asn": 1234,
- "bandwidth_mbps": 50,
- "primary_enabled": true,
- "primary_cloud_account_id": "123456789012",
- "primary_telnyx_ip": "169.254.0.1",
- "primary_cloud_ip": "169.254.0.2",
- "primary_bgp_key": "yFV4wEPtPVPfDUGLWiyQzwga",
- "secondary_enabled": true,
- "secondary_cloud_account_id": "",
- "secondary_telnyx_ip": "169.254.0.3",
- "secondary_cloud_ip": "169.254.0.4",
- "secondary_bgp_key": "ge1lONeK9RcA83uuWaw9DvZy",
- "region_code": "ashburn-va",
- "primary_routing_announcement": false,
- "secondary_routing_announcement": false,
- "region": {
- "code": "ashburn-va",
- "name": "Ashburn",
- "record_type": "region"
}
}
}
Delete a Virtual Cross Connect.
Successful response
object (VirtualCrossConnectCombined) | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
{- "data": {
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "virtual_cross_connect",
- "created_at": "2018-02-02T22:25:27.521Z",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "name": "test interface",
- "status": "provisioned",
- "cloud_provider": "aws",
- "cloud_region": "us-east-1",
- "bgp_asn": 1234,
- "bandwidth_mbps": 50,
- "primary_enabled": true,
- "primary_cloud_account_id": "123456789012",
- "primary_telnyx_ip": "169.254.0.1",
- "primary_cloud_ip": "169.254.0.2",
- "primary_bgp_key": "yFV4wEPtPVPfDUGLWiyQzwga",
- "secondary_enabled": true,
- "secondary_cloud_account_id": "",
- "secondary_telnyx_ip": "169.254.0.3",
- "secondary_cloud_ip": "169.254.0.4",
- "secondary_bgp_key": "ge1lONeK9RcA83uuWaw9DvZy",
- "region_code": "ashburn-va",
- "primary_routing_announcement": false,
- "secondary_routing_announcement": false,
- "region": {
- "code": "ashburn-va",
- "name": "Ashburn",
- "record_type": "region"
}
}
}
Provision a new Virtual Cross Connect.
This endpoint is only necessary for GCE cloud regions. Once you have patched your Cloud IPs, you must POST this request to trigger the provision.
Successful response
object (VirtualCrossConnectCombined) | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
{- "data": {
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "virtual_cross_connect",
- "created_at": "2018-02-02T22:25:27.521Z",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "name": "test interface",
- "status": "provisioned",
- "cloud_provider": "aws",
- "cloud_region": "us-east-1",
- "bgp_asn": 1234,
- "bandwidth_mbps": 50,
- "primary_enabled": true,
- "primary_cloud_account_id": "123456789012",
- "primary_telnyx_ip": "169.254.0.1",
- "primary_cloud_ip": "169.254.0.2",
- "primary_bgp_key": "yFV4wEPtPVPfDUGLWiyQzwga",
- "secondary_enabled": true,
- "secondary_cloud_account_id": "",
- "secondary_telnyx_ip": "169.254.0.3",
- "secondary_cloud_ip": "169.254.0.4",
- "secondary_bgp_key": "ge1lONeK9RcA83uuWaw9DvZy",
- "region_code": "ashburn-va",
- "primary_routing_announcement": false,
- "secondary_routing_announcement": false,
- "region": {
- "code": "ashburn-va",
- "name": "Ashburn",
- "record_type": "region"
}
}
}
List all Virtual Cross Connects Cloud Regions.
This endpoint shows which cloud regions are available for the region_code
your Virtual Cross Connect will be provisioned in.
page[number] | integer >= 1 Default: 1 The page number to load |
page[size] | integer [ 1 .. 250 ] Default: 20 The size of the page |
filter[region_code] | string The Telnyx region code Example: filter[region_code]=ashburn-va |
filter[cloud_provider] | string The Telnyx region code Example: filter[cloud_provider]=aws |
{- "data": [
- {
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "virtual_cross_connect_region",
- "created_at": "2018-02-02T22:25:27.521Z",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "region_code": "ashburn-va",
- "cloud_provider": "aws",
- "cloud_region": "us-east-1",
- "bandwidth_mbps": [
- 50,
- 100,
- 200,
- 500
]
}
], - "meta": {
- "total_pages": 3,
- "total_results": 55,
- "page_number": 2,
- "page_size": 25
}
}
Retrieve a Virtual Cross Connect Cloud Regions.
Successful response
object (VirtualCrossConnectRegion) | |||||||||||||||||
|
{- "data": {
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "virtual_cross_connect_region",
- "created_at": "2018-02-02T22:25:27.521Z",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "region_code": "ashburn-va",
- "cloud_provider": "aws",
- "cloud_region": "us-east-1",
- "bandwidth_mbps": [
- 50,
- 100,
- 200,
- 500
]
}
}