Class V1ResourceQuotaSpec
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
Inheritance
V1ResourceQuotaSpec
Assembly: KubernetesClient.dll
Syntax
public record V1ResourceQuotaSpec : IEquatable<V1ResourceQuotaSpec>
Constructors
View Source
V1ResourceQuotaSpec()
Declaration
public V1ResourceQuotaSpec()
View Source
V1ResourceQuotaSpec(V1ResourceQuotaSpec)
Declaration
protected V1ResourceQuotaSpec(V1ResourceQuotaSpec original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Hard
Declaration
[JsonPropertyName("hard")]
public IDictionary<string, ResourceQuantity> Hard { get; set; }
Property Value
View Source
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
View Source
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
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1ResourceQuotaSpec?)
Declaration
public virtual bool Equals(V1ResourceQuotaSpec? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1ResourceQuotaSpec?, V1ResourceQuotaSpec?)
Declaration
public static bool operator ==(V1ResourceQuotaSpec? left, V1ResourceQuotaSpec? right)
Parameters
Returns
View Source
operator !=(V1ResourceQuotaSpec?, V1ResourceQuotaSpec?)
Declaration
public static bool operator !=(V1ResourceQuotaSpec? left, V1ResourceQuotaSpec? right)
Parameters
Returns
Implements