Volume_typesΒΆ

DEPRECATED: Volume Type interface.

class novaclient.v2.volume_types.VolumeType(manager, info, loaded=False)

Bases: novaclient.openstack.common.apiclient.base.Resource

DEPRECATED: 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
class novaclient.v2.volume_types.VolumeTypeManager(api)

Bases: novaclient.base.ManagerWithFind

DEPRECATED: Manage VolumeType resources.

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 VolumeType to get.
get(volume_type)

DEPRECATED: Get a specific volume type.

Parameters:volume_type – The ID of the VolumeType to get.
Return type:VolumeType
list()

DEPRECATED: Get a list of all volume types.

Return type:list of VolumeType.
resource_class

alias of VolumeType

Previous topic

Volumes

Next topic

nova

Project Source

This Page