Class V1CounterSet
CounterSet defines a named set of counters that are available to be used by
devices defined in the ResourceSlice.
The counters are not allocatable by themselves, but can be referenced by
devices. When a device is allocated, the portion of counters it uses will no
longer be available for use by other devices.
Assembly: KubernetesClient.dll
Syntax
public record V1CounterSet : IEquatable<V1CounterSet>
Constructors
View Source
V1CounterSet()
Declaration
View Source
V1CounterSet(V1CounterSet)
Declaration
protected V1CounterSet(V1CounterSet original)
Parameters
Properties
View Source
Counters
Counters defines the set of counters for this CounterSet The name of each
counter must be unique in that set and must be a DNS label.
The maximum number of counters in all sets is 32.
Declaration
[JsonPropertyName("counters")]
public IDictionary<string, V1Counter> Counters { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Name
Name defines the name of the counter set. It must be a DNS label.
Declaration
[JsonPropertyName("name")]
public string Name { 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(V1CounterSet?)
Declaration
public virtual bool Equals(V1CounterSet? 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 ==(V1CounterSet?, V1CounterSet?)
Declaration
public static bool operator ==(V1CounterSet? left, V1CounterSet? right)
Parameters
Returns
View Source
operator !=(V1CounterSet?, V1CounterSet?)
Declaration
public static bool operator !=(V1CounterSet? left, V1CounterSet? right)
Parameters
Returns
Implements