troveclient.v1.flavors module

class troveclient.v1.flavors.Flavor(manager, info, loaded=False)

Bases: troveclient.base.Resource

A Flavor is an Instance type, specifying other things, like RAM size.

class troveclient.v1.flavors.Flavors(api)

Bases: troveclient.base.ManagerWithFind

Manage Flavor resources.

get(flavor)

Get a specific flavor.

Return type

Flavor

list()

Get a list of all flavors. :rtype: list of Flavor.

list_datastore_version_associated_flavors(datastore, version_id)

Get a list of all flavors for the specified datastore type and datastore version . :rtype: list of Flavor.

resource_class

alias of troveclient.v1.flavors.Flavor