Class V2ContainerResourceMetricStatus
ContainerResourceMetricStatus indicates the current value of a resource metric
known to Kubernetes, as specified in requests and limits, describing a single
container in each pod in the current scale target (e.g. CPU or memory). Such
metrics are built in to Kubernetes, and have special scaling options on top of
those available to normal per-pod metrics using the "pods" source.
Inheritance
V2ContainerResourceMetricStatus
Assembly: KubernetesClient.dll
Syntax
public record V2ContainerResourceMetricStatus : IEquatable<V2ContainerResourceMetricStatus>
Constructors
V2ContainerResourceMetricStatus()
Declaration
public V2ContainerResourceMetricStatus()
V2ContainerResourceMetricStatus(V2ContainerResourceMetricStatus)
Declaration
protected V2ContainerResourceMetricStatus(V2ContainerResourceMetricStatus original)
Parameters
Properties
Container
container is the name of the container in the pods of the scaling target
Declaration
[JsonPropertyName("container")]
public string Container { get; set; }
Property Value
Current
current contains the current value for the given metric
Declaration
[JsonPropertyName("current")]
public V2MetricValueStatus Current { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Name
name is the name of the resource in question.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V2ContainerResourceMetricStatus?)
Declaration
public virtual bool Equals(V2ContainerResourceMetricStatus? 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 ==(V2ContainerResourceMetricStatus?, V2ContainerResourceMetricStatus?)
Declaration
public static bool operator ==(V2ContainerResourceMetricStatus? left, V2ContainerResourceMetricStatus? right)
Parameters
Returns
operator !=(V2ContainerResourceMetricStatus?, V2ContainerResourceMetricStatus?)
Declaration
public static bool operator !=(V2ContainerResourceMetricStatus? left, V2ContainerResourceMetricStatus? right)
Parameters
Returns
Implements