Skip to content
Docs Try Aspire
Docs Try

addFoundry

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

Signature

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

Applies to

This method applies to the following types: