Watch Aspire live streamsDocsTry Aspire

addAzureStorage

Method
📦 Aspire.Hosting.Azure.Storage v17.0.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addAzureStorage(name: string): AzureStorageResource;
}

Signature

methodaddAzureStoragebuilder
Adds an Azure Storage resource to the application model. This resource can be used to create Azure blob, table, and queue resources.
addAzureStorage(name: string): AzureStorageResource
namestringThe name of the resource.
AzureStorageResource

Applies to

This method applies to the following types: