The watcherclient.v1.scoring_engine Module

The watcherclient.v1.scoring_engine Module

class watcherclient.v1.scoring_engine.ScoringEngine(manager, info, loaded=False)[source]

Bases: watcherclient.common.base.Resource

class watcherclient.v1.scoring_engine.ScoringEngineManager(api)[source]

Bases: watcherclient.common.base.Manager

get(scoring_engine_name)[source]
list(limit=None, sort_key=None, sort_dir=None, detail=False)[source]

Retrieve a list of scoring engines.

Parameters:
  • limit
    The maximum number of results to return per
    request, if:
    1. limit > 0, the maximum number of scoring engines to return.
    2. limit == 0, return the entire list of scoring engines.
    3. limit param is NOT specified (None), the number of items returned respect the maximum imposed by the Watcher API (see Watcher’s api.max_limit option).
  • sort_key – Optional, field used for sorting.
  • sort_dir – Optional, direction of sorting, either ‘asc’ (the default) or ‘desc’.
  • detail – Optional, boolean whether to return detailed information about scoring engines.
Returns:

A list of scoring engines.

resource_class

alias of ScoringEngine

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.