List of available configurations for virtual machine resize
Virtual machines configurations are limited by provider-specific options, which differ across data centers. To resize or modify a compute instance, verify the list of supported configurations for your VM to avoid incompatible changes.
Use this endpoint as a reference for available configurations for a virtual machine resize. You can search the available configurations by different parameters (virtual machine id, CPU, CPU type, RAM, and price).
When you find an appropriate configuration, provide the hardware parameters in the endpoint for editing a virtual machine.
Note: To retrieve available configurations for DigitalOcean virtual machines, use the GET v1/vms-configs method
Request
- Base URLhttps://api.emma.ms/external
- AuthHTTP bearer
Query parameters
ID of the virtual machine
Type of vCPUs for the compute instance
virtual Central Processing Units (vCPUs) for the compute instance
Minimum number of vCPUs for the compute instance
Maximum number of vCPUs for the compute instance
RAM of the compute instance in gigabytes
Minimum RAM of the compute instance in gigabytes
Maximum RAM of the compute instance in gigabytes
Minimum price of the compute instance
Maximum price of the compute instance
Page number
Query size
Unused, created for future API extention. Will be ignored if used.
Response
Successful operation
Example response
{
"content": [
{
"vCpuType": "Standard",
"vCpu": 4,
"ramGb": 16,
"providerComputeType": "Standard_D4s_v3",
"accelerator": {
"acceleratorTypeId": "b3f5a4cb-4e3c-4c63-8c68-e1bd96b7ae1a",
"acceleratorType": "NVIDIA A100",
"accelerators": 4,
"totalGpuMemoryGb": 320
},
"cost": {
"unit": "MONTHS",
"currency": "EUR",
"pricePerUnit": 5.479952
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.