Class V2MetricTarget
MetricTarget defines the target value, average value, or average utilization of
a specific metric
Inheritance
V2MetricTarget
Assembly: KubernetesClient.dll
Syntax
public record V2MetricTarget : IEquatable<V2MetricTarget>
Constructors
View Source
V2MetricTarget()
Declaration
View Source
V2MetricTarget(V2MetricTarget)
Declaration
protected V2MetricTarget(V2MetricTarget original)
Parameters
Properties
View Source
AverageUtilization
averageUtilization is the target value of the average of the resource metric
across all relevant pods, represented as a percentage of the requested value of
the resource for the pods. Currently only valid for Resource metric source type
Declaration
[JsonPropertyName("averageUtilization")]
public int? AverageUtilization { get; set; }
Property Value
View Source
AverageValue
averageValue is the target value of the average of the metric across all
relevant pods (as a quantity)
Declaration
[JsonPropertyName("averageValue")]
public ResourceQuantity AverageValue { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Type
type represents whether the metric type is Utilization, Value, or AverageValue
Declaration
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
View Source
Value
value is the target value of the metric (as a quantity).
Declaration
[JsonPropertyName("value")]
public ResourceQuantity Value { 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(V2MetricTarget?)
Declaration
public virtual bool Equals(V2MetricTarget? 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 ==(V2MetricTarget?, V2MetricTarget?)
Declaration
public static bool operator ==(V2MetricTarget? left, V2MetricTarget? right)
Parameters
Returns
View Source
operator !=(V2MetricTarget?, V2MetricTarget?)
Declaration
public static bool operator !=(V2MetricTarget? left, V2MetricTarget? right)
Parameters
Returns
Implements