Skip to content
DocsTry Aspire
DocsTry

NgrokResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Ngrok v13.4.0
interface NgrokResource
extends IComputeResource,
IResource,
IResourceWithArgs,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport {
withAuthToken(ngrokAuthToken: ParameterResource): NgrokResource;
withAuthTokenValue(ngrokAuthToken: string): NgrokResource;
withTunnelEndpoint(
resource: IResourceWithEndpoints,
endpointName: string,
ngrokUrl?: string,
labels?: Dict<string,string>): NgrokResource;
}

Methods

methodwithAuthTokenbuilder
Adds a ngrok auth token to a ngrok resource.
withAuthToken(ngrokAuthToken: ParameterResource): NgrokResource
ngrokAuthTokenParameterResource
NgrokResource
methodwithAuthTokenValuebuilder
Adds a ngrok auth token to a ngrok resource.
withAuthTokenValue(ngrokAuthToken: string): NgrokResource
ngrokAuthTokenstring
NgrokResource
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