generated/api/Models/ApplicationGroupWorkerResourcesOptions.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>Application Group Worker Pod Resources Options</summary> public partial class ApplicationGroupWorkerResourcesOptions : Commvault.Powershell.Models.IApplicationGroupWorkerResourcesOptions, Commvault.Powershell.Models.IApplicationGroupWorkerResourcesOptionsInternal { /// <summary>Backing field for <see cref="CpuLimits" /> property.</summary> private string _cpuLimits; /// <summary>Define limits.cpu to set on the worker Pod</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string CpuLimits { get => this._cpuLimits; set => this._cpuLimits = value; } /// <summary>Backing field for <see cref="CpuRequests" /> property.</summary> private string _cpuRequests; /// <summary>Define requests.cpu to set on the worker Pod</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string CpuRequests { get => this._cpuRequests; set => this._cpuRequests = value; } /// <summary>Backing field for <see cref="MemoryLimits" /> property.</summary> private string _memoryLimits; /// <summary>Define limits.memory to set on the worker Pod</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string MemoryLimits { get => this._memoryLimits; set => this._memoryLimits = value; } /// <summary>Backing field for <see cref="MemoryRequests" /> property.</summary> private string _memoryRequests; /// <summary>Define requests.memory to set on the worker Pod</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string MemoryRequests { get => this._memoryRequests; set => this._memoryRequests = value; } /// <summary>Creates an new <see cref="ApplicationGroupWorkerResourcesOptions" /> instance.</summary> public ApplicationGroupWorkerResourcesOptions() { } } /// Application Group Worker Pod Resources Options public partial interface IApplicationGroupWorkerResourcesOptions : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Define limits.cpu to set on the worker Pod</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Define limits.cpu to set on the worker Pod", SerializedName = @"cpuLimits", PossibleTypes = new [] { typeof(string) })] string CpuLimits { get; set; } /// <summary>Define requests.cpu to set on the worker Pod</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Define requests.cpu to set on the worker Pod", SerializedName = @"cpuRequests", PossibleTypes = new [] { typeof(string) })] string CpuRequests { get; set; } /// <summary>Define limits.memory to set on the worker Pod</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Define limits.memory to set on the worker Pod", SerializedName = @"memoryLimits", PossibleTypes = new [] { typeof(string) })] string MemoryLimits { get; set; } /// <summary>Define requests.memory to set on the worker Pod</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Define requests.memory to set on the worker Pod", SerializedName = @"memoryRequests", PossibleTypes = new [] { typeof(string) })] string MemoryRequests { get; set; } } /// Application Group Worker Pod Resources Options internal partial interface IApplicationGroupWorkerResourcesOptionsInternal { /// <summary>Define limits.cpu to set on the worker Pod</summary> string CpuLimits { get; set; } /// <summary>Define requests.cpu to set on the worker Pod</summary> string CpuRequests { get; set; } /// <summary>Define limits.memory to set on the worker Pod</summary> string MemoryLimits { get; set; } /// <summary>Define requests.memory to set on the worker Pod</summary> string MemoryRequests { get; set; } } } |