Skip to content
DocsTry Aspire
DocsTry

NgrokResource.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

Defined on

This method is defined on the following type: