Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Following APIs needs to be changed:

upgradeVirtualMachine scaleVirtualMachine - This is an existing API upgradeVirtualMachine and take takes vm_id and compute_offering_id as inputs. This is a sync call currently and will not be used anymore since we need it to be async. I will plan deprecate this api in the next big release (5.0).
I will introduce another API named scaleVirtualMachine which will be similar to upgradeVirtualMachine in every aspect except that it would be async.
For system VMs the same API can be used but proper access checks would be done. In case of a migration this will internally use the migrateVirtualMachine API logic.

...