Create a Virtual Cross Connect
Create a new Virtual Cross Connect.<br /><br />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.
Request body
Example request
{
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "sample_record_type",
"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_provider_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_telnyx_ip": "169.254.0.3",
"secondary_cloud_ip": "169.254.0.4",
"secondary_bgp_key": "ge1lONeK9RcA83uuWaw9DvZy",
"region_code": "ashburn-va"
}Response
Successful response
Example response
{
"data": {
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "sample_record_type",
"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_provider_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_telnyx_ip": "169.254.0.3",
"secondary_cloud_ip": "169.254.0.4",
"secondary_bgp_key": "ge1lONeK9RcA83uuWaw9DvZy",
"region_code": "ashburn-va",
"region": {
"code": "ashburn-va",
"name": "Ashburn",
"record_type": "region"
}
}
}Changes
Changed in 4 of the 47 revisions of this API.43842
- ▲
the
dataresponse's property type/format changed fromobject/to/for status200response-property-type-changed
- ●
removed the optional property
data/bandwidth_mbpsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/bgp_asnfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/cloud_providerfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/cloud_provider_regionfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/created_atfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/namefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/network_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/primary_bgp_keyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/primary_cloud_account_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/primary_cloud_ipfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/primary_enabledfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/primary_routing_announcementfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/primary_telnyx_ipfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/record_typefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/regionfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/region_codefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/statusfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/updated_atfrom the response with the200statusresponse-optional-property-removed
- ○
added
VirtualCrossConnectCreateVirtualCrossConnectPatchRegionOutto thedataresponse propertyallOflist for the response status200response-property-all-of-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
dataresponse's property type/format changed from/toobject/for status200response-property-type-changed
- ○
added the optional property
data/bandwidth_mbpsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/bgp_asnto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/cloud_providerto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/cloud_provider_regionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/created_atto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/nameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/network_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/primary_bgp_keyto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/primary_cloud_account_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/primary_cloud_ipto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/primary_enabledto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/primary_routing_announcementto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/primary_telnyx_ipto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/record_typeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/regionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/region_codeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/statusto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/updated_atto the response with the200statusresponse-optional-property-added
- ○
removed
VirtualCrossConnectCreateVirtualCrossConnectPatchRegionOutfrom thedataresponse propertyallOflist for the response status200response-property-all-of-removed
- ▲
- ▲
the
dataresponse's property type/format changed fromobject/to/for status200response-property-type-changed
- ●
removed the optional property
data/bandwidth_mbpsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/bgp_asnfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/cloud_providerfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/cloud_provider_regionfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/created_atfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/namefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/network_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/primary_bgp_keyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/primary_cloud_account_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/primary_cloud_ipfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/primary_enabledfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/primary_routing_announcementfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/primary_telnyx_ipfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/record_typefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/regionfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/region_codefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/statusfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/updated_atfrom the response with the200statusresponse-optional-property-removed
- ○
added
VirtualCrossConnectCreateVirtualCrossConnectPatchRegionOutto thedataresponse propertyallOflist for the response status200response-property-all-of-added
- ▲
- ▲
the
dataresponse's property type/format changed from/toobject/for status200response-property-type-changed
- ○
added the optional property
data/bandwidth_mbpsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/bgp_asnto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/cloud_providerto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/cloud_provider_regionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/created_atto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/nameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/network_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/primary_bgp_keyto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/primary_cloud_account_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/primary_cloud_ipto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/primary_enabledto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/primary_routing_announcementto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/primary_telnyx_ipto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/record_typeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/regionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/region_codeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/statusto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/updated_atto the response with the200statusresponse-optional-property-added
- ○
removed
VirtualCrossConnectCreateVirtualCrossConnectPatchRegionOutfrom thedataresponse propertyallOflist for the response status200response-property-all-of-removed
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲