Class ContainerPort
Inheritance
System.Object
ContainerPort
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Docker.Outputs
Assembly: Pulumi.Docker.dll
Syntax
public sealed class ContainerPort
Fields
View SourceExternal
Port exposed out of the container. If not given a free random port >= 32768 will be used.
Declaration
public readonly int? External
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Internal
Port within the container.
Declaration
public readonly int Internal
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Ip
IP address this hostname should resolve to.
Declaration
public readonly string Ip
Field Value
| Type | Description |
|---|---|
| System.String |
Protocol
Protocol that can be used over this port,
defaults to tcp.
Declaration
public readonly string Protocol
Field Value
| Type | Description |
|---|---|
| System.String |