api-ref: Add description for BDM volume_size
Add description of cases that 'block_device_mapping_v2.volume_size` is required in the "Create Server" (POST /servers) API. Change-Id: I36f28ca756b908b5fc591cc87f5786a3e217285e Closes-Bug: #1818310
This commit is contained in:
parent
e608568518
commit
f87bf4c6b9
@ -6815,6 +6815,17 @@ volume_size:
|
|||||||
The size of the volume (in GiB).
|
The size of the volume (in GiB).
|
||||||
This is integer value from range 1 to 2147483647
|
This is integer value from range 1 to 2147483647
|
||||||
which can be requested as integer and string.
|
which can be requested as integer and string.
|
||||||
|
This parameter must be specified in the following cases:
|
||||||
|
|
||||||
|
- An image to volume case
|
||||||
|
|
||||||
|
* ``block_device_mapping_v2.source_type`` is ``image``
|
||||||
|
* ``block_device_mapping_v2.destination_type`` is ``volume``
|
||||||
|
|
||||||
|
- A blank to volume case
|
||||||
|
|
||||||
|
* ``block_device_mapping_v2.source_type`` is ``blank``
|
||||||
|
* ``block_device_mapping_v2.destination_type`` is ``volume``
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
|
Loading…
Reference in New Issue
Block a user