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
View Source
V1StatefulSetUpdateStrategy()
Declaration
public V1StatefulSetUpdateStrategy()
View Source
V1StatefulSetUpdateStrategy(V1StatefulSetUpdateStrategy)
Declaration
protected V1StatefulSetUpdateStrategy(V1StatefulSetUpdateStrategy original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
RollingUpdate
RollingUpdate is used to communicate parameters when Type is
RollingUpdateStatefulSetStrategyType.
Declaration
[JsonPropertyName("rollingUpdate")]
public V1RollingUpdateStatefulSetStrategy RollingUpdate { get; set; }
Property Value
View Source
Type
Type indicates the type of the StatefulSetUpdateStrategy. Default is
RollingUpdate.
Declaration
[JsonPropertyName("type")]
public string Type { 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(V1StatefulSetUpdateStrategy?)
Declaration
public virtual bool Equals(V1StatefulSetUpdateStrategy? 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 ==(V1StatefulSetUpdateStrategy?, V1StatefulSetUpdateStrategy?)
Declaration
public static bool operator ==(V1StatefulSetUpdateStrategy? left, V1StatefulSetUpdateStrategy? right)
Parameters
Returns
View Source
operator !=(V1StatefulSetUpdateStrategy?, V1StatefulSetUpdateStrategy?)
Declaration
public static bool operator !=(V1StatefulSetUpdateStrategy? left, V1StatefulSetUpdateStrategy? right)
Parameters
Returns
Implements