Watch Aspire live streamsDocsTry Aspire

addFoundry

Method
📦 Aspire.Hosting.Foundry v13.6.0-preview.1.26478.8
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addFoundry(name: string): FoundryResource;
}

Signature

methodaddFoundrybuilder
Adds a Microsoft Foundry resource to the application model.
addFoundry(name: string): FoundryResource
namestring
FoundryResource

Applies to

This method applies to the following types: