troveclient.osc.v1.database_users module

troveclient.osc.v1.database_users module

Database v1 Users action implementations

class troveclient.osc.v1.database_users.CreateDatabaseUser(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class troveclient.osc.v1.database_users.DeleteDatabaseUser(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class troveclient.osc.v1.database_users.GrantDatabaseUserAccess(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class troveclient.osc.v1.database_users.ListDatabaseUsers(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Lister

columns = ['Name', 'Host', 'Databases']
get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
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_users.RevokeDatabaseUserAccess(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class troveclient.osc.v1.database_users.ShowDatabaseUser(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
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_users.ShowDatabaseUserAccess(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Lister

columns = ['Name']
get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
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_users.UpdateDatabaseUserAttributes(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

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.