Class ServiceGenericResources
Describes user-defined resource settings.
Namespace: Neon.Docker
Assembly: Neon.Docker.dll
Syntax
public class ServiceGenericResources
Properties
DiscreteResourceSpec
Discrete setting for a resource.
Declaration
public ServiceDiscreteResourceSpec DiscreteResourceSpec { get; set; }
Property Value
Type | Description |
---|---|
ServiceDiscreteResourceSpec |
NamedResourceSpec
Named setting for a resource.
Declaration
public ServiceNamedResourceSpec NamedResourceSpec { get; set; }
Property Value
Type | Description |
---|---|
ServiceNamedResourceSpec |
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()