generated/api/Models/PlanSchedule.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415) // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Commvault.Powershell.Models { using static Commvault.Powershell.Runtime.Extensions; /// <summary>Used to describe single plan schedule information</summary> public partial class PlanSchedule : Commvault.Powershell.Models.IPlanSchedule, Commvault.Powershell.Models.IPlanScheduleInternal { /// <summary>Backing field for <see cref="BackupType" /> property.</summary> private string _backupType; /// <summary>Schedule Backup level</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string BackupType { get => this._backupType; set => this._backupType = value; } /// <summary>Internal Acessors for ScheduleOption</summary> Commvault.Powershell.Models.IScheduleOption Commvault.Powershell.Models.IPlanScheduleInternal.ScheduleOption { get => (this._scheduleOption = this._scheduleOption ?? new Commvault.Powershell.Models.ScheduleOption()); set { {_scheduleOption = value;} } } /// <summary>Internal Acessors for SchedulePattern</summary> Commvault.Powershell.Models.ISchedulePattern Commvault.Powershell.Models.IPlanScheduleInternal.SchedulePattern { get => (this._schedulePattern = this._schedulePattern ?? new Commvault.Powershell.Models.SchedulePattern()); set { {_schedulePattern = value;} } } /// <summary>Internal Acessors for SchedulePatternTimezone</summary> Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IPlanScheduleInternal.SchedulePatternTimezone { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).Timezone; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).Timezone = value; } /// <summary>Backing field for <see cref="ForDatabasesOnly" /> property.</summary> private bool? _forDatabasesOnly; /// <summary>Boolean to indicate if schedule is for database agents</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? ForDatabasesOnly { get => this._forDatabasesOnly; set => this._forDatabasesOnly = value; } /// <summary>Backing field for <see cref="PolicyId" /> property.</summary> private long? _policyId; /// <summary>Schedule policy Id to which the schedule belongs</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? PolicyId { get => this._policyId; set => this._policyId = value; } /// <summary>Backing field for <see cref="ScheduleId" /> property.</summary> private long? _scheduleId; /// <summary>Id of the schedule if available, required for modifying, deleting schedule</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? ScheduleId { get => this._scheduleId; set => this._scheduleId = value; } /// <summary>Backing field for <see cref="ScheduleName" /> property.</summary> private string _scheduleName; /// <summary>Name of the schedule, for modify</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ScheduleName { get => this._scheduleName; set => this._scheduleName = value; } /// <summary>Backing field for <see cref="ScheduleOperation" /> property.</summary> private string _scheduleOperation; /// <summary>Operation being performed on schedule</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ScheduleOperation { get => this._scheduleOperation; set => this._scheduleOperation = value; } /// <summary>Backing field for <see cref="ScheduleOption" /> property.</summary> private Commvault.Powershell.Models.IScheduleOption _scheduleOption; /// <summary>Specific options to be set on schedules</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IScheduleOption ScheduleOption { get => (this._scheduleOption = this._scheduleOption ?? new Commvault.Powershell.Models.ScheduleOption()); set => this._scheduleOption = value; } /// <summary>Commit frequency in hours for disk cache backups from automatic schedules</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? ScheduleOptionCommitFrequencyInHours { get => ((Commvault.Powershell.Models.IScheduleOptionInternal)ScheduleOption).CommitFrequencyInHours; set => ((Commvault.Powershell.Models.IScheduleOptionInternal)ScheduleOption).CommitFrequencyInHours = value ?? default(long); } /// <summary> /// Number of days between auto conversion of backup level applicable for databases on incremental and differential schedules /// of server plan /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? ScheduleOptionDaysBetweenAutoConvert { get => ((Commvault.Powershell.Models.IScheduleOptionInternal)ScheduleOption).DaysBetweenAutoConvert; set => ((Commvault.Powershell.Models.IScheduleOptionInternal)ScheduleOption).DaysBetweenAutoConvert = value ?? default(long); } /// <summary>total job running time in minutes</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? ScheduleOptionJobRunningTimeInMins { get => ((Commvault.Powershell.Models.IScheduleOptionInternal)ScheduleOption).JobRunningTimeInMins; set => ((Commvault.Powershell.Models.IScheduleOptionInternal)ScheduleOption).JobRunningTimeInMins = value ?? default(long); } /// <summary>item backup option for O365 V2 backup jobs</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string ScheduleOptionO365ItemSelectionOption { get => ((Commvault.Powershell.Models.IScheduleOptionInternal)ScheduleOption).O365ItemSelectionOption; set => ((Commvault.Powershell.Models.IScheduleOptionInternal)ScheduleOption).O365ItemSelectionOption = value ?? null; } /// <summary> /// Used to enable disk caching feature on databases for automatic schedules on server plan /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? ScheduleOptionUseDiskCacheForLogBackups { get => ((Commvault.Powershell.Models.IScheduleOptionInternal)ScheduleOption).UseDiskCacheForLogBackups; set => ((Commvault.Powershell.Models.IScheduleOptionInternal)ScheduleOption).UseDiskCacheForLogBackups = value ?? default(bool); } /// <summary>Backing field for <see cref="SchedulePattern" /> property.</summary> private Commvault.Powershell.Models.ISchedulePattern _schedulePattern; /// <summary>Used to describe when the schedule runs</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.ISchedulePattern SchedulePattern { get => (this._schedulePattern = this._schedulePattern ?? new Commvault.Powershell.Models.SchedulePattern()); set => this._schedulePattern = value; } /// <summary>Day on which to run the schedule, applicable for monthly, yearly</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SchedulePatternDayOfMonth { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).DayOfMonth; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).DayOfMonth = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string SchedulePatternDayOfWeek { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).DayOfWeek; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).DayOfWeek = value ?? null; } /// <summary>No of days between two synthetic full jobs</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SchedulePatternDaysBetweenSyntheticFulls { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).DaysBetweenSyntheticFulls; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).DaysBetweenSyntheticFulls = value ?? default(long); } /// <summary>Schedule end date in epoch format</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SchedulePatternEndDate { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).EndDate; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).EndDate = value ?? default(long); } /// <summary> /// Exceptions to when a schedule should not run, either in dates or week of month and days /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public Commvault.Powershell.Models.IScheduleRunException[] SchedulePatternExceptions { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).Exceptions; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).Exceptions = value ?? null /* arrayOf */; } /// <summary> /// Frequency of the schedule based on schedule frequency type eg. for Hours, value 2 is 2 hours, for Minutes, 30 is 30 minutes, /// for Daily, 2 is 2 days. for Monthly 2 is it repeats every 2 months /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SchedulePatternFrequency { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).Frequency; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).Frequency = value ?? default(long); } /// <summary>The number of mins to force a backup on automatic schedule.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SchedulePatternMaxBackupIntervalInMins { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).MaxBackupIntervalInMins; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).MaxBackupIntervalInMins = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string SchedulePatternMonthOfYear { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).MonthOfYear; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).MonthOfYear = value ?? null; } /// <summary>The number of times you want the schedule to run.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SchedulePatternNoOfTimes { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).NoOfTimes; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).NoOfTimes = value ?? default(long); } /// <summary> /// How often in minutes in a day the schedule runs, applicable for daily, weekly, monthly and yearly frequency types. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SchedulePatternRepeatIntervalInMinutes { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).RepeatIntervalInMinutes; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).RepeatIntervalInMinutes = value ?? default(long); } /// <summary> /// Until what time to repeat the schedule in a day, requires repeatIntervalInMinutes /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SchedulePatternRepeatUntilTime { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).RepeatUntilTime; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).RepeatUntilTime = value ?? default(long); } /// <summary>schedule frequency type</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string SchedulePatternScheduleFrequencyType { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).ScheduleFrequencyType; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).ScheduleFrequencyType = value ; } /// <summary>start date of schedule in epoch format</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SchedulePatternStartDate { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).StartDate; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).StartDate = value ?? default(long); } /// <summary>start time of schedule in seconds</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SchedulePatternStartTime { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).StartTime; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).StartTime = value ?? default(long); } /// <summary>Specific week of a month</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string SchedulePatternWeekOfMonth { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).WeekOfMonth; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).WeekOfMonth = value ?? null; } /// <summary>Days of the week for weekly frequency</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string[] SchedulePatternWeeklyDays { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).WeeklyDays; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).WeeklyDays = value ?? null /* arrayOf */; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? TimezoneId { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).TimezoneId; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).TimezoneId = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string TimezoneName { get => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).TimezoneName; set => ((Commvault.Powershell.Models.ISchedulePatternInternal)SchedulePattern).TimezoneName = value ?? null; } /// <summary>Backing field for <see cref="VMOperationType" /> property.</summary> private string _vMOperationType; /// <summary>Type of DR operation (only applicable for Failover groups)</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string VMOperationType { get => this._vMOperationType; set => this._vMOperationType = value; } /// <summary>Creates an new <see cref="PlanSchedule" /> instance.</summary> public PlanSchedule() { } } /// Used to describe single plan schedule information public partial interface IPlanSchedule : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Schedule Backup level</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Description = @"Schedule Backup level", SerializedName = @"backupType", PossibleTypes = new [] { typeof(string) })] string BackupType { get; set; } /// <summary>Boolean to indicate if schedule is for database agents</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Boolean to indicate if schedule is for database agents", SerializedName = @"forDatabasesOnly", PossibleTypes = new [] { typeof(bool) })] bool? ForDatabasesOnly { get; set; } /// <summary>Schedule policy Id to which the schedule belongs</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Schedule policy Id to which the schedule belongs", SerializedName = @"policyId", PossibleTypes = new [] { typeof(long) })] long? PolicyId { get; set; } /// <summary>Id of the schedule if available, required for modifying, deleting schedule</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Id of the schedule if available, required for modifying, deleting schedule", SerializedName = @"scheduleId", PossibleTypes = new [] { typeof(long) })] long? ScheduleId { get; set; } /// <summary>Name of the schedule, for modify</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Name of the schedule, for modify", SerializedName = @"scheduleName", PossibleTypes = new [] { typeof(string) })] string ScheduleName { get; set; } /// <summary>Operation being performed on schedule</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Operation being performed on schedule", SerializedName = @"scheduleOperation", PossibleTypes = new [] { typeof(string) })] string ScheduleOperation { get; set; } /// <summary>Commit frequency in hours for disk cache backups from automatic schedules</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Commit frequency in hours for disk cache backups from automatic schedules", SerializedName = @"commitFrequencyInHours", PossibleTypes = new [] { typeof(long) })] long? ScheduleOptionCommitFrequencyInHours { get; set; } /// <summary> /// Number of days between auto conversion of backup level applicable for databases on incremental and differential schedules /// of server plan /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Number of days between auto conversion of backup level applicable for databases on incremental and differential schedules of server plan", SerializedName = @"daysBetweenAutoConvert", PossibleTypes = new [] { typeof(long) })] long? ScheduleOptionDaysBetweenAutoConvert { get; set; } /// <summary>total job running time in minutes</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"total job running time in minutes", SerializedName = @"jobRunningTimeInMins", PossibleTypes = new [] { typeof(long) })] long? ScheduleOptionJobRunningTimeInMins { get; set; } /// <summary>item backup option for O365 V2 backup jobs</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"item backup option for O365 V2 backup jobs", SerializedName = @"o365ItemSelectionOption", PossibleTypes = new [] { typeof(string) })] string ScheduleOptionO365ItemSelectionOption { get; set; } /// <summary> /// Used to enable disk caching feature on databases for automatic schedules on server plan /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Used to enable disk caching feature on databases for automatic schedules on server plan", SerializedName = @"useDiskCacheForLogBackups", PossibleTypes = new [] { typeof(bool) })] bool? ScheduleOptionUseDiskCacheForLogBackups { get; set; } /// <summary>Day on which to run the schedule, applicable for monthly, yearly</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Day on which to run the schedule, applicable for monthly, yearly", SerializedName = @"dayOfMonth", PossibleTypes = new [] { typeof(long) })] long? SchedulePatternDayOfMonth { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"dayOfWeek", PossibleTypes = new [] { typeof(string) })] string SchedulePatternDayOfWeek { get; set; } /// <summary>No of days between two synthetic full jobs</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"No of days between two synthetic full jobs", SerializedName = @"daysBetweenSyntheticFulls", PossibleTypes = new [] { typeof(long) })] long? SchedulePatternDaysBetweenSyntheticFulls { get; set; } /// <summary>Schedule end date in epoch format</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Schedule end date in epoch format", SerializedName = @"endDate", PossibleTypes = new [] { typeof(long) })] long? SchedulePatternEndDate { get; set; } /// <summary> /// Exceptions to when a schedule should not run, either in dates or week of month and days /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Exceptions to when a schedule should not run, either in dates or week of month and days", SerializedName = @"exceptions", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IScheduleRunException) })] Commvault.Powershell.Models.IScheduleRunException[] SchedulePatternExceptions { get; set; } /// <summary> /// Frequency of the schedule based on schedule frequency type eg. for Hours, value 2 is 2 hours, for Minutes, 30 is 30 minutes, /// for Daily, 2 is 2 days. for Monthly 2 is it repeats every 2 months /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Frequency of the schedule based on schedule frequency type eg. for Hours, value 2 is 2 hours, for Minutes, 30 is 30 minutes, for Daily, 2 is 2 days. for Monthly 2 is it repeats every 2 months", SerializedName = @"frequency", PossibleTypes = new [] { typeof(long) })] long? SchedulePatternFrequency { get; set; } /// <summary>The number of mins to force a backup on automatic schedule.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The number of mins to force a backup on automatic schedule.", SerializedName = @"maxBackupIntervalInMins", PossibleTypes = new [] { typeof(long) })] long? SchedulePatternMaxBackupIntervalInMins { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"monthOfYear", PossibleTypes = new [] { typeof(string) })] string SchedulePatternMonthOfYear { get; set; } /// <summary>The number of times you want the schedule to run.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The number of times you want the schedule to run.", SerializedName = @"noOfTimes", PossibleTypes = new [] { typeof(long) })] long? SchedulePatternNoOfTimes { get; set; } /// <summary> /// How often in minutes in a day the schedule runs, applicable for daily, weekly, monthly and yearly frequency types. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"How often in minutes in a day the schedule runs, applicable for daily, weekly, monthly and yearly frequency types.", SerializedName = @"repeatIntervalInMinutes", PossibleTypes = new [] { typeof(long) })] long? SchedulePatternRepeatIntervalInMinutes { get; set; } /// <summary> /// Until what time to repeat the schedule in a day, requires repeatIntervalInMinutes /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Until what time to repeat the schedule in a day, requires repeatIntervalInMinutes", SerializedName = @"repeatUntilTime", PossibleTypes = new [] { typeof(long) })] long? SchedulePatternRepeatUntilTime { get; set; } /// <summary>schedule frequency type</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Description = @"schedule frequency type", SerializedName = @"scheduleFrequencyType", PossibleTypes = new [] { typeof(string) })] string SchedulePatternScheduleFrequencyType { get; set; } /// <summary>start date of schedule in epoch format</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"start date of schedule in epoch format", SerializedName = @"startDate", PossibleTypes = new [] { typeof(long) })] long? SchedulePatternStartDate { get; set; } /// <summary>start time of schedule in seconds</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"start time of schedule in seconds", SerializedName = @"startTime", PossibleTypes = new [] { typeof(long) })] long? SchedulePatternStartTime { get; set; } /// <summary>Specific week of a month</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Specific week of a month", SerializedName = @"weekOfMonth", PossibleTypes = new [] { typeof(string) })] string SchedulePatternWeekOfMonth { get; set; } /// <summary>Days of the week for weekly frequency</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Days of the week for weekly frequency", SerializedName = @"weeklyDays", PossibleTypes = new [] { typeof(string) })] string[] SchedulePatternWeeklyDays { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? TimezoneId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string TimezoneName { get; set; } /// <summary>Type of DR operation (only applicable for Failover groups)</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Type of DR operation (only applicable for Failover groups)", SerializedName = @"vmOperationType", PossibleTypes = new [] { typeof(string) })] string VMOperationType { get; set; } } /// Used to describe single plan schedule information internal partial interface IPlanScheduleInternal { /// <summary>Schedule Backup level</summary> string BackupType { get; set; } /// <summary>Boolean to indicate if schedule is for database agents</summary> bool? ForDatabasesOnly { get; set; } /// <summary>Schedule policy Id to which the schedule belongs</summary> long? PolicyId { get; set; } /// <summary>Id of the schedule if available, required for modifying, deleting schedule</summary> long? ScheduleId { get; set; } /// <summary>Name of the schedule, for modify</summary> string ScheduleName { get; set; } /// <summary>Operation being performed on schedule</summary> string ScheduleOperation { get; set; } /// <summary>Specific options to be set on schedules</summary> Commvault.Powershell.Models.IScheduleOption ScheduleOption { get; set; } /// <summary>Commit frequency in hours for disk cache backups from automatic schedules</summary> long? ScheduleOptionCommitFrequencyInHours { get; set; } /// <summary> /// Number of days between auto conversion of backup level applicable for databases on incremental and differential schedules /// of server plan /// </summary> long? ScheduleOptionDaysBetweenAutoConvert { get; set; } /// <summary>total job running time in minutes</summary> long? ScheduleOptionJobRunningTimeInMins { get; set; } /// <summary>item backup option for O365 V2 backup jobs</summary> string ScheduleOptionO365ItemSelectionOption { get; set; } /// <summary> /// Used to enable disk caching feature on databases for automatic schedules on server plan /// </summary> bool? ScheduleOptionUseDiskCacheForLogBackups { get; set; } /// <summary>Used to describe when the schedule runs</summary> Commvault.Powershell.Models.ISchedulePattern SchedulePattern { get; set; } /// <summary>Day on which to run the schedule, applicable for monthly, yearly</summary> long? SchedulePatternDayOfMonth { get; set; } string SchedulePatternDayOfWeek { get; set; } /// <summary>No of days between two synthetic full jobs</summary> long? SchedulePatternDaysBetweenSyntheticFulls { get; set; } /// <summary>Schedule end date in epoch format</summary> long? SchedulePatternEndDate { get; set; } /// <summary> /// Exceptions to when a schedule should not run, either in dates or week of month and days /// </summary> Commvault.Powershell.Models.IScheduleRunException[] SchedulePatternExceptions { get; set; } /// <summary> /// Frequency of the schedule based on schedule frequency type eg. for Hours, value 2 is 2 hours, for Minutes, 30 is 30 minutes, /// for Daily, 2 is 2 days. for Monthly 2 is it repeats every 2 months /// </summary> long? SchedulePatternFrequency { get; set; } /// <summary>The number of mins to force a backup on automatic schedule.</summary> long? SchedulePatternMaxBackupIntervalInMins { get; set; } string SchedulePatternMonthOfYear { get; set; } /// <summary>The number of times you want the schedule to run.</summary> long? SchedulePatternNoOfTimes { get; set; } /// <summary> /// How often in minutes in a day the schedule runs, applicable for daily, weekly, monthly and yearly frequency types. /// </summary> long? SchedulePatternRepeatIntervalInMinutes { get; set; } /// <summary> /// Until what time to repeat the schedule in a day, requires repeatIntervalInMinutes /// </summary> long? SchedulePatternRepeatUntilTime { get; set; } /// <summary>schedule frequency type</summary> string SchedulePatternScheduleFrequencyType { get; set; } /// <summary>start date of schedule in epoch format</summary> long? SchedulePatternStartDate { get; set; } /// <summary>start time of schedule in seconds</summary> long? SchedulePatternStartTime { get; set; } Commvault.Powershell.Models.IIdName SchedulePatternTimezone { get; set; } /// <summary>Specific week of a month</summary> string SchedulePatternWeekOfMonth { get; set; } /// <summary>Days of the week for weekly frequency</summary> string[] SchedulePatternWeeklyDays { get; set; } long? TimezoneId { get; set; } string TimezoneName { get; set; } /// <summary>Type of DR operation (only applicable for Failover groups)</summary> string VMOperationType { get; set; } } } |