models.destroy_cloned_task_state_proto module

class models.destroy_cloned_task_state_proto.DestroyClonedTaskStateProto(action_executor_target_type=None, clone_task_name=None, datastore_entity=None, deploy_vms_to_cloud_task_state=None, destroy_clone_app_task_info=None, destroy_clone_vm_task_info=None, destroy_mount_volumes_task_info=None, end_time_usecs=None, error=None, folder_entity=None, force_delete=None, full_view_name=None, parent_source_connection_params=None, parent_task_id=None, perform_clone_task_id=None, restore_type=None, scheduled_constituent_id=None, scheduled_gandalf_session_id=None, start_time_usecs=None, status=None, task_id=None, mtype=None, user=None, user_info=None, vcd_config=None, view_box_id=None, view_name_deprecated=None)[source]

Bases: object

Implementation of the ‘DestroyClonedTaskStateProto’ model.

TODO: type model description here.

Attributes:
action_executor_target_type (int): Denotes the target for action

executor(Bridge/Bridge_Proxy) on which task on slave should execute actions.

clone_task_name (string): The name of the clone task. datastore_entity (EntityProto): Specifies the attributes and the

latest statistics about an entity.

deploy_vms_to_cloud_task_state (DeployVMsToCloudTaskStateProto): TODO:

type description here.

destroy_clone_app_task_info (DestroyCloneAppTaskInfoProto): Each

available extension is listed below along with the location of the proto file (relative to magneto/connectors) where it is defined. DestroyCloneAppTaskInfoProto extension Location Extension =================================================================== ========== sql::DestroyCloneTaskInfo::sql_destroy_clone_app_task_info sql/sql.proto 100 oracle::DestroyCloneTaskInfo::oracle_destroy_clone_app_task_info oracle/oracle.proto 101 ad::DestroyTaskInfo::ad_destroy_app_task_info ad/ad.proto 102 =================================================================== ==========

destroy_clone_vm_task_info (DestroyClonedVMTaskInfoProto): Each

available extension is listed below along with the location of the proto file (relative to magneto/connectors) where it is defined. DestroyClonedVMTaskInfoProto extension Location Extension =================================================================== ========== vmware::DestroyClonedTaskInfo:: vmware_destroy_cloned_vm_task_info vmware/vmware.proto 100 hyperv::DestroyClonedTaskInfo:: hyperv_destroy_cloned_vm_task_info hyperv/hyperv.proto 101 =================================================================== ==========

destroy_mount_volumes_task_info (DestroyMountVolumesTaskInfoProto):

TODO: type description here.

end_time_usecs (long|int): If the destroy clone task has finished,

this field contains the end time of the task.

error (ErrorProto): TODO: type description here. folder_entity (EntityProto): Specifies the attributes and the latest

statistics about an entity.

force_delete (bool): flag used to perform force delete, ignore error

on delete steps

full_view_name (string): The full external view name where cloned

objects are placed.

parent_source_connection_params (ConnectorParams): Message that

encapsulates the various params required to establish a connection with a particular environment.

parent_task_id (long|int): The id of the task that triggered the

destroy task. This will be used by refresh task to mark the destroy task as internal sub-task.

perform_clone_task_id (long|int): The unique id of the task that

performed the clone operation.

restore_type (int): The type of the restore/clone operation that is

being destroyed.

scheduled_constituent_id (long|int): Constituent id (and the gandalf

session id) where this task has been scheduled. If -1, the task is not running at any slave. It’s possible that the task was previously scheduled, but is now being re-scheduled.

scheduled_gandalf_session_id (long|int): TODO: type description here. start_time_usecs (long|int): The start time of this destroy clone

task.

status (int): Status of the destroy clone task. task_id (long|int): A globally unique id of this destroy clone task. mtype (int): The type of environment that is being operated on. user (string): The user who requested this destroy clone task. user_info (UserInformation): A message to encapsulate information

about the user who made the request. Request should be filtered by these fields if specified so that only the objects that the user is permissioned for are returned. If both sid_vec & tenant_id are specified then an intersection of respective results should be returned.

view_box_id (long|int): The view box id to which ‘view_name’ belongs

to.

view_name_deprecated (string): The view name as provided by the user

for the clone operation.

vcd_config (RestoredObjectVCDConfigProto): VCD config for the

restored object.

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.