volume type¶
Block Storage v1, v2
volume type create¶
Create new volume type
os volume type create
[--description <description>]
[--public | --private]
[--property <key=value> [...] ]
[--project <project>]
[--project-domain <project-domain>]
<name>
-
--description
<description>
¶ Volume type description
New in version 2.
-
--public
¶
Volume type is accessible to the public
New in version 2.
-
--private
¶
Volume type is not accessible to the public
New in version 2.
-
--property
<key=value>
¶ Set a property on this volume type (repeat option to set multiple properties)
-
--project
<project>
¶ Allow <project> to access private type (name or ID) (Must be used with
--private
option)Volume version 2 only
-
--project-domain
<project-domain>
¶ Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Volume version 2 only
-
<name>
Volume type name
volume type delete¶
Delete volume type(s)
os volume type delete
<volume-type> [<volume-type> ...]
-
<volume-type>
Volume type(s) to delete (name or ID)
volume type list¶
List volume types
os volume type list
[--long]
[--public | --private]
-
--long
¶
List additional fields in output
-
--public
¶
List only public types
Volume version 2 only
-
--private
¶
List only private types (admin only)
Volume version 2 only
volume type set¶
Set volume type properties
os volume type set
[--name <name>]
[--description <description>]
[--property <key=value> [...] ]
[--project <project>]
[--project-domain <project-domain>]
<volume-type>
-
--name
<name>
¶ Set volume type name
New in version 2.
-
--description
<description>
¶ Set volume type description
New in version 2.
-
--project
<project>
¶ Set volume type access to project (name or ID) (admin only)
Volume version 2 only
-
--project-domain
<project-domain>
¶ Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
-
--property
<key=value>
¶ Set a property on this volume type (repeat option to set multiple properties)
-
<volume-type>
Volume type to modify (name or ID)
volume type show¶
Display volume type details
os volume type show
<volume-type>
-
<volume-type>
Volume type to display (name or ID)
volume type unset¶
Unset volume type properties
os volume type unset
[--property <key> [...] ]
[--project <project>]
[--project-domain <project-domain>]
<volume-type>
-
--property
<key>
¶ Property to remove from volume type (repeat option to remove multiple properties)
-
--project
<project>
¶ Removes volume type access from project (name or ID) (admin only)
Volume version 2 only
-
--project-domain
<project-domain>
¶ Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
-
<volume-type>
Volume type to modify (name or ID)