Skip to content
DocsTry Aspire
DocsTry

DevTunnelResource.withTunnelReferenceAll

Method
📦 Aspire.Hosting.DevTunnels v13.4.0
interface DevTunnelResource {
// ... omitted for brevity
withTunnelReferenceAll(
resourceBuilder: IResourceWithEndpoints,
allowAnonymous: boolean): DevTunnelResource;
}

Signature

methodwithTunnelReferenceAllbuilder
Adds ports on the dev tunnel for all endpoints found on the referenced resource and sets whether anonymous access is allowed.
withTunnelReferenceAll(
resourceBuilder: IResourceWithEndpoints,
allowAnonymous: boolean): DevTunnelResource
resourceBuilderIResourceWithEndpoints
allowAnonymousboolean
DevTunnelResource

Defined on

This method is defined on the following type: