troveclient.osc.v1.database_configurations module

Database v1 Configurations action implementations

class troveclient.osc.v1.database_configurations.AttachDatabaseConfiguration(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_configurations.AttachDatabaseConfiguration (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class troveclient.osc.v1.database_configurations.CreateDatabaseConfiguration(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_configurations.CreateDatabaseConfiguration (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_configurations.DefaultDatabaseConfiguration(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_configurations.DefaultDatabaseConfiguration (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_configurations.DeleteDatabaseConfiguration(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_configurations.DeleteDatabaseConfiguration (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class troveclient.osc.v1.database_configurations.DetachDatabaseConfiguration(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_configurations.DetachDatabaseConfiguration (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class troveclient.osc.v1.database_configurations.ListDatabaseConfigurationInstances(app, app_args, cmd_name=None)

Bases: Lister

columns = ['ID', 'Name']
get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_configurations.ListDatabaseConfigurationInstances (WARNING)>
take_action(parsed_args)

Run command.

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

class troveclient.osc.v1.database_configurations.ListDatabaseConfigurationParameters(app, app_args, cmd_name=None)

Bases: Lister

columns = ['Name', 'Type', 'Min Size', 'Max Size', 'Restart Required']
get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_configurations.ListDatabaseConfigurationParameters (WARNING)>
take_action(parsed_args)

Run command.

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

class troveclient.osc.v1.database_configurations.ListDatabaseConfigurations(app, app_args, cmd_name=None)

Bases: Lister

columns = ['ID', 'Name', 'Description', 'Datastore Name', 'Datastore Version Name', 'Datastore Version Number']
get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_configurations.ListDatabaseConfigurations (WARNING)>
take_action(parsed_args)

Run command.

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

class troveclient.osc.v1.database_configurations.SetDatabaseConfiguration(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_configurations.SetDatabaseConfiguration (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class troveclient.osc.v1.database_configurations.ShowDatabaseConfiguration(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_configurations.ShowDatabaseConfiguration (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_configurations.ShowDatabaseConfigurationParameter(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_configurations.ShowDatabaseConfigurationParameter (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_configurations.UpdateDatabaseConfiguration(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_configurations.UpdateDatabaseConfiguration (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

troveclient.osc.v1.database_configurations.set_attributes_for_print_detail(configuration)