Skip to content
Proud to collaborate with Microsoft for Startups

runner.execution-stop-mgc-vm ​

Stop a runner execution on a Magalu Cloud VM

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-runners-mgc
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
runner_execution_uuiduuidYes—Execution UUID to stop
runner_group_uuiduuidNo—Runner group UUID
organization_uuiduuidNo—Organization UUID
reasonstringNo—Optional stop reason

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_execution_uuiduuidYes—Execution UUID stopped
completed_atstringNo—ISO-8601 completion timestamp
failed_atstringNo—ISO-8601 failure timestamp
failure_reasonstringNo—Failure reason on terminal failure
failure_typestringNo—Failure type
failed_actionstringNo—Action that failed
failed_at_statestringNo—State where failure occurred
failed_stepstringNo—Step that failed
failed_layerstringNo—Layer where failure occurred
errorstringNo—Error message
error_typestringNo—Error type

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—stop_execution—
stopping_executionNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedstop_executionstopping_execution—
stopping_executioncompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "runner.execution-stop-mgc-vm",
  "initial_data": {
    "runner_execution_uuid": "value"
  }
}