The troveclient.v1.management Module

The troveclient.v1.management Module

class troveclient.v1.management.Management(api)

Bases: troveclient.base.ManagerWithFind

Manage Instances resources.

index(deleted=None, limit=None, marker=None)

Show an overview of all local instances.

Optionally, filter by deleted status.

Return type:list of Instance.
list()
migrate(instance_id, host=None)

Migrate the instance.

Parameters:instance_id – The Instance (or its ID) to share onto.
reboot(instance_id)

Reboot the underlying OS.

Parameters:instance_id – The Instance (or its ID) to share onto.
reset_task_status(instance_id)

Set the task status to NONE.

resource_class

alias of Instance

root_enabled_history(instance)

Get root access history of one instance.

show(instance)

Get details of one instance.

Return type:Instance.
stop(instance_id)
update(instance_id)

Update the guest agent via apt-get.

class troveclient.v1.management.MgmtClusters(api)

Bases: troveclient.base.ManagerWithFind

Manage Cluster resources.

index(deleted=None, limit=None, marker=None)

Show an overview of all local clusters.

Optionally, filter by deleted status.

Return type:list of Cluster.
list()
reset_task(cluster_id)

Reset the current cluster task to NONE.

resource_class

alias of Cluster

show(cluster)

Get details of one cluster.

class troveclient.v1.management.MgmtConfigurationParameters(api)

Bases: troveclient.v1.configurations.ConfigurationParameters

create(version, name, restart_required, data_type, max_size=None, min_size=None)

Mgmt call to create a new configuration parameter.

delete(version, name)

Mgmt call to delete a configuration parameter.

get_any_parameter_by_version(version, key)

Get any configuration parameter deleted or not.

list_all_parameter_by_version(version)

List all configuration parameters deleted or not.

modify(version, name, restart_required, data_type, max_size=None, min_size=None)

Mgmt call to modify an existing configuration parameter.

class troveclient.v1.management.MgmtDatastoreVersions(api)

Bases: troveclient.base.ManagerWithFind

Manage DatastoreVersion resources.

create(name, datastore_name, datastore_manager, image, packages=None, active='true', default='false')
delete(datastore_version_id)

Delete a datastore version.

edit(datastore_version_id, datastore_manager=None, image=None, packages=None, active=None, default=None)
get(datastore_version_id)

Get details of a datastore version.

list(limit=None, marker=None)

List all datastore versions.

resource_class

alias of DatastoreVersion

class troveclient.v1.management.MgmtFlavors(api)

Bases: troveclient.base.ManagerWithFind

Manage Flavor resources.

create(name, ram, disk, vcpus, flavorid='auto', ephemeral=None, swap=None, rxtx_factor=None, service_type=None)

Create a new flavor.

list()
resource_class

alias of Flavor

class troveclient.v1.management.RootHistory(manager, info, loaded=False)

Bases: troveclient.base.Resource

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.

python-troveclient 2.14.1.dev7