21.209. Class PartitionData
Namespace: ArmoniK.Core.Common.Storage
Assembly: ArmoniK.Core.Common.dll
Data structure to hold partitions metadata
public record PartitionData : IEquatable<PartitionData>
21.209.1. Inheritance
21.209.2. Implements
21.209.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
21.209.4. Constructors
21.209.4.1. PartitionData(string, IList<string>, int, int, int, int, PodConfiguration?)
Data structure to hold partitions metadata
public PartitionData(string PartitionId, IList<string> ParentPartitionIds, int PodReserved, int PodMax, int PreemptionPercentage, int Priority, PodConfiguration? PodConfiguration)
21.209.4.1.1. Parameters
PartitionId string
Unique name of the partition
ParentPartitionIds IList<string>
List of parents up to the first partition
PodReserved int
Number of reserved pods
PodMax int
Max number of pods
PreemptionPercentage int
Percentage of pods that can be preempted
Priority int
Priority of the partition
PodConfiguration PodConfiguration?
Pod configuration used to select machines
21.209.5. Properties
21.209.5.1. ParentPartitionIds
List of parents up to the first partition
public IList<string> ParentPartitionIds { get; init; }
21.209.5.1.1. Property Value
21.209.5.2. PartitionId
Unique name of the partition
public string PartitionId { get; init; }
21.209.5.2.1. Property Value
21.209.5.3. PodConfiguration
Pod configuration used to select machines
public PodConfiguration? PodConfiguration { get; init; }
21.209.5.3.1. Property Value
21.209.5.4. PodMax
Max number of pods
public int PodMax { get; init; }
21.209.5.4.1. Property Value
21.209.5.5. PodReserved
Number of reserved pods
public int PodReserved { get; init; }
21.209.5.5.1. Property Value
21.209.5.6. PreemptionPercentage
Percentage of pods that can be preempted
public int PreemptionPercentage { get; init; }
21.209.5.6.1. Property Value
21.209.5.7. Priority
Priority of the partition
public int Priority { get; init; }