Class ServiceNetwork
Service container spread placement settings.
Namespace: Neon.Docker
Assembly: Neon.Docker.dll
Syntax
public class ServiceNetwork
Properties
Aliases
Network aliases (network IDs).
Declaration
public List<string> Aliases { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
Target
Target network ID.
Declaration
public string Target { 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()