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 = {'rule': Json(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'watch_data': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'state': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'stack_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), '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]

Previous topic

The heat.objects.watch_data Module

Next topic

The heat.rpc.api Module

Project Source

This Page