Skip to content
Docs Try Aspire
Docs Try

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

Applies to

This method applies to the following types: