Show / Hide Table of Contents

Class V1ScaleStatus

ScaleStatus represents the current status of a scale subresource.

Inheritance
object
V1ScaleStatus
Implements
IEquatable<V1ScaleStatus>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1ScaleStatus : IEquatable<V1ScaleStatus>

Constructors

View Source

V1ScaleStatus()

Declaration
public V1ScaleStatus()
View Source

V1ScaleStatus(V1ScaleStatus)

Declaration
protected V1ScaleStatus(V1ScaleStatus original)
Parameters
Type Name Description
V1ScaleStatus original

Properties

View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

Replicas

replicas is the actual number of observed instances of the scaled object.

Declaration
[JsonPropertyName("replicas")]
public int Replicas { get; set; }
Property Value
Type Description
int
View Source

Selector

selector is the label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/

Declaration
[JsonPropertyName("selector")]
public string Selector { get; set; }
Property Value
Type Description
string

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1ScaleStatus?)

Declaration
public virtual bool Equals(V1ScaleStatus? other)
Parameters
Type Name Description
V1ScaleStatus other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1ScaleStatus?, V1ScaleStatus?)

Declaration
public static bool operator ==(V1ScaleStatus? left, V1ScaleStatus? right)
Parameters
Type Name Description
V1ScaleStatus left
V1ScaleStatus right
Returns
Type Description
bool
View Source

operator !=(V1ScaleStatus?, V1ScaleStatus?)

Declaration
public static bool operator !=(V1ScaleStatus? left, V1ScaleStatus? right)
Parameters
Type Name Description
V1ScaleStatus left
V1ScaleStatus right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX