The karbor.objects.scheduled_operation_state Module

The karbor.objects.scheduled_operation_state Module

class karbor.objects.scheduled_operation_state.ScheduledOperationState(context=None, **kwargs)

Bases: karbor.objects.base.KarborPersistentObject, karbor.objects.base.KarborObject, karbor.objects.base.KarborObjectDictCompat, karbor.objects.base.KarborComparableObject

INSTANCE_OPTIONAL_JOINED_FIELDS = ['operation']
VERSION = '1.0'
create(*args, **kwargs)
created_at
deleted
deleted_at
destroy(*args, **kwargs)
end_time_for_run
fields = {'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'operation': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'trust_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'service_id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Boolean(default=False,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'operation_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'state': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'end_time_for_run': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
classmethod get_by_operation_id(context, *args, **kwargs)
id
model

alias of ScheduledOperationState

operation
operation_id
save(*args, **kwargs)
service_id
state
trust_id
updated_at
class karbor.objects.scheduled_operation_state.ScheduledOperationStateList(*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
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.