capabilities.work

Activate Latest Revision

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

Recipe · 3 steps

Activate Latest Revision

Activate a container app revision only when it is currently inactive.

  1. List the revisions of the container app to confirm the target revision exists before reading it.
  2. Read the target revision and inspect its active flag to decide whether an activation call is needed.
  3. Activate the inactive revision so it returns to service.
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.
  • revisionName: The name of the revision to activate.
  • apiVersion: Client API version.
For your developer

Arazzo workflow azure-container-apps:activate-latest-revision, 3 operations: ContainerAppsRevisions_ListRevisions → ContainerAppsRevisions_GetRevision → ContainerAppsRevisions_ActivateRevision. Specs on APIs.io.