Volume_typesΒΆ
DEPRECATED: Volume Type interface.
-
class
novaclient.v2.volume_types.VolumeType(manager, info, loaded=False, resp=None) Bases:
novaclient.base.ResourceDEPRECATED: A Volume Type is the type of volume to be created
Populate and bind to a manager.
Parameters: - manager – BaseManager object
- info – dictionary representing resource attributes
- loaded – prevent lazy-loading if set to True
- resp – Response or list of Response objects
-
class
novaclient.v2.volume_types.VolumeTypeManager(api) Bases:
novaclient.base.ManagerWithFindDEPRECATED: Manage
VolumeTyperesources.-
create(name) DEPRECATED: Create a volume type.
Parameters: name – Descriptive name of the volume type Return type: VolumeType
-
delete(volume_type) DEPRECATED: Delete a specific volume_type.
Parameters: volume_type – The ID of the VolumeTypeto get.Returns: An instance of novaclient.base.TupleWithMeta
-
get(volume_type) DEPRECATED: Get a specific volume type.
Parameters: volume_type – The ID of the VolumeTypeto get.Return type: VolumeType
-
list() DEPRECATED: Get a list of all volume types.
Return type: list of VolumeType.
-
resource_class alias of
VolumeType
-