models.recover_virtual_disk_info_proto module

class models.recover_virtual_disk_info_proto.RecoverVirtualDiskInfoProto(cleanup_error=None, data_migration_error=None, error=None, finished=None, instant_recovery_finished=None, migrate_task_moref=None, restore_disks_task_info_proto=None, slave_task_start_time_usecs=None, task_state=None, mtype=None)[source]

Bases: object

Implementation of the ‘RecoverVirtualDiskInfoProto’ model.

Each available extension is listed below along with the location of the proto file (relative to magneto/connectors) where it is defined. RecoverVirtualDiskInfoProto extension Location =========================================================================== == =========================================================================== ==

Attributes:

cleanup_error (ErrorProto): TODO: type description here. data_migration_error (ErrorProto): TODO: type description here. error (ErrorProto): TODO: type description here. finished (bool): This will be set to true if the task is complete on

the slave.

instant_recovery_finished (bool): This will be set to true once the

instant recovery of the virtual disk is complete.

migrate_task_moref (MORef): TODO: type description here. restore_disks_task_info_proto (SetupRestoreDiskTaskInfoProto): Each

available extension is listed below along with the location of the proto file (relative to magneto/connectors) where it is defined. SetupRestoreDiskTaskInfoProto extension, extension_number Location =================================================================== ========== vmware::SetupRestoreDiskTaskInfo vmware_setup_restore_disk_task_info, 100 connectors/vmware/vmware_setup_restore_disks.proto.proto AgentSetupRestoreDiskTaskInfo agent_setup_restore_disk_task_info, 101 base/agent.proto app_file::SetupRestoreTaskInfo app_file_setup_restore_task_info, 102 connectors/app_file/app_file_setup_restore.proto hyperv::SetupRestoreDiskTaskInfo hyperv_setup_restore_disk_task_info, 103 connectors/hyperv/hyperv_setup_restore_disks.proto =================================================================== ==========

slave_task_start_time_usecs (long|int): This is the timestamp at which

the slave task started.

task_state (int): The state of the task. mtype (int): The type of environment this recover virtual disk info

pertains to.

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.