Skip to content
Proud to collaborate with Microsoft for Startups

runner.delete_gcp_workload__post ​

Mark GCE_MIG + GCE_INSTANCE_TEMPLATE RunnerResource rows deleted.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-runners-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidYes—UUID of the RunnerGroup this action operates on, picked from the organization's list of runner groups.
organization_uuiduuidNo—UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant.
workflow_run_idstringNo——
primitive_outputjsonNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidNo—UUID of the RunnerGroup this action operates on, picked from the organization's list of runner groups.
organization_uuiduuidNo—UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant.
workflow_run_idstringNo——
primitive_outputjsonNo——
connection_uuiduuidNo—UUID of the GCP CloudConnection the delete primitive ran against, echoed from the primitive output.
namestringNo—Instance template name echoed from the delete primitive
project_idstringNo——
existedbooleanNo—Whether the instance template existed before deletion
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—

API Usage ​

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

{
  "workflow_type": "runner.delete_gcp_workload__post",
  "initial_data": {
    "runner_group_uuid": "value"
  }
}