models.restore_app_task_state_proto module

class models.restore_app_task_state_proto.RestoreAppTaskStateProto(app_restore_progress_monitor_subtask_path=None, child_restore_app_params_vec=None, last_finished_log_backup_start_time_usecs=None, restore_app_params=None)[source]

Bases: object

Implementation of the ‘RestoreAppTaskStateProto’ model.

TODO: type model description here.

Attributes:
app_restore_progress_monitor_subtask_path (string): The Pulse task

path to the application restore task sub tree. If the application restore has to wait on other tasks (for example, a SQL db restore may wait for a tail log backup or a VM restore), then this would represent a sub-tree of ‘progress_monitor_task_path’ in PerformRestoreTaskStateProto.

child_restore_app_params_vec (list of RestoreAppParams): This has list

of the restore app params for all the child restore tasks. This is populated iff the ‘is_parent_task’ is set to true.

last_finished_log_backup_start_time_usecs (long|int): The start time

of the last finished log backup run. For SQL application, this is set iff we need to take a tail log backup.

restore_app_params (RestoreAppParams): This message captures all the

necessary arguments specified by the user to restore an application.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.