Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ContainerPortReference

Handle
📦 Aspire.Hosting v13.6.0
interface ContainerPortReference
extends IManifestExpressionProvider,
IValueProvider,
IValueWithReferences {
readonly resource: IResource;
readonly valueExpression: string;
}

Properties

propertyresourceIResourceget
Gets the resource that this container port is associated with.
propertyvalueExpressionstringget
Gets the ValueExpression property