Watch Aspire live streamsDocsTry Aspire

withHostStorage

Method
📦 Aspire.Hosting.Azure.Functions v17.0.0
interface AzureFunctionsProjectResource {
// ... omitted for brevity
withHostStorage(storage: AzureStorageResource): AzureFunctionsProjectResource;
}

Signature

methodwithHostStoragebuilder
Configures the Azure Functions project resource to use the specified Azure Storage resource as its host storage.
withHostStorage(storage: AzureStorageResource): AzureFunctionsProjectResource
storageAzureStorageResourceThe resource builder for the Azure Storage resource to be used as host storage.
AzureFunctionsProjectResource

Applies to

This method applies to the following types: