Show / Hide Table of Contents

Class V1alpha3PartitionTypeStatus

PartitionTypeStatus reports allocatability for a single partition type, identified by the value of a grouping attribute.

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

Constructors

V1alpha3PartitionTypeStatus()

Declaration
public V1alpha3PartitionTypeStatus()

V1alpha3PartitionTypeStatus(V1alpha3PartitionTypeStatus)

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

Properties

Allocatable

Allocatable is the number of additional devices of this partition type that could still be allocated given current shared-counter consumption.

Declaration
[JsonPropertyName("allocatable")]
public int Allocatable { get; set; }
Property Value
Type Description
int

Attribute

Attribute is the fully qualified name of the device attribute whose value groups this entry. It is the PartitionTypeAttribute declared by the devices' own slice, or the default named in the request when their slice declares none.

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

EqualityContract

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

Total

Total is the number of devices of this partition type in the pool.

Declaration
[JsonPropertyName("total")]
public int Total { get; set; }
Property Value
Type Description
int

Type

Type is the partition type value (e.g. "Full" or "Half").

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

Methods

Equals(object?)

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

Equals(V1alpha3PartitionTypeStatus?)

Declaration
public virtual bool Equals(V1alpha3PartitionTypeStatus? other)
Parameters
Type Name Description
V1alpha3PartitionTypeStatus other
Returns
Type Description
bool

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

operator ==(V1alpha3PartitionTypeStatus?, V1alpha3PartitionTypeStatus?)

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

operator !=(V1alpha3PartitionTypeStatus?, V1alpha3PartitionTypeStatus?)

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

Implements

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