AzureFunctionsProjectResourceExtensions
Class static net8.0
Extension methods for
AzureFunctionsProjectResource. namespace Aspire.Hosting;
public static class AzureFunctionsProjectResourceExtensions{ // ...}Methods4
Section titled MethodsAddAzureFunctionsProject(IDistributedApplicationBuilder, string)extensionats ignoredIResourceBuilder<AzureFunctionsProjectResource> Adds an Azure Functions project to the distributed application.
AddAzureFunctionsProject(IDistributedApplicationBuilder, string, string)extensionats exportIResourceBuilder<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.
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.