Microsoft Azure Functions · Arazzo Workflow
Preview and Swap a Slot Into Production
Version 1.0.0
Diff a staging slot against a target, swap it in, and confirm the app is running.
Provider
Workflows
swap-slot-to-production
Preview slot differences, swap the slot, and confirm the app is running.
Computes the differences between the source and target slots, swaps the source slot into the target, and polls the function app until it reports Running.
1
previewDifferences
WebApps_ListSlotDifferencesSlot
Compute the configuration differences between the source slot and the target slot so the caller can review what the swap will change.
2
swapSlot
WebApps_SwapSlotSlot
Swap the source slot into the target slot. ARM returns 202 when the swap is accepted as a long-running operation.
3
pollAppState
WebApps_Get
Read the function app and confirm it reports a Running state after the swap. Use this step in a retry loop until the swap operation completes.