Microsoft Azure Functions · Arazzo Workflow
Provision a Staging Deployment Slot
Version 1.0.0
Create a deployment slot on a function app, poll it until running, and ensure it is started.
Provider
Workflows
provision-staging-slot
Create a deployment slot, wait for it to run, and start it.
Creates a named deployment slot, polls it until it reports Running, and starts it so it is live before a future swap.
1
createSlot
WebApps_CreateOrUpdateSlot
Create or update the deployment slot. ARM returns 202 when the create is accepted as a long-running operation.
2
pollSlotState
WebApps_GetSlot
Read the slot resource and confirm it reports a Running state. Use this step in a retry loop until the slot finishes provisioning.
3
startSlot
WebApps_StartSlot
Explicitly start the slot to guarantee it is live before any swap.