Please assist - basic azure function created using azure functions v4 model from VS Code. When running locally on the machine, I get no job functions found error.
Azure Functions Core Tools Core Tools Version: 4.0.4915 Commit hash: N/A (64-bit) Function Runtime Version: 4.14.0.19631
Building host: version spec: , startup suppressed: 'False', configuration suppressed: 'False', startup operation id: 'ec088f72-775c-422b-b73c-839cf88e4a28'
Reading host configuration file 'C:\development\NodeJSBotProject\GetDataByMember\host.json'
Host configuration file read:
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4., 5.0.0)"
}
}
FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: java
FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: powershell
FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: python
Looking for extension bundle Microsoft.Azure.Functions.ExtensionBundle at C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle
[2024-08-26T23:25:49.775Z] Found a matching extension bundle at C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle\4.17.0
Loading functions metadata
Reading functions metadata
Reading functions metadata
0 functions found
0 functions found
0 functions loaded
Looking for extension bundle Microsoft.Azure.Functions.ExtensionBundle at C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle
Found a matching extension bundle at C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle\4.17.0
Fetching information on versions of extension bundle Microsoft.Azure.Functions.ExtensionBundle available on https://functionscdn.azureedge.net/public/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/index.json
Skipping bundle download since it already exists at path C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle\4.17.0
Loading extension bundle from C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle\4.17.0\bin
Script Startup resetting load context with base path: 'C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle\4.17.0\bin'.
Reading host configuration file 'C:\development\NodeJSBotProject\GetDataByMember\host.json'
Host configuration file read:
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle":
{
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4., 5.0.0)"
}
}
FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: java
FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: powershell
FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: python
Initializing Warmup Extension.
Initializing Host. OperationId: 'ec088f72-775c-422b-b73c-839cf88e4a28'.
Host initialization: ConsecutiveErrors=0, StartupCount=1, OperationId=ec088f72-775c-422b-b73c-839cf88e4a28
LoggerFilterOptions
{
"MinLevel": "None",
"Rules": [
{
"ProviderName": null,
"CategoryName": null,
"LogLevel": null,
"Filter": "b__0"
},
{
"ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
"CategoryName": null,
"LogLevel": "None",
"Filter": null
},
{
"ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
"CategoryName": null,
"LogLevel": null,
"Filter": "b__0"
},
{
"ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
"CategoryName": null,
"LogLevel": null,
"Filter": "b__0"
}
]
}
LoggerFilterOptions
{
"MinLevel": "None",
"Rules": [
{
"ProviderName": null,
"CategoryName": null,
"LogLevel": null,
"Filter": "b__0"
},
{
"ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
"CategoryName": null,
"LogLevel": "None",
"Filter": null
},
{
"ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
"CategoryName": null,
"LogLevel": null,
"Filter": "b__0"
},
{
"ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
"CategoryName": null,
"LogLevel": null, "Filter": "b__0"
} ]
}
ConcurrencyOptions
{
"DynamicConcurrencyEnabled": false,
"MaximumFunctionConcurrency": 500,
"CPUThreshold": 0.8,
"SnapshotPersistenceEnabled": true
}
FunctionResultAggregatorOptions
{
"BatchSize": 1000,
"FlushTimeout": "00:00:30",
"IsEnabled": true
}
SingletonOptions
{
"LockPeriod": "00:00:15",
"ListenerLockPeriod": "00:00:15",
"LockAcquisitionTimeout": "10675199.02:48:05.4775807",
"LockAcquisitionPollingInterval": "00:00:05",
"ListenerLockRecoveryPollingInterval": "00:01:00"
}
Starting JobHost
Starting Host (HostId=laptophq93ji16-1212978244, InstanceId=d1e43003-f098-4ce6-8b9d-a26e27bac8f0, Version=4.14.0.19631, ProcessId=44148, AppDomainId=1, InDebugMode=False, InDiagnosticMode=False, FunctionsExtensionVersion=(null))
Loading functions metadata
Reading functions metadata
Reading functions metadata
0 functions found
0 functions found
Reading functions metadata
1 functions found
0 functions loaded
Generating 0 job function(s)
No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).
HttpOptions
{
Initializing function HTTP routes
"DynamicThrottlesEnabled": false,
"EnableChunkedRequestBinding": false,
No HTTP routes mapped
"MaxConcurrentRequests": -1,
"MaxOutstandingRequests": -1, "RoutePrefix": "api" } Host initialized (90ms) Host started (101ms) Job host started Host lock lease acquired by instance ID '0000000000000000000000000BBC01A3'.