Skip to content
Proud to collaborate with Microsoft for Startups

gcp.gke.cluster.delete ​

Start deletion of a GKE cluster and return the provider long-running operation.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—GCP project override; defaults to the connection project.
locationstringYes—GKE region or zone.
namestringYes—Cluster name.
request_idstringNo—Optional provider request id for retry safety.
ignore_not_foundbooleanNo—Return existed false when the cluster is absent.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—GCP CloudConnection UUID echoed from input.
project_idstringNo—Effective GCP project.
authenticated_project_idstringNo—Project resolved by credential validation.
auth_validationbooleanNo—True when credential validation succeeded.
locationstringNo—GKE region or zone used.
namestringNo—Cluster name.
request_idstringNo—Optional provider request id for retry safety.
ignore_not_foundbooleanNo—Return existed false when the cluster is absent.
provider_resource_idstringNo—projects/{project}/locations/{location}/clusters/{name}.
existedbooleanNo—False when ignore_not_found handled an absent cluster.
deletedbooleanNo—True when a provider delete operation was started.
operation_namestringNo—GKE long-running operation name.
operation_statusstringNo—Initial provider operation status.
operationjsonNo—Sanitized provider operation response.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer.
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.gke.cluster.delete",
  "initial_data": {
    "connection_uuid": "value",
    "location": "value",
    "name": "value"
  }
}