/// <summary>
 /// Initializes a new instance of the <see cref="RecoverVirtualDiskInfoProto" /> class.
 /// </summary>
 /// <param name="cleanupError">cleanupError.</param>
 /// <param name="dataMigrationError">dataMigrationError.</param>
 /// <param name="error">error.</param>
 /// <param name="finished">This will be set to true if the task is complete on the slave..</param>
 /// <param name="instantRecoveryFinished">This will be set to true once the instant recovery of the virtual disk is complete..</param>
 /// <param name="migrateTaskMoref">migrateTaskMoref.</param>
 /// <param name="restoreDisksTaskInfoProto">restoreDisksTaskInfoProto.</param>
 /// <param name="slaveTaskStartTimeUsecs">This is the timestamp at which the slave task started..</param>
 /// <param name="taskState">The state of the task..</param>
 /// <param name="type">The type of environment this recover virtual disk info pertains to..</param>
 public RecoverVirtualDiskInfoProto(ErrorProto cleanupError = default(ErrorProto), ErrorProto dataMigrationError = default(ErrorProto), ErrorProto error = default(ErrorProto), bool?finished = default(bool?), bool?instantRecoveryFinished = default(bool?), MORef migrateTaskMoref = default(MORef), SetupRestoreDiskTaskInfoProto restoreDisksTaskInfoProto = default(SetupRestoreDiskTaskInfoProto), long?slaveTaskStartTimeUsecs = default(long?), int?taskState = default(int?), int?type = default(int?))
 {
     this.Finished = finished;
     this.InstantRecoveryFinished = instantRecoveryFinished;
     this.SlaveTaskStartTimeUsecs = slaveTaskStartTimeUsecs;
     this.TaskState                 = taskState;
     this.Type                      = type;
     this.CleanupError              = cleanupError;
     this.DataMigrationError        = dataMigrationError;
     this.Error                     = error;
     this.Finished                  = finished;
     this.InstantRecoveryFinished   = instantRecoveryFinished;
     this.MigrateTaskMoref          = migrateTaskMoref;
     this.RestoreDisksTaskInfoProto = restoreDisksTaskInfoProto;
     this.SlaveTaskStartTimeUsecs   = slaveTaskStartTimeUsecs;
     this.TaskState                 = taskState;
     this.Type                      = type;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MountVolumesInfoProto" /> class.
 /// </summary>
 /// <param name="cleanupError">cleanupError.</param>
 /// <param name="error">error.</param>
 /// <param name="finished">This will be set to true if the task is complete on the slave..</param>
 /// <param name="mountVolumeResultVec">Contains the result information of the mounted volumes..</param>
 /// <param name="restoreDisksTaskInfoProto">restoreDisksTaskInfoProto.</param>
 /// <param name="slaveTaskStartTimeUsecs">This is the timestamp at which the slave task started..</param>
 /// <param name="type">The type of environment this mount volumes info pertains to..</param>
 /// <param name="vmOnlineDisksError">vmOnlineDisksError.</param>
 public MountVolumesInfoProto(ErrorProto cleanupError = default(ErrorProto), ErrorProto error = default(ErrorProto), bool?finished = default(bool?), List <MountVolumeResult> mountVolumeResultVec = default(List <MountVolumeResult>), SetupRestoreDiskTaskInfoProto restoreDisksTaskInfoProto = default(SetupRestoreDiskTaskInfoProto), long?slaveTaskStartTimeUsecs = default(long?), int?type = default(int?), ErrorProto vmOnlineDisksError = default(ErrorProto))
 {
     this.Finished                = finished;
     this.MountVolumeResultVec    = mountVolumeResultVec;
     this.SlaveTaskStartTimeUsecs = slaveTaskStartTimeUsecs;
     this.Type                      = type;
     this.CleanupError              = cleanupError;
     this.Error                     = error;
     this.Finished                  = finished;
     this.MountVolumeResultVec      = mountVolumeResultVec;
     this.RestoreDisksTaskInfoProto = restoreDisksTaskInfoProto;
     this.SlaveTaskStartTimeUsecs   = slaveTaskStartTimeUsecs;
     this.Type                      = type;
     this.VmOnlineDisksError        = vmOnlineDisksError;
 }