How to do it...

Perform the following steps:

  1. Navigate to the Platform features option and click on the API definition tab:

  1. In the API definition tab, click on the Function (preview) option to define the source of the API definition:

  1. As soon as you click on the Function (preview) button, the feature will be enabled. However, you might see an error in the new tab that is opened. Don't worry; as this feature is still in preview, Microsoft might fix it before it goes generally available (GA). Click on Generate API definition template:

Get Azure Serverless Computing Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.