Skip to content
Docs Try Aspire
Docs Try

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

method withTunnelEndpoint builder
Configures a resource with endpoints as a ngrok tunnel endpoint.
withTunnelEndpoint(
resource: IResourceWithEndpoints,
endpointName: string,
ngrokUrl?: string,
labels?: Dict<string,string>): NgrokResource
resource IResourceWithEndpoints
endpointName string
ngrokUrl string optional
labels Dict<string,string> optional
NgrokResource

Defined on

This method is defined on the following type: