Bases: heat.objects.base.HeatObject, oslo_versionedobjects.base.VersionedObjectDictCompat
-
classmethod create(context, values)[source]
-
classmethod delete(context, watch_id)[source]
-
fields = {'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'watch_data': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'last_evaluated': 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), 'state': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'rule': Json(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]