The heat.objects.watch_rule Module

The heat.objects.watch_rule Module

WatchRule object.

class heat.objects.watch_rule.WatchRule(context=None, **kwargs)[source]

Bases: heat.objects.base.HeatObject, oslo_versionedobjects.base.VersionedObjectDictCompat

classmethod create(context, values)[source]
classmethod delete(context, watch_id)[source]
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'state': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'watch_data': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'rule': Json(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'stack_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'last_evaluated': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
classmethod get_all(context)[source]
classmethod get_all_by_stack(context, stack_id)[source]
classmethod get_by_id(context, rule_id)[source]
classmethod get_by_name(context, watch_rule_name)[source]
classmethod update_by_id(context, watch_id, values)[source]
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.