Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataMigrationJobParameters" /> class.
 /// </summary>
 /// <param name="coldFileWindow">Identifies the cold files in the NAS source. Files that haven&#39;t been accessed/modified in the last cold_file_window are migrated..</param>
 /// <param name="filePathFilter">filePathFilter.</param>
 /// <param name="fileSelectionPolicy">Specifies policy to select a file to migrate based on its creation, last access or modification time. eg. A file can be selected to migrate if it has not been accessed/modified in the ColdFileWindow. enum: kOlderThan, kLastAccessed, kLastModified. Specifies policy for file seletion in data migration jobs based on time. &#39;kOlderThan&#39;: Migrate the files that are older than cold file window. &#39;kLastAccessed&#39;: Migrate the files thar are not accessed in cold file window. &#39;kLastModified&#39;: Migrate the files that have not been modified in cold file window..</param>
 /// <param name="fileSizeBytes">Gives the size criteria to be used for selecting the files to be migrated in bytes. The cold files that are equal and greater than this size are migrated..</param>
 /// <param name="fileSizePolicy">Specifies policy to select a file to migrate based on its size. eg. A file can be selected to migrate if its size is greater than or smaller than the FileSizeBytes. enum: kGreaterThan, kSmallerThan. Specifies policy for file seletion in data migration jobs based on file size. &#39;kGreaterThan&#39;: Migrate the files whose size are greater than specified file size. &#39;kSmallerThan&#39;: Migrate the files whose size are smaller than specified file size..</param>
 /// <param name="targetViewName">The target view name to which the data will be migrated..</param>
 public DataMigrationJobParameters(long?coldFileWindow = default(long?), FilePathFilter filePathFilter = default(FilePathFilter), FileSelectionPolicyEnum?fileSelectionPolicy = default(FileSelectionPolicyEnum?), long?fileSizeBytes = default(long?), FileSizePolicyEnum?fileSizePolicy = default(FileSizePolicyEnum?), string targetViewName = default(string))
 {
     this.ColdFileWindow      = coldFileWindow;
     this.FileSelectionPolicy = fileSelectionPolicy;
     this.FileSizeBytes       = fileSizeBytes;
     this.FileSizePolicy      = fileSizePolicy;
     this.TargetViewName      = targetViewName;
     this.ColdFileWindow      = coldFileWindow;
     this.FilePathFilter      = filePathFilter;
     this.FileSelectionPolicy = fileSelectionPolicy;
     this.FileSizeBytes       = fileSizeBytes;
     this.FileSizePolicy      = fileSizePolicy;
     this.TargetViewName      = targetViewName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DataMigrationJobParameters" /> class.
 /// </summary>
 /// <param name="coldFileWindow">Identifies the cold files in the NAS source. Files that haven&#39;t been accessed/modified in the last cold_file_window are migrated..</param>
 /// <param name="deleteOrphanData">Delete migrated data if no symlink at source is pointing to it..</param>
 /// <param name="filePathFilter">filePathFilter.</param>
 /// <param name="fileSelectionPolicy">Specifies policy to select a file to migrate based on its creation, last access or modification time. eg. A file can be selected to migrate if it has not been accessed/modified in the ColdFileWindow. enum: kOlderThan, kLastAccessed, kLastModified. Specifies policy for file selection in data migration jobs based on time. &#39;kOlderThan&#39;: Migrate the files that are older than cold file window. &#39;kLastAccessed&#39;: Migrate the files that are not accessed in cold file window. &#39;kLastModified&#39;: Migrate the files that have not been modified in cold file window..</param>
 /// <param name="fileSizeBytes">Gives the size criteria to be used for selecting the files to be migrated in bytes. The cold files that are equal and greater than this size are migrated..</param>
 /// <param name="fileSizePolicy">Specifies policy to select a file to migrate based on its size. eg. A file can be selected to migrate if its size is greater than or smaller than the FileSizeBytes. enum: kGreaterThan, kSmallerThan. Specifies policy for file selection in data migration jobs based on file size. &#39;kGreaterThan&#39;: Migrate the files whose size are greater than specified file size. &#39;kSmallerThan&#39;: Migrate the files whose size are smaller than specified file size..</param>
 /// <param name="migrateWithoutStub">Specifies if data is to be migrated without stub..</param>
 /// <param name="nfsMountPath">Mount path where the target view must be mounted on all NFS clients for accessing the migrated data..</param>
 /// <param name="targetViewName">The target view name to which the data will be migrated..</param>
 public DataMigrationJobParameters(long?coldFileWindow = default(long?), bool?deleteOrphanData = default(bool?), FilePathFilter filePathFilter = default(FilePathFilter), FileSelectionPolicyEnum?fileSelectionPolicy = default(FileSelectionPolicyEnum?), long?fileSizeBytes = default(long?), FileSizePolicyEnum?fileSizePolicy = default(FileSizePolicyEnum?), bool?migrateWithoutStub = default(bool?), string nfsMountPath = default(string), string targetViewName = default(string))
 {
     this.ColdFileWindow      = coldFileWindow;
     this.DeleteOrphanData    = deleteOrphanData;
     this.FileSelectionPolicy = fileSelectionPolicy;
     this.FileSizeBytes       = fileSizeBytes;
     this.FileSizePolicy      = fileSizePolicy;
     this.MigrateWithoutStub  = migrateWithoutStub;
     this.NfsMountPath        = nfsMountPath;
     this.TargetViewName      = targetViewName;
     this.ColdFileWindow      = coldFileWindow;
     this.DeleteOrphanData    = deleteOrphanData;
     this.FilePathFilter      = filePathFilter;
     this.FileSelectionPolicy = fileSelectionPolicy;
     this.FileSizeBytes       = fileSizeBytes;
     this.FileSizePolicy      = fileSizePolicy;
     this.MigrateWithoutStub  = migrateWithoutStub;
     this.NfsMountPath        = nfsMountPath;
     this.TargetViewName      = targetViewName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="NasEnvJobParameters" /> class.
 /// </summary>
 /// <param name="continueOnError">Specifies if the backup should continue on with other Protection Sources even if the backup operation of some Protection Source fails. If true, the Cohesity Cluster ignores the errors and continues with remaining Protection Sources in the job. If false, the backup operation stops when an error occurs. This does not apply to non-snapshot based generic NAS backup jobs. If not set, default value is true..</param>
 /// <param name="dataMigrationJobParameters">dataMigrationJobParameters.</param>
 /// <param name="enableFasterIncrementalBackups">Specifies whether this job will enable faster incremental backups using change list or similar APIs.</param>
 /// <param name="filePathFilters">filePathFilters.</param>
 /// <param name="nasProtocol">Specifies the preferred protocol to use for backup. This does not apply to generic NAS and will be ignored. Specifies the protocol used by a NAS server. &#39;kNfs3&#39; indicates NFS v3 protocol. &#39;kCifs1&#39; indicates CIFS v1.0 protocol..</param>
 public NasEnvJobParameters(bool?continueOnError = default(bool?), DataMigrationJobParameters dataMigrationJobParameters = default(DataMigrationJobParameters), bool?enableFasterIncrementalBackups = default(bool?), FilePathFilter filePathFilters = default(FilePathFilter), NasProtocolEnum?nasProtocol = default(NasProtocolEnum?))
 {
     this.ContinueOnError = continueOnError;
     this.EnableFasterIncrementalBackups = enableFasterIncrementalBackups;
     this.NasProtocol                    = nasProtocol;
     this.ContinueOnError                = continueOnError;
     this.DataMigrationJobParameters     = dataMigrationJobParameters;
     this.EnableFasterIncrementalBackups = enableFasterIncrementalBackups;
     this.FilePathFilters                = filePathFilters;
     this.NasProtocol                    = nasProtocol;
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OutlookEnvJobParameters" /> class.
 /// </summary>
 /// <param name="filePathFilter">filePathFilter.</param>
 /// <param name="shouldBackupMailbox">Specifies whether mailbox of each Office365 Users/Groups within the job, should be backed up or not..</param>
 public OutlookEnvJobParameters(FilePathFilter filePathFilter = default(FilePathFilter), bool?shouldBackupMailbox = default(bool?))
 {
     this.ShouldBackupMailbox = shouldBackupMailbox;
     this.FilePathFilter      = filePathFilter;
     this.ShouldBackupMailbox = shouldBackupMailbox;
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OutlookEnvJobParameters" /> class.
 /// </summary>
 /// <param name="filePathFilter">filePathFilter.</param>
 public OutlookEnvJobParameters(FilePathFilter filePathFilter = default(FilePathFilter))
 {
     this.FilePathFilter = filePathFilter;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="OneDriveEnvJobParameters" /> class.
 /// </summary>
 /// <param name="filePathFilter">filePathFilter.</param>
 /// <param name="shouldBackupOnedrive">Specifies whether OneDrive(s) of each Office365 Users/Groups within the job, should be backed up or not..</param>
 public OneDriveEnvJobParameters(FilePathFilter filePathFilter = default(FilePathFilter), bool?shouldBackupOnedrive = default(bool?))
 {
     this.ShouldBackupOnedrive = shouldBackupOnedrive;
     this.FilePathFilter       = filePathFilter;
     this.ShouldBackupOnedrive = shouldBackupOnedrive;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PhysicalEnvJobParameters" /> class.
 /// </summary>
 /// <param name="filePathFilters">filePathFilters.</param>
 /// <param name="incrementalSnapshotUponRestart">If true, performs an incremental backup after server restarts. Otherwise a full backup is done. NOTE: This is applicable only to Windows servers. If not set, default value is false..</param>
 public PhysicalEnvJobParameters(FilePathFilter filePathFilters = default(FilePathFilter), bool?incrementalSnapshotUponRestart = default(bool?))
 {
     this.IncrementalSnapshotUponRestart = incrementalSnapshotUponRestart;
     this.FilePathFilters = filePathFilters;
     this.IncrementalSnapshotUponRestart = incrementalSnapshotUponRestart;
 }