Skip to content
DocsTry Aspire
DocsTry

withHostStorage

Method
📦 Aspire.Hosting.Azure.Functions v13.4.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
storageAzureStorageResource
AzureFunctionsProjectResource

Applies to

This method applies to the following types: