generated/api/Models/ScheduleOption.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708) // 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>Specific options to be set on schedules</summary> public partial class ScheduleOption : Commvault.Powershell.Models.IScheduleOption, Commvault.Powershell.Models.IScheduleOptionInternal { /// <summary>Backing field for <see cref="CommitFrequencyInHours" /> property.</summary> private long? _commitFrequencyInHours; /// <summary>Commit frequency in hours for disk cache backups from automatic schedules</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? CommitFrequencyInHours { get => this._commitFrequencyInHours; set => this._commitFrequencyInHours = value; } /// <summary>Backing field for <see cref="DaysBetweenAutoConvert" /> property.</summary> private long? _daysBetweenAutoConvert; /// <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.Owned)] public long? DaysBetweenAutoConvert { get => this._daysBetweenAutoConvert; set => this._daysBetweenAutoConvert = value; } /// <summary>Backing field for <see cref="JobRunningTimeInMins" /> property.</summary> private long? _jobRunningTimeInMins; /// <summary>total job running time in minutes</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? JobRunningTimeInMins { get => this._jobRunningTimeInMins; set => this._jobRunningTimeInMins = value; } /// <summary>Backing field for <see cref="LogFilesThreshold" /> property.</summary> private long? _logFilesThreshold; /// <summary>The min number of archived log files before a backup job should start</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? LogFilesThreshold { get => this._logFilesThreshold; set => this._logFilesThreshold = value; } /// <summary>Backing field for <see cref="LogsDiskUtilizationPercent" /> property.</summary> private long? _logsDiskUtilizationPercent; /// <summary>The min log destination disk threshold percentage</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? LogsDiskUtilizationPercent { get => this._logsDiskUtilizationPercent; set => this._logsDiskUtilizationPercent = value; } /// <summary>Backing field for <see cref="MinBackupIntervalInMins" /> property.</summary> private long? _minBackupIntervalInMins; /// <summary>The min number of mins to check for file activity on automatic schedule.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? MinBackupIntervalInMins { get => this._minBackupIntervalInMins; set => this._minBackupIntervalInMins = value; } /// <summary>Backing field for <see cref="O365ItemSelectionOption" /> property.</summary> private string _o365ItemSelectionOption; /// <summary>item backup option for O365 V2 backup jobs</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string O365ItemSelectionOption { get => this._o365ItemSelectionOption; set => this._o365ItemSelectionOption = value; } /// <summary>Backing field for <see cref="UseDiskCacheForLogBackups" /> property.</summary> private bool? _useDiskCacheForLogBackups; /// <summary> /// Used to enable disk caching feature on databases for automatic schedules on server plan /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? UseDiskCacheForLogBackups { get => this._useDiskCacheForLogBackups; set => this._useDiskCacheForLogBackups = value; } /// <summary>Creates an new <see cref="ScheduleOption" /> instance.</summary> public ScheduleOption() { } } /// Specific options to be set on schedules public partial interface IScheduleOption : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Commit frequency in hours for disk cache backups from automatic schedules</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Commit frequency in hours for disk cache backups from automatic schedules", SerializedName = @"commitFrequencyInHours", PossibleTypes = new [] { typeof(long) })] long? CommitFrequencyInHours { 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, Read = true, Create = true, Update = true, 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? DaysBetweenAutoConvert { get; set; } /// <summary>total job running time in minutes</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"total job running time in minutes", SerializedName = @"jobRunningTimeInMins", PossibleTypes = new [] { typeof(long) })] long? JobRunningTimeInMins { get; set; } /// <summary>The min number of archived log files before a backup job should start</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The min number of archived log files before a backup job should start", SerializedName = @"logFilesThreshold", PossibleTypes = new [] { typeof(long) })] long? LogFilesThreshold { get; set; } /// <summary>The min log destination disk threshold percentage</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The min log destination disk threshold percentage", SerializedName = @"logsDiskUtilizationPercent", PossibleTypes = new [] { typeof(long) })] long? LogsDiskUtilizationPercent { get; set; } /// <summary>The min number of mins to check for file activity on automatic schedule.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The min number of mins to check for file activity on automatic schedule.", SerializedName = @"minBackupIntervalInMins", PossibleTypes = new [] { typeof(long) })] long? MinBackupIntervalInMins { get; set; } /// <summary>item backup option for O365 V2 backup jobs</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"item backup option for O365 V2 backup jobs", SerializedName = @"o365ItemSelectionOption", PossibleTypes = new [] { typeof(string) })] string O365ItemSelectionOption { 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, Read = true, Create = true, Update = true, Description = @"Used to enable disk caching feature on databases for automatic schedules on server plan", SerializedName = @"useDiskCacheForLogBackups", PossibleTypes = new [] { typeof(bool) })] bool? UseDiskCacheForLogBackups { get; set; } } /// Specific options to be set on schedules internal partial interface IScheduleOptionInternal { /// <summary>Commit frequency in hours for disk cache backups from automatic schedules</summary> long? CommitFrequencyInHours { 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? DaysBetweenAutoConvert { get; set; } /// <summary>total job running time in minutes</summary> long? JobRunningTimeInMins { get; set; } /// <summary>The min number of archived log files before a backup job should start</summary> long? LogFilesThreshold { get; set; } /// <summary>The min log destination disk threshold percentage</summary> long? LogsDiskUtilizationPercent { get; set; } /// <summary>The min number of mins to check for file activity on automatic schedule.</summary> long? MinBackupIntervalInMins { get; set; } /// <summary>item backup option for O365 V2 backup jobs</summary> string O365ItemSelectionOption { get; set; } /// <summary> /// Used to enable disk caching feature on databases for automatic schedules on server plan /// </summary> bool? UseDiskCacheForLogBackups { get; set; } } } |