Skip to content
DocsTry Aspire
DocsTry

Ulimit Properties

ClassProperties2 members
Represents the configuration for system resource limits (ulimits) for a container.
HardSection titled Hardnullableint?
Gets or sets the hard limit for the resource control.
public int? Hard { get; set; }
The hard limit defines the maximum value that cannot be exceeded. It is usually set by an administrator and imposes a strict upper boundary. This property can be null, indicating no hard limit is set.
SoftSection titled Softnullableint?
Defines the soft limit for the Ulimit configuration. The soft limit is the value for resource restrictions that a process is allowed to increase up to the hard limit. This property is nullable, which indicates that this configuration might not be set.
public int? Soft { get; set; }