Show / Hide Table of Contents

Class V1NodeAllocatableMappedResources

NodeAllocatableMappedResources describes mapped node allocatable resource allocations.

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

Constructors

V1NodeAllocatableMappedResources()

Declaration
public V1NodeAllocatableMappedResources()

V1NodeAllocatableMappedResources(V1NodeAllocatableMappedResources)

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

Properties

EqualityContract

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

Name

Name is the name of the resource (e.g., cpu, memory).

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

Quantity

Quantity is the total node allocatable resource capacity allocated for the claim. This claim's allocated devices is shared by all the containers referencing the claim. Kubelet adds this value to both requests and limits at the pod-level cgroup, and to limits at the container-level cgroup for each container referencing the claim.

Declaration
[JsonPropertyName("quantity")]
public ResourceQuantity Quantity { get; set; }
Property Value
Type Description
ResourceQuantity

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(V1NodeAllocatableMappedResources?)

Declaration
public virtual bool Equals(V1NodeAllocatableMappedResources? other)
Parameters
Type Name Description
V1NodeAllocatableMappedResources 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 ==(V1NodeAllocatableMappedResources?, V1NodeAllocatableMappedResources?)

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

operator !=(V1NodeAllocatableMappedResources?, V1NodeAllocatableMappedResources?)

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

Implements

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