Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddConnection

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26565.2
func (AzureCognitiveServicesProjectResource) AddConnection(resource any) AzureCognitiveServicesProjectConnectionResource

Signature

methodAddConnectionbuilder
Adds a connection to a Microsoft Foundry project.
AddConnection(resource any) AzureCognitiveServicesProjectConnectionResource
resourceany
AzureCognitiveServicesProjectConnectionResource

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: