generated/api/Models/GetObjectStorePlanBackupDestination.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; public partial class GetObjectStorePlanBackupDestination : Commvault.Powershell.Models.IGetObjectStorePlanBackupDestination, Commvault.Powershell.Models.IGetObjectStorePlanBackupDestinationInternal { /// <summary>Backing field for <see cref="BackupDestinationName" /> property.</summary> private string _backupDestinationName; /// <summary>Backup destination name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string BackupDestinationName { get => this._backupDestinationName; set => this._backupDestinationName = value; } /// <summary>Backing field for <see cref="BackupsToCopy" /> property.</summary> private string _backupsToCopy; /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string BackupsToCopy { get => this._backupsToCopy; set => this._backupsToCopy = value; } /// <summary>Internal Acessors for ExtendedRetentionRuleFirstExtendedRetentionRule</summary> Commvault.Powershell.Models.IPlanRetentionRule Commvault.Powershell.Models.IGetObjectStorePlanBackupDestinationInternal.ExtendedRetentionRuleFirstExtendedRetentionRule { get => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).FirstExtendedRetentionRule; set => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).FirstExtendedRetentionRule = value; } /// <summary>Internal Acessors for ExtendedRetentionRuleSecondExtendedRetentionRule</summary> Commvault.Powershell.Models.IPlanRetentionRule Commvault.Powershell.Models.IGetObjectStorePlanBackupDestinationInternal.ExtendedRetentionRuleSecondExtendedRetentionRule { get => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).SecondExtendedRetentionRule; set => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).SecondExtendedRetentionRule = value; } /// <summary>Internal Acessors for ExtendedRetentionRuleThirdExtendedRetentionRule</summary> Commvault.Powershell.Models.IPlanRetentionRule Commvault.Powershell.Models.IGetObjectStorePlanBackupDestinationInternal.ExtendedRetentionRuleThirdExtendedRetentionRule { get => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).ThirdExtendedRetentionRule; set => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).ThirdExtendedRetentionRule = value; } /// <summary>Internal Acessors for ExtendedRetentionRules</summary> Commvault.Powershell.Models.IExtendedRetentionRules Commvault.Powershell.Models.IGetObjectStorePlanBackupDestinationInternal.ExtendedRetentionRules { get => (this._extendedRetentionRules = this._extendedRetentionRules ?? new Commvault.Powershell.Models.ExtendedRetentionRules()); set { {_extendedRetentionRules = value;} } } /// <summary>Internal Acessors for PlanBackupDestination</summary> Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IGetObjectStorePlanBackupDestinationInternal.PlanBackupDestination { get => (this._planBackupDestination = this._planBackupDestination ?? new Commvault.Powershell.Models.IdName()); set { {_planBackupDestination = value;} } } /// <summary>Internal Acessors for StoragePool</summary> Commvault.Powershell.Models.IStoragePool Commvault.Powershell.Models.IGetObjectStorePlanBackupDestinationInternal.StoragePool { get => (this._storagePool = this._storagePool ?? new Commvault.Powershell.Models.StoragePool()); set { {_storagePool = value;} } } /// <summary>Internal Acessors for StoragePoolDeviceType</summary> Commvault.Powershell.Models.IDeviceType Commvault.Powershell.Models.IGetObjectStorePlanBackupDestinationInternal.StoragePoolDeviceType { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).DeviceType; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).DeviceType = value; } /// <summary>Internal Acessors for StoragePoolRegion</summary> Commvault.Powershell.Models.IIdNameDisplayName Commvault.Powershell.Models.IGetObjectStorePlanBackupDestinationInternal.StoragePoolRegion { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).Region; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).Region = value; } /// <summary>Backing field for <see cref="CopyPrecedence" /> property.</summary> private long? _copyPrecedence; /// <summary>Order of backup destination copy created in storage policy</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? CopyPrecedence { get => this._copyPrecedence; set => this._copyPrecedence = value; } /// <summary>Device Type Id of the storage.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? DeviceTypeId { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).DeviceTypeId; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).DeviceTypeId = value ?? default(long); } /// <summary>Device type of the storage.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string DeviceTypeName { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).DeviceTypeName; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).DeviceTypeName = value ?? null; } /// <summary>Backing field for <see cref="EnableDataAging" /> property.</summary> private bool? _enableDataAging; /// <summary>Tells if this copy has data aging enabled</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? EnableDataAging { get => this._enableDataAging; set => this._enableDataAging = value; } /// <summary>Backing field for <see cref="ExtendedRetentionRules" /> property.</summary> private Commvault.Powershell.Models.IExtendedRetentionRules _extendedRetentionRules; /// <summary> /// If you want to update, specify the whole object. Extended retention rules should be bigger than retention period. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IExtendedRetentionRules ExtendedRetentionRules { get => (this._extendedRetentionRules = this._extendedRetentionRules ?? new Commvault.Powershell.Models.ExtendedRetentionRules()); set => this._extendedRetentionRules = value; } /// <summary>If this is set as true, no need to specify retentionPeriodDays.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? FirstExtendedRetentionRuleIsInfiniteRetention { get => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).FirstExtendedRetentionRuleIsInfiniteRetention; set => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).FirstExtendedRetentionRuleIsInfiniteRetention = value ?? default(bool); } /// <summary>If this is set, no need to specify isInfiniteRetention as false.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? FirstExtendedRetentionRuleRetentionPeriodDays { get => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).FirstExtendedRetentionRuleRetentionPeriodDays; set => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).FirstExtendedRetentionRuleRetentionPeriodDays = value ?? default(long); } /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string FirstExtendedRetentionRuleType { get => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).FirstExtendedRetentionRuleType; set => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).FirstExtendedRetentionRuleType = value ?? null; } /// <summary>Backing field for <see cref="IsDefault" /> property.</summary> private bool? _isDefault; /// <summary>Is this a default backup destination?</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? IsDefault { get => this._isDefault; set => this._isDefault = value; } /// <summary>Backing field for <see cref="IsSnapCopy" /> property.</summary> private bool? _isSnapCopy; /// <summary>Is this a snap copy?</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? IsSnapCopy { get => this._isSnapCopy; set => this._isSnapCopy = value; } /// <summary>Backing field for <see cref="PlanBackupDestination" /> property.</summary> private Commvault.Powershell.Models.IIdName _planBackupDestination; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IIdName PlanBackupDestination { get => (this._planBackupDestination = this._planBackupDestination ?? new Commvault.Powershell.Models.IdName()); set => this._planBackupDestination = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? PlanBackupDestinationId { get => ((Commvault.Powershell.Models.IIdNameInternal)PlanBackupDestination).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)PlanBackupDestination).Id = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string PlanBackupDestinationName { get => ((Commvault.Powershell.Models.IIdNameInternal)PlanBackupDestination).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)PlanBackupDestination).Name = value ?? null; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string RegionDisplayName { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).RegionDisplayName; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).RegionDisplayName = value ?? null; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? RegionId { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).RegionId; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).RegionId = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string RegionName { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).RegionName; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).RegionName = value ?? null; } /// <summary>Backing field for <see cref="RetentionPeriodDays" /> property.</summary> private long? _retentionPeriodDays; /// <summary>Retention period in days. -1 can be specified for infinite retention.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? RetentionPeriodDays { get => this._retentionPeriodDays; set => this._retentionPeriodDays = value; } /// <summary>If this is set as true, no need to specify retentionPeriodDays.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? SecondExtendedRetentionRuleIsInfiniteRetention { get => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).SecondExtendedRetentionRuleIsInfiniteRetention; set => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).SecondExtendedRetentionRuleIsInfiniteRetention = value ?? default(bool); } /// <summary>If this is set, no need to specify isInfiniteRetention as false.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? SecondExtendedRetentionRuleRetentionPeriodDays { get => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).SecondExtendedRetentionRuleRetentionPeriodDays; set => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).SecondExtendedRetentionRuleRetentionPeriodDays = value ?? default(long); } /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string SecondExtendedRetentionRuleType { get => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).SecondExtendedRetentionRuleType; set => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).SecondExtendedRetentionRuleType = value ?? null; } /// <summary>Backing field for <see cref="StoragePool" /> property.</summary> private Commvault.Powershell.Models.IStoragePool _storagePool; /// <summary>StoragePool</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IStoragePool StoragePool { get => (this._storagePool = this._storagePool ?? new Commvault.Powershell.Models.StoragePool()); set => this._storagePool = value; } /// <summary>Id of Storage Pool</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? StoragePoolId { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).Id; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).Id = value ?? default(long); } /// <summary>Flag indicating whether the storage tier is archive.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? StoragePoolIsArchiveStorage { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).IsArchiveStorage; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).IsArchiveStorage = value ?? default(bool); } /// <summary>Name of Storage Pool</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string StoragePoolName { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).Name; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).Name = value ?? null; } /// <summary>Retention period of pool in days</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? StoragePoolRetentionPeriodDays { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).RetentionPeriodDays; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).RetentionPeriodDays = value ?? default(long); } /// <summary>Storage class of the Storage Pool</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string StoragePoolStorageClass { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).StorageClass; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).StorageClass = value ?? null; } /// <summary>Type of Storage Pool</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string StoragePoolType { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).Type; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).Type = value ?? null; } /// <summary> /// Bit flag indicating WORM configuration of storage pool. 0 means no lock, 1 means compliance lock, 2 means worm storage /// lock, 4 means Object worm lock and 8 means bucket worm lock. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? StoragePoolWormStoragePoolFlag { get => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).WormStoragePoolFlag; set => ((Commvault.Powershell.Models.IStoragePoolInternal)StoragePool).WormStoragePoolFlag = value ?? default(long); } /// <summary>Backing field for <see cref="StorageType" /> property.</summary> private string _storageType; /// <summary>StorageType</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string StorageType { get => this._storageType; set => this._storageType = value; } /// <summary>If this is set as true, no need to specify retentionPeriodDays.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? ThirdExtendedRetentionRuleIsInfiniteRetention { get => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).ThirdExtendedRetentionRuleIsInfiniteRetention; set => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).ThirdExtendedRetentionRuleIsInfiniteRetention = value ?? default(bool); } /// <summary>If this is set, no need to specify isInfiniteRetention as false.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? ThirdExtendedRetentionRuleRetentionPeriodDays { get => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).ThirdExtendedRetentionRuleRetentionPeriodDays; set => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).ThirdExtendedRetentionRuleRetentionPeriodDays = value ?? default(long); } /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string ThirdExtendedRetentionRuleType { get => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).ThirdExtendedRetentionRuleType; set => ((Commvault.Powershell.Models.IExtendedRetentionRulesInternal)ExtendedRetentionRules).ThirdExtendedRetentionRuleType = value ?? null; } /// <summary>Backing field for <see cref="UseExtendedRetentionRules" /> property.</summary> private bool? _useExtendedRetentionRules; /// <summary>Use extended retention rules</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? UseExtendedRetentionRules { get => this._useExtendedRetentionRules; set => this._useExtendedRetentionRules = value; } /// <summary>Creates an new <see cref="GetObjectStorePlanBackupDestination" /> instance.</summary> public GetObjectStorePlanBackupDestination() { } } public partial interface IGetObjectStorePlanBackupDestination : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Backup destination name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Backup destination name", SerializedName = @"backupDestinationName", PossibleTypes = new [] { typeof(string) })] string BackupDestinationName { get; set; } /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only.", SerializedName = @"backupsToCopy", PossibleTypes = new [] { typeof(string) })] string BackupsToCopy { get; set; } /// <summary>Order of backup destination copy created in storage policy</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Order of backup destination copy created in storage policy", SerializedName = @"copyPrecedence", PossibleTypes = new [] { typeof(long) })] long? CopyPrecedence { get; set; } /// <summary>Device Type Id of the storage.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Device Type Id of the storage.", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? DeviceTypeId { get; set; } /// <summary>Device type of the storage.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Device type of the storage.", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string DeviceTypeName { get; set; } /// <summary>Tells if this copy has data aging enabled</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Tells if this copy has data aging enabled", SerializedName = @"enableDataAging", PossibleTypes = new [] { typeof(bool) })] bool? EnableDataAging { get; set; } /// <summary>If this is set as true, no need to specify retentionPeriodDays.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"If this is set as true, no need to specify retentionPeriodDays.", SerializedName = @"isInfiniteRetention", PossibleTypes = new [] { typeof(bool) })] bool? FirstExtendedRetentionRuleIsInfiniteRetention { get; set; } /// <summary>If this is set, no need to specify isInfiniteRetention as false.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"If this is set, no need to specify isInfiniteRetention as false.", SerializedName = @"retentionPeriodDays", PossibleTypes = new [] { typeof(long) })] long? FirstExtendedRetentionRuleRetentionPeriodDays { get; set; } /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only.", SerializedName = @"type", PossibleTypes = new [] { typeof(string) })] string FirstExtendedRetentionRuleType { get; set; } /// <summary>Is this a default backup destination?</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Is this a default backup destination?", SerializedName = @"isDefault", PossibleTypes = new [] { typeof(bool) })] bool? IsDefault { get; set; } /// <summary>Is this a snap copy?</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Is this a snap copy?", SerializedName = @"isSnapCopy", PossibleTypes = new [] { typeof(bool) })] bool? IsSnapCopy { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? PlanBackupDestinationId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string PlanBackupDestinationName { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"displayName", PossibleTypes = new [] { typeof(string) })] string RegionDisplayName { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? RegionId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string RegionName { get; set; } /// <summary>Retention period in days. -1 can be specified for infinite retention.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Retention period in days. -1 can be specified for infinite retention.", SerializedName = @"retentionPeriodDays", PossibleTypes = new [] { typeof(long) })] long? RetentionPeriodDays { get; set; } /// <summary>If this is set as true, no need to specify retentionPeriodDays.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"If this is set as true, no need to specify retentionPeriodDays.", SerializedName = @"isInfiniteRetention", PossibleTypes = new [] { typeof(bool) })] bool? SecondExtendedRetentionRuleIsInfiniteRetention { get; set; } /// <summary>If this is set, no need to specify isInfiniteRetention as false.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"If this is set, no need to specify isInfiniteRetention as false.", SerializedName = @"retentionPeriodDays", PossibleTypes = new [] { typeof(long) })] long? SecondExtendedRetentionRuleRetentionPeriodDays { get; set; } /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only.", SerializedName = @"type", PossibleTypes = new [] { typeof(string) })] string SecondExtendedRetentionRuleType { get; set; } /// <summary>Id of Storage Pool</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Id of Storage Pool", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? StoragePoolId { get; set; } /// <summary>Flag indicating whether the storage tier is archive.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Flag indicating whether the storage tier is archive.", SerializedName = @"isArchiveStorage", PossibleTypes = new [] { typeof(bool) })] bool? StoragePoolIsArchiveStorage { get; set; } /// <summary>Name of Storage Pool</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of Storage Pool", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string StoragePoolName { get; set; } /// <summary>Retention period of pool in days</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Retention period of pool in days", SerializedName = @"retentionPeriodDays", PossibleTypes = new [] { typeof(long) })] long? StoragePoolRetentionPeriodDays { get; set; } /// <summary>Storage class of the Storage Pool</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Storage class of the Storage Pool", SerializedName = @"storageClass", PossibleTypes = new [] { typeof(string) })] string StoragePoolStorageClass { get; set; } /// <summary>Type of Storage Pool</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Type of Storage Pool", SerializedName = @"type", PossibleTypes = new [] { typeof(string) })] string StoragePoolType { get; set; } /// <summary> /// Bit flag indicating WORM configuration of storage pool. 0 means no lock, 1 means compliance lock, 2 means worm storage /// lock, 4 means Object worm lock and 8 means bucket worm lock. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Bit flag indicating WORM configuration of storage pool. 0 means no lock, 1 means compliance lock, 2 means worm storage lock, 4 means Object worm lock and 8 means bucket worm lock.", SerializedName = @"wormStoragePoolFlag", PossibleTypes = new [] { typeof(long) })] long? StoragePoolWormStoragePoolFlag { get; set; } /// <summary>StorageType</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"StorageType", SerializedName = @"storageType", PossibleTypes = new [] { typeof(string) })] string StorageType { get; set; } /// <summary>If this is set as true, no need to specify retentionPeriodDays.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"If this is set as true, no need to specify retentionPeriodDays.", SerializedName = @"isInfiniteRetention", PossibleTypes = new [] { typeof(bool) })] bool? ThirdExtendedRetentionRuleIsInfiniteRetention { get; set; } /// <summary>If this is set, no need to specify isInfiniteRetention as false.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"If this is set, no need to specify isInfiniteRetention as false.", SerializedName = @"retentionPeriodDays", PossibleTypes = new [] { typeof(long) })] long? ThirdExtendedRetentionRuleRetentionPeriodDays { get; set; } /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only.", SerializedName = @"type", PossibleTypes = new [] { typeof(string) })] string ThirdExtendedRetentionRuleType { get; set; } /// <summary>Use extended retention rules</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Use extended retention rules", SerializedName = @"useExtendedRetentionRules", PossibleTypes = new [] { typeof(bool) })] bool? UseExtendedRetentionRules { get; set; } } internal partial interface IGetObjectStorePlanBackupDestinationInternal { /// <summary>Backup destination name</summary> string BackupDestinationName { get; set; } /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> string BackupsToCopy { get; set; } /// <summary>Order of backup destination copy created in storage policy</summary> long? CopyPrecedence { get; set; } /// <summary>Device Type Id of the storage.</summary> long? DeviceTypeId { get; set; } /// <summary>Device type of the storage.</summary> string DeviceTypeName { get; set; } /// <summary>Tells if this copy has data aging enabled</summary> bool? EnableDataAging { get; set; } Commvault.Powershell.Models.IPlanRetentionRule ExtendedRetentionRuleFirstExtendedRetentionRule { get; set; } Commvault.Powershell.Models.IPlanRetentionRule ExtendedRetentionRuleSecondExtendedRetentionRule { get; set; } Commvault.Powershell.Models.IPlanRetentionRule ExtendedRetentionRuleThirdExtendedRetentionRule { get; set; } /// <summary> /// If you want to update, specify the whole object. Extended retention rules should be bigger than retention period. /// </summary> Commvault.Powershell.Models.IExtendedRetentionRules ExtendedRetentionRules { get; set; } /// <summary>If this is set as true, no need to specify retentionPeriodDays.</summary> bool? FirstExtendedRetentionRuleIsInfiniteRetention { get; set; } /// <summary>If this is set, no need to specify isInfiniteRetention as false.</summary> long? FirstExtendedRetentionRuleRetentionPeriodDays { get; set; } /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> string FirstExtendedRetentionRuleType { get; set; } /// <summary>Is this a default backup destination?</summary> bool? IsDefault { get; set; } /// <summary>Is this a snap copy?</summary> bool? IsSnapCopy { get; set; } Commvault.Powershell.Models.IIdName PlanBackupDestination { get; set; } long? PlanBackupDestinationId { get; set; } string PlanBackupDestinationName { get; set; } string RegionDisplayName { get; set; } long? RegionId { get; set; } string RegionName { get; set; } /// <summary>Retention period in days. -1 can be specified for infinite retention.</summary> long? RetentionPeriodDays { get; set; } /// <summary>If this is set as true, no need to specify retentionPeriodDays.</summary> bool? SecondExtendedRetentionRuleIsInfiniteRetention { get; set; } /// <summary>If this is set, no need to specify isInfiniteRetention as false.</summary> long? SecondExtendedRetentionRuleRetentionPeriodDays { get; set; } /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> string SecondExtendedRetentionRuleType { get; set; } /// <summary>StoragePool</summary> Commvault.Powershell.Models.IStoragePool StoragePool { get; set; } /// <summary>DeviceType</summary> Commvault.Powershell.Models.IDeviceType StoragePoolDeviceType { get; set; } /// <summary>Id of Storage Pool</summary> long? StoragePoolId { get; set; } /// <summary>Flag indicating whether the storage tier is archive.</summary> bool? StoragePoolIsArchiveStorage { get; set; } /// <summary>Name of Storage Pool</summary> string StoragePoolName { get; set; } Commvault.Powershell.Models.IIdNameDisplayName StoragePoolRegion { get; set; } /// <summary>Retention period of pool in days</summary> long? StoragePoolRetentionPeriodDays { get; set; } /// <summary>Storage class of the Storage Pool</summary> string StoragePoolStorageClass { get; set; } /// <summary>Type of Storage Pool</summary> string StoragePoolType { get; set; } /// <summary> /// Bit flag indicating WORM configuration of storage pool. 0 means no lock, 1 means compliance lock, 2 means worm storage /// lock, 4 means Object worm lock and 8 means bucket worm lock. /// </summary> long? StoragePoolWormStoragePoolFlag { get; set; } /// <summary>StorageType</summary> string StorageType { get; set; } /// <summary>If this is set as true, no need to specify retentionPeriodDays.</summary> bool? ThirdExtendedRetentionRuleIsInfiniteRetention { get; set; } /// <summary>If this is set, no need to specify isInfiniteRetention as false.</summary> long? ThirdExtendedRetentionRuleRetentionPeriodDays { get; set; } /// <summary> /// All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only. /// </summary> string ThirdExtendedRetentionRuleType { get; set; } /// <summary>Use extended retention rules</summary> bool? UseExtendedRetentionRules { get; set; } } } |