Skip to content
Docs Try Aspire

IResourceWithEnvironment.withReferenceUri

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IResourceWithEnvironment {
// ... omitted for brevity
withReferenceUri(
name: string,
uri: uri): IResourceWithEnvironment;
}

Signature

method withReferenceUri builder
Adds a reference to a URI
withReferenceUri(
name: string,
uri: uri): IResourceWithEnvironment
name string
uri uri
IResourceWithEnvironment

Defined on

This method is defined on the following type: