capabilities.work

Restart Active Revision

A 3-step recipe with Azure Container Apps. We can help you get access.

Recipe · 3 steps

Restart Active Revision

with Azure Container Apps · IT Infrastructure Management

Restart an app's latest revision and wait for its replicas to come back running.

  1. Read the container app to resolve the name of its latest revision before restarting it.
  2. Restart the app's latest revision, recreating its replicas.
  3. Read the revision and check its runningState, looping while it is still processing and ending once its replicas report Running.
What you'll need to have ready
  • subscriptionId: The Azure subscription ID.
  • resourceGroupName: The name of the resource group.
  • containerAppName: The name of the container app.
  • apiVersion: Client API version.
For your developer

Arazzo workflow azure-container-apps:restart-active-revision, 3 operations: ContainerApps_Get → ContainerAppsRevisions_RestartRevision → ContainerAppsRevisions_GetRevision. Specs on APIs.io.