Sdílet prostřednictvím


EndpointAnnotation.TargetPort Property

Definition

This is the port the resource is listening on. If the endpoint is used for the container, it is the container port.

public int? TargetPort { get; set; }
member this.TargetPort : Nullable<int> with get, set
Public Property TargetPort As Nullable(Of Integer)

Property Value

Remarks

Defaults to Port.

Applies to