The karbor.objects.restore Module

class karbor.objects.restore.Restore(context=None, **kwargs)

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

VERSION = '1.0'
checkpoint_id
create(*args, **kwargs)
created_at
deleted
deleted_at
destroy(*args, **kwargs)
fields = {'restore_target': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'provider_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'parameters': Dict(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'checkpoint_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Boolean(default=False,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'resources_status': Dict(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'project_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'resources_reason': Dict(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
id
json_fields = ('parameters', 'resources_status', 'resources_reason')
model

alias of Restore

parameters
project_id
provider_id
resources_reason
resources_status
restore_target
save(*args, **kwargs)
status
update_resource_status(*args, **kwargs)
updated_at
class karbor.objects.restore.RestoreList(*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_all(context, *args, **kwargs)
classmethod get_all_by_project(context, *args, **kwargs)
objects