Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DestroyClonedTaskStateProto" /> class.
 /// </summary>
 /// <param name="cloneTaskName">The name of the clone task..</param>
 /// <param name="datastoreEntity">datastoreEntity.</param>
 /// <param name="deployVmsToCloudTaskState">deployVmsToCloudTaskState.</param>
 /// <param name="destroyCloneAppTaskInfo">destroyCloneAppTaskInfo.</param>
 /// <param name="destroyCloneVmTaskInfo">destroyCloneVmTaskInfo.</param>
 /// <param name="destroyMountVolumesTaskInfo">destroyMountVolumesTaskInfo.</param>
 /// <param name="endTimeUsecs">If the destroy clone task has finished, this field contains the end time of the task..</param>
 /// <param name="error">error.</param>
 /// <param name="folderEntity">folderEntity.</param>
 /// <param name="forceDelete">flag used to perform force delete, ignore error on delete steps.</param>
 /// <param name="fullViewName">The full external view name where cloned objects are placed..</param>
 /// <param name="parentSourceConnectionParams">parentSourceConnectionParams.</param>
 /// <param name="parentTaskId">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..</param>
 /// <param name="performCloneTaskId">The unique id of the task that performed the clone operation..</param>
 /// <param name="restoreType">The type of the restore/clone operation that is being destroyed..</param>
 /// <param name="scheduledConstituentId">Constituent id (and the gandalf session id) where this task has been scheduled. If -1, the task is not running at any slave. It&#39;s possible that the task was previously scheduled, but is now being re-scheduled..</param>
 /// <param name="scheduledGandalfSessionId">scheduledGandalfSessionId.</param>
 /// <param name="startTimeUsecs">The start time of this destroy clone task..</param>
 /// <param name="status">Status of the destroy clone task..</param>
 /// <param name="taskId">A globally unique id of this destroy clone task..</param>
 /// <param name="type">The type of environment that is being operated on..</param>
 /// <param name="user">The user who requested this destroy clone task..</param>
 /// <param name="userInfo">userInfo.</param>
 /// <param name="viewBoxId">The view box id to which &#39;view_name&#39; belongs to..</param>
 /// <param name="viewNameDEPRECATED">The view name as provided by the user for the clone operation..</param>
 public DestroyClonedTaskStateProto(string cloneTaskName = default(string), EntityProto datastoreEntity = default(EntityProto), DeployVMsToCloudTaskStateProto deployVmsToCloudTaskState = default(DeployVMsToCloudTaskStateProto), DestroyCloneAppTaskInfoProto destroyCloneAppTaskInfo = default(DestroyCloneAppTaskInfoProto), DestroyClonedVMTaskInfoProto destroyCloneVmTaskInfo = default(DestroyClonedVMTaskInfoProto), DestroyMountVolumesTaskInfoProto destroyMountVolumesTaskInfo = default(DestroyMountVolumesTaskInfoProto), long?endTimeUsecs = default(long?), ErrorProto error = default(ErrorProto), EntityProto folderEntity = default(EntityProto), bool?forceDelete = default(bool?), string fullViewName = default(string), ConnectorParams parentSourceConnectionParams = default(ConnectorParams), long?parentTaskId = default(long?), long?performCloneTaskId = default(long?), int?restoreType = default(int?), long?scheduledConstituentId = default(long?), long?scheduledGandalfSessionId = default(long?), long?startTimeUsecs = default(long?), int?status = default(int?), long?taskId = default(long?), int?type = default(int?), string user = default(string), UserInformation userInfo = default(UserInformation), long?viewBoxId = default(long?), string viewNameDEPRECATED = default(string))
 {
     this.CloneTaskName             = cloneTaskName;
     this.EndTimeUsecs              = endTimeUsecs;
     this.ForceDelete               = forceDelete;
     this.FullViewName              = fullViewName;
     this.ParentTaskId              = parentTaskId;
     this.PerformCloneTaskId        = performCloneTaskId;
     this.RestoreType               = restoreType;
     this.ScheduledConstituentId    = scheduledConstituentId;
     this.ScheduledGandalfSessionId = scheduledGandalfSessionId;
     this.StartTimeUsecs            = startTimeUsecs;
     this.Status                       = status;
     this.TaskId                       = taskId;
     this.Type                         = type;
     this.User                         = user;
     this.ViewBoxId                    = viewBoxId;
     this.ViewNameDEPRECATED           = viewNameDEPRECATED;
     this.CloneTaskName                = cloneTaskName;
     this.DatastoreEntity              = datastoreEntity;
     this.DeployVmsToCloudTaskState    = deployVmsToCloudTaskState;
     this.DestroyCloneAppTaskInfo      = destroyCloneAppTaskInfo;
     this.DestroyCloneVmTaskInfo       = destroyCloneVmTaskInfo;
     this.DestroyMountVolumesTaskInfo  = destroyMountVolumesTaskInfo;
     this.EndTimeUsecs                 = endTimeUsecs;
     this.Error                        = error;
     this.FolderEntity                 = folderEntity;
     this.ForceDelete                  = forceDelete;
     this.FullViewName                 = fullViewName;
     this.ParentSourceConnectionParams = parentSourceConnectionParams;
     this.ParentTaskId                 = parentTaskId;
     this.PerformCloneTaskId           = performCloneTaskId;
     this.RestoreType                  = restoreType;
     this.ScheduledConstituentId       = scheduledConstituentId;
     this.ScheduledGandalfSessionId    = scheduledGandalfSessionId;
     this.StartTimeUsecs               = startTimeUsecs;
     this.Status                       = status;
     this.TaskId                       = taskId;
     this.Type                         = type;
     this.User                         = user;
     this.UserInfo                     = userInfo;
     this.ViewBoxId                    = viewBoxId;
     this.ViewNameDEPRECATED           = viewNameDEPRECATED;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PerformRestoreJobStateProto" /> class.
 /// </summary>
 /// <param name="admittedTimeUsecs">The time at which the restore job was admitted to run on a Magneto master. This field will be set only after the status changes to &#39;kAdmitted&#39;. Using this field, amount of time spent in the waiting/queued state and the amount of time taken taken to actually run the job can be determined. wait time &#x3D; admitted_time_usecs - start_time_usecs run time &#x3D; end_time_usecs - admitted_time_usecs.</param>
 /// <param name="cancellationRequested">Whether this restore job has a pending cancellation request..</param>
 /// <param name="continueRestoreOnError">Whether to continue with the restore operation if restore of any object fails..</param>
 /// <param name="deployVmsToCloudTaskState">deployVmsToCloudTaskState.</param>
 /// <param name="endTimeUsecs">If the restore job has finished, this field contains the end time for the job..</param>
 /// <param name="error">error.</param>
 /// <param name="name">The name of the restore job..</param>
 /// <param name="parentSourceConnectionParams">parentSourceConnectionParams.</param>
 /// <param name="powerStateConfig">powerStateConfig.</param>
 /// <param name="progressMonitorTaskPath">Root path of a Pulse task tracking the progress of the restore job..</param>
 /// <param name="renameRestoredObjectParam">renameRestoredObjectParam.</param>
 /// <param name="restoreAcropolisVmsParams">restoreAcropolisVmsParams.</param>
 /// <param name="restoreJobId">A globally unique id for this restore job..</param>
 /// <param name="restoreKubernetesNamespacesParams">restoreKubernetesNamespacesParams.</param>
 /// <param name="restoreKvmVmsParams">restoreKvmVmsParams.</param>
 /// <param name="restoreParentSource">restoreParentSource.</param>
 /// <param name="restoreTaskVec">Even if the user wanted to restore an entire job from the latest snapshot, this will have info of all the individual objects..</param>
 /// <param name="restoreVmwareVmParams">restoreVmwareVmParams.</param>
 /// <param name="restoredObjectsNetworkConfig">restoredObjectsNetworkConfig.</param>
 /// <param name="restoredToDifferentSource">Whether restore is being performed to a different parent source..</param>
 /// <param name="startTimeUsecs">The start time for this restore job..</param>
 /// <param name="status">Status of the restore job..</param>
 /// <param name="type">The type of restore being performed..</param>
 /// <param name="user">The user who requested this restore job..</param>
 /// <param name="userInfo">userInfo.</param>
 /// <param name="viewBoxId">The view box id to which the restore job belongs to..</param>
 public PerformRestoreJobStateProto(long?admittedTimeUsecs = default(long?), bool?cancellationRequested = default(bool?), bool?continueRestoreOnError = default(bool?), DeployVMsToCloudTaskStateProto deployVmsToCloudTaskState = default(DeployVMsToCloudTaskStateProto), long?endTimeUsecs = default(long?), ErrorProto error = default(ErrorProto), string name = default(string), ConnectorParams parentSourceConnectionParams = default(ConnectorParams), PowerStateConfigProto powerStateConfig = default(PowerStateConfigProto), string progressMonitorTaskPath = default(string), RenameObjectParamProto renameRestoredObjectParam = default(RenameObjectParamProto), RestoreAcropolisVMsParams restoreAcropolisVmsParams = default(RestoreAcropolisVMsParams), long?restoreJobId = default(long?), RestoreKubernetesNamespacesParams restoreKubernetesNamespacesParams = default(RestoreKubernetesNamespacesParams), RestoreKVMVMsParams restoreKvmVmsParams = default(RestoreKVMVMsParams), EntityProto restoreParentSource = default(EntityProto), List <PerformRestoreJobStateProtoRestoreTask> restoreTaskVec = default(List <PerformRestoreJobStateProtoRestoreTask>), RestoreVMwareVMParams restoreVmwareVmParams = default(RestoreVMwareVMParams), RestoredObjectNetworkConfigProto restoredObjectsNetworkConfig = default(RestoredObjectNetworkConfigProto), bool?restoredToDifferentSource = default(bool?), long?startTimeUsecs = default(long?), int?status = default(int?), int?type = default(int?), string user = default(string), UserInformation userInfo = default(UserInformation), long?viewBoxId = default(long?))
 {
     this.AdmittedTimeUsecs      = admittedTimeUsecs;
     this.CancellationRequested  = cancellationRequested;
     this.ContinueRestoreOnError = continueRestoreOnError;
     this.EndTimeUsecs           = endTimeUsecs;
     this.Name = name;
     this.ProgressMonitorTaskPath   = progressMonitorTaskPath;
     this.RestoreJobId              = restoreJobId;
     this.RestoreTaskVec            = restoreTaskVec;
     this.RestoredToDifferentSource = restoredToDifferentSource;
     this.StartTimeUsecs            = startTimeUsecs;
     this.Status                            = status;
     this.Type                              = type;
     this.User                              = user;
     this.ViewBoxId                         = viewBoxId;
     this.AdmittedTimeUsecs                 = admittedTimeUsecs;
     this.CancellationRequested             = cancellationRequested;
     this.ContinueRestoreOnError            = continueRestoreOnError;
     this.DeployVmsToCloudTaskState         = deployVmsToCloudTaskState;
     this.EndTimeUsecs                      = endTimeUsecs;
     this.Error                             = error;
     this.Name                              = name;
     this.ParentSourceConnectionParams      = parentSourceConnectionParams;
     this.PowerStateConfig                  = powerStateConfig;
     this.ProgressMonitorTaskPath           = progressMonitorTaskPath;
     this.RenameRestoredObjectParam         = renameRestoredObjectParam;
     this.RestoreAcropolisVmsParams         = restoreAcropolisVmsParams;
     this.RestoreJobId                      = restoreJobId;
     this.RestoreKubernetesNamespacesParams = restoreKubernetesNamespacesParams;
     this.RestoreKvmVmsParams               = restoreKvmVmsParams;
     this.RestoreParentSource               = restoreParentSource;
     this.RestoreTaskVec                    = restoreTaskVec;
     this.RestoreVmwareVmParams             = restoreVmwareVmParams;
     this.RestoredObjectsNetworkConfig      = restoredObjectsNetworkConfig;
     this.RestoredToDifferentSource         = restoredToDifferentSource;
     this.StartTimeUsecs                    = startTimeUsecs;
     this.Status                            = status;
     this.Type                              = type;
     this.User                              = user;
     this.UserInfo                          = userInfo;
     this.ViewBoxId                         = viewBoxId;
 }