Skip to content
Proud to collaborate with Microsoft for Startups

gcp.compute.vm.describe ​

Describe one GCE VM by name and zone without creating or mutating resources.

Describe one GCE VM by name and zone, optionally including serial output.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
namestringYes—VM instance name.
regionstringYes—GCP zone; kept as region to match existing LTIP VM primitives.
project_idstringNo—Explicit GCP project override.
include_serial_port_outputbooleanNo—Include Compute Engine serial port output.
serial_portintegerNo—Serial port number to read; defaults to provider API default.
serial_port_startintegerNo—Byte offset for serial output pagination.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—GCP CloudConnection UUID echoed from input.
project_idstringNo—Resolved GCP project.
namestringNo—VM instance name.
regionstringNo—GCP zone.
foundbooleanNo—Whether the VM exists.
include_serial_port_outputbooleanNo—Whether serial output was requested.
serial_portintegerNo—Serial port number requested.
serial_port_startintegerNo—Serial output byte offset requested.
provider_resource_idstringNo—Provider self link or resource ID.
statusstringNo—Provider VM status.
private_ipstringNo—Primary internal IP.
public_ipstringNo—Primary external IP if present.
machine_typestringNo—Machine type.
serial_port_outputstringNo—Serial port output contents when requested.
serial_port_nextstringNo—Next serial output offset when returned by GCP.
metadatajsonNo—Compatibility metadata including serial_port_output.
vmjsonNo—Sanitized provider VM object.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer if applicable.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—preflight—
executingNoNo—complete—
preflightingNoNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingpreflightpreflighting—
preflightingexecuteexecuting—
executingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gcp.compute.vm.describe",
  "initial_data": {
    "connection_uuid": "value",
    "name": "value",
    "region": "value"
  }
}