Check out our upcoming events and meetups! View events ā
List Virtual Cross Connects Cloud Coverage.
This endpoint shows which cloud regions are available for the location_code your Virtual Cross Connect will be provisioned in.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const virtualCrossConnectsCoverageListResponse of client.virtualCrossConnectsCoverage.list()) {
console.log(virtualCrossConnectsCoverageListResponse.available_bandwidth);
}{
"data": [
{
"record_type": "virtual_cross_connects_coverage",
"location": {
"region": "AMER",
"site": "ORD",
"pop": "CH1",
"code": "chicago-il",
"name": "Chicago IL, US"
},
"cloud_provider": "aws",
"cloud_provider_region": "us-east-1",
"available_bandwidth": [
50,
100,
200,
500
]
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Consolidated filters parameter (deepObject style). Originally: filters[available_bandwidth][contains]
Show child attributes
Consolidated filter parameter (deepObject style). Originally: filter[cloud_provider], filter[cloud_provider_region], filter[location.region], filter[location.site], filter[location.pop], filter[location.code]
Show child attributes
Consolidated page parameter (deepObject style). Originally: page[number], page[size]
Show child attributes
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const virtualCrossConnectsCoverageListResponse of client.virtualCrossConnectsCoverage.list()) {
console.log(virtualCrossConnectsCoverageListResponse.available_bandwidth);
}{
"data": [
{
"record_type": "virtual_cross_connects_coverage",
"location": {
"region": "AMER",
"site": "ORD",
"pop": "CH1",
"code": "chicago-il",
"name": "Chicago IL, US"
},
"cloud_provider": "aws",
"cloud_provider_region": "us-east-1",
"available_bandwidth": [
50,
100,
200,
500
]
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}