Class V1StatefulSetUpdateStrategy
StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller
will use to perform updates. It includes any additional parameters necessary to
perform the update for the indicated strategy.
Inheritance
V1StatefulSetUpdateStrategy
Assembly: KubernetesClient.dll
Syntax
public record V1StatefulSetUpdateStrategy : IEquatable<V1StatefulSetUpdateStrategy>
Constructors
V1StatefulSetUpdateStrategy()
Declaration
public V1StatefulSetUpdateStrategy()
V1StatefulSetUpdateStrategy(V1StatefulSetUpdateStrategy)
Declaration
protected V1StatefulSetUpdateStrategy(V1StatefulSetUpdateStrategy original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
RollingUpdate
RollingUpdate is used to communicate parameters when Type is
RollingUpdateStatefulSetStrategyType.
Declaration
[JsonPropertyName("rollingUpdate")]
public V1RollingUpdateStatefulSetStrategy RollingUpdate { get; set; }
Property Value
Type
Type indicates the type of the StatefulSetUpdateStrategy. Default is
RollingUpdate.
Declaration
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1StatefulSetUpdateStrategy?)
Declaration
public virtual bool Equals(V1StatefulSetUpdateStrategy? 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 ==(V1StatefulSetUpdateStrategy?, V1StatefulSetUpdateStrategy?)
Declaration
public static bool operator ==(V1StatefulSetUpdateStrategy? left, V1StatefulSetUpdateStrategy? right)
Parameters
Returns
operator !=(V1StatefulSetUpdateStrategy?, V1StatefulSetUpdateStrategy?)
Declaration
public static bool operator !=(V1StatefulSetUpdateStrategy? left, V1StatefulSetUpdateStrategy? right)
Parameters
Returns
Implements