-
Notifications
You must be signed in to change notification settings - Fork 441
Renaming a Function
David Ebbo edited this page Sep 27, 2016
·
1 revision
The UI does not directly support renaming a Function, but you can work around this using the following manual steps:
- Stop your Function App. To do this, go under Function app settings / Go To App Service Settings, and click on the Stop button.
- Go to Kudu Console: Function app settings / Go to Kudu
- In Kudu Console, go to
D:\home\site\wwwroot
and rename the Function folder to the new name - Now go to
D:\home\data\Functions\secrets
and rename[oldname].json
to[newname].json
- Then go to
D:\home\data\Functions\sampledata
and rename[oldname].dat
to[newname].dat
- Start your function app, in the same place where you stopped it above
- In the Functions UI, click the refresh button in the top left corner, and your renamed function should appear
Note that doing this can lose some historical logging.
- Configuration Settings
- function.json
- host.json
- host.json (v2)
- Http Functions
- Function Runtime Versioning
- Official Functions developers guide
- Host Health Monitor
- Managing Connections
- Renaming a Function
- Retrieving information about the currently running function
- Site Extension Resolution
- Linux Consumption Regions
- Using LinuxFxVersion for Linux Function apps
- Out-of-proc Cancellation Tokens
- Assembly Resolution in Azure Functions
- ILogger
- Precompiled functions
- Official Functions C# developer reference
- Contributor Onboarding
- Development Process
- Deploying the Functions runtime as a private site extension
- Authoring & Testing Language Extensions
- Bindings in out-of-proc
- Language Extensibility
- Worker Capabilities
- Investigating and reporting issues with timer triggered functions not firing
- Sharing Your Function App name privately
- Azure Functions CLI release notes [moved here]
- Function App Zipped Deployment [deprecated]