watcher.objects.service
Module¶watcher.objects.service.
Service
(context=None, **kwargs)[source]¶Bases: watcher.objects.base.WatcherPersistentObject
, watcher.objects.base.WatcherObject
, watcher.objects.base.WatcherObjectDictCompat
get
(context, *args, **kwargs)[source]¶Find a service based on its id
Parameters: |
|
---|---|
Returns: | a |
get_by_name
(context, *args, **kwargs)[source]¶Find a service based on name
Parameters: |
|
---|---|
Returns: | a |
list
(context, *args, **kwargs)[source]¶Return a list of Service
objects.
Parameters: |
|
---|---|
Returns: | a list of |
refresh
()[source]¶Loads updates for this Service
.
Loads a service with the same id from the database and checks for updated attributes. Updates are applied from the loaded service column by column, if there are any updates.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.