16.3. メソッド
16.3.1. フローティングディスクの作成
新規フローティングディスクを作成する際には、API は
size
および storage_domains
の要素を必要とします。
例16.2 新規フローティングディスクデバイスの作成
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>