Machine Types
These are the endpoints for Machine Types. More information coming soon.
GET
List machine types for a data center
Description for this endpoint is coming soon.
Path attributes
- Name
dataCenterId
- Type
- string
- Description
Request
GET
/v1/data-centers/{dataCenterId}/machine-typescurl 'https://rest.compute.cudo.org/v1/data-centers/{dataCenterId}/machine-types' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"machineTypes": [
{
"machineType": "string",
"countClusters": "integer",
"countHosts": "integer",
"countHostsActive": "integer",
"countHostsInactive": "integer"
}
]
}
GET
Get a machine type in a data center
Description for this endpoint is coming soon.
Path attributes
- Name
dataCenterId
- Type
- string
- Description
- Name
machineType
- Type
- string
- Description
Request
GET
/v1/data-centers/{dataCenterId}/machine-types/{machineType}curl 'https://rest.compute.cudo.org/v1/data-centers/{dataCenterId}/machine-types/{machineType}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"dataCenterId": "string",
"machineType": "string",
"cpuModels": [
"string"
],
"gpuModels": [
"string"
],
"minVcpuPriceHr": {
"value": "string"
},
"maxVcpuPriceHr": {
"value": "string"
},
"minMemoryGibPriceHr": {
"value": "string"
},
"maxMemoryGibPriceHr": {
"value": "string"
},
"minGpuPriceHr": {
"value": "string"
},
"maxGpuPriceHr": {
"value": "string"
},
"minVcpuPerMemoryGib": "number",
"maxVcpuPerMemoryGib": "number",
"minVcpuPerGpu": "number",
"maxVcpuPerGpu": "number",
"countClusters": "integer",
"countHosts": "integer",
"countHostsActive": "integer",
"countHostsInactive": "integer",
"minVcpu": "number",
"minMemoryGib": "number"
}
GET
Get the utilization for a machine type in a data center
Description for this endpoint is coming soon.
Path attributes
- Name
dataCenterId
- Type
- string
- Description
- Name
machineType
- Type
- string
- Description
Request
GET
/v1/data-centers/{dataCenterId}/machine-types/{machineType}/live-utilizationcurl 'https://rest.compute.cudo.org/v1/data-centers/{dataCenterId}/machine-types/{machineType}/live-utilization' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"utilization": "number",
"vcpuUsed": "integer",
"vcpuFree": "integer",
"vcpuTotal": "integer",
"cpuUtilization": "number",
"memoryGibUsed": "integer",
"memoryGibFree": "integer",
"memoryGibTotal": "integer",
"memoryUtilization": "number",
"gpuUsed": "integer",
"gpuFree": "integer",
"gpuTotal": "integer",
"gpuUtilization": "number"
}