troveclient.osc.v1.database_logs module

troveclient.osc.v1.database_logs module

Database v1 Logs action implementations

class troveclient.osc.v1.database_logs.ListDatabaseLogs(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Lister

columns = ['Name', 'Type', 'Status', 'Published', 'Pending', 'Container', 'Prefix']
get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_logs.ListDatabaseLogs (WARNING)>
take_action(parsed_args)

Return a tuple containing the column names and an iterable containing the data to be listed.

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.