Class ServicePlatform
Service container spread placement settings.
Namespace: Neon.Docker
Assembly: Neon.Docker.dll
Syntax
public class ServicePlatform
Properties
Architecture
Specifies the hardware architecture (like: x86_64).
Declaration
public string Architecture { get; set; }
Property Value
Type | Description |
---|---|
string |
OS
Specifies the operating system (like: linux or windows).
Declaration
public string OS { get; set; }
Property Value
Type | Description |
---|---|
string |
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()