The karbor.objects.scheduled_operation
Module¶
-
class
karbor.objects.scheduled_operation.
ScheduledOperation
(context=None, **kwargs)¶ Bases:
karbor.objects.base.KarborPersistentObject
,karbor.objects.base.KarborObject
,karbor.objects.base.KarborObjectDictCompat
,karbor.objects.base.KarborComparableObject
-
INSTANCE_OPTIONAL_JOINED_FIELDS
= [‘trigger’]¶
-
VERSION
= ‘1.0’¶
-
create
(*args, **kwargs)¶
-
created_at
¶
-
deleted
¶
-
deleted_at
¶
-
description
¶
-
destroy
(*args, **kwargs)¶
-
enabled
¶
-
fields
= {‘id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘description’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘user_id’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘operation_type’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘enabled’: Boolean(default=True,nullable=False), ‘operation_definition’: Dict(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘project_id’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘deleted_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘updated_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘created_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘trigger_id’: UUID(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘name’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘trigger’: Object(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘deleted’: Boolean(default=False,nullable=False)}¶
-
classmethod
get_by_id
(context, *args, **kwargs)¶
-
id
¶
-
model
¶ alias of
ScheduledOperation
-
name
¶
-
operation_definition
¶
-
operation_type
¶
-
project_id
¶
-
save
(*args, **kwargs)¶
-
trigger
¶
-
trigger_id
¶
-
updated_at
¶
-
user_id
¶
-
-
class
karbor.objects.scheduled_operation.
ScheduledOperationList
(*args, **kwargs)¶ Bases:
karbor.objects.base.ObjectListBase
,karbor.objects.base.KarborObject
-
VERSION
= ‘1.0’¶
-
fields
= {‘objects’: List(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False)}¶
-
classmethod
get_by_filters
(context, *args, **kwargs)¶
-
objects
¶
-