Skip to content
Docs Try Aspire

getEndpointForNetwork

Function
📦 Aspire.Hosting.Testing v13.2.0
interface DistributedApplication {
// ... omitted for brevity
getEndpointForNetwork(
resourceName: string,
networkIdentifier?: string,
endpointName?: string): uri;
}

Signature

method getEndpointForNetwork
Gets the endpoint for the specified resource in the specified network context.
getEndpointForNetwork(
resourceName: string,
networkIdentifier?: string,
endpointName?: string): uri
resourceName string
networkIdentifier string optional
endpointName string optional
uri

Applies to

This function is an extension method on the following types: