Oracle · Arazzo Workflow
Oracle OCI Stop Compute Instance
Version 1.0.0
Read an instance, send the STOP action, then poll until it reports STOPPED.
Provider
Workflows
stop-instance
Stop a running compute instance and confirm it reaches STOPPED.
Reads the instance, performs the STOP action with an if-match guard, and polls the lifecycle state until the instance is STOPPED.
1
readInstance
getInstance
Read the instance to confirm it exists and capture its current ETag for optimistic concurrency control on the stop action.
2
stopInstance
instanceAction
Perform the STOP action on the instance, equivalent to pressing the power button, guarded by the ETag captured when reading the instance.
3
pollStopped
getInstance
Read the instance and check its lifecycle state. Repeat this step until the instance reports STOPPED.