Skip to content
DocsTry Aspire
DocsTry

DistributedApplicationModel.findResourceByName

Method
📦 Aspire.Hosting v13.4.0
interface DistributedApplicationModel {
// ... omitted for brevity
findResourceByName(name: string): IResource;
}

Signature

methodfindResourceByName
Finds a resource by name.
findResourceByName(name: string): IResource
namestring
IResource

Defined on

This method is defined on the following type: