Show / Hide Table of Contents

Class V1DeviceCounterConsumption

DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.

Inheritance
object
V1DeviceCounterConsumption
Implements
IEquatable<V1DeviceCounterConsumption>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1DeviceCounterConsumption : IEquatable<V1DeviceCounterConsumption>

Constructors

View Source

V1DeviceCounterConsumption()

Declaration
public V1DeviceCounterConsumption()
View Source

V1DeviceCounterConsumption(V1DeviceCounterConsumption)

Declaration
protected V1DeviceCounterConsumption(V1DeviceCounterConsumption original)
Parameters
Type Name Description
V1DeviceCounterConsumption original

Properties

View Source

CounterSet

CounterSet is the name of the set from which the counters defined will be consumed.

Declaration
[JsonPropertyName("counterSet")]
public string CounterSet { get; set; }
Property Value
Type Description
string
View Source

Counters

Counters defines the counters that will be consumed by the device.

The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).

Declaration
[JsonPropertyName("counters")]
public IDictionary<string, V1Counter> Counters { get; set; }
Property Value
Type Description
IDictionary<string, V1Counter>
View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1DeviceCounterConsumption?)

Declaration
public virtual bool Equals(V1DeviceCounterConsumption? other)
Parameters
Type Name Description
V1DeviceCounterConsumption other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1DeviceCounterConsumption?, V1DeviceCounterConsumption?)

Declaration
public static bool operator ==(V1DeviceCounterConsumption? left, V1DeviceCounterConsumption? right)
Parameters
Type Name Description
V1DeviceCounterConsumption left
V1DeviceCounterConsumption right
Returns
Type Description
bool
View Source

operator !=(V1DeviceCounterConsumption?, V1DeviceCounterConsumption?)

Declaration
public static bool operator !=(V1DeviceCounterConsumption? left, V1DeviceCounterConsumption? right)
Parameters
Type Name Description
V1DeviceCounterConsumption left
V1DeviceCounterConsumption right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX