Show / Hide Table of Contents

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 Source

External

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>
View Source

Internal

Port within the container.

Declaration
public readonly int Internal
Field Value
Type Description
System.Int32
View Source

Ip

IP address this hostname should resolve to.

Declaration
public readonly string Ip
Field Value
Type Description
System.String
View Source

Protocol

Protocol that can be used over this port, defaults to tcp.

Declaration
public readonly string Protocol
Field Value
Type Description
System.String
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.