addFoundry

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

Signature

methodaddFoundrybuilder
Adds a Microsoft Foundry resource to the application model.
addFoundry(name: string): FoundryResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
FoundryResource

Applies to

This method applies to the following types: