Aspire.Hosting.Azure.Functions

Official
📦 Aspire.Hosting.Azure.Functionsv17.0.0
9Functions
6Types

Types

Functions

methodaddAzureFunctionsAppbuilder
Adds an Azure Functions app from a source directory to the distributed application.
addAzureFunctionsApp(name: string, appDirectory: string, language: AzureFunctionsLanguage): AzureFunctionsAppResource
methodaddAzureFunctionsProjectbuilder
Adds an Azure Functions project to the distributed application.
addAzureFunctionsProject(name: string, projectPath: string): AzureFunctionsProjectResource
methodaddDurableTaskSchedulerbuilder
Adds a Durable Task scheduler resource to the distributed application.
addDurableTaskScheduler(name: string): DurableTaskSchedulerResource
methodaddTaskHubbuilder
Adds a Durable Task hub resource associated with the specified scheduler.
addTaskHub(name: string): DurableTaskHubResource
methodrunAsEmulatorbuilder
Configures the Durable Task scheduler to run using the local emulator (only in non-publish modes).
runAsEmulator(configureContainer?: (obj: DurableTaskSchedulerEmulatorResource) => Promise<void>): DurableTaskSchedulerResource
methodrunAsExistingbuilder
Configures the Durable Task scheduler to use an existing scheduler instance from a connection string or parameter resource.
runAsExisting(connectionString: string | ParameterResource): DurableTaskSchedulerResource
methodwithHostStoragebuilder
Configures the Azure Functions project resource to use the specified Azure Storage resource as its host storage.
withHostStorage(storage: AzureStorageResource): AzureFunctionsProjectResource
methodwithHostStoragebuilder
Configures the Azure Functions app resource to use the specified Azure Storage resource as its host storage.
withHostStorage(storage: AzureStorageResource): AzureFunctionsAppResource
methodwithTaskHubNamebuilder
Sets the Durable Task hub name from a string or parameter resource.
withTaskHubName(taskHubName: string | ParameterResource): DurableTaskHubResource

Enums