/// <summary> /// Initializes a new instance of the SourceLifeCycle class. /// </summary> public SourceLifeCycle(DeleteOption deleteAfter, DataStoreInfoBase sourceDataStore, IList <TargetCopySetting> targetDataStoreCopySettings = default(IList <TargetCopySetting>)) { DeleteAfter = deleteAfter; SourceDataStore = sourceDataStore; TargetDataStoreCopySettings = targetDataStoreCopySettings; CustomInit(); }
/// <summary> /// Initializes a new instance of the AzureBackupRule class. /// </summary> public AzureBackupRule(string name, DataStoreInfoBase dataStore, TriggerContext trigger, BackupParameters backupParameters = default(BackupParameters)) : base(name) { BackupParameters = backupParameters; DataStore = dataStore; Trigger = trigger; CustomInit(); }
/// <summary> /// Initializes a new instance of the TargetCopySetting class. /// </summary> /// <param name="copyAfter">It can be CustomCopyOption or /// ImmediateCopyOption.</param> /// <param name="dataStore">Info of target datastore</param> public TargetCopySetting(CopyOption copyAfter, DataStoreInfoBase dataStore) { CopyAfter = copyAfter; DataStore = dataStore; CustomInit(); }