addFoundry
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addFoundry(name: string): FoundryResource;}Signature
method
addFoundry builderAdds a Microsoft Foundry resource to the application model.
addFoundry(name: string): FoundryResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.Returns
FoundryResource Applies to
This method applies to the following types: