troveclient.osc.v1.database_backups module

troveclient.osc.v1.database_backups module

Database v1 Backups action implementations

class troveclient.osc.v1.database_backups.CreateDatabaseBackup(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_backups.CreateDatabaseBackup (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class troveclient.osc.v1.database_backups.DeleteDatabaseBackup(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_backups.DeleteDatabaseBackup (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class troveclient.osc.v1.database_backups.DeleteDatabaseBackupExecution(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_backups.DeleteDatabaseBackupExecution (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class troveclient.osc.v1.database_backups.ListDatabaseBackups(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Lister

columns = ['ID', 'Instance ID', 'Name', 'Status', 'Parent ID', 'Updated']
get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_backups.ListDatabaseBackups (WARNING)>
take_action(parsed_args)

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

class troveclient.osc.v1.database_backups.ListDatabaseInstanceBackups(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Lister

columns = ['ID', 'Instance ID', 'Name', 'Status', 'Parent ID', 'Updated']
get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_backups.ListDatabaseInstanceBackups (WARNING)>
take_action(parsed_args)

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

class troveclient.osc.v1.database_backups.ShowDatabaseBackup(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_backups.ShowDatabaseBackup (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

troveclient.osc.v1.database_backups.set_attributes_for_print_detail(backup)
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.