troveclient.osc.v1.database_quota module

troveclient.osc.v1.database_quota module

Database v1 Quota action implementations

class troveclient.osc.v1.database_quota.ShowDatabaseQuota(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Lister

columns = ['Resource', 'In Use', 'Reserved', 'Limit']
get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger troveclient.osc.v1.database_quota.ShowDatabaseQuota (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_quota.UpdateDatabaseQuota(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_quota.UpdateDatabaseQuota (WARNING)>
take_action(parsed_args)

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

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.