generated/api/Models/DiskConfiguration.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.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; /// <summary>DiskConfiguration</summary> public partial class DiskConfiguration : Commvault.Powershell.Models.IDiskConfiguration, Commvault.Powershell.Models.IDiskConfigurationInternal { /// <summary>Backing field for <see cref="DiskSize" /> property.</summary> private long? _diskSize; /// <summary>Disk size in bytes</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? DiskSize { get => this._diskSize; set => this._diskSize = value; } /// <summary>Backing field for <see cref="DiskType" /> property.</summary> private string _diskType; /// <summary>Type of disk controller</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DiskType { get => this._diskType; set => this._diskType = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>Name of the disk</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Backing field for <see cref="ProvisioningType" /> property.</summary> private string _provisioningType; /// <summary>Disk provisioning type</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ProvisioningType { get => this._provisioningType; set => this._provisioningType = value; } /// <summary>Creates an new <see cref="DiskConfiguration" /> instance.</summary> public DiskConfiguration() { } } /// DiskConfiguration public partial interface IDiskConfiguration : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Disk size in bytes</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Disk size in bytes", SerializedName = @"diskSize", PossibleTypes = new [] { typeof(long) })] long? DiskSize { get; set; } /// <summary>Type of disk controller</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Type of disk controller", SerializedName = @"diskType", PossibleTypes = new [] { typeof(string) })] string DiskType { get; set; } /// <summary>Name of the disk</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Name of the disk", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } /// <summary>Disk provisioning type</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Disk provisioning type", SerializedName = @"provisioningType", PossibleTypes = new [] { typeof(string) })] string ProvisioningType { get; set; } } /// DiskConfiguration internal partial interface IDiskConfigurationInternal { /// <summary>Disk size in bytes</summary> long? DiskSize { get; set; } /// <summary>Type of disk controller</summary> string DiskType { get; set; } /// <summary>Name of the disk</summary> string Name { get; set; } /// <summary>Disk provisioning type</summary> string ProvisioningType { get; set; } } } |