Azure Container Apps · Arazzo Workflow
Azure Container Apps Shift Revision Traffic
Version 1.0.0
List an app's revisions, shift ingress traffic to a chosen revision, then wait for the change to apply.
Provider
Workflows
shift-revision-traffic
Route all ingress traffic to one revision and confirm the change applies.
Lists the app's revisions to confirm the target revision exists, patches the ingress traffic to weight that revision at 100, then polls until the app is Succeeded.
1
listRevisions
ContainerAppsRevisions_ListRevisions
List the app's revisions to confirm the target revision exists before shifting traffic to it.
2
shiftTraffic
ContainerApps_Update
Patch the app ingress traffic so the target revision receives all weight, supplied in the ARM properties envelope.
3
pollApp
ContainerApps_Get
Read the container app and check its provisioningState, looping while the traffic change is still applying and ending once it settles.