Skip to content
DocsTry Aspire
DocsTry

ContainerPortConstruct Properties

ClassProperties2 members
Represents a single port entry in a container's ports block.
ContainerPortSection titled ContainerPortBicepValue<int>
The port the application listens on inside the container.
public BicepValue<int> ContainerPort { get; set; }
ProtocolSection titled ProtocolBicepValue<string>
The transport protocol ( TCP or UDP).
public BicepValue<string> Protocol { get; set; }