mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-21 19:02:30 +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:
|
||||
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:
|
||||
schemas:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user