generated/api/Models/DiskStorageConfiguration.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> /// While adding network access path, please add credentials or saved credentials. If both are provided, credentials will /// be selected. /// </summary> public partial class DiskStorageConfiguration : Commvault.Powershell.Models.IDiskStorageConfiguration, Commvault.Powershell.Models.IDiskStorageConfigurationInternal { /// <summary> /// Backing field for <see cref="DisableBackupLocationforFutureBackups" /> property. /// </summary> private bool? _disableBackupLocationforFutureBackups; /// <summary> /// Used to determine if backup location has to be disabled or enabled for future backups /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? DisableBackupLocationforFutureBackups { get => this._disableBackupLocationforFutureBackups; set => this._disableBackupLocationforFutureBackups = value; } /// <summary>Backing field for <see cref="EnableBackupLocation" /> property.</summary> private bool? _enableBackupLocation; /// <summary>Used to enable or disable backup location</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? EnableBackupLocation { get => this._enableBackupLocation; set => this._enableBackupLocation = value; } /// <summary>Backing field for <see cref="PrepareForRetirement" /> property.</summary> private bool? _prepareForRetirement; /// <summary>Used to determine if the backup location has to be prepared for retirement</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? PrepareForRetirement { get => this._prepareForRetirement; set => this._prepareForRetirement = value; } /// <summary>Creates an new <see cref="DiskStorageConfiguration" /> instance.</summary> public DiskStorageConfiguration() { } } /// While adding network access path, please add credentials or saved credentials. If both are provided, credentials will /// be selected. public partial interface IDiskStorageConfiguration : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary> /// Used to determine if backup location has to be disabled or enabled for future backups /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Used to determine if backup location has to be disabled or enabled for future backups", SerializedName = @"disableBackupLocationforFutureBackups", PossibleTypes = new [] { typeof(bool) })] bool? DisableBackupLocationforFutureBackups { get; set; } /// <summary>Used to enable or disable backup location</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Used to enable or disable backup location", SerializedName = @"enableBackupLocation", PossibleTypes = new [] { typeof(bool) })] bool? EnableBackupLocation { get; set; } /// <summary>Used to determine if the backup location has to be prepared for retirement</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Used to determine if the backup location has to be prepared for retirement", SerializedName = @"prepareForRetirement", PossibleTypes = new [] { typeof(bool) })] bool? PrepareForRetirement { get; set; } } /// While adding network access path, please add credentials or saved credentials. If both are provided, credentials will /// be selected. internal partial interface IDiskStorageConfigurationInternal { /// <summary> /// Used to determine if backup location has to be disabled or enabled for future backups /// </summary> bool? DisableBackupLocationforFutureBackups { get; set; } /// <summary>Used to enable or disable backup location</summary> bool? EnableBackupLocation { get; set; } /// <summary>Used to determine if the backup location has to be prepared for retirement</summary> bool? PrepareForRetirement { get; set; } } } |