16.3. Methods
16.3.1. Creating a Floating Disk
When creating a new floating disk, the API requires the
size
and storage_domains
elements.
Example 16.2. Creating a new a floating disk device
POST /api/disks HTTP/1.1 Accept: application/xml Content-type: application/xml <disk> <storage_domains> <storage_domain id="fabe0451-701f-4235-8f7e-e20e458819ed"/> </storage_domains> <size>8589934592</size> <type>system</type> <interface>virtio</interface> <format>cow</format> </disk>