Class V2ObjectMetricSource
ObjectMetricSource indicates how to scale on a metric describing a kubernetes
object (for example, hits-per-second on an Ingress object).
Inheritance
V2ObjectMetricSource
Assembly: KubernetesClient.dll
Syntax
public record V2ObjectMetricSource : IEquatable<V2ObjectMetricSource>
Constructors
V2ObjectMetricSource()
Declaration
public V2ObjectMetricSource()
V2ObjectMetricSource(V2ObjectMetricSource)
Declaration
protected V2ObjectMetricSource(V2ObjectMetricSource original)
Parameters
Properties
DescribedObject
describedObject specifies the descriptions of a object,such as kind,name
apiVersion
Declaration
[JsonPropertyName("describedObject")]
public V2CrossVersionObjectReference DescribedObject { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Metric
metric identifies the target metric by name and selector
Declaration
[JsonPropertyName("metric")]
public V2MetricIdentifier Metric { get; set; }
Property Value
Target
target specifies the target value for the given metric
Declaration
[JsonPropertyName("target")]
public V2MetricTarget Target { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V2ObjectMetricSource?)
Declaration
public virtual bool Equals(V2ObjectMetricSource? 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 ==(V2ObjectMetricSource?, V2ObjectMetricSource?)
Declaration
public static bool operator ==(V2ObjectMetricSource? left, V2ObjectMetricSource? right)
Parameters
Returns
operator !=(V2ObjectMetricSource?, V2ObjectMetricSource?)
Declaration
public static bool operator !=(V2ObjectMetricSource? left, V2ObjectMetricSource? right)
Parameters
Returns
Implements