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
View Source
V2ObjectMetricSource()
Declaration
public V2ObjectMetricSource()
View Source
V2ObjectMetricSource(V2ObjectMetricSource)
Declaration
protected V2ObjectMetricSource(V2ObjectMetricSource original)
Parameters
Properties
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
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Metric
metric identifies the target metric by name and selector
Declaration
[JsonPropertyName("metric")]
public V2MetricIdentifier Metric { get; set; }
Property Value
View Source
Target
target specifies the target value for the given metric
Declaration
[JsonPropertyName("target")]
public V2MetricTarget Target { 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(V2ObjectMetricSource?)
Declaration
public virtual bool Equals(V2ObjectMetricSource? 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 ==(V2ObjectMetricSource?, V2ObjectMetricSource?)
Declaration
public static bool operator ==(V2ObjectMetricSource? left, V2ObjectMetricSource? right)
Parameters
Returns
View Source
operator !=(V2ObjectMetricSource?, V2ObjectMetricSource?)
Declaration
public static bool operator !=(V2ObjectMetricSource? left, V2ObjectMetricSource? right)
Parameters
Returns
Implements