Class V1ReplicaSetSpec
ReplicaSetSpec is the specification of a ReplicaSet.
Inheritance
V1ReplicaSetSpec
Assembly: KubernetesClient.dll
Syntax
public record V1ReplicaSetSpec : IEquatable<V1ReplicaSetSpec>
Constructors
V1ReplicaSetSpec()
Declaration
public V1ReplicaSetSpec()
V1ReplicaSetSpec(V1ReplicaSetSpec)
Declaration
protected V1ReplicaSetSpec(V1ReplicaSetSpec original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
MinReadySeconds
Minimum number of seconds for which a newly created pod should be ready without
any of its container crashing, for it to be considered available. Defaults to 0
(pod will be considered available as soon as it is ready)
Declaration
[JsonPropertyName("minReadySeconds")]
public int? MinReadySeconds { get; set; }
Property Value
Replicas
Declaration
[JsonPropertyName("replicas")]
public int? Replicas { get; set; }
Property Value
Selector
Declaration
[JsonPropertyName("selector")]
public V1LabelSelector Selector { get; set; }
Property Value
Template
Declaration
[JsonPropertyName("template")]
public V1PodTemplateSpec Template { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1ReplicaSetSpec?)
Declaration
public virtual bool Equals(V1ReplicaSetSpec? 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 ==(V1ReplicaSetSpec?, V1ReplicaSetSpec?)
Declaration
public static bool operator ==(V1ReplicaSetSpec? left, V1ReplicaSetSpec? right)
Parameters
Returns
operator !=(V1ReplicaSetSpec?, V1ReplicaSetSpec?)
Declaration
public static bool operator !=(V1ReplicaSetSpec? left, V1ReplicaSetSpec? right)
Parameters
Returns
Implements