Class V1ResourceQuotaSpec
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
Inheritance
V1ResourceQuotaSpec
Assembly: KubernetesClient.dll
Syntax
public record V1ResourceQuotaSpec : IEquatable<V1ResourceQuotaSpec>
Constructors
V1ResourceQuotaSpec()
Declaration
public V1ResourceQuotaSpec()
V1ResourceQuotaSpec(V1ResourceQuotaSpec)
Declaration
protected V1ResourceQuotaSpec(V1ResourceQuotaSpec original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Hard
Declaration
[JsonPropertyName("hard")]
public IDictionary<string, ResourceQuantity> Hard { get; set; }
Property Value
ScopeSelector
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.
Declaration
[JsonPropertyName("scopeSelector")]
public V1ScopeSelector ScopeSelector { get; set; }
Property Value
Scopes
A collection of filters that must match each object tracked by a quota. If not
specified, the quota matches all objects.
Declaration
[JsonPropertyName("scopes")]
public IList<string> Scopes { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1ResourceQuotaSpec?)
Declaration
public virtual bool Equals(V1ResourceQuotaSpec? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1ResourceQuotaSpec?, V1ResourceQuotaSpec?)
Declaration
public static bool operator ==(V1ResourceQuotaSpec? left, V1ResourceQuotaSpec? right)
Parameters
Returns
operator !=(V1ResourceQuotaSpec?, V1ResourceQuotaSpec?)
Declaration
public static bool operator !=(V1ResourceQuotaSpec? left, V1ResourceQuotaSpec? right)
Parameters
Returns
Implements