Skip to content
Proud to collaborate with Microsoft for Startups

cluster.status-gcp-vm ​

Return provider status for a GCP VM-backed cluster.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-clusters-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo——
provider_connection_uuiduuidYes——
provider_cluster_refstringYes——
project_idstringNo——
zonestringYes——
actorstringNo——
timeout_secondsintegerNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo——
provider_connection_uuiduuidYes——
provider_cluster_refstringYes——
project_idstringNo——
zonestringYes——
actorstringNo——
timeout_secondsintegerNo——
describe_vmjsonNo——
provider_statusjsonNo——
statusstringNo——
phasestringNo——
reachablebooleanNo——
private_ipstringNo——
public_ipstringNo——
checked_atstringNo——
failure_reasonstringNo——
failed_stepjsonNo——
failed_layerjsonNo——
failed_at_statejsonNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—describe_vm—
describing_vmNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingdescribe_vmdescribing_vm—
describing_vmcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "cluster.status-gcp-vm",
  "initial_data": {
    "provider_connection_uuid": "value",
    "provider_cluster_ref": "value",
    "zone": "value"
  }
}