Skip to content
Docs Try Aspire

addFoundry

Function
📦 Aspire.Hosting.Foundry v13.2.0-preview.1.26170.3
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 function is an extension method on the following types: