watcherclient.v1.
ActionManager
(api)[source]¶Bases: watcherclient.common.base.Manager
list
(action_plan=None, audit=None, limit=None, sort_key=None, sort_dir=None, detail=False, marker=None)[source]¶Retrieve a list of action.
action_plan – UUID of the action plan
audit – UUID of the audit
limit –
request, if:
limit > 0, the maximum number of actions to return.
limit == 0, return the entire list of actions.
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 actions.
marker – Optional, UUID of the last action in the previous page.
A list of actions.
resource_class
¶alias of watcherclient.v1.action.Action
watcherclient.v1.
ActionPlanManager
(api)[source]¶Bases: watcherclient.common.base.Manager
list
(audit=None, limit=None, sort_key=None, sort_dir=None, detail=False, marker=None)[source]¶Retrieve a list of action plan.
audit – Name of the audit
limit –
request, if:
limit > 0, the maximum number of action plans to return.
limit == 0, return the entire list of action plans.
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 action plans.
marker – The last actionplan UUID of the previous page; displays list of actionplans after “marker”.
A list of action plans.
resource_class
¶watcherclient.v1.
AuditManager
(api)[source]¶Bases: watcherclient.common.base.Manager
list
(audit_template=None, limit=None, sort_key=None, sort_dir=None, detail=False, goal=None, strategy=None, marker=None)[source]¶Retrieve a list of audit.
audit_template – Name of the audit template
limit –
request, if:
limit > 0, the maximum number of audits to return.
limit == 0, return the entire list of audits.
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 audits.
marker – Optional, UUID of the last audit in the previous page.
A list of audits.
resource_class
¶alias of watcherclient.v1.audit.Audit
watcherclient.v1.
AuditTemplateManager
(api)[source]¶Bases: watcherclient.common.base.Manager
list
(name=None, goal=None, strategy=None, limit=None, sort_key=None, sort_dir=None, detail=False, marker=None)[source]¶Retrieve a list of audit template.
name – Name of the audit template
limit –
request, if:
limit > 0, the maximum number of audit templates to return.
limit == 0, return the entire list of audit_templates.
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 audit_templates.
marker – Optional, UUID of the last audit template of the previous page.
A list of audit templates.
resource_class
¶watcherclient.v1.
DataModelManager
(api)[source]¶Bases: watcherclient.common.base.Manager
list
(data_model_type='compute', audit=None)[source]¶Retrieve a list of data model.
data_model_type – The type of data model user wants to list. Supported values: compute. Future support values: storage, baremetal. The default value is compute.
audit – The UUID of the audit, used to filter data model by the scope in audit.
A list of data model.
resource_class
¶watcherclient.v1.
GoalManager
(api)[source]¶Bases: watcherclient.common.base.Manager
list
(limit=None, sort_key=None, sort_dir=None, detail=False, marker=None)[source]¶Retrieve a list of goal.
limit –
request, if:
limit > 0, the maximum number of audits to return.
limit == 0, return the entire list of audits.
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 audits.
marker – Optional, UUID of the last goal in the previous page.
A list of goals.
resource_class
¶alias of watcherclient.v1.goal.Goal
watcherclient.v1.
ScoringEngineManager
(api)[source]¶Bases: watcherclient.common.base.Manager
list
(limit=None, sort_key=None, sort_dir=None, detail=False)[source]¶Retrieve a list of scoring engines.
limit –
request, if:
limit > 0, the maximum number of scoring engines to return.
limit == 0, return the entire list of scoring engines.
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.
A list of scoring engines.
resource_class
¶watcherclient.v1.
ServiceManager
(api)[source]¶Bases: watcherclient.common.base.Manager
list
(limit=None, sort_key=None, sort_dir=None, detail=False)[source]¶Retrieve a list of services.
limit –
request, if:
limit > 0, the maximum number of services to return.
limit == 0, return the entire list of services.
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 services.
A list of services.
resource_class
¶alias of watcherclient.v1.service.Service
watcherclient.v1.
StrategyManager
(api)[source]¶Bases: watcherclient.common.base.Manager
list
(goal=None, limit=None, sort_key=None, sort_dir=None, detail=False, marker=None)[source]¶Retrieve a list of strategy.
goal – The UUID of the goal to filter by
limit –
request, if:
limit > 0, the maximum number of audits to return.
limit == 0, return the entire list of audits.
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 audits.
marker – Optional, UUID of the last strategy in the previous page.
A list of audits.
resource_class
¶alias of watcherclient.v1.strategy.Strategy
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.