generated/api/Models/ProvisioningOptions.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>ProvisioningOptions</summary> public partial class ProvisioningOptions : Commvault.Powershell.Models.IProvisioningOptions, Commvault.Powershell.Models.IProvisioningOptionsInternal { /// <summary>Backing field for <see cref="MaximumCpuCores" /> property.</summary> private long? _maximumCpuCores; /// <summary>Maximum cores for the VM</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? MaximumCpuCores { get => this._maximumCpuCores; set => this._maximumCpuCores = value; } /// <summary>Backing field for <see cref="MaximumMemory" /> property.</summary> private string _maximumMemory; /// <summary>Maximum memory of the VM in GBs</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string MaximumMemory { get => this._maximumMemory; set => this._maximumMemory = value; } /// <summary>Backing field for <see cref="NumberOfVMS" /> property.</summary> private long? _numberOfVMS; /// <summary>Number of VMs that each user can create using this recovery target</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? NumberOfVMS { get => this._numberOfVMS; set => this._numberOfVMS = value; } /// <summary>Backing field for <see cref="Templates" /> property.</summary> private Commvault.Powershell.Models.ITemplate[] _templates; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public Commvault.Powershell.Models.ITemplate[] Templates { get => this._templates; set => this._templates = value; } /// <summary>Creates an new <see cref="ProvisioningOptions" /> instance.</summary> public ProvisioningOptions() { } } /// ProvisioningOptions public partial interface IProvisioningOptions : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Maximum cores for the VM</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Maximum cores for the VM", SerializedName = @"maximumCPUCores", PossibleTypes = new [] { typeof(long) })] long? MaximumCpuCores { get; set; } /// <summary>Maximum memory of the VM in GBs</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Maximum memory of the VM in GBs", SerializedName = @"maximumMemory", PossibleTypes = new [] { typeof(string) })] string MaximumMemory { get; set; } /// <summary>Number of VMs that each user can create using this recovery target</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Number of VMs that each user can create using this recovery target", SerializedName = @"numberOfVMs", PossibleTypes = new [] { typeof(long) })] long? NumberOfVMS { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"templates", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ITemplate) })] Commvault.Powershell.Models.ITemplate[] Templates { get; set; } } /// ProvisioningOptions internal partial interface IProvisioningOptionsInternal { /// <summary>Maximum cores for the VM</summary> long? MaximumCpuCores { get; set; } /// <summary>Maximum memory of the VM in GBs</summary> string MaximumMemory { get; set; } /// <summary>Number of VMs that each user can create using this recovery target</summary> long? NumberOfVMS { get; set; } Commvault.Powershell.Models.ITemplate[] Templates { get; set; } } } |