Skip to content
Proud to collaborate with Microsoft for Startups

gcp.compute.backend_service.create ​

Create a global backend service fronting a serverless NEG for the L7 load balancer.

Create a global backend service that routes to a serverless NEG backend.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—Explicit GCP project override.
namestringYes—Backend service name.
protocolstringNo—Backend protocol; defaults to HTTPS.
load_balancing_schemestringNo—LB scheme; defaults to EXTERNAL_MANAGED.
backendsjsonNo—Backend list, each {group: <neg self link>}.
health_checksjsonNo—Health check self links.
timeout_secintegerNo—Backend request timeout in seconds.
port_namestringNo—Named port on the backend.
enable_cdnbooleanNo—Enable Cloud CDN on the backend.
custom_request_headersjsonNo—Custom request headers list.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Resolved GCP project.
namestringNo—Backend service name.
protocolstringNo—Backend protocol.
load_balancing_schemestringNo—LB scheme.
backendsjsonNo—Backend list.
health_checksjsonNo—Health check self links.
timeout_secintegerNo—Backend request timeout.
port_namestringNo—Named port.
enable_cdnbooleanNo—Cloud CDN enabled flag.
custom_request_headersjsonNo—Custom request headers.
self_linkstringNo—Self link of the backend service.
operation_namestringNo—Compute operation name when created.
createdbooleanNo—True when created this run.
backend_servicejsonNo—Sanitized provider backend service or operation.
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.

States ​

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

State Diagram ​

Transitions ​

FromActionToDescription
pendingpreflightpreflighting—
preflightingexecutecreating—
creatingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gcp.compute.backend_service.create",
  "initial_data": {
    "connection_uuid": "value",
    "name": "value"
  }
}