Table of Contents

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

int

HostIp

The host IP to bind to.

public string HostIp { get; set; }

Property Value

string

HostPort

The port number on the host.

public int HostPort { get; set; }

Property Value

int

Protocol

The protocol (tcp, udp).

public string Protocol { get; set; }

Property Value

string