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
View Source
V2HPAScalingPolicy()
Declaration
public V2HPAScalingPolicy()
View Source
V2HPAScalingPolicy(V2HPAScalingPolicy)
Declaration
protected V2HPAScalingPolicy(V2HPAScalingPolicy original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
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
View Source
Type
type is used to specify the scaling policy.
Declaration
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
View Source
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
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V2HPAScalingPolicy?)
Declaration
public virtual bool Equals(V2HPAScalingPolicy? 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 ==(V2HPAScalingPolicy?, V2HPAScalingPolicy?)
Declaration
public static bool operator ==(V2HPAScalingPolicy? left, V2HPAScalingPolicy? right)
Parameters
Returns
View Source
operator !=(V2HPAScalingPolicy?, V2HPAScalingPolicy?)
Declaration
public static bool operator !=(V2HPAScalingPolicy? left, V2HPAScalingPolicy? right)
Parameters
Returns
Implements