/// <summary>
 /// Initializes a new instance of the <see cref="AnalyseJarResult" /> class.
 /// </summary>
 /// <param name="error">error.</param>
 /// <param name="mappers">Name of all mapper classes found in jar file..</param>
 /// <param name="reducers">Name of all reducers classes found in jar file..</param>
 public AnalyseJarResult(ErrorProto error = default(ErrorProto), List <string> mappers = default(List <string>), List <string> reducers = default(List <string>))
 {
     this.Mappers  = mappers;
     this.Reducers = reducers;
     this.Error    = error;
     this.Mappers  = mappers;
     this.Reducers = reducers;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MountVolumeResult" /> class.
 /// </summary>
 /// <param name="error">error.</param>
 /// <param name="filesystemType">Filesystem on this volume..</param>
 /// <param name="mountPoint">This is populated with the mount point where the volume corresponding to the newly attached volume is mounted. NOTE: This may not be present in the VM environments if onlining of disks is not requested or if the there was any issue during onlining..</param>
 /// <param name="originalVolumeName">This is the name or mount point of the original volume..</param>
 public MountVolumeResult(ErrorProto error = default(ErrorProto), string filesystemType = default(string), string mountPoint = default(string), string originalVolumeName = default(string))
 {
     this.FilesystemType     = filesystemType;
     this.MountPoint         = mountPoint;
     this.OriginalVolumeName = originalVolumeName;
     this.Error              = error;
     this.FilesystemType     = filesystemType;
     this.MountPoint         = mountPoint;
     this.OriginalVolumeName = originalVolumeName;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DestroyCloneAppTaskInfoProto" /> class.
 /// </summary>
 /// <param name="appEnv">The application environment..</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="targetEntity">targetEntity.</param>
 /// <param name="targetEntityCredentials">targetEntityCredentials.</param>
 public DestroyCloneAppTaskInfoProto(int?appEnv = default(int?), ErrorProto error = default(ErrorProto), bool?finished = default(bool?), EntityProto targetEntity = default(EntityProto), Credentials targetEntityCredentials = default(Credentials))
 {
     this.AppEnv                  = appEnv;
     this.Finished                = finished;
     this.AppEnv                  = appEnv;
     this.Error                   = error;
     this.Finished                = finished;
     this.TargetEntity            = targetEntity;
     this.TargetEntityCredentials = targetEntityCredentials;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ScriptExecutionStatus" /> class.
 /// </summary>
 /// <param name="error">error.</param>
 /// <param name="executing">Indicates if a script is executing. This is particularly useful when there is a cancellation request and Magneto crashes at that point before cleaning up the running script..</param>
 /// <param name="exitCode">Exit code of the script..</param>
 /// <param name="state">Execution state of the script..</param>
 public ScriptExecutionStatus(ErrorProto error = default(ErrorProto), bool?executing = default(bool?), int?exitCode = default(int?), int?state = default(int?))
 {
     this.Executing = executing;
     this.ExitCode  = exitCode;
     this.State     = state;
     this.Error     = error;
     this.Executing = executing;
     this.ExitCode  = exitCode;
     this.State     = state;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DestroyMountVolumesTaskInfoProto" /> class.
 /// </summary>
 /// <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="hostName">This is the host name of the ESXi host. It is used if magneto_vmware_use_fqdn_for_guest_file_operations is set..</param>
 /// <param name="mountVolumesInfoProto">mountVolumesInfoProto.</param>
 /// <param name="slaveTaskStartTimeUsecs">This is the timestamp at which the slave task started..</param>
 /// <param name="targetEntity">targetEntity.</param>
 public DestroyMountVolumesTaskInfoProto(ErrorProto error = default(ErrorProto), bool?finished = default(bool?), string hostName = default(string), MountVolumesInfoProto mountVolumesInfoProto = default(MountVolumesInfoProto), long?slaveTaskStartTimeUsecs = default(long?), EntityProto targetEntity = default(EntityProto))
 {
     this.Finished = finished;
     this.HostName = hostName;
     this.SlaveTaskStartTimeUsecs = slaveTaskStartTimeUsecs;
     this.Error    = error;
     this.Finished = finished;
     this.HostName = hostName;
     this.MountVolumesInfoProto   = mountVolumesInfoProto;
     this.SlaveTaskStartTimeUsecs = slaveTaskStartTimeUsecs;
     this.TargetEntity            = targetEntity;
 }
 /// <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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreFilesInfoProto" /> class.
 /// </summary>
 /// <param name="downloadFilesPath">The path that the user should use to download files through the UI. If only a single file needs to be downloaded, this will be the path to that file. If a directory or multiple files &amp; directories need to be downloaded, this will be the path to the .zip file to download. Only applicable to a download files task..</param>
 /// <param name="error">error.</param>
 /// <param name="proxyEntityConnectorParams">proxyEntityConnectorParams.</param>
 /// <param name="restoreFilesResultVec">Contains the result information of the restored files..</param>
 /// <param name="slaveTaskStartTimeUsecs">This is the timestamp at which the slave task started..</param>
 /// <param name="targetType">Specifies the target type for the task. The field is only valid if the task has got a permit..</param>
 /// <param name="teardownError">teardownError.</param>
 /// <param name="type">The type of environment this restore files info pertains to..</param>
 public RestoreFilesInfoProto(string downloadFilesPath = default(string), ErrorProto error = default(ErrorProto), ConnectorParams proxyEntityConnectorParams = default(ConnectorParams), List <RestoreFileResultInfo> restoreFilesResultVec = default(List <RestoreFileResultInfo>), long?slaveTaskStartTimeUsecs = default(long?), int?targetType = default(int?), ErrorProto teardownError = default(ErrorProto), int?type = default(int?))
 {
     this.DownloadFilesPath       = downloadFilesPath;
     this.RestoreFilesResultVec   = restoreFilesResultVec;
     this.SlaveTaskStartTimeUsecs = slaveTaskStartTimeUsecs;
     this.TargetType                 = targetType;
     this.Type                       = type;
     this.DownloadFilesPath          = downloadFilesPath;
     this.Error                      = error;
     this.ProxyEntityConnectorParams = proxyEntityConnectorParams;
     this.RestoreFilesResultVec      = restoreFilesResultVec;
     this.SlaveTaskStartTimeUsecs    = slaveTaskStartTimeUsecs;
     this.TargetType                 = targetType;
     this.TeardownError              = teardownError;
     this.Type                       = type;
 }
 /// <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;
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RetrieveArchiveInfo" /> class.
 /// </summary>
 /// <param name="avgLogicalTransferRateBps">Average logical bytes transfer rate in bytes per second as seen by Icebox..</param>
 /// <param name="bytesTransferred">Number of physical bytes transferred for this retrieval task so far..</param>
 /// <param name="endTimeUsecs">Time when this retrieval task ended at Icebox side. If not set, then the retrieval has not ended yet..</param>
 /// <param name="error">error.</param>
 /// <param name="logicalBytesTransferred">Number of logical bytes transferred so far..</param>
 /// <param name="logicalSizeBytes">Total logical size of the retrieval task..</param>
 /// <param name="progressMonitorTaskPath">The root path of the progress monitor for this task..</param>
 /// <param name="retrievedEntityVec">Contains info about all retrieved entities..</param>
 /// <param name="startTimeUsecs">Time when this retrieval task was started by Icebox. If not set, then retrieval has not been started yet..</param>
 /// <param name="stubViewName">The stub view that Icebox created. Stub view can be used for selectively restoring or accessing files from an archive location..</param>
 /// <param name="stubViewRelativeDirName">Relative directory inside the stub view that corresponds with the archive..</param>
 /// <param name="targetViewName">The name of the target view where Icebox has retrieved and staged the requested entities..</param>
 /// <param name="userActionRequiredMsg">Message to display in the UI if any manual intervention is needed to make forward progress for the retrieve from archive task. This message is mainly relevant for tape based retrieve from archive tasks where a backup admin might be asked to load new media when the tape library does not have the relevant media to retrieve the archive from..</param>
 public RetrieveArchiveInfo(long?avgLogicalTransferRateBps = default(long?), long?bytesTransferred = default(long?), long?endTimeUsecs = default(long?), ErrorProto error = default(ErrorProto), long?logicalBytesTransferred = default(long?), long?logicalSizeBytes = default(long?), string progressMonitorTaskPath = default(string), List <RetrieveArchiveInfoRetrievedEntity> retrievedEntityVec = default(List <RetrieveArchiveInfoRetrievedEntity>), long?startTimeUsecs = default(long?), string stubViewName = default(string), string stubViewRelativeDirName = default(string), string targetViewName = default(string), string userActionRequiredMsg = default(string))
 {
     this.AvgLogicalTransferRateBps = avgLogicalTransferRateBps;
     this.BytesTransferred          = bytesTransferred;
     this.EndTimeUsecs              = endTimeUsecs;
     this.LogicalBytesTransferred   = logicalBytesTransferred;
     this.LogicalSizeBytes          = logicalSizeBytes;
     this.ProgressMonitorTaskPath   = progressMonitorTaskPath;
     this.RetrievedEntityVec        = retrievedEntityVec;
     this.StartTimeUsecs            = startTimeUsecs;
     this.StubViewName              = stubViewName;
     this.StubViewRelativeDirName   = stubViewRelativeDirName;
     this.TargetViewName            = targetViewName;
     this.UserActionRequiredMsg     = userActionRequiredMsg;
     this.AvgLogicalTransferRateBps = avgLogicalTransferRateBps;
     this.BytesTransferred          = bytesTransferred;
     this.EndTimeUsecs              = endTimeUsecs;
     this.Error = error;
     this.LogicalBytesTransferred = logicalBytesTransferred;
     this.LogicalSizeBytes        = logicalSizeBytes;
     this.ProgressMonitorTaskPath = progressMonitorTaskPath;
     this.RetrievedEntityVec      = retrievedEntityVec;
     this.StartTimeUsecs          = startTimeUsecs;
     this.StubViewName            = stubViewName;
     this.StubViewRelativeDirName = stubViewRelativeDirName;
     this.TargetViewName          = targetViewName;
     this.UserActionRequiredMsg   = userActionRequiredMsg;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ExtractFileRangeResult" /> class.
 /// </summary>
 /// <param name="data">The actual data bytes..</param>
 /// <param name="eof">Will be true if start_offset &gt; file length or EOF is reached. This is an alternative to using file_length to determine when entire file is read. Used when fetching from a view..</param>
 /// <param name="error">error.</param>
 /// <param name="fileLength">The total length of the file. This field would be set provided no error had occurred (indicated by error field above)..</param>
 /// <param name="startOffset">The offset from which data was read..</param>
 public ExtractFileRangeResult(List <int> data = default(List <int>), bool?eof = default(bool?), ErrorProto error = default(ErrorProto), long?fileLength = default(long?), long?startOffset = default(long?))
 {
     this.Data        = data;
     this.Eof         = eof;
     this.FileLength  = fileLength;
     this.StartOffset = startOffset;
     this.Data        = data;
     this.Eof         = eof;
     this.Error       = error;
     this.FileLength  = fileLength;
     this.StartOffset = startOffset;
 }
Ejemplo n.º 11
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="ADObjectRestoreStatus" /> class.
 /// </summary>
 /// <param name="destGuid">Destination guid string of the AD object that is newly created on production AD corresponding to &#39;source_guid&#39;. If the object was restored from production AD recycle Bin, this value can be empty or set to same value as &#39;source_guid&#39;. If this value is non-empty and is different from source_guid, implying production AD object is a new object created in production AD as part of restore..</param>
 /// <param name="objectFlags">Object result flags of type ADObjectFlags..</param>
 /// <param name="propertyStatusVec">AD object attribute(property) restore status vector..</param>
 /// <param name="sourceGuid">Source guid of AD object that was restored. This will not be empty. This is populated from the source of request argument..</param>
 /// <param name="status">status.</param>
 /// <param name="timetakenMs">Time taken in milliseconds to restore the individual object or attribute update. If this object restore was part of a batch, it shows the time taken once the operation was dispatched to AD for the object. This time can be useful in answering why some objects took long time to restore. Note that this time is not the elapsed time when the request was made from Magneto..</param>
 public ADObjectRestoreStatus(string destGuid = default(string), int?objectFlags = default(int?), List <ADObjectRestoreStatusADAttributeRestoreStatus> propertyStatusVec = default(List <ADObjectRestoreStatusADAttributeRestoreStatus>), string sourceGuid = default(string), ErrorProto status = default(ErrorProto), int?timetakenMs = default(int?))
 {
     this.DestGuid          = destGuid;
     this.ObjectFlags       = objectFlags;
     this.PropertyStatusVec = propertyStatusVec;
     this.SourceGuid        = sourceGuid;
     this.TimetakenMs       = timetakenMs;
     this.DestGuid          = destGuid;
     this.ObjectFlags       = objectFlags;
     this.PropertyStatusVec = propertyStatusVec;
     this.SourceGuid        = sourceGuid;
     this.Status            = status;
     this.TimetakenMs       = timetakenMs;
 }
Ejemplo n.º 13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RetrieveArchiveInfoRetrievedEntity" /> class.
 /// </summary>
 /// <param name="bytesTransferred">Number of physical bytes transferred over wire for this entity..</param>
 /// <param name="endTimestampUsecs">Time in microseconds when retrieve of this entity finished or failed..</param>
 /// <param name="entity">entity.</param>
 /// <param name="error">error.</param>
 /// <param name="logicalBytesTransferred">Number of logical bytes transferred so far..</param>
 /// <param name="logicalSizeBytes">Total logical size of this entity..</param>
 /// <param name="progressMonitorTaskPath">The path relative to the root path of the retrieval task progress monitor of this entity progress monitor..</param>
 /// <param name="relativeSnapshotDir">The path relative to the root of the file system where the snapshot of this entity was retrieved/copied to..</param>
 /// <param name="startTimestampUsecs">Time in microseconds when retrieve of this entity started..</param>
 /// <param name="status">The retrieval status of this entity..</param>
 public RetrieveArchiveInfoRetrievedEntity(long?bytesTransferred = default(long?), long?endTimestampUsecs = default(long?), EntityProto entity = default(EntityProto), ErrorProto error = default(ErrorProto), long?logicalBytesTransferred = default(long?), long?logicalSizeBytes = default(long?), string progressMonitorTaskPath = default(string), string relativeSnapshotDir = default(string), long?startTimestampUsecs = default(long?), int?status = default(int?))
 {
     this.BytesTransferred        = bytesTransferred;
     this.EndTimestampUsecs       = endTimestampUsecs;
     this.LogicalBytesTransferred = logicalBytesTransferred;
     this.LogicalSizeBytes        = logicalSizeBytes;
     this.ProgressMonitorTaskPath = progressMonitorTaskPath;
     this.RelativeSnapshotDir     = relativeSnapshotDir;
     this.StartTimestampUsecs     = startTimestampUsecs;
     this.Status                  = status;
     this.BytesTransferred        = bytesTransferred;
     this.EndTimestampUsecs       = endTimestampUsecs;
     this.Entity                  = entity;
     this.Error                   = error;
     this.LogicalBytesTransferred = logicalBytesTransferred;
     this.LogicalSizeBytes        = logicalSizeBytes;
     this.ProgressMonitorTaskPath = progressMonitorTaskPath;
     this.RelativeSnapshotDir     = relativeSnapshotDir;
     this.StartTimestampUsecs     = startTimestampUsecs;
     this.Status                  = status;
 }
 /// <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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DestroyClonedEntityInfoProto" /> class.
 /// </summary>
 /// <param name="clonedEntity">clonedEntity.</param>
 /// <param name="clonedEntityStatus">clonedEntityStatus.</param>
 /// <param name="destroyClonedEntityState">The state of the destroy/teardown of a cloned entity (i.e, VM).  The following two fields are set by the slave in order for the master to find status of the destroy operation..</param>
 /// <param name="error">error.</param>
 /// <param name="fullViewName">The full external view name where cloned objects are placed..</param>
 /// <param name="type">The type of environment this destroy cloned entity info pertains to..</param>
 public DestroyClonedEntityInfoProto(DestroyClonedEntityInfoProtoClonedEntity clonedEntity = default(DestroyClonedEntityInfoProtoClonedEntity), int?clonedEntityStatus = default(int?), int?destroyClonedEntityState = default(int?), ErrorProto error = default(ErrorProto), string fullViewName = default(string), int?type = default(int?))
 {
     this.ClonedEntityStatus       = clonedEntityStatus;
     this.DestroyClonedEntityState = destroyClonedEntityState;
     this.FullViewName             = fullViewName;
     this.Type                     = type;
     this.ClonedEntity             = clonedEntity;
     this.ClonedEntityStatus       = clonedEntityStatus;
     this.DestroyClonedEntityState = destroyClonedEntityState;
     this.Error                    = error;
     this.FullViewName             = fullViewName;
     this.Type                     = type;
 }
Ejemplo n.º 16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CloudDeployInfoProtoCloudDeployEntity" /> class.
 /// </summary>
 /// <param name="deployedVmName">Optional name that should be used for deployed VM..</param>
 /// <param name="entity">entity.</param>
 /// <param name="error">error.</param>
 /// <param name="previousRelativeCloneDirPath">Directory where files of the entity&#39;s previous snapshot were cloned to. Path is relative to the destination view..</param>
 /// <param name="previousRelativeClonePaths">All the paths that the entity&#39;s previous snapshot files were cloned to. Each path is relative to the destination view..</param>
 /// <param name="progressMonitorTaskPath">Progress monitor task path for this entity which is relative to the root path of the cloud deploy task progress monitor..</param>
 /// <param name="publicStatus">Iris-facing task state. This field is stamped during the export..</param>
 /// <param name="relativeClonePaths">All the paths that the entity&#39;s files were cloned to. Each path is relative to the destination view..</param>
 /// <param name="status">The status of the entity..</param>
 public CloudDeployInfoProtoCloudDeployEntity(string deployedVmName = default(string), EntityProto entity = default(EntityProto), ErrorProto error = default(ErrorProto), string previousRelativeCloneDirPath = default(string), List <string> previousRelativeClonePaths = default(List <string>), string progressMonitorTaskPath = default(string), int?publicStatus = default(int?), List <string> relativeClonePaths = default(List <string>), int?status = default(int?))
 {
     this.DeployedVmName = deployedVmName;
     this.PreviousRelativeCloneDirPath = previousRelativeCloneDirPath;
     this.PreviousRelativeClonePaths   = previousRelativeClonePaths;
     this.ProgressMonitorTaskPath      = progressMonitorTaskPath;
     this.PublicStatus       = publicStatus;
     this.RelativeClonePaths = relativeClonePaths;
     this.Status             = status;
     this.DeployedVmName     = deployedVmName;
     this.Entity             = entity;
     this.Error = error;
     this.PreviousRelativeCloneDirPath = previousRelativeCloneDirPath;
     this.PreviousRelativeClonePaths   = previousRelativeClonePaths;
     this.ProgressMonitorTaskPath      = progressMonitorTaskPath;
     this.PublicStatus       = publicStatus;
     this.RelativeClonePaths = relativeClonePaths;
     this.Status             = status;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CompareADObjectsResultADAttribute" /> class.
 /// </summary>
 /// <param name="attrFlags">Object result flags of type ADAttributeFlags..</param>
 /// <param name="destValue">destValue.</param>
 /// <param name="ldapName">LDAP attribute name..</param>
 /// <param name="sameValue">sameValue.</param>
 /// <param name="sourceValue">sourceValue.</param>
 /// <param name="status">status.</param>
 public CompareADObjectsResultADAttribute(int?attrFlags = default(int?), CompareADObjectsResultADAttributeValue destValue = default(CompareADObjectsResultADAttributeValue), string ldapName = default(string), CompareADObjectsResultADAttributeValue sameValue = default(CompareADObjectsResultADAttributeValue), CompareADObjectsResultADAttributeValue sourceValue = default(CompareADObjectsResultADAttributeValue), ErrorProto status = default(ErrorProto))
 {
     this.AttrFlags   = attrFlags;
     this.LdapName    = ldapName;
     this.AttrFlags   = attrFlags;
     this.DestValue   = destValue;
     this.LdapName    = ldapName;
     this.SameValue   = sameValue;
     this.SourceValue = sourceValue;
     this.Status      = status;
 }
Ejemplo n.º 18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreTaskStateBaseProto" /> class.
 /// </summary>
 /// <param name="cancellationRequested">Whether this task has a pending cancellation request..</param>
 /// <param name="endTimeUsecs">If the restore task has finished, this field contains the end time for the task..</param>
 /// <param name="error">error.</param>
 /// <param name="name">The name of the restore task..</param>
 /// <param name="parentSourceConnectionParams">parentSourceConnectionParams.</param>
 /// <param name="publicStatus">Iris-facing task state. This field is stamped during the export..</param>
 /// <param name="refreshStatus">Status of the refresh task..</param>
 /// <param name="restoreVlanParams">restoreVlanParams.</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 for this restore task..</param>
 /// <param name="status">Status of the restore task..</param>
 /// <param name="taskId">A globally unique id for this task..</param>
 /// <param name="totalLogicalSizeBytes">Logical size of this restore task. This is the amount of data that needs to be transferred to restore the entity..</param>
 /// <param name="totalPhysicalSizeBytes">Physical size of this restore task. This is the amount of data that was actually transferred to restore the entity..</param>
 /// <param name="type">The type of restore being performed..</param>
 /// <param name="user">The user who requested this restore task..</param>
 /// <param name="userInfo">userInfo.</param>
 /// <param name="userMessages">Messages displayed to the user for this task (if any). Only valid if the status of the task is kFinished. This is used for informing the user with additional details when there is not an error..</param>
 /// <param name="warnings">The warnings encountered by this task (if any) during its execution..</param>
 public RestoreTaskStateBaseProto(bool?cancellationRequested = default(bool?), long?endTimeUsecs = default(long?), ErrorProto error = default(ErrorProto), string name = default(string), ConnectorParams parentSourceConnectionParams = default(ConnectorParams), int?publicStatus = default(int?), int?refreshStatus = default(int?), RestoreVlanParams restoreVlanParams = default(RestoreVlanParams), long?scheduledConstituentId = default(long?), long?scheduledGandalfSessionId = default(long?), long?startTimeUsecs = default(long?), int?status = default(int?), long?taskId = default(long?), long?totalLogicalSizeBytes = default(long?), long?totalPhysicalSizeBytes = default(long?), int?type = default(int?), string user = default(string), UserInformation userInfo = default(UserInformation), List <string> userMessages = default(List <string>), List <ErrorProto> warnings = default(List <ErrorProto>))
 {
     this.CancellationRequested = cancellationRequested;
     this.EndTimeUsecs          = endTimeUsecs;
     this.Name                         = name;
     this.PublicStatus                 = publicStatus;
     this.RefreshStatus                = refreshStatus;
     this.ScheduledConstituentId       = scheduledConstituentId;
     this.ScheduledGandalfSessionId    = scheduledGandalfSessionId;
     this.StartTimeUsecs               = startTimeUsecs;
     this.Status                       = status;
     this.TaskId                       = taskId;
     this.TotalLogicalSizeBytes        = totalLogicalSizeBytes;
     this.TotalPhysicalSizeBytes       = totalPhysicalSizeBytes;
     this.Type                         = type;
     this.User                         = user;
     this.UserMessages                 = userMessages;
     this.Warnings                     = warnings;
     this.CancellationRequested        = cancellationRequested;
     this.EndTimeUsecs                 = endTimeUsecs;
     this.Error                        = error;
     this.Name                         = name;
     this.ParentSourceConnectionParams = parentSourceConnectionParams;
     this.PublicStatus                 = publicStatus;
     this.RefreshStatus                = refreshStatus;
     this.RestoreVlanParams            = restoreVlanParams;
     this.ScheduledConstituentId       = scheduledConstituentId;
     this.ScheduledGandalfSessionId    = scheduledGandalfSessionId;
     this.StartTimeUsecs               = startTimeUsecs;
     this.Status                       = status;
     this.TaskId                       = taskId;
     this.TotalLogicalSizeBytes        = totalLogicalSizeBytes;
     this.TotalPhysicalSizeBytes       = totalPhysicalSizeBytes;
     this.Type                         = type;
     this.User                         = user;
     this.UserInfo                     = userInfo;
     this.UserMessages                 = userMessages;
     this.Warnings                     = warnings;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RetrieveArchiveTaskStateProto" /> class.
 /// </summary>
 /// <param name="archivalTarget">archivalTarget.</param>
 /// <param name="archiveTaskUid">archiveTaskUid.</param>
 /// <param name="backupRunStartTimeUsecs">The start time of the backup run whose corresponding archive is being retrieved. This field is just used for logging purposes..</param>
 /// <param name="cancellationRequested">Whether this retrieval task has a pending cancellation request..</param>
 /// <param name="downloadFilesInfo">downloadFilesInfo.</param>
 /// <param name="endTimeUsecs">If the retrieval task has finished, this field contains the end time for the task..</param>
 /// <param name="entityVec">Information on the exact set of objects to retrieve from archive. Even if the user wanted to retrieve all objects from the archive, this field will contain all individual leaf-level objects..</param>
 /// <param name="error">error.</param>
 /// <param name="fullViewNameDEPRECATED">The full view name (external). This is composed of a Cohesity specific prefix and the user provided view name..</param>
 /// <param name="jobUid">jobUid.</param>
 /// <param name="name">The name of the retrieval task..</param>
 /// <param name="progressMonitorTaskPath">The path of the progress monitor for this task..</param>
 /// <param name="restoreArchiveFilesInfo">restoreArchiveFilesInfo.</param>
 /// <param name="restoreTaskId">For retrieve tasks created after the 2.8 release, this will contain the id of the restore task that created this retrieve task..</param>
 /// <param name="retrievalInfo">retrievalInfo.</param>
 /// <param name="startTimeUsecs">The start time for this retrieval task..</param>
 /// <param name="status">The status of this task..</param>
 /// <param name="taskUid">taskUid.</param>
 /// <param name="user">The user who requested this retrieval task..</param>
 /// <param name="vaultRestoreParams">vaultRestoreParams.</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 this retrieval task. Retrieved snapshots of the entities will be placed in this view..</param>
 public RetrieveArchiveTaskStateProto(ArchivalTarget archivalTarget = default(ArchivalTarget), UniversalIdProto archiveTaskUid = default(UniversalIdProto), long?backupRunStartTimeUsecs = default(long?), bool?cancellationRequested = default(bool?), RetrieveArchiveTaskStateProtoDownloadFilesInfo downloadFilesInfo = default(RetrieveArchiveTaskStateProtoDownloadFilesInfo), long?endTimeUsecs = default(long?), List <EntityProto> entityVec = default(List <EntityProto>), ErrorProto error = default(ErrorProto), string fullViewNameDEPRECATED = default(string), UniversalIdProto jobUid = default(UniversalIdProto), string name = default(string), string progressMonitorTaskPath = default(string), RetrieveArchiveTaskStateProtoDownloadFilesInfo restoreArchiveFilesInfo = default(RetrieveArchiveTaskStateProtoDownloadFilesInfo), long?restoreTaskId = default(long?), RetrieveArchiveInfo retrievalInfo = default(RetrieveArchiveInfo), long?startTimeUsecs = default(long?), int?status = default(int?), UniversalIdProto taskUid = default(UniversalIdProto), string user = default(string), VaultParamsRestoreParams vaultRestoreParams = default(VaultParamsRestoreParams), long?viewBoxId = default(long?), string viewNameDEPRECATED = default(string))
 {
     this.BackupRunStartTimeUsecs = backupRunStartTimeUsecs;
     this.CancellationRequested   = cancellationRequested;
     this.EndTimeUsecs            = endTimeUsecs;
     this.EntityVec = entityVec;
     this.FullViewNameDEPRECATED = fullViewNameDEPRECATED;
     this.Name = name;
     this.ProgressMonitorTaskPath = progressMonitorTaskPath;
     this.RestoreTaskId           = restoreTaskId;
     this.StartTimeUsecs          = startTimeUsecs;
     this.Status                  = status;
     this.User                    = user;
     this.ViewBoxId               = viewBoxId;
     this.ViewNameDEPRECATED      = viewNameDEPRECATED;
     this.ArchivalTarget          = archivalTarget;
     this.ArchiveTaskUid          = archiveTaskUid;
     this.BackupRunStartTimeUsecs = backupRunStartTimeUsecs;
     this.CancellationRequested   = cancellationRequested;
     this.DownloadFilesInfo       = downloadFilesInfo;
     this.EndTimeUsecs            = endTimeUsecs;
     this.EntityVec               = entityVec;
     this.Error                   = error;
     this.FullViewNameDEPRECATED  = fullViewNameDEPRECATED;
     this.JobUid                  = jobUid;
     this.Name                    = name;
     this.ProgressMonitorTaskPath = progressMonitorTaskPath;
     this.RestoreArchiveFilesInfo = restoreArchiveFilesInfo;
     this.RestoreTaskId           = restoreTaskId;
     this.RetrievalInfo           = retrievalInfo;
     this.StartTimeUsecs          = startTimeUsecs;
     this.Status                  = status;
     this.TaskUid                 = taskUid;
     this.User                    = user;
     this.VaultRestoreParams      = vaultRestoreParams;
     this.ViewBoxId               = viewBoxId;
     this.ViewNameDEPRECATED      = viewNameDEPRECATED;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RecoverVolumesTaskStateProtoTaskResult" /> class.
 /// </summary>
 /// <param name="dstGuid">Volume GUID for the Target Entity (phy host)..</param>
 /// <param name="error">error.</param>
 /// <param name="progressMonitorTaskPath">The path relative to the root path of the restore task progress monitor..</param>
 public RecoverVolumesTaskStateProtoTaskResult(string dstGuid = default(string), ErrorProto error = default(ErrorProto), string progressMonitorTaskPath = default(string))
 {
     this.DstGuid = dstGuid;
     this.ProgressMonitorTaskPath = progressMonitorTaskPath;
     this.DstGuid = dstGuid;
     this.Error   = error;
     this.ProgressMonitorTaskPath = progressMonitorTaskPath;
 }
Ejemplo n.º 21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CompareADObjectsResultADObject" /> class.
 /// </summary>
 /// <param name="attributeVec">Array of AD attributes of AD object. This will contain distinct attributes from source and destination objects..</param>
 /// <param name="destGuid">Object guid from dest_server. If empty, compare could not find an AD object corresponding to &#39;source_guid&#39; even after looking up based on source_guid, source DN or source SAM account name. The SAM is applicable only for account type objects..</param>
 /// <param name="destPropCount">Number of attributes in destination object including system properties compared. This count is useful for debugging..</param>
 /// <param name="excludedPropCount">Number of attributes not compared due to ADCompareOptionFlags.kExcludeSysProps. This count is useful for debugging..</param>
 /// <param name="mismatchPropCount">Number of AD attributes compared based on &#39;ADCompareOptionFlagsType&#39; flags and found to be mismatched. If this is non-zero, compared objects are different. If this is 0 ann&#39;dest_guid&#39; is empty, then object is missing..</param>
 /// <param name="objectFlags">Object result flags of type ADObjectFlags..</param>
 /// <param name="sourceGuid">Object guid from $SourceServer. Guid string with or without &#39;{}&#39; braces..</param>
 /// <param name="sourcePropCount">Number of attributes in source object including system properties compared. This count is useful for debugging..</param>
 /// <param name="status">status.</param>
 public CompareADObjectsResultADObject(List <CompareADObjectsResultADAttribute> attributeVec = default(List <CompareADObjectsResultADAttribute>), string destGuid = default(string), int?destPropCount = default(int?), int?excludedPropCount = default(int?), int?mismatchPropCount = default(int?), int?objectFlags = default(int?), string sourceGuid = default(string), int?sourcePropCount = default(int?), ErrorProto status = default(ErrorProto))
 {
     this.AttributeVec      = attributeVec;
     this.DestGuid          = destGuid;
     this.DestPropCount     = destPropCount;
     this.ExcludedPropCount = excludedPropCount;
     this.MismatchPropCount = mismatchPropCount;
     this.ObjectFlags       = objectFlags;
     this.SourceGuid        = sourceGuid;
     this.SourcePropCount   = sourcePropCount;
     this.AttributeVec      = attributeVec;
     this.DestGuid          = destGuid;
     this.DestPropCount     = destPropCount;
     this.ExcludedPropCount = excludedPropCount;
     this.MismatchPropCount = mismatchPropCount;
     this.ObjectFlags       = objectFlags;
     this.SourceGuid        = sourceGuid;
     this.SourcePropCount   = sourcePropCount;
     this.Status            = status;
 }
Ejemplo n.º 22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetMRJarUploadPathResult" /> class.
 /// </summary>
 /// <param name="error">error.</param>
 /// <param name="jarUploadPath">Path where Jars can be uploaded by Iris..</param>
 public GetMRJarUploadPathResult(ErrorProto error = default(ErrorProto), string jarUploadPath = default(string))
 {
     this.JarUploadPath = jarUploadPath;
     this.Error         = error;
     this.JarUploadPath = jarUploadPath;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreInfoProtoRestoreEntity" /> class.
 /// </summary>
 /// <param name="entity">entity.</param>
 /// <param name="error">error.</param>
 /// <param name="progressMonitorTaskPath">The path relative to the root path of the restore task progress monitor of the progress monitor for this entity..</param>
 /// <param name="publicStatus">Iris-facing task state. This field is stamped during the export..</param>
 /// <param name="relativeRestorePaths">All the paths that the entity&#39;s files were restored to. Each path is relative to the destination view..</param>
 /// <param name="resourcePoolEntity">resourcePoolEntity.</param>
 /// <param name="restoredEntity">restoredEntity.</param>
 /// <param name="status">The restore status of the entity..</param>
 /// <param name="warnings">Optional warnings if any..</param>
 public RestoreInfoProtoRestoreEntity(EntityProto entity = default(EntityProto), ErrorProto error = default(ErrorProto), string progressMonitorTaskPath = default(string), int?publicStatus = default(int?), List <string> relativeRestorePaths = default(List <string>), EntityProto resourcePoolEntity = default(EntityProto), EntityProto restoredEntity = default(EntityProto), int?status = default(int?), List <ErrorProto> warnings = default(List <ErrorProto>))
 {
     this.ProgressMonitorTaskPath = progressMonitorTaskPath;
     this.PublicStatus            = publicStatus;
     this.RelativeRestorePaths    = relativeRestorePaths;
     this.Status   = status;
     this.Warnings = warnings;
     this.Entity   = entity;
     this.Error    = error;
     this.ProgressMonitorTaskPath = progressMonitorTaskPath;
     this.PublicStatus            = publicStatus;
     this.RelativeRestorePaths    = relativeRestorePaths;
     this.ResourcePoolEntity      = resourcePoolEntity;
     this.RestoredEntity          = restoredEntity;
     this.Status   = status;
     this.Warnings = warnings;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="KillMapReduceInstanceResult" /> class.
 /// </summary>
 /// <param name="error">error.</param>
 public KillMapReduceInstanceResult(ErrorProto error = default(ErrorProto))
 {
     this.Error = error;
 }
Ejemplo n.º 25
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreFileResultInfo" /> class.
 /// </summary>
 /// <param name="copyStats">copyStats.</param>
 /// <param name="destinationDir">This is set to the destination directory where the file/directory was copied..</param>
 /// <param name="error">error.</param>
 /// <param name="restoredFileInfo">restoredFileInfo.</param>
 /// <param name="status">Status of the restore..</param>
 public RestoreFileResultInfo(RestoreFileCopyStats copyStats = default(RestoreFileCopyStats), string destinationDir = default(string), ErrorProto error = default(ErrorProto), RestoredFileInfo restoredFileInfo = default(RestoredFileInfo), int?status = default(int?))
 {
     this.DestinationDir   = destinationDir;
     this.Status           = status;
     this.CopyStats        = copyStats;
     this.DestinationDir   = destinationDir;
     this.Error            = error;
     this.RestoredFileInfo = restoredFileInfo;
     this.Status           = status;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RunMapReduceInstanceResult" /> class.
 /// </summary>
 /// <param name="error">error.</param>
 /// <param name="mapReduceInstanceId">Return the ID of instance..</param>
 public RunMapReduceInstanceResult(ErrorProto error = default(ErrorProto), long?mapReduceInstanceId = default(long?))
 {
     this.MapReduceInstanceId = mapReduceInstanceId;
     this.Error = error;
     this.MapReduceInstanceId = mapReduceInstanceId;
 }