/// <summary> /// Initializes a new instance of the <see cref="CBTbasedJobPolicy_" /> class. /// </summary> /// <param name="continuousSchedule">continuousSchedule.</param> /// <param name="dailySchedule">dailySchedule.</param> /// <param name="monthlySchedule">monthlySchedule.</param> /// <param name="periodicity">Specifies how often to start new Job Runs of a Protection Job. 'kDaily' means new Job Runs start daily. 'kMonthly' means new Job Runs start monthly. 'kContinuous' means new Job Runs repetitively start at the beginning of the specified time interval (in hours or minutes). 'kOneOff' means this is an additional schedule..</param> public CBTbasedJobPolicy_(ContinuousSchedule_ continuousSchedule = default(ContinuousSchedule_), DailyWeeklySchedule_ dailySchedule = default(DailyWeeklySchedule_), MonthlySchedule_ monthlySchedule = default(MonthlySchedule_), PeriodicityEnum?periodicity = default(PeriodicityEnum?)) { this.ContinuousSchedule = continuousSchedule; this.DailySchedule = dailySchedule; this.MonthlySchedule = monthlySchedule; this.Periodicity = periodicity; }
/// <summary> /// Initializes a new instance of the <see cref="SnapshotArchivalCopyPolicy" /> class. /// </summary> /// <param name="copyPartial">Specifies if Snapshots are copied from the first completely successful Job Run or the first partially successful Job Run occurring at the start of the replication schedule. If true, Snapshots are copied from the first Job Run occurring at the start of the replication schedule, even if first Job Run was not completely successful i.e. Snapshots were not captured for all Objects in the Job. If false, Snapshots are copied from the first Job Run occurring at the start of the replication schedule that was completely successful i.e. Snapshots for all the Objects in the Job were successfully captured..</param> /// <param name="daysToKeep">Specifies the number of days to retain copied Snapshots on the target..</param> /// <param name="multiplier">Specifies a factor to multiply the periodicity by, to determine the copy schedule. For example if set to 2 and the periodicity is hourly, then Snapshots from the first eligible Job Run for every 2 hour period is copied..</param> /// <param name="periodicity">Specifies the frequency that Snapshots should be copied to the specified target. Used in combination with multipiler. 'kEvery' means that the Snapshot copy occurs after the number of Job Runs equals the number specified in the multiplier. 'kHour' means that the Snapshot copy occurs hourly at the frequency set in the multiplier, for example if multiplier is 2, the copy occurs every 2 hours. 'kDay' means that the Snapshot copy occurs daily at the frequency set in the multiplier. 'kWeek' means that the Snapshot copy occurs weekly at the frequency set in the multiplier. 'kMonth' means that the Snapshot copy occurs monthly at the frequency set in the multiplier. 'kYear' means that the Snapshot copy occurs yearly at the frequency set in the multiplier..</param> /// <param name="target">target.</param> public SnapshotArchivalCopyPolicy(bool?copyPartial = default(bool?), long?daysToKeep = default(long?), int?multiplier = default(int?), PeriodicityEnum?periodicity = default(PeriodicityEnum?), ArchivalTarget1 target = default(ArchivalTarget1)) { this.CopyPartial = copyPartial; this.DaysToKeep = daysToKeep; this.Multiplier = multiplier; this.Periodicity = periodicity; this.Target = target; }
/// <summary> /// Initializes a new instance of the <see cref="SnapshotReplicationCopyPolicy" /> class. /// </summary> /// <param name="copyPartial">Specifies if Snapshots are copied from the first completely successful Job Run or the first partially successful Job Run occurring at the start of the replication schedule. If true, Snapshots are copied from the first Job Run occurring at the start of the replication schedule, even if first Job Run was not completely successful i.e. Snapshots were not captured for all Objects in the Job. If false, Snapshots are copied from the first Job Run occurring at the start of the replication schedule that was completely successful i.e. Snapshots for all the Objects in the Job were successfully captured..</param> /// <param name="daysToKeep">Specifies the number of days to retain copied Snapshots on the target..</param> /// <param name="multiplier">Specifies a factor to multiply the periodicity by, to determine the copy schedule. For example if set to 2 and the periodicity is hourly, then Snapshots from the first eligible Job Run for every 2 hour period is copied..</param> /// <param name="periodicity">Specifies the frequency that Snapshots should be copied to the specified target. Used in combination with multipiler. 'kEvery' means that the Snapshot copy occurs after the number of Job Runs equals the number specified in the multiplier. 'kHour' means that the Snapshot copy occurs hourly at the frequency set in the multiplier, for example if multiplier is 2, the copy occurs every 2 hours. 'kDay' means that the Snapshot copy occurs daily at the frequency set in the multiplier. 'kWeek' means that the Snapshot copy occurs weekly at the frequency set in the multiplier. 'kMonth' means that the Snapshot copy occurs monthly at the frequency set in the multiplier. 'kYear' means that the Snapshot copy occurs yearly at the frequency set in the multiplier..</param> /// <param name="target">target.</param> public SnapshotReplicationCopyPolicy(bool?copyPartial = default(bool?), long?daysToKeep = default(long?), int?multiplier = default(int?), PeriodicityEnum?periodicity = default(PeriodicityEnum?), ReplicationTarget_ target = default(ReplicationTarget_)) { this.CopyPartial = copyPartial; this.DaysToKeep = daysToKeep; this.Multiplier = multiplier; this.Periodicity = periodicity; this.Target = target; }
/// <summary> /// Initializes a new instance of the <see cref="SnapshotCloudCopyPolicy" /> class. /// </summary> /// <param name="copyPartial">Specifies if Snapshots are copied from the first completely successful Job Run or the first partially successful Job Run occurring at the start of the replication schedule. If true, Snapshots are copied from the first Job Run occurring at the start of the replication schedule, even if first Job Run was not completely successful i.e. Snapshots were not captured for all Objects in the Job. If false, Snapshots are copied from the first Job Run occurring at the start of the replication schedule that was completely successful i.e. Snapshots for all the Objects in the Job were successfully captured..</param> /// <param name="daysToKeep">Specifies the number of days to retain copied Snapshots on the target..</param> /// <param name="multiplier">Specifies a factor to multiply the periodicity by, to determine the copy schedule. For example if set to 2 and the periodicity is hourly, then Snapshots from the first eligible Job Run for every 2 hour period is copied..</param> /// <param name="periodicity">Specifies the frequency that Snapshots should be copied to the specified target. Used in combination with multipiler. 'kEvery' means that the Snapshot copy occurs after the number of Job Runs equals the number specified in the multiplier. 'kHour' means that the Snapshot copy occurs hourly at the frequency set in the multiplier, for example if multiplier is 2, the copy occurs every 2 hours. 'kDay' means that the Snapshot copy occurs daily at the frequency set in the multiplier. 'kWeek' means that the Snapshot copy occurs weekly at the frequency set in the multiplier. 'kMonth' means that the Snapshot copy occurs monthly at the frequency set in the multiplier. 'kYear' means that the Snapshot copy occurs yearly at the frequency set in the multiplier..</param> /// <param name="target">Specifies the details about CloudDeploy target where backup snapshots may be converted and stored..</param> public SnapshotCloudCopyPolicy(bool?copyPartial = default(bool?), long?daysToKeep = default(long?), int?multiplier = default(int?), PeriodicityEnum?periodicity = default(PeriodicityEnum?), CloudDeployTarget target = default(CloudDeployTarget)) { this.CopyPartial = copyPartial; this.DaysToKeep = daysToKeep; this.Multiplier = multiplier; this.Periodicity = periodicity; this.Target = target; }
/// <summary> /// Initializes a new instance of the <see cref="ExtendedRetentionPolicy" /> class. /// </summary> /// <param name="backupRunType">The backup run type to which this extended retention applies to. If this is not set, the extended retention will be applicable to all non-log backup types. Currently, the only value that can be set here is kFull. 'kRegular' indicates a incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. 'kFull' indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. 'kLog' indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. 'kSystem' indicates a system backup. System backups are used to do bare metal recovery of the system to a specific point in time..</param> /// <param name="daysToKeep">Specifies the number of days to retain copied Snapshots on the target..</param> /// <param name="multiplier">Specifies a factor to multiply the periodicity by, to determine the copy schedule. For example if set to 2 and the periodicity is hourly, then Snapshots from the first eligible Job Run for every 2 hour period is copied..</param> /// <param name="periodicity">Specifies the frequency that Snapshots should be copied to the specified target. Used in combination with multipiler. 'kEvery' means that the Snapshot copy occurs after the number of Job Runs equals the number specified in the multiplier. 'kHour' means that the Snapshot copy occurs hourly at the frequency set in the multiplier, for example if multiplier is 2, the copy occurs every 2 hours. 'kDay' means that the Snapshot copy occurs daily at the frequency set in the multiplier. 'kWeek' means that the Snapshot copy occurs weekly at the frequency set in the multiplier. 'kMonth' means that the Snapshot copy occurs monthly at the frequency set in the multiplier. 'kYear' means that the Snapshot copy occurs yearly at the frequency set in the multiplier..</param> public ExtendedRetentionPolicy(BackupRunTypeEnum?backupRunType = default(BackupRunTypeEnum?), long?daysToKeep = default(long?), int?multiplier = default(int?), PeriodicityEnum?periodicity = default(PeriodicityEnum?)) { this.BackupRunType = backupRunType; this.DaysToKeep = daysToKeep; this.Multiplier = multiplier; this.Periodicity = periodicity; this.BackupRunType = backupRunType; this.DaysToKeep = daysToKeep; this.Multiplier = multiplier; this.Periodicity = periodicity; }
/// <summary> /// Initializes a new instance of the <see cref="SchedulingPolicy" /> class. /// </summary> /// <param name="continuousSchedule">Specifies the time interval between two Job Runs of a continuous backup schedule and any blackout periods when new Job Runs should NOT be started. Set if periodicity is kContinuous..</param> /// <param name="dailySchedule">Specifies a daily or weekly backup schedule. Set if periodicity is kDaily..</param> /// <param name="monthlySchedule">Specifies a monthly backup schedule. Set if periodicity is kMonthly..</param> /// <param name="periodicity">Specifies how often to start new Job Runs of a Protection Job. 'kDaily' means new Job Runs start daily. 'kMonthly' means new Job Runs start monthly. 'kContinuous' means new Job Runs repetitively start at the beginning of the specified time interval (in hours or minutes). 'kContinuousRPO' means this is an RPO schedule..</param> /// <param name="rpoSchedule">Specifies an RPO backup schedule. Set if periodicity is kContinuousRPO..</param> public SchedulingPolicy(ContinuousSchedule continuousSchedule = default(ContinuousSchedule), DailySchedule dailySchedule = default(DailySchedule), MonthlySchedule monthlySchedule = default(MonthlySchedule), PeriodicityEnum?periodicity = default(PeriodicityEnum?), RpoSchedule rpoSchedule = default(RpoSchedule)) { this.ContinuousSchedule = continuousSchedule; this.DailySchedule = dailySchedule; this.MonthlySchedule = monthlySchedule; this.Periodicity = periodicity; this.RpoSchedule = rpoSchedule; this.ContinuousSchedule = continuousSchedule; this.DailySchedule = dailySchedule; this.MonthlySchedule = monthlySchedule; this.Periodicity = periodicity; this.RpoSchedule = rpoSchedule; }
/// <summary> /// Initializes a new instance of the <see cref="SnapshotReplicationCopyPolicy" /> class. /// </summary> /// <param name="id">Specified the Id for a snapshot copy policy. This is generated when the policy is created..</param> /// <param name="cloudTarget">cloudTarget.</param> /// <param name="copyPartial">Specifies if Snapshots are copied from the first completely successful Job Run or the first partially successful Job Run occurring at the start of the replication schedule. If true, Snapshots are copied from the first Job Run occurring at the start of the replication schedule, even if first Job Run was not completely successful i.e. Snapshots were not captured for all Objects in the Job. If false, Snapshots are copied from the first Job Run occurring at the start of the replication schedule that was completely successful i.e. Snapshots for all the Objects in the Job were successfully captured..</param> /// <param name="daysToKeep">Specifies the number of days to retain copied Snapshots on the target..</param> /// <param name="multiplier">Specifies a factor to multiply the periodicity by, to determine the copy schedule. For example if set to 2 and the periodicity is hourly, then Snapshots from the first eligible Job Run for every 2 hour period is copied..</param> /// <param name="periodicity">Specifies the frequency that Snapshots should be copied to the specified target. Used in combination with multiplier. 'kEvery' means that the Snapshot copy occurs after the number of Job Runs equals the number specified in the multiplier. 'kHour' means that the Snapshot copy occurs hourly at the frequency set in the multiplier, for example if multiplier is 2, the copy occurs every 2 hours. 'kDay' means that the Snapshot copy occurs daily at the frequency set in the multiplier. 'kWeek' means that the Snapshot copy occurs weekly at the frequency set in the multiplier. 'kMonth' means that the Snapshot copy occurs monthly at the frequency set in the multiplier. 'kYear' means that the Snapshot copy occurs yearly at the frequency set in the multiplier..</param> /// <param name="target">Specifies the replication target to copy the Snapshots to..</param> public SnapshotReplicationCopyPolicy(string id = default(string), CloudDeployTargetDetails cloudTarget = default(CloudDeployTargetDetails), bool?copyPartial = default(bool?), long?daysToKeep = default(long?), int?multiplier = default(int?), PeriodicityEnum?periodicity = default(PeriodicityEnum?), ReplicationTargetSettings target = default(ReplicationTargetSettings)) { this.Id = id; this.CopyPartial = copyPartial; this.DaysToKeep = daysToKeep; this.Multiplier = multiplier; this.Periodicity = periodicity; this.Target = target; this.Id = id; this.CloudTarget = cloudTarget; this.CopyPartial = copyPartial; this.DaysToKeep = daysToKeep; this.Multiplier = multiplier; this.Periodicity = periodicity; this.Target = target; }
/// <summary> /// Initializes a new instance of the <see cref="ExtendedRetentionPolicy" /> class. /// </summary> /// <param name="daysToKeep">Specifies the number of days to retain copied Snapshots on the target..</param> /// <param name="multiplier">Specifies a factor to multiply the periodicity by, to determine the copy schedule. For example if set to 2 and the periodicity is hourly, then Snapshots from the first eligible Job Run for every 2 hour period is copied..</param> /// <param name="periodicity">Specifies the frequency that Snapshots should be copied to the specified target. Used in combination with multipiler. 'kEvery' means that the Snapshot copy occurs after the number of Job Runs equals the number specified in the multiplier. 'kHour' means that the Snapshot copy occurs hourly at the frequency set in the multiplier, for example if multiplier is 2, the copy occurs every 2 hours. 'kDay' means that the Snapshot copy occurs daily at the frequency set in the multiplier. 'kWeek' means that the Snapshot copy occurs weekly at the frequency set in the multiplier. 'kMonth' means that the Snapshot copy occurs monthly at the frequency set in the multiplier. 'kYear' means that the Snapshot copy occurs yearly at the frequency set in the multiplier..</param> public ExtendedRetentionPolicy(long?daysToKeep = default(long?), int?multiplier = default(int?), PeriodicityEnum?periodicity = default(PeriodicityEnum?)) { this.DaysToKeep = daysToKeep; this.Multiplier = multiplier; this.Periodicity = periodicity; }