capabilities.work

Deploy a Function and Sync Its Triggers

A 3-step recipe with Microsoft Azure Functions. We can help you get access.

Recipe · 3 steps

Deploy a Function and Sync Its Triggers

Create a function, sync triggers, and confirm the trigger status.

  1. Create the function inside the function app. ARM returns 201 when the function resource is created.
  2. Refresh the function app's trigger registration so the new function is dispatched. ARM returns 204 with no body on success.
  3. Read the sync-function-trigger status to confirm the trigger URL and key are registered.
What you'll need to have ready
  • subscriptionId: The Azure subscription identifier (GUID).
  • resourceGroupName: The resource group that contains the function app.
  • name: The name of the function app.
  • functionName: The name of the function to create.
  • config: The function.json-style binding configuration object for the function.
  • apiVersion: The ARM api-version to use for all requests.
For your developer

Arazzo workflow microsoft-azure-functions:deploy-function-and-sync-triggers, 3 operations: WebApps_CreateFunction → WebApps_SyncFunctions → WebApps_ListSyncFunctionTriggers. Specs on APIs.io.