Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddStorageConnection

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26565.2
func (AzureCognitiveServicesProjectResource) AddStorageConnection(storage AzureStorageResource) AzureCognitiveServicesProjectConnectionResource

Signature

methodAddStorageConnectionbuilder
Adds an Azure Storage account to a project as a connection.
AddStorageConnection(storage AzureStorageResource) AzureCognitiveServicesProjectConnectionResource
storageAzureStorageResource
AzureCognitiveServicesProjectConnectionResource

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

Applies to

This method applies to the following types: