nova/doc/api_samples/os-volumes
zhangbailin 733d4133df Allow PUT volume attachments API to modify delete_on_termination
Allow PUT /servers/{server_id}/os-volume_attachments/{volume_id}``
to support specifying ``delete_on_termination`` field in the request
body. This allows updating the attached volume's flag that controls
whether or not it is automatically deleted when the instance is deleted.

When we request 'volumeId' and 'delete_on_termination' in the requst
body to swap volume, since the new microversion it will be support
updating the swapping volume's delete flag.

Co-Authored-By: Dan Smith <dansmith@redhat.com>

Blueprint: destroy-instance-with-datavolume
Change-Id: I6ccac4e17f56b40e67c79d40f32558ef414685ea
2020-04-02 09:26:55 -07:00
..
v2.49 Use multiple attachments in test_list_volume_attachments 2019-09-11 17:44:36 -04:00
v2.70 Use multiple attachments in test_list_volume_attachments 2019-09-11 17:44:36 -04:00
v2.79 Use multiple attachments in test_list_volume_attachments 2019-09-11 17:44:36 -04:00
v2.85 Allow PUT volume attachments API to modify delete_on_termination 2020-04-02 09:26:55 -07:00
attach-volume-to-server-req.json Remove stubs from VolumeAttachmentsSample API sample test 2019-09-07 16:17:56 -04:00
attach-volume-to-server-resp.json Remove stubs from VolumeAttachmentsSample API sample test 2019-09-07 16:17:56 -04:00
list-volume-attachments-resp.json Use multiple attachments in test_list_volume_attachments 2019-09-11 17:44:36 -04:00
os-volumes-detail-resp.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-volumes-get-resp.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-volumes-index-resp.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-volumes-post-req.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-volumes-post-resp.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
snapshot-create-req.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
snapshot-create-resp.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
snapshots-detail-resp.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
snapshots-list-resp.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
snapshots-show-resp.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
update-volume-req.json Remove stubs from VolumeAttachmentsSample API sample test 2019-09-07 16:17:56 -04:00
volume-attachment-detail-resp.json Remove stubs from VolumeAttachmentsSample API sample test 2019-09-07 16:17:56 -04:00