Update Mc
PATCH/v1/armada/machine_class/:mc_id
Update a machine class
Request
Path Parameters
The machine class ID
- application/json
Body
required
datacenter_provider
object
Possible values: non-empty and <= 64 characters
Name of the provider of this sort. Could be things like Amazon, AWS EC2, Internap.
Possible values: non-empty and <= 64 characters
Possible values: non-empty and <= 64 characters
Possible values: non-empty and <= 64 characters
Labels that can be applied to the machine class for organizational purposes
The monthly price of this machine class
The hourly price of this machine class
The number of CPUs
Possible values: non-empty
A description of the CPU including type, family, model, and stepping
Possible values: non-empty and <= 64 characters
The short description of the CPU type. e.g. Intel Xeon E5-2673 v4 @ 2.30GHz
The number of populated CPU sockets
The number of CPU cores
The number of CPU threads. Will be more than cores if hyperthreading is enabled.
The amount of memory in gigabytes
Possible values: non-empty and <= 32 characters
The type of memory. e.g. DDR4
The speed rating of the memory in MHz
Possible values: non-empty and <= 32 characters
The memory timings. e.g. 15-15-15-36
Possible values: non-empty and <= 64 characters
The type of disk. e.g. SSD
The size of the disk in gigabytes
Possible values: non-empty and <= 64 characters
The sequential read speed of the disk
Possible values: non-empty and <= 64 characters
The sequential write speed of the disk
Possible values: non-empty and <= 64 characters
The random read speed of the disk
Possible values: non-empty and <= 64 characters
The random write speed of the disk
The number of IOPS the disk can handle
The latency of the disk in milliseconds
The network speed in gigabits per second
Possible values: non-empty and <= 64 characters
The type of GPU. e.g. NVIDIA Tesla V100
The number of GPUs
The amount of GPU memory in gigabytes. Should be the lowest available memory if there are multiple GPUs.
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
datacenter_provider
object
required
Possible values: non-empty and <= 64 characters
Name of the provider of this sort. Could be things like Amazon, AWS EC2, Internap.
Possible values: non-empty and <= 64 characters
The name of the machine class used by the provider
Possible values: non-empty and <= 64 characters
The type of machine class used by the provider. General Purpose, CPU Optimized, etc.
Possible values: non-empty and <= 64 characters
Labels that can be applied to the machine class for organizational purposes
The monthly price of this machine class
The hourly price of this machine class
The number of CPUs
Possible values: non-empty
A description of the CPU including type, family, model, and stepping
Possible values: non-empty and <= 64 characters
The short description of the CPU type. e.g. Intel Xeon E5-2673 v4 @ 2.30GHz
The number of populated CPU sockets
The number of CPU cores
The number of CPU threads. Will be more than cores if hyperthreading is enabled.
The amount of memory in gigabytes
Possible values: non-empty and <= 32 characters
The type of memory. e.g. DDR4
The speed rating of the memory in MHz
Possible values: non-empty and <= 32 characters
The memory timings. e.g. 15-15-15-36
Possible values: non-empty and <= 64 characters
The type of disk. e.g. SSD
The size of the disk in gigabytes
Possible values: non-empty and <= 64 characters
The sequential read speed of the disk
Possible values: non-empty and <= 64 characters
The sequential write speed of the disk
Possible values: non-empty and <= 64 characters
The random read speed of the disk
Possible values: non-empty and <= 64 characters
The random write speed of the disk
The number of IOPS the disk can handle
The latency of the disk in milliseconds
The network speed in gigabits per second
Possible values: non-empty and <= 64 characters
The type of GPU. e.g. NVIDIA Tesla V100
The number of GPUs
The amount of GPU memory in gigabytes. Should be the lowest available memory if there are multiple GPUs.
{
"datacenter_provider": {
"name": "string",
"datacenter_provider_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"name": "string",
"type": "string",
"labels": [
"string"
],
"monthly_price": 0,
"hourly_price": 0,
"cpu_count": 0,
"cpu_info": "string",
"cpu_type": "string",
"cpu_sockets": 0,
"cpu_cores": 0,
"cpu_threads": 0,
"memory_size_gigabytes": 0,
"memory_type": "string",
"memory_speed_rating": 0,
"memory_timings": "string",
"disk_type": "string",
"disk_size_gigabytes": 0,
"disk_sequential_read": "string",
"disk_sequential_write": "string",
"disk_random_read": "string",
"disk_random_write": "string",
"disk_iops": 0,
"disk_latency_ms": 0,
"network_gbps": 0,
"gpu_type": "string",
"gpu_count": 0,
"gpu_memory_gigabytes": 0,
"machine_class_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}