4
4
List volumes
5
5
------------
6
6
7
- .. sample :: block_storage/v2 /volumes/list.php
7
+ .. sample :: blockstoragev2 /volumes/list.php
8
8
.. refdoc :: OpenStack/BlockStorage/v2/Service.html#method_listVolumes
9
9
10
10
Each iteration will return a php:class: `Volume ` instance <OpenStack/BlockStorage/v2/Models/Volume.html>.
@@ -17,15 +17,15 @@ Detailed information
17
17
By default, only the ``id ``, ``links `` and ``name `` attributes are returned. To return *all * information
18
18
for a flavor, you must enable detailed information, like so:
19
19
20
- .. sample :: block_storage/v2 /volumes/list_detail.php
20
+ .. sample :: blockstoragev2 /volumes/list_detail.php
21
21
22
22
Create volume
23
23
-------------
24
24
25
25
The only attributes that are required when creating a volume are a size in GiB. The simplest example
26
26
would therefore be this:
27
27
28
- .. sample :: block_storage/v2 /volumes/create.php
28
+ .. sample :: blockstoragev2 /volumes/create.php
29
29
30
30
You can further configure your new volume, however, by following the below sections, which instruct you how to add
31
31
specific functionality.
@@ -35,17 +35,17 @@ specific functionality.
35
35
Create from image
36
36
~~~~~~~~~~~~~~~~~
37
37
38
- .. sample :: block_storage/v2 /volumes/create_from_image.php
38
+ .. sample :: blockstoragev2 /volumes/create_from_image.php
39
39
40
40
Create from snapshot
41
41
~~~~~~~~~~~~~~~~~~~~
42
42
43
- .. sample :: block_storage/v2 /volumes/create_from_snapshot.php
43
+ .. sample :: blockstoragev2 /volumes/create_from_snapshot.php
44
44
45
45
Create from source volume
46
46
~~~~~~~~~~~~~~~~~~~~~~~~~
47
47
48
- .. sample :: block_storage/v2 /volumes/create_from_source_volume.php
48
+ .. sample :: blockstoragev2 /volumes/create_from_source_volume.php
49
49
50
50
51
51
Retrieve volume details
@@ -54,7 +54,7 @@ Retrieve volume details
54
54
When retrieving a volume, sometimes you only want to operate on it - say to update or delete it. If this is the case,
55
55
then there is no need to perform an initial GET request to the API:
56
56
57
- .. sample :: block_storage/v2 /volumes/get.php
57
+ .. sample :: blockstoragev2 /volumes/get.php
58
58
59
59
If, however, you *do * want to retrieve all the details of a remote volume from the API, you just call:
60
60
@@ -73,13 +73,13 @@ Update volume
73
73
The first step when updating a volume is modifying the attributes you want updated. By default, only a volume's name
74
74
and description can be edited.
75
75
76
- .. sample :: block_storage/v2 /volumes/update.php
76
+ .. sample :: blockstoragev2 /volumes/update.php
77
77
.. refdoc :: OpenStack/BlockStorage/v2/Models/Volume.html#method_update
78
78
79
79
Delete volume
80
80
-------------
81
81
82
82
To permanently delete a volume:
83
83
84
- .. sample :: block_storage/v2 /volumes/delete.php
84
+ .. sample :: blockstoragev2 /volumes/delete.php
85
85
.. refdoc :: OpenStack/BlockStorage/v2/Models/Volume.html#method_delete
0 commit comments