AzureFunctionsAppResource

Handle
📦 Aspire.Hosting.Azure.Functions v17.0.0
interface AzureFunctionsAppResource
extends IComputeResource,
IResource,
IResourceWithArgs,
AzureFunctionsAppResource]],
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport,
IResourceWithServiceDiscovery {
readonly appDirectory: string;
readonly language: AzureFunctionsLanguage;
readonly workerRuntime: string;
withHostStorage(storage: AzureStorageResource): AzureFunctionsAppResource;
}

Properties

propertyappDirectorystringget
Gets the directory that contains the Azure Functions app.
propertylanguageAzureFunctionsLanguageget
Gets the authoring language used by the Azure Functions app.
propertyworkerRuntimestringget
Gets the Azure Functions worker runtime for the app.

Methods

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