Skip to main content
GET
/
v1
/
vms
/
machine-types-2
Lists virtual machine types (deprecated)
curl --request GET \
  --url https://rest.compute.cudo.org/v1/vms/machine-types-2 \
  --header 'Authorization: <api-key>'
{
  "machineTypes": [
    {
      "cpuModel": "<string>",
      "dataCenterId": "<string>",
      "gpuModel": "<string>",
      "gpuModelId": "<string>",
      "gpuPriceHr": {
        "value": "<string>"
      },
      "ipv4PriceHr": {
        "value": "<string>"
      },
      "machineType": "<string>",
      "maxGpuFree": 123,
      "maxMemoryGibFree": 123,
      "maxStorageGibFree": 123,
      "maxVcpuFree": 123,
      "maxVcpuPerGpu": 123,
      "maxVcpuPerMemoryGib": 123,
      "memoryGibPriceHr": {
        "value": "<string>"
      },
      "minMemoryGib": 123,
      "minStorageGibPriceHr": {
        "value": "<string>"
      },
      "minVcpu": 123,
      "minVcpuPerGpu": 123,
      "minVcpuPerMemoryGib": 123,
      "prices": [
        {
          "commitmentTerm": "COMMITMENT_TERM_NONE",
          "gpuPriceHr": {
            "value": "<string>"
          },
          "memoryGibPriceHr": {
            "value": "<string>"
          },
          "vcpuPriceHr": {
            "value": "<string>"
          }
        }
      ],
      "renewableEnergy": true,
      "totalGpuFree": 123,
      "totalMemoryGibFree": 123,
      "totalStorageGibFree": 123,
      "totalVcpuFree": 123,
      "vcpuPriceHr": {
        "value": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Query Parameters

projectId
string

Return custom prices for a specific project.

Response

A successful response.

machineTypes
object[]
required