Authorizations
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
Response
A successful response.
curl --request GET \
--url https://rest.compute.cudo.org/v1/vms/data-centers \
--header 'Authorization: <api-key>'{
"dataCenters": [
{
"diskPoolPricing": [
{
"diskGibPriceHr": {
"value": "<string>"
}
}
],
"id": "<string>",
"ipv4Free": 123,
"ipv4PriceHr": {
"value": "<string>"
},
"location": {
"latitude": 123,
"longitude": 123
},
"networkPriceHr": {
"value": "<string>"
},
"networkPricing": [
{
"priceHr": {
"value": "<string>"
}
}
],
"objectStorageGibPriceHr": {
"value": "<string>"
},
"renewableEnergy": true,
"s3Endpoint": "<string>",
"supplierName": "<string>"
}
]
}Lists all data centers available for virtual machines.
curl --request GET \
--url https://rest.compute.cudo.org/v1/vms/data-centers \
--header 'Authorization: <api-key>'{
"dataCenters": [
{
"diskPoolPricing": [
{
"diskGibPriceHr": {
"value": "<string>"
}
}
],
"id": "<string>",
"ipv4Free": 123,
"ipv4PriceHr": {
"value": "<string>"
},
"location": {
"latitude": 123,
"longitude": 123
},
"networkPriceHr": {
"value": "<string>"
},
"networkPricing": [
{
"priceHr": {
"value": "<string>"
}
}
],
"objectStorageGibPriceHr": {
"value": "<string>"
},
"renewableEnergy": true,
"s3Endpoint": "<string>",
"supplierName": "<string>"
}
]
}Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
A successful response.
Show child attributes
Was this page helpful?