Bases: troveclient.base.Resource
A DatastoreLog is a log on the database guest instance.
Bases: troveclient.base.Resource
An Instance is an opaque instance used to store Database instances.
Delete the instance.
Stops the replica database from being replicated to.
Force delete the instance
Restart the database instance.
Bases: object
Bases: troveclient.base.ManagerWithFind
Manage Instance resources.
Get the list of backups for a specific instance.
Parameters: |
|
---|---|
Return type: | list of Backups. |
Get a configuration on instances.
Return type: | Instance |
---|
Create (boot) a new instance.
Delete the specified instance.
Parameters: | instance – A reference to the instance to delete |
---|
Eject a replica source from its set
Parameters: | instance – The Instance (or its ID) of the database |
---|
instance to eject.
Force delete the specified instance.
Parameters: | instance – A reference to the instance to force delete |
---|
Get a specific instances.
Return type: | Instance |
---|
Get a list of all instances.
Return type: | list of Instance. |
---|
Return generator to yield the last <lines> lines of guest log.
Parameters: | instance – The Instance (or its ID) of the database |
---|
instance to get the log for. :param log_name: The name of <log> to publish :param publish: Publish updates before displaying log :param lines: Display last <lines> lines of log (0 for all lines) :param swift: Connection to swift :rtype: generator function to yield log as chunks.
Get a list of all guest logs.
Parameters: | instance – The Instance (or its ID) of the database |
---|
instance to get the log for. :rtype: list of DatastoreLog.
Saves a guest log to a file.
Parameters: | instance – The Instance (or its ID) of the database |
---|
instance to get the log for. :param log_name: The name of <log> to publish :param publish: Publish updates before displaying log :rtype: Filename to which log was saved
Apply modules to an instance.
Query an instance about installed modules.
Remove a module from an instance.
Retrieve the module data file from an instance. This includes the contents of the module data file.
Get the list of modules for a specific instance.
Promote a replica to be the new replica_source of its set
Parameters: | instance – The Instance (or its ID) of the database |
---|
instance to promote.
Reset the status of an instance.
Parameters: | instance – A reference to the instance |
---|
Resizes an instance with a new flavor.
Resize the volume on an existing instances.
alias of Instance
Restart the database instance.
Parameters: | instance – The Instance (or its ID) of the database |
---|
instance to restart.
Upgrades an instance with a new datastore version.