Class ServiceEndpointSpecPort
Inheritance
System.Object
ServiceEndpointSpecPort
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 ServiceEndpointSpecPort
Fields
View SourceName
The name of the Docker service.
Declaration
public readonly string Name
Field Value
| Type | Description |
|---|---|
| System.String |
Protocol
Protocol that can be used over this port: tcp|udp|sctp. Default: tcp.
Declaration
public readonly string Protocol
Field Value
| Type | Description |
|---|---|
| System.String |
PublishedPort
The port on the swarm hosts. If not set the value of target_port will be used.
Declaration
public readonly int? PublishedPort
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
PublishMode
Represents the mode in which the port is to be published: ingress|host
Declaration
public readonly string PublishMode
Field Value
| Type | Description |
|---|---|
| System.String |
TargetPort
Port inside the container.
Declaration
public readonly int TargetPort
Field Value
| Type | Description |
|---|---|
| System.Int32 |