Skip to main content
GET
/
v1
/
clusters
/
data-centers
/
{dataCenterId}
/
machine-types
/
{machineTypeId}
Get a cluster machine type
curl --request GET \
  --url https://rest.compute.cudo.org/v1/clusters/data-centers/{dataCenterId}/machine-types/{machineTypeId} \
  --header 'Authorization: <api-key>'
{
  "machineType": {
    "architecture": "<string>",
    "cpuCores": 123,
    "cpuModel": "<string>",
    "cpuSpeedMhz": 123,
    "dataCenterId": "<string>",
    "diskSizeGib": 123,
    "disks": 123,
    "gpuModelId": "<string>",
    "gpus": 123,
    "id": "<string>",
    "machinesFree": 123,
    "memoryGib": 123,
    "networkType": "NETWORK_TYPE_UNSPECIFIED",
    "prices": [
      {
        "commitmentTerm": "COMMITMENT_TERM_NONE",
        "dataCenterId": "<string>",
        "ipv4PriceHr": {
          "value": "<string>"
        },
        "machineTypeId": "<string>",
        "priceHr": {
          "value": "<string>"
        }
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

dataCenterId
string
required
machineTypeId
string
required

Query Parameters

projectId
string

Return custom prices for a specific project.

Response

A successful response.

machineType
object
required