Class V2HPAScalingPolicy
HPAScalingPolicy is a single policy which must hold true for a specified past
interval.
Inheritance
V2HPAScalingPolicy
Assembly: KubernetesClient.dll
Syntax
public record V2HPAScalingPolicy : IEquatable<V2HPAScalingPolicy>
Constructors
V2HPAScalingPolicy()
Declaration
public V2HPAScalingPolicy()
V2HPAScalingPolicy(V2HPAScalingPolicy)
Declaration
protected V2HPAScalingPolicy(V2HPAScalingPolicy original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
PeriodSeconds
periodSeconds specifies the window of time for which the policy should hold
true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30
min).
Declaration
[JsonPropertyName("periodSeconds")]
public int PeriodSeconds { get; set; }
Property Value
Type
type is used to specify the scaling policy.
Declaration
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
Value
value contains the amount of change which is permitted by the policy. It must be
greater than zero
Declaration
[JsonPropertyName("value")]
public int Value { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V2HPAScalingPolicy?)
Declaration
public virtual bool Equals(V2HPAScalingPolicy? 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 ==(V2HPAScalingPolicy?, V2HPAScalingPolicy?)
Declaration
public static bool operator ==(V2HPAScalingPolicy? left, V2HPAScalingPolicy? right)
Parameters
Returns
operator !=(V2HPAScalingPolicy?, V2HPAScalingPolicy?)
Declaration
public static bool operator !=(V2HPAScalingPolicy? left, V2HPAScalingPolicy? right)
Parameters
Returns
Implements