Skip to content
Proud to collaborate with Microsoft for Startups

cluster.delete-gcp-vm ​

Delete a GCP VM-backed cluster by deleting its VM resource.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-clusters-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo——
gcp_connection_uuiduuidYes——
kubernetes_connection_uuiduuidNo——
project_idstringYes——
zonestringYes——
cluster_namestringNo——
vm_namestringYes——
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo——
gcp_connection_uuiduuidYes——
kubernetes_connection_uuiduuidNo——
project_idstringYes——
zonestringYes——
cluster_namestringNo——
vm_namestringYes——
actorstringNo——
vm_deletejsonNo——
deletedbooleanNo——
existedbooleanNo——
statusstringNo——
completed_atstringNo——
failure_reasonstringNo——
failed_stepjsonNo——
failed_layerjsonNo——
failed_at_statejsonNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—delete_vm—
deleting_vmNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingdelete_vmdeleting_vm—
deleting_vmcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "cluster.delete-gcp-vm",
  "initial_data": {
    "gcp_connection_uuid": "value",
    "project_id": "value",
    "zone": "value",
    "vm_name": "value"
  }
}