Show / Hide Table of Contents

Class V2ObjectMetricStatus

ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

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

Constructors

View Source

V2ObjectMetricStatus()

Declaration
public V2ObjectMetricStatus()
View Source

V2ObjectMetricStatus(V2ObjectMetricStatus)

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

Properties

View Source

Current

current contains the current value for the given metric

Declaration
[JsonPropertyName("current")]
public V2MetricValueStatus Current { get; set; }
Property Value
Type Description
V2MetricValueStatus
View Source

DescribedObject

DescribedObject specifies the descriptions of a object,such as kind,name apiVersion

Declaration
[JsonPropertyName("describedObject")]
public V2CrossVersionObjectReference DescribedObject { get; set; }
Property Value
Type Description
V2CrossVersionObjectReference
View Source

EqualityContract

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

Metric

metric identifies the target metric by name and selector

Declaration
[JsonPropertyName("metric")]
public V2MetricIdentifier Metric { get; set; }
Property Value
Type Description
V2MetricIdentifier

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(V2ObjectMetricStatus?)

Declaration
public virtual bool Equals(V2ObjectMetricStatus? other)
Parameters
Type Name Description
V2ObjectMetricStatus 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 ==(V2ObjectMetricStatus?, V2ObjectMetricStatus?)

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

operator !=(V2ObjectMetricStatus?, V2ObjectMetricStatus?)

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

Implements

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