Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ContainerPortReference

Handle
📦 Aspire.Hosting v17.0.0

Represents a TCP/UDP port that a container can expose.

type ContainerPortReference interface{}

Properties

propertyResourceResourceget
Gets the resource that this container port is associated with.
Resource() Resource
propertyValueExpressionstringget
Gets the ValueExpression property
ValueExpression() (string, error)