AzureFunctionsProjectResourceExtensions
Classstaticnet10.0
Extension methods for
AzureFunctionsProjectResource . namespace Aspire.Hosting;
public static class AzureFunctionsProjectResourceExtensions{ // ...}7 members
Methods7
Section titled MethodsAddAzureFunctionsApp(IDistributedApplicationBuilder, string, string, AzureFunctionsLanguage) extensionexperimentalats exportIResourceBuilder<AzureFunctionsAppResource> Adds an Azure Functions app from a source directory to the distributed application.
IResourceBuilder<AzureFunctionsProjectResource> Adds an Azure Functions project to the distributed application.
IResourceBuilder<AzureFunctionsProjectResource> Adds an Azure Functions project to the distributed application.
WithHostStorage(IResourceBuilder<AzureFunctionsProjectResource>, IResourceBuilder<AzureStorageResource>) extensionats exportIResourceBuilder<AzureFunctionsProjectResource> Configures the Azure Functions project resource to use the specified Azure Storage resource as its host storage.
WithHostStorage(IResourceBuilder<AzureFunctionsAppResource>, IResourceBuilder<AzureStorageResource>) extensionexperimentalats exportIResourceBuilder<AzureFunctionsAppResource> Configures the Azure Functions app resource to use the specified Azure Storage resource as its host storage.
WithReference(IResourceBuilder<AzureFunctionsProjectResource>, IResourceBuilder<TSource>, string?) extensionats ignoredIResourceBuilder<AzureFunctionsProjectResource> Injects Azure Functions specific connection information into the environment variables of the Azure Functions project resource.
WithReference(IResourceBuilder<AzureFunctionsAppResource>, IResourceBuilder<TSource>, string?) extensionexperimentalats ignoredIResourceBuilder<AzureFunctionsAppResource> Injects Azure Functions specific connection information into the environment variables of the Azure Functions app resource.