Class ServiceEndpointSpecPortArgs
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.Inputs
Assembly: Pulumi.Docker.dll
Syntax
public sealed class ServiceEndpointSpecPortArgs : ResourceArgs
Constructors
View SourceServiceEndpointSpecPortArgs()
Declaration
public ServiceEndpointSpecPortArgs()
Properties
View SourceName
The name of the Docker service.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Protocol
Protocol that can be used over this port: tcp|udp|sctp. Default: tcp.
Declaration
public Input<string> Protocol { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PublishedPort
The port on the swarm hosts. If not set the value of target_port will be used.
Declaration
public Input<int> PublishedPort { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
PublishMode
Represents the mode in which the port is to be published: ingress|host
Declaration
public Input<string> PublishMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TargetPort
Port inside the container.
Declaration
public Input<int> TargetPort { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |