AzureFunctionsAppResource Constructors

ClassConstructors1 member
Represents an Azure Functions app resource that is launched from a source directory.
Constructor(string, string, string, AzureFunctionsLanguage)Section titled Constructor(string, string, string, AzureFunctionsLanguage)
Represents an Azure Functions app resource that is launched from a source directory.
public class AzureFunctionsAppResource
{
public AzureFunctionsAppResource(
string name,
string command,
string appDirectory,
AzureFunctionsLanguage language)
{
// ...
}
}
namestringThe name of the resource.
commandstringThe command used to start the local Azure Functions app.
appDirectorystringThe directory that contains the Azure Functions app.
languageAzureFunctionsLanguageThe authoring language used by the Azure Functions app.
ArgumentNullExceptionThrown when appDirectory is null.
ArgumentExceptionThrown when appDirectory is empty.
This resource is intended for Azure Functions apps that are not represented by a .NET project file, such as TypeScript or JavaScript Functions apps that run on the Node language worker.