generated/api/Models/DdbDiskInfo.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>DDB disk information of a MediaAgent</summary> public partial class DdbDiskInfo : Commvault.Powershell.Models.IDdbDiskInfo, Commvault.Powershell.Models.IDdbDiskInfoInternal { /// <summary>Backing field for <see cref="ClientInfo" /> property.</summary> private Commvault.Powershell.Models.IIdName _clientInfo; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IIdName ClientInfo { get => (this._clientInfo = this._clientInfo ?? new Commvault.Powershell.Models.IdName()); set => this._clientInfo = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? ClientInfoId { get => ((Commvault.Powershell.Models.IIdNameInternal)ClientInfo).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)ClientInfo).Id = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string ClientInfoName { get => ((Commvault.Powershell.Models.IIdNameInternal)ClientInfo).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)ClientInfo).Name = value ?? null; } /// <summary>Internal Acessors for ClientInfo</summary> Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IDdbDiskInfoInternal.ClientInfo { get => (this._clientInfo = this._clientInfo ?? new Commvault.Powershell.Models.IdName()); set { {_clientInfo = value;} } } /// <summary>Backing field for <see cref="ConsumedSpaceMb" /> property.</summary> private long? _consumedSpaceMb; /// <summary>Amount of space consumed by the DDB partitions hosted on this disk</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? ConsumedSpaceMb { get => this._consumedSpaceMb; set => this._consumedSpaceMb = value; } /// <summary>Backing field for <see cref="DiskId" /> property.</summary> private long? _diskId; /// <summary>Id of the DDB disk</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? DiskId { get => this._diskId; set => this._diskId = value; } /// <summary>Backing field for <see cref="DiskPath" /> property.</summary> private string _diskPath; /// <summary>File path of the DDB disk</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DiskPath { get => this._diskPath; set => this._diskPath = value; } /// <summary>Backing field for <see cref="FreeSpaceMb" /> property.</summary> private long? _freeSpaceMb; /// <summary>Available usable free space on the disk path</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? FreeSpaceMb { get => this._freeSpaceMb; set => this._freeSpaceMb = value; } /// <summary>Backing field for <see cref="NumOfPartitions" /> property.</summary> private long? _numOfPartitions; /// <summary>Number of DDB partitions hosted on this disk</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? NumOfPartitions { get => this._numOfPartitions; set => this._numOfPartitions = value; } /// <summary>Backing field for <see cref="PartitionList" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IDdbSubStoreInfo> _partitionList; /// <summary>List of DDB partitions hosted on this disk</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IDdbSubStoreInfo> PartitionList { get => this._partitionList; set => this._partitionList = value; } /// <summary>Backing field for <see cref="Status" /> property.</summary> private string _status; /// <summary>Satus of the disk</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Status { get => this._status; set => this._status = value; } /// <summary>Backing field for <see cref="TotalSpaceMb" /> property.</summary> private long? _totalSpaceMb; /// <summary>Total space capacity of the disk path</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? TotalSpaceMb { get => this._totalSpaceMb; set => this._totalSpaceMb = value; } /// <summary>Creates an new <see cref="DdbDiskInfo" /> instance.</summary> public DdbDiskInfo() { } } /// DDB disk information of a MediaAgent public partial interface IDdbDiskInfo : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? ClientInfoId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string ClientInfoName { get; set; } /// <summary>Amount of space consumed by the DDB partitions hosted on this disk</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Amount of space consumed by the DDB partitions hosted on this disk", SerializedName = @"consumedSpaceMB", PossibleTypes = new [] { typeof(long) })] long? ConsumedSpaceMb { get; set; } /// <summary>Id of the DDB disk</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Id of the DDB disk", SerializedName = @"diskId", PossibleTypes = new [] { typeof(long) })] long? DiskId { get; set; } /// <summary>File path of the DDB disk</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"File path of the DDB disk", SerializedName = @"diskPath", PossibleTypes = new [] { typeof(string) })] string DiskPath { get; set; } /// <summary>Available usable free space on the disk path</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Available usable free space on the disk path", SerializedName = @"freeSpaceMB", PossibleTypes = new [] { typeof(long) })] long? FreeSpaceMb { get; set; } /// <summary>Number of DDB partitions hosted on this disk</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Number of DDB partitions hosted on this disk", SerializedName = @"numOfPartitions", PossibleTypes = new [] { typeof(long) })] long? NumOfPartitions { get; set; } /// <summary>List of DDB partitions hosted on this disk</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"List of DDB partitions hosted on this disk", SerializedName = @"partitionList", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IDdbSubStoreInfo) })] System.Collections.Generic.List<Commvault.Powershell.Models.IDdbSubStoreInfo> PartitionList { get; set; } /// <summary>Satus of the disk</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Satus of the disk", SerializedName = @"status", PossibleTypes = new [] { typeof(string) })] string Status { get; set; } /// <summary>Total space capacity of the disk path</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Total space capacity of the disk path", SerializedName = @"totalSpaceMB", PossibleTypes = new [] { typeof(long) })] long? TotalSpaceMb { get; set; } } /// DDB disk information of a MediaAgent internal partial interface IDdbDiskInfoInternal { Commvault.Powershell.Models.IIdName ClientInfo { get; set; } long? ClientInfoId { get; set; } string ClientInfoName { get; set; } /// <summary>Amount of space consumed by the DDB partitions hosted on this disk</summary> long? ConsumedSpaceMb { get; set; } /// <summary>Id of the DDB disk</summary> long? DiskId { get; set; } /// <summary>File path of the DDB disk</summary> string DiskPath { get; set; } /// <summary>Available usable free space on the disk path</summary> long? FreeSpaceMb { get; set; } /// <summary>Number of DDB partitions hosted on this disk</summary> long? NumOfPartitions { get; set; } /// <summary>List of DDB partitions hosted on this disk</summary> System.Collections.Generic.List<Commvault.Powershell.Models.IDdbSubStoreInfo> PartitionList { get; set; } /// <summary>Satus of the disk</summary> string Status { get; set; } /// <summary>Total space capacity of the disk path</summary> long? TotalSpaceMb { get; set; } } } |