functions are what you write in the function app, the feature on Azure is to view the function source code (for a limited number of supported stacks), and list the functions accessible via a function app.
the unit to create is the function app itself; to create the function, you’d have to publish the source code of the function app - you can manage this via a CI/CD hook or via some other provisioning tool, once the function app is deployed.