Class ServiceEndpoint
Service endpoint and network settings.
Namespace: Neon.Docker
Assembly: Neon.Docker.dll
Syntax
public class ServiceEndpoint
Properties
Ports
Details the network ports actually exposed by the service tasks.
Declaration
public List<ServiceEndpointPortConfig> Ports { get; set; }
Property Value
Type | Description |
---|---|
List<ServiceEndpointPortConfig> |
Spec
Specifies the service endpoint mode and ports to be exposed.
Declaration
public ServiceEndpointSpec Spec { get; set; }
Property Value
Type | Description |
---|---|
ServiceEndpointSpec |
VirtualIPs
Lists the virtual IP addresses assigned to this service on the attached networks.
Declaration
public List<ServiceVirtualIP> VirtualIPs { get; set; }
Property Value
Type | Description |
---|---|
List<ServiceVirtualIP> |
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()