// // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // namespace k8s.Models { using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; /// /// ResourceQuotaSpec defines the desired hard limits to enforce for Quota. /// public partial class V1ResourceQuotaSpec { /// /// Initializes a new instance of the V1ResourceQuotaSpec class. /// public V1ResourceQuotaSpec() { CustomInit(); } /// /// Initializes a new instance of the V1ResourceQuotaSpec class. /// /// hard is the set of desired hard limits for each /// named resource. More info: /// https://kubernetes.io/docs/concepts/policy/resource-quotas/ /// scopeSelector is also a collection of /// filters like scopes that must match each object tracked by a quota /// but expressed using ScopeSelectorOperator in combination with /// possible values. For a resource to match, both scopes AND /// scopeSelector (if specified in spec), must be matched. /// A collection of filters that must match each /// object tracked by a quota. If not specified, the quota matches all /// objects. public V1ResourceQuotaSpec(IDictionary hard = default(IDictionary), V1ScopeSelector scopeSelector = default(V1ScopeSelector), IList scopes = default(IList)) { Hard = hard; ScopeSelector = scopeSelector; Scopes = scopes; CustomInit(); } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); /// /// Gets or sets hard is the set of desired hard limits for each named /// resource. More info: /// https://kubernetes.io/docs/concepts/policy/resource-quotas/ /// [JsonProperty(PropertyName = "hard")] public IDictionary Hard { get; set; } /// /// Gets or sets scopeSelector is also a collection of filters like /// scopes that must match each object tracked by a quota but expressed /// using ScopeSelectorOperator in combination with possible values. /// For a resource to match, both scopes AND scopeSelector (if /// specified in spec), must be matched. /// [JsonProperty(PropertyName = "scopeSelector")] public V1ScopeSelector ScopeSelector { get; set; } /// /// Gets or sets a collection of filters that must match each object /// tracked by a quota. If not specified, the quota matches all /// objects. /// [JsonProperty(PropertyName = "scopes")] public IList Scopes { get; set; } } }