Skip to content
Docs Try Aspire
Docs Try

addFoundry

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

Signature

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

Applies to

This method applies to the following types: