Show / Hide Table of Contents

Class ServiceEndpointSpecPortArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ServiceEndpointSpecPortArgs
Inherited Members
ResourceArgs.Empty
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 Source

ServiceEndpointSpecPortArgs()

Declaration
public ServiceEndpointSpecPortArgs()

Properties

View Source

Name

The name of the Docker service.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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

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

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

TargetPort

Port inside the container.

Declaration
public Input<int> TargetPort { get; set; }
Property Value
Type Description
Input<System.Int32>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.