Skip to content
Proud to collaborate with Microsoft for Startups

apphost.machine.wake ​

Ask reconcile to allocate a sleeping or pending Machine again

Set desired_status=allocated so reconcile brings the node back.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-apphost
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
machine_uuiduuidYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
machine_uuiduuidYes——
site_uuiduuidNo——
organization_uuiduuidNo——
statusstringYes——
desired_statusstringYes——
modestringNo——
unchangedbooleanYes——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

Outcomes ​

OutcomeTypeDescriptionState Data Keys
wokenSUCCESSMachine desired_status set to allocatedmachine_uuid
failedFAILUREApphost workflow failedfailure_reason

API Usage ​

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

{
  "workflow_type": "apphost.machine.wake",
  "initial_data": {
    "machine_uuid": "value"
  }
}