troveclient.osc.v1.database_backup_strategy module¶
-
class
troveclient.osc.v1.database_backup_strategy.
CreateDatabaseBackupStrategy
(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_backup_strategy.CreateDatabaseBackupStrategy (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_backup_strategy.
DeleteDatabaseBackupStrategy
(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_backup_strategy.DeleteDatabaseBackupStrategy (WARNING)>¶
-
take_action
(parsed_args)¶ Override to do something useful.
The returned value will be returned by the program.
-
-
class
troveclient.osc.v1.database_backup_strategy.
ListDatabaseBackupStrategies
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
-
columns
= ['Project ID', 'Instance ID', 'Swift Container']¶
-
get_parser
(prog_name)¶ Return an
argparse.ArgumentParser
.
-
log
= <Logger troveclient.osc.v1.database_backup_strategy.ListDatabaseBackupStrategies (WARNING)>¶
-
take_action
(parsed_args)¶ Return a tuple containing the column names and an iterable containing the data to be listed.
-