troveclient.v1.modules module

class troveclient.v1.modules.Module(manager, info, loaded=False)

Bases: troveclient.base.Resource

ALL_KEYWORD = 'all'
class troveclient.v1.modules.Modules(api)

Bases: troveclient.base.ManagerWithFind

Manage Module resources.

create(name, module_type, contents, description=None, all_tenants=None, datastore=None, datastore_version=None, auto_apply=None, visible=None, live_update=None, priority_apply=None, apply_order=None, full_access=None)

Create a new module.

delete(module)

Delete the specified module.

get(module)

Get a specific module.

instances(module, limit=None, marker=None, include_clustered=False, count_only=False)

Get a list of all instances this module has been applied to.

list(limit=None, marker=None, datastore=None)

Get a list of all modules.

reapply(module, md5=None, include_clustered=None, batch_size=None, delay=None, force=None)

Reapplies the specified module.

resource_class

alias of Module

update(module, name=None, module_type=None, contents=None, description=None, all_tenants=None, datastore=None, datastore_version=None, auto_apply=None, visible=None, live_update=None, all_datastores=None, all_datastore_versions=None, priority_apply=None, apply_order=None, full_access=None)

Update an existing module. Passing in datastore=None or datastore_version=None has the effect of making it available for all datastores/versions.