Class PortMapping
- Namespace
- Bielu.Microservices.Orchestrator.Models
- Assembly
- Bielu.Microservices.Orchestrator.dll
Represents a port mapping between host and container.
public class PortMapping
- Inheritance
-
PortMapping
- Inherited Members
Properties
ContainerPort
The port number inside the container.
public int ContainerPort { get; set; }
Property Value
HostIp
The host IP to bind to.
public string HostIp { get; set; }
Property Value
HostPort
The port number on the host.
public int HostPort { get; set; }
Property Value
Protocol
The protocol (tcp, udp).
public string Protocol { get; set; }