mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-03 20:15:45 +00:00
openapi: Add "vm.add-disk" entry point
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
f2151b2734
commit
82cad99c0b
@ -171,6 +171,22 @@ paths:
|
|||||||
404:
|
404:
|
||||||
description: The device could not be removed from the VM instance.
|
description: The device could not be removed from the VM instance.
|
||||||
|
|
||||||
|
/vm.add-disk:
|
||||||
|
put:
|
||||||
|
summary: Add a new disk to the VM
|
||||||
|
requestBody:
|
||||||
|
description: The details of the new disk
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/DiskConfig'
|
||||||
|
required: true
|
||||||
|
responses:
|
||||||
|
204:
|
||||||
|
description: The new disk was successfully added to the VM instance.
|
||||||
|
500:
|
||||||
|
description: The new disk could not be added to the VM instance.
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user