Compute Cloud API, REST: HostType.get
Returns information about specified host type.
HTTP request
GET https://compute.api.il.nebius.cloud/compute/v1/hostTypes/{hostTypeId}
Path parameters
Parameter | Description |
---|---|
hostTypeId | Required. ID of the host type to return. To get a host type ID make a list request. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"cores": "string",
"memory": "string",
"disks": "string",
"diskSize": "string"
}
Represents host resources.
Note: Platform can use hosts with different number of memory and cores.
TODO: Do we need sockets here?
Field | Description |
---|---|
id | string Unique type identifier. |
cores | string (int64) Total number of cores available for instances. |
memory | string (int64) Ammount of memory available for instances. |
disks | string (int64) Number of local disks available for instances |
diskSize | string (int64) Size of each local disk |