Ulimit Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the configuration for system resource limits (ulimits) for a container.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class Ulimit
[<YamlDotNet.Serialization.YamlSerializable>]
type Ulimit = class
Public NotInheritable Class Ulimit
- Inheritance
-
Ulimit
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
This class is typically used to specify soft and hard limits for resources such as file descriptors or process count for Docker containers.
Constructors
Ulimit() |
Properties
Hard |
Gets or sets the hard limit for the resource control. |
Soft |
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. |