Class ServiceResourceSettings
Describes system resource consumption settings.
Namespace: Neon.Docker
Assembly: Neon.Docker.dll
Syntax
public class ServiceResourceSettings
Properties
GenericResources
User-defined generic resource settings.
Declaration
public List<ServiceGenericResources> GenericResources { get; set; }
Property Value
Type | Description |
---|---|
List<ServiceGenericResources> |
MemoryBytes
Memory utilization as bytes.
Declaration
public long? MemoryBytes { get; set; }
Property Value
Type | Description |
---|---|
long? |
NanoCPUs
CPU utilization expressed as billionths of a CPU.
Declaration
public long? NanoCPUs { get; set; }
Property Value
Type | Description |
---|---|
long? |
Methods
Normalize()
Recursively ensures ensures that any null class or list related properties are replaced with instances with default values or empty lists.
Declaration
public void Normalize()