Skip to content
DocsTry Aspire
DocsTry

withTunnelEndpoint

Method
📦 CommunityToolkit.Aspire.Hosting.Ngrok v13.4.0
interface NgrokResource {
// ... omitted for brevity
withTunnelEndpoint(
resource: IResourceWithEndpoints,
endpointName: string,
ngrokUrl?: string,
labels?: Dict<string,string>): NgrokResource;
}

Signature

methodwithTunnelEndpointbuilder
Configures a resource with endpoints as a ngrok tunnel endpoint.
withTunnelEndpoint(
resource: IResourceWithEndpoints,
endpointName: string,
ngrokUrl?: string,
labels?: Dict<string,string>): NgrokResource
resourceIResourceWithEndpoints
endpointNamestring
ngrokUrlstringoptional
labelsDict<string,string>optional
NgrokResource

Applies to

This method applies to the following types: