Class V1AllocationResult
AllocationResult contains attributes of an allocated resource.
Inheritance
V1AllocationResult
Assembly: KubernetesClient.dll
Syntax
public record V1AllocationResult : IEquatable<V1AllocationResult>
Constructors
V1AllocationResult()
Declaration
public V1AllocationResult()
V1AllocationResult(V1AllocationResult)
Declaration
protected V1AllocationResult(V1AllocationResult original)
Parameters
Properties
AllocationTimestamp
AllocationTimestamp stores the time when the resources were allocated. This
field is not guaranteed to be set, in which case that time is unknown.
This is a beta field and requires enabling the DRADeviceBindingConditions and
DRAResourceClaimDeviceStatus feature gate.
Declaration
[JsonPropertyName("allocationTimestamp")]
public DateTime? AllocationTimestamp { get; set; }
Property Value
Devices
Devices is the result of allocating devices.
Declaration
[JsonPropertyName("devices")]
public V1DeviceAllocationResult Devices { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
NodeSelector
NodeSelector defines where the allocated resources are available. If unset, they
are available everywhere.
Declaration
[JsonPropertyName("nodeSelector")]
public V1NodeSelector NodeSelector { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1AllocationResult?)
Declaration
public virtual bool Equals(V1AllocationResult? 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 ==(V1AllocationResult?, V1AllocationResult?)
Declaration
public static bool operator ==(V1AllocationResult? left, V1AllocationResult? right)
Parameters
Returns
operator !=(V1AllocationResult?, V1AllocationResult?)
Declaration
public static bool operator !=(V1AllocationResult? left, V1AllocationResult? right)
Parameters
Returns
Implements