troveclient.v1.volume_types module

troveclient.v1.volume_types module

class troveclient.v1.volume_types.VolumeType(manager, info, loaded=False)

Bases: troveclient.base.Resource

A VolumeType is an Cinder volume type.

class troveclient.v1.volume_types.VolumeTypes(api)

Bases: troveclient.base.ManagerWithFind

Manage VolumeType resources.

get(volume_type)

Get a specific volume-type.

Return type:VolumeType
list()

Get a list of all volume-types. :rtype: list of VolumeType.

list_datastore_version_associated_volume_types(datastore, version_id)

Get a list of all volume-types for the specified datastore type and datastore version . :rtype: list of VolumeType.

resource_class

alias of VolumeType

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.