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