karbor.objects.restore
Module¶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
= {'project_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'restore_target': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'resources_reason': Dict(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'resources_status': Dict(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'provider_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'status': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'checkpoint_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'parameters': Dict(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}¶id
¶json_fields
= ('parameters', 'resources_status', 'resources_reason')¶parameters
¶project_id
¶provider_id
¶resources_reason
¶resources_status
¶restore_target
¶save
(*args, **kwargs)¶status
¶update_resource_status
(*args, **kwargs)¶updated_at
¶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)}¶get_all
(context, *args, **kwargs)¶get_all_by_project
(context, *args, **kwargs)¶objects
¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.