generated/api/Models/UpdateServerPlan.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.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; public partial class UpdateServerPlan : Commvault.Powershell.Models.IUpdateServerPlan, Commvault.Powershell.Models.IUpdateServerPlanInternal { /// <summary>Backing field for <see cref="AllowPlanOverride" /> property.</summary> private bool? _allowPlanOverride; /// <summary>Flag to enable overriding of plan. Once enabled, cannot be disabled.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? AllowPlanOverride { get => this._allowPlanOverride; set => this._allowPlanOverride = value; } /// <summary>Backing field for <see cref="BackupContent" /> property.</summary> private Commvault.Powershell.Models.IPlanContent _backupContent; /// <summary>This feature applies only to file system agents</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IPlanContent BackupContent { get => (this._backupContent = this._backupContent ?? new Commvault.Powershell.Models.PlanContent()); set => this._backupContent = value; } /// <summary>Do you want to back up the system state? Applicable only for Windows</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? BackupContentBackupSystemState { get => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).BackupSystemState; set => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).BackupSystemState = value ?? default(bool); } /// <summary> /// Do you want to back up system state only with full backup? Applicable only if the value of backupSystemState is true /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? BackupContentBackupSystemStateOnlyWithFullBackup { get => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).BackupSystemStateOnlyWithFullBackup; set => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).BackupSystemStateOnlyWithFullBackup = value ?? default(bool); } /// <summary>Paths to exclude for Mac</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string[] BackupContentMacExcludedPaths { get => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).MacExcludedPaths; set => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).MacExcludedPaths = value ?? null /* arrayOf */; } /// <summary>Paths to include for Mac</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string[] BackupContentMacIncludedPaths { get => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).MacIncludedPaths; set => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).MacIncludedPaths = value ?? null /* arrayOf */; } /// <summary>Paths to exclude for UNIX</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string[] BackupContentUnixExcludedPaths { get => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).UnixExcludedPaths; set => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).UnixExcludedPaths = value ?? null /* arrayOf */; } /// <summary>Paths to include for UNIX</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string[] BackupContentUnixIncludedPaths { get => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).UnixIncludedPaths; set => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).UnixIncludedPaths = value ?? null /* arrayOf */; } /// <summary> /// Do you want to back up system state with VSS? Applicable only if the value of backupSystemState is true /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? BackupContentUseVssForSystemState { get => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).UseVssForSystemState; set => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).UseVssForSystemState = value ?? default(bool); } /// <summary>Paths to exclude for Windows</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string[] BackupContentWindowsExcludedPaths { get => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).WindowsExcludedPaths; set => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).WindowsExcludedPaths = value ?? null /* arrayOf */; } /// <summary>Paths to include for Windows</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string[] BackupContentWindowsIncludedPaths { get => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).WindowsIncludedPaths; set => ((Commvault.Powershell.Models.IPlanContentInternal)BackupContent).WindowsIncludedPaths = value ?? null /* arrayOf */; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public Commvault.Powershell.Models.IPlanSchedule[] BackupFrequencySchedules { get => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).BackupFrequencySchedules; set => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).BackupFrequencySchedules = value ?? null /* arrayOf */; } /// <summary>Internal Acessors for BackupContent</summary> Commvault.Powershell.Models.IPlanContent Commvault.Powershell.Models.IUpdateServerPlanInternal.BackupContent { get => (this._backupContent = this._backupContent ?? new Commvault.Powershell.Models.PlanContent()); set { {_backupContent = value;} } } /// <summary>Internal Acessors for DatabaseOptions</summary> Commvault.Powershell.Models.IServerPlanDatabaseOptionsInfo Commvault.Powershell.Models.IUpdateServerPlanInternal.DatabaseOptions { get => (this._databaseOptions = this._databaseOptions ?? new Commvault.Powershell.Models.ServerPlanDatabaseOptionsInfo()); set { {_databaseOptions = value;} } } /// <summary>Internal Acessors for OverrideInheritSettings</summary> Commvault.Powershell.Models.IPlanOverrideInheritSetting Commvault.Powershell.Models.IUpdateServerPlanInternal.OverrideInheritSettings { get => (this._overrideInheritSettings = this._overrideInheritSettings ?? new Commvault.Powershell.Models.PlanOverrideInheritSetting()); set { {_overrideInheritSettings = value;} } } /// <summary>Internal Acessors for OverrideRestrictions</summary> Commvault.Powershell.Models.IPlanOverrideSettings Commvault.Powershell.Models.IUpdateServerPlanInternal.OverrideRestrictions { get => (this._overrideRestrictions = this._overrideRestrictions ?? new Commvault.Powershell.Models.PlanOverrideSettings()); set { {_overrideRestrictions = value;} } } /// <summary>Internal Acessors for RegionToConfigure</summary> Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IUpdateServerPlanInternal.RegionToConfigure { get => (this._regionToConfigure = this._regionToConfigure ?? new Commvault.Powershell.Models.IdName()); set { {_regionToConfigure = value;} } } /// <summary>Internal Acessors for Rpo</summary> Commvault.Powershell.Models.IServerPlanUpdateRpo Commvault.Powershell.Models.IUpdateServerPlanInternal.Rpo { get => (this._rpo = this._rpo ?? new Commvault.Powershell.Models.ServerPlanUpdateRpo()); set { {_rpo = value;} } } /// <summary>Internal Acessors for RpoBackupFrequency</summary> Commvault.Powershell.Models.IPlanSchedules Commvault.Powershell.Models.IUpdateServerPlanInternal.RpoBackupFrequency { get => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).BackupFrequency; set => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).BackupFrequency = value; } /// <summary>Internal Acessors for RpoSla</summary> Commvault.Powershell.Models.ISlaUpdateOptions Commvault.Powershell.Models.IUpdateServerPlanInternal.RpoSla { get => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).Sla; set => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).Sla = value; } /// <summary>Internal Acessors for SnapshotOptions</summary> Commvault.Powershell.Models.IPlanSnapshotOptions Commvault.Powershell.Models.IUpdateServerPlanInternal.SnapshotOptions { get => (this._snapshotOptions = this._snapshotOptions ?? new Commvault.Powershell.Models.PlanSnapshotOptions()); set { {_snapshotOptions = value;} } } /// <summary>Commit frequency in hours</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? DatabaseOptionCommitFrequencyInHours { get => ((Commvault.Powershell.Models.IServerPlanDatabaseOptionsInfoInternal)DatabaseOptions).CommitFrequencyInHours; set => ((Commvault.Powershell.Models.IServerPlanDatabaseOptionsInfoInternal)DatabaseOptions).CommitFrequencyInHours = value ?? default(long); } /// <summary>Log backup RPO in minutes</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? DatabaseOptionLogBackupRpoMins { get => ((Commvault.Powershell.Models.IServerPlanDatabaseOptionsInfoInternal)DatabaseOptions).LogBackupRpoMins; set => ((Commvault.Powershell.Models.IServerPlanDatabaseOptionsInfoInternal)DatabaseOptions).LogBackupRpoMins = value ?? default(long); } /// <summary>Full backup frequency in days</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? DatabaseOptionRunFullBackupEvery { get => ((Commvault.Powershell.Models.IServerPlanDatabaseOptionsInfoInternal)DatabaseOptions).RunFullBackupEvery; set => ((Commvault.Powershell.Models.IServerPlanDatabaseOptionsInfoInternal)DatabaseOptions).RunFullBackupEvery = value ?? default(long); } /// <summary>Use disk cache for log backups</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? DatabaseOptionUseDiskCacheForLogBackups { get => ((Commvault.Powershell.Models.IServerPlanDatabaseOptionsInfoInternal)DatabaseOptions).UseDiskCacheForLogBackups; set => ((Commvault.Powershell.Models.IServerPlanDatabaseOptionsInfoInternal)DatabaseOptions).UseDiskCacheForLogBackups = value ?? default(bool); } /// <summary>Backing field for <see cref="DatabaseOptions" /> property.</summary> private Commvault.Powershell.Models.IServerPlanDatabaseOptionsInfo _databaseOptions; /// <summary>This feature applies only to database agents</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IServerPlanDatabaseOptionsInfo DatabaseOptions { get => (this._databaseOptions = this._databaseOptions ?? new Commvault.Powershell.Models.ServerPlanDatabaseOptionsInfo()); set => this._databaseOptions = value; } /// <summary>Backing field for <see cref="NewName" /> property.</summary> private string _newName; /// <summary>New plan name to update</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string NewName { get => this._newName; set => this._newName = value; } /// <summary> /// Flag to specify if parent or derived plan backupContent should be used when inherit mode is optional. True - derived, /// False - Base. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? OverrideInheritSettingBackupContent { get => ((Commvault.Powershell.Models.IPlanOverrideInheritSettingInternal)OverrideInheritSettings).BackupContent; set => ((Commvault.Powershell.Models.IPlanOverrideInheritSettingInternal)OverrideInheritSettings).BackupContent = value ?? default(bool); } /// <summary> /// Flag to specify if parent or derived plan backupDestination should be used when inherit mode is optional. True - derived, /// False - Base. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? OverrideInheritSettingBackupDestination { get => ((Commvault.Powershell.Models.IPlanOverrideInheritSettingInternal)OverrideInheritSettings).BackupDestination; set => ((Commvault.Powershell.Models.IPlanOverrideInheritSettingInternal)OverrideInheritSettings).BackupDestination = value ?? default(bool); } /// <summary> /// Flag to specify if parent or derived plan rpo should be used when inherit mode is optional. True - derived, False - Base. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? OverrideInheritSettingRpo { get => ((Commvault.Powershell.Models.IPlanOverrideInheritSettingInternal)OverrideInheritSettings).Rpo; set => ((Commvault.Powershell.Models.IPlanOverrideInheritSettingInternal)OverrideInheritSettings).Rpo = value ?? default(bool); } /// <summary>Backing field for <see cref="OverrideInheritSettings" /> property.</summary> private Commvault.Powershell.Models.IPlanOverrideInheritSetting _overrideInheritSettings; /// <summary> /// This feature applies to derived plans when inherit mode is optional.Provides user to set entity preference between parent /// and derived plan. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IPlanOverrideInheritSetting OverrideInheritSettings { get => (this._overrideInheritSettings = this._overrideInheritSettings ?? new Commvault.Powershell.Models.PlanOverrideInheritSetting()); set => this._overrideInheritSettings = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string OverrideRestrictionBackupContent { get => ((Commvault.Powershell.Models.IPlanOverrideSettingsInternal)OverrideRestrictions).BackupContent; set => ((Commvault.Powershell.Models.IPlanOverrideSettingsInternal)OverrideRestrictions).BackupContent = value ?? null; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string OverrideRestrictionRpo { get => ((Commvault.Powershell.Models.IPlanOverrideSettingsInternal)OverrideRestrictions).Rpo; set => ((Commvault.Powershell.Models.IPlanOverrideSettingsInternal)OverrideRestrictions).Rpo = value ?? null; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string OverrideRestrictionStoragePool { get => ((Commvault.Powershell.Models.IPlanOverrideSettingsInternal)OverrideRestrictions).StoragePool; set => ((Commvault.Powershell.Models.IPlanOverrideSettingsInternal)OverrideRestrictions).StoragePool = value ?? null; } /// <summary>Backing field for <see cref="OverrideRestrictions" /> property.</summary> private Commvault.Powershell.Models.IPlanOverrideSettings _overrideRestrictions; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IPlanOverrideSettings OverrideRestrictions { get => (this._overrideRestrictions = this._overrideRestrictions ?? new Commvault.Powershell.Models.PlanOverrideSettings()); set => this._overrideRestrictions = value; } /// <summary>Backing field for <see cref="RegionToConfigure" /> property.</summary> private Commvault.Powershell.Models.IIdName _regionToConfigure; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IIdName RegionToConfigure { get => (this._regionToConfigure = this._regionToConfigure ?? new Commvault.Powershell.Models.IdName()); set => this._regionToConfigure = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? RegionToConfigureId { get => ((Commvault.Powershell.Models.IIdNameInternal)RegionToConfigure).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)RegionToConfigure).Id = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string RegionToConfigureName { get => ((Commvault.Powershell.Models.IIdNameInternal)RegionToConfigure).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)RegionToConfigure).Name = value ?? null; } /// <summary>Backing field for <see cref="Rpo" /> property.</summary> private Commvault.Powershell.Models.IServerPlanUpdateRpo _rpo; /// <summary> /// Recovery Point Objective (RPO) is the maximum amount of time that data can be lost during a service disruption. Your RPO /// determines the frequency of your backup jobs. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IServerPlanUpdateRpo Rpo { get => (this._rpo = this._rpo ?? new Commvault.Powershell.Models.ServerPlanUpdateRpo()); set => this._rpo = value; } /// <summary>Backup window for incremental backup</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public Commvault.Powershell.Models.IDayAndTime[] RpoBackupWindow { get => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).BackupWindow; set => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).BackupWindow = value ?? null /* arrayOf */; } /// <summary>Backup window for full backup</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public Commvault.Powershell.Models.IDayAndTime[] RpoFullBackupWindow { get => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).FullBackupWindow; set => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).FullBackupWindow = value ?? null /* arrayOf */; } /// <summary>Time provided in Unix format. Give 0 to reset any existing delay.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SlaEnableAfterDelay { get => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).SlaEnableAfterDelay; set => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).SlaEnableAfterDelay = value ?? default(long); } /// <summary>Flag to set to exclude plan from SLA</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? SlaExcludeFromSla { get => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).SlaExcludeFromSla; set => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).SlaExcludeFromSla = value ?? default(bool); } /// <summary>Reason for exclusion from SLA</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string SlaExclusionReason { get => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).SlaExclusionReason; set => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).SlaExclusionReason = value ?? null; } /// <summary>SLA Period in Days</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SlaPeriod { get => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).SlaPeriod; set => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).SlaPeriod = value ?? default(long); } /// <summary>Flag to set to use System Default Service Level Agreement</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? SlaUseSystemDefaultSla { get => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).SlaUseSystemDefaultSla; set => ((Commvault.Powershell.Models.IServerPlanUpdateRpoInternal)Rpo).SlaUseSystemDefaultSla = value ?? default(bool); } /// <summary>Backup copy RPO in minutes</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SnapshotOptionBackupCopyRpoMins { get => ((Commvault.Powershell.Models.IPlanSnapshotOptionsInternal)SnapshotOptions).BackupCopyRpoMins; set => ((Commvault.Powershell.Models.IPlanSnapshotOptionsInternal)SnapshotOptions).BackupCopyRpoMins = value ?? default(long); } /// <summary>Flag to enable backup copy</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? SnapshotOptionEnableBackupCopy { get => ((Commvault.Powershell.Models.IPlanSnapshotOptionsInternal)SnapshotOptions).EnableBackupCopy; set => ((Commvault.Powershell.Models.IPlanSnapshotOptionsInternal)SnapshotOptions).EnableBackupCopy = value ?? default(bool); } /// <summary>Backing field for <see cref="SnapshotOptions" /> property.</summary> private Commvault.Powershell.Models.IPlanSnapshotOptions _snapshotOptions; /// <summary>This feature applies only to File System Agents</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IPlanSnapshotOptions SnapshotOptions { get => (this._snapshotOptions = this._snapshotOptions ?? new Commvault.Powershell.Models.PlanSnapshotOptions()); set => this._snapshotOptions = value; } /// <summary>Creates an new <see cref="UpdateServerPlan" /> instance.</summary> public UpdateServerPlan() { } } public partial interface IUpdateServerPlan : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Flag to enable overriding of plan. Once enabled, cannot be disabled.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Flag to enable overriding of plan. Once enabled, cannot be disabled.", SerializedName = @"allowPlanOverride", PossibleTypes = new [] { typeof(bool) })] bool? AllowPlanOverride { get; set; } /// <summary>Do you want to back up the system state? Applicable only for Windows</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Do you want to back up the system state? Applicable only for Windows", SerializedName = @"backupSystemState", PossibleTypes = new [] { typeof(bool) })] bool? BackupContentBackupSystemState { get; set; } /// <summary> /// Do you want to back up system state only with full backup? Applicable only if the value of backupSystemState is true /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Do you want to back up system state only with full backup? Applicable only if the value of backupSystemState is true", SerializedName = @"backupSystemStateOnlyWithFullBackup", PossibleTypes = new [] { typeof(bool) })] bool? BackupContentBackupSystemStateOnlyWithFullBackup { get; set; } /// <summary>Paths to exclude for Mac</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Paths to exclude for Mac", SerializedName = @"macExcludedPaths", PossibleTypes = new [] { typeof(string) })] string[] BackupContentMacExcludedPaths { get; set; } /// <summary>Paths to include for Mac</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Paths to include for Mac", SerializedName = @"macIncludedPaths", PossibleTypes = new [] { typeof(string) })] string[] BackupContentMacIncludedPaths { get; set; } /// <summary>Paths to exclude for UNIX</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Paths to exclude for UNIX", SerializedName = @"unixExcludedPaths", PossibleTypes = new [] { typeof(string) })] string[] BackupContentUnixExcludedPaths { get; set; } /// <summary>Paths to include for UNIX</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Paths to include for UNIX", SerializedName = @"unixIncludedPaths", PossibleTypes = new [] { typeof(string) })] string[] BackupContentUnixIncludedPaths { get; set; } /// <summary> /// Do you want to back up system state with VSS? Applicable only if the value of backupSystemState is true /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Do you want to back up system state with VSS? Applicable only if the value of backupSystemState is true", SerializedName = @"useVSSForSystemState", PossibleTypes = new [] { typeof(bool) })] bool? BackupContentUseVssForSystemState { get; set; } /// <summary>Paths to exclude for Windows</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Paths to exclude for Windows", SerializedName = @"windowsExcludedPaths", PossibleTypes = new [] { typeof(string) })] string[] BackupContentWindowsExcludedPaths { get; set; } /// <summary>Paths to include for Windows</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Paths to include for Windows", SerializedName = @"windowsIncludedPaths", PossibleTypes = new [] { typeof(string) })] string[] BackupContentWindowsIncludedPaths { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"schedules", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IPlanSchedule) })] Commvault.Powershell.Models.IPlanSchedule[] BackupFrequencySchedules { get; set; } /// <summary>Commit frequency in hours</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Commit frequency in hours", SerializedName = @"commitFrequencyInHours", PossibleTypes = new [] { typeof(long) })] long? DatabaseOptionCommitFrequencyInHours { get; set; } /// <summary>Log backup RPO in minutes</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Log backup RPO in minutes", SerializedName = @"logBackupRPOMins", PossibleTypes = new [] { typeof(long) })] long? DatabaseOptionLogBackupRpoMins { get; set; } /// <summary>Full backup frequency in days</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Full backup frequency in days", SerializedName = @"runFullBackupEvery", PossibleTypes = new [] { typeof(long) })] long? DatabaseOptionRunFullBackupEvery { get; set; } /// <summary>Use disk cache for log backups</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Use disk cache for log backups", SerializedName = @"useDiskCacheForLogBackups", PossibleTypes = new [] { typeof(bool) })] bool? DatabaseOptionUseDiskCacheForLogBackups { get; set; } /// <summary>New plan name to update</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"New plan name to update", SerializedName = @"newName", PossibleTypes = new [] { typeof(string) })] string NewName { get; set; } /// <summary> /// Flag to specify if parent or derived plan backupContent should be used when inherit mode is optional. True - derived, /// False - Base. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Flag to specify if parent or derived plan backupContent should be used when inherit mode is optional. True - derived, False - Base.", SerializedName = @"backupContent", PossibleTypes = new [] { typeof(bool) })] bool? OverrideInheritSettingBackupContent { get; set; } /// <summary> /// Flag to specify if parent or derived plan backupDestination should be used when inherit mode is optional. True - derived, /// False - Base. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Flag to specify if parent or derived plan backupDestination should be used when inherit mode is optional. True - derived, False - Base.", SerializedName = @"backupDestination", PossibleTypes = new [] { typeof(bool) })] bool? OverrideInheritSettingBackupDestination { get; set; } /// <summary> /// Flag to specify if parent or derived plan rpo should be used when inherit mode is optional. True - derived, False - Base. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Flag to specify if parent or derived plan rpo should be used when inherit mode is optional. True - derived, False - Base.", SerializedName = @"rpo", PossibleTypes = new [] { typeof(bool) })] bool? OverrideInheritSettingRpo { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"backupContent", PossibleTypes = new [] { typeof(string) })] string OverrideRestrictionBackupContent { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"RPO", PossibleTypes = new [] { typeof(string) })] string OverrideRestrictionRpo { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"storagePool", PossibleTypes = new [] { typeof(string) })] string OverrideRestrictionStoragePool { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? RegionToConfigureId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string RegionToConfigureName { get; set; } /// <summary>Backup window for incremental backup</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Backup window for incremental backup", SerializedName = @"backupWindow", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IDayAndTime) })] Commvault.Powershell.Models.IDayAndTime[] RpoBackupWindow { get; set; } /// <summary>Backup window for full backup</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Backup window for full backup", SerializedName = @"fullBackupWindow", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IDayAndTime) })] Commvault.Powershell.Models.IDayAndTime[] RpoFullBackupWindow { get; set; } /// <summary>Time provided in Unix format. Give 0 to reset any existing delay.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Time provided in Unix format. Give 0 to reset any existing delay.", SerializedName = @"enableAfterDelay", PossibleTypes = new [] { typeof(long) })] long? SlaEnableAfterDelay { get; set; } /// <summary>Flag to set to exclude plan from SLA</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Flag to set to exclude plan from SLA", SerializedName = @"excludeFromSLA", PossibleTypes = new [] { typeof(bool) })] bool? SlaExcludeFromSla { get; set; } /// <summary>Reason for exclusion from SLA</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Reason for exclusion from SLA", SerializedName = @"exclusionReason", PossibleTypes = new [] { typeof(string) })] string SlaExclusionReason { get; set; } /// <summary>SLA Period in Days</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"SLA Period in Days", SerializedName = @"SLAPeriod", PossibleTypes = new [] { typeof(long) })] long? SlaPeriod { get; set; } /// <summary>Flag to set to use System Default Service Level Agreement</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Flag to set to use System Default Service Level Agreement", SerializedName = @"useSystemDefaultSLA", PossibleTypes = new [] { typeof(bool) })] bool? SlaUseSystemDefaultSla { get; set; } /// <summary>Backup copy RPO in minutes</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Backup copy RPO in minutes", SerializedName = @"backupCopyRPOMins", PossibleTypes = new [] { typeof(long) })] long? SnapshotOptionBackupCopyRpoMins { get; set; } /// <summary>Flag to enable backup copy</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Flag to enable backup copy", SerializedName = @"enableBackupCopy", PossibleTypes = new [] { typeof(bool) })] bool? SnapshotOptionEnableBackupCopy { get; set; } } internal partial interface IUpdateServerPlanInternal { /// <summary>Flag to enable overriding of plan. Once enabled, cannot be disabled.</summary> bool? AllowPlanOverride { get; set; } /// <summary>This feature applies only to file system agents</summary> Commvault.Powershell.Models.IPlanContent BackupContent { get; set; } /// <summary>Do you want to back up the system state? Applicable only for Windows</summary> bool? BackupContentBackupSystemState { get; set; } /// <summary> /// Do you want to back up system state only with full backup? Applicable only if the value of backupSystemState is true /// </summary> bool? BackupContentBackupSystemStateOnlyWithFullBackup { get; set; } /// <summary>Paths to exclude for Mac</summary> string[] BackupContentMacExcludedPaths { get; set; } /// <summary>Paths to include for Mac</summary> string[] BackupContentMacIncludedPaths { get; set; } /// <summary>Paths to exclude for UNIX</summary> string[] BackupContentUnixExcludedPaths { get; set; } /// <summary>Paths to include for UNIX</summary> string[] BackupContentUnixIncludedPaths { get; set; } /// <summary> /// Do you want to back up system state with VSS? Applicable only if the value of backupSystemState is true /// </summary> bool? BackupContentUseVssForSystemState { get; set; } /// <summary>Paths to exclude for Windows</summary> string[] BackupContentWindowsExcludedPaths { get; set; } /// <summary>Paths to include for Windows</summary> string[] BackupContentWindowsIncludedPaths { get; set; } Commvault.Powershell.Models.IPlanSchedule[] BackupFrequencySchedules { get; set; } /// <summary>Commit frequency in hours</summary> long? DatabaseOptionCommitFrequencyInHours { get; set; } /// <summary>Log backup RPO in minutes</summary> long? DatabaseOptionLogBackupRpoMins { get; set; } /// <summary>Full backup frequency in days</summary> long? DatabaseOptionRunFullBackupEvery { get; set; } /// <summary>Use disk cache for log backups</summary> bool? DatabaseOptionUseDiskCacheForLogBackups { get; set; } /// <summary>This feature applies only to database agents</summary> Commvault.Powershell.Models.IServerPlanDatabaseOptionsInfo DatabaseOptions { get; set; } /// <summary>New plan name to update</summary> string NewName { get; set; } /// <summary> /// Flag to specify if parent or derived plan backupContent should be used when inherit mode is optional. True - derived, /// False - Base. /// </summary> bool? OverrideInheritSettingBackupContent { get; set; } /// <summary> /// Flag to specify if parent or derived plan backupDestination should be used when inherit mode is optional. True - derived, /// False - Base. /// </summary> bool? OverrideInheritSettingBackupDestination { get; set; } /// <summary> /// Flag to specify if parent or derived plan rpo should be used when inherit mode is optional. True - derived, False - Base. /// </summary> bool? OverrideInheritSettingRpo { get; set; } /// <summary> /// This feature applies to derived plans when inherit mode is optional.Provides user to set entity preference between parent /// and derived plan. /// </summary> Commvault.Powershell.Models.IPlanOverrideInheritSetting OverrideInheritSettings { get; set; } string OverrideRestrictionBackupContent { get; set; } string OverrideRestrictionRpo { get; set; } string OverrideRestrictionStoragePool { get; set; } Commvault.Powershell.Models.IPlanOverrideSettings OverrideRestrictions { get; set; } Commvault.Powershell.Models.IIdName RegionToConfigure { get; set; } long? RegionToConfigureId { get; set; } string RegionToConfigureName { get; set; } /// <summary> /// Recovery Point Objective (RPO) is the maximum amount of time that data can be lost during a service disruption. Your RPO /// determines the frequency of your backup jobs. /// </summary> Commvault.Powershell.Models.IServerPlanUpdateRpo Rpo { get; set; } /// <summary>PlanSchedules</summary> Commvault.Powershell.Models.IPlanSchedules RpoBackupFrequency { get; set; } /// <summary>Backup window for incremental backup</summary> Commvault.Powershell.Models.IDayAndTime[] RpoBackupWindow { get; set; } /// <summary>Backup window for full backup</summary> Commvault.Powershell.Models.IDayAndTime[] RpoFullBackupWindow { get; set; } /// <summary> /// A server meets SLA (Service Level Agreement) when all of its subclients have at least one successful backup during the /// number of days specified at the CommCell, Server Group or plan level. /// </summary> Commvault.Powershell.Models.ISlaUpdateOptions RpoSla { get; set; } /// <summary>Time provided in Unix format. Give 0 to reset any existing delay.</summary> long? SlaEnableAfterDelay { get; set; } /// <summary>Flag to set to exclude plan from SLA</summary> bool? SlaExcludeFromSla { get; set; } /// <summary>Reason for exclusion from SLA</summary> string SlaExclusionReason { get; set; } /// <summary>SLA Period in Days</summary> long? SlaPeriod { get; set; } /// <summary>Flag to set to use System Default Service Level Agreement</summary> bool? SlaUseSystemDefaultSla { get; set; } /// <summary>Backup copy RPO in minutes</summary> long? SnapshotOptionBackupCopyRpoMins { get; set; } /// <summary>Flag to enable backup copy</summary> bool? SnapshotOptionEnableBackupCopy { get; set; } /// <summary>This feature applies only to File System Agents</summary> Commvault.Powershell.Models.IPlanSnapshotOptions SnapshotOptions { get; set; } } } |