AzureCognitiveServicesProjectResource.AddCosmosConnection

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26567.5
type AzureCognitiveServicesProjectResource interface {
// ... omitted for brevity
AddCosmosConnection(db AzureCosmosDBResource) AzureCognitiveServicesProjectConnectionResource
}

Signature

methodAddCosmosConnectionbuilder
Adds CosmosDB to a project as a connection
AddCosmosConnection(db AzureCosmosDBResource) AzureCognitiveServicesProjectConnectionResource
dbAzureCosmosDBResource
AzureCognitiveServicesProjectConnectionResource

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

Defined on

This method is defined on the following type: