@Jinda Wang Thanks for getting back and sharing an update.
.
Let's take a step back and try creating a new FunctionApp project in VSCode and then try pasting your code in it and then deploy.
.
Follow the below article:
https://learn.microsoft.com/en-us/azure/azure-functions/create-first-function-vs-code-python?pivots=python-mode-decorators
No API interface shows after deployment
Jinda Wang
45
Reputation points
Hi All,
I wrote some API interface, and they are working fine in my local machine. But when I tried to deployment to Azure cloud, the terminal was shown "Deployment successful" and "No HTTP triggers found".
This resulted in me not being able to find any of the interfaces I wrote in the dashboard. I don't know whether some configuration files I've written wrong.
local.settings.json
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "python",
"AzureWebJobsFeatureFlags": "EnableWorkerIndexing"
}
}
host.json
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[3.*, 4.0.0)"
}
}
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
1 answer
Sort by: Most helpful
-
navba-MSFT 27,605 Reputation points Microsoft Employee Moderator
2023-11-13T03:27:36.9533333+00:00