Skip to content
Proud to collaborate with Microsoft for Startups

gcp.network.list_subnets ​

List GCP subnetworks for one VPC network.

List GCP subnetworks for one VPC network without mutating resources.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
network_idstringYes—GCP VPC network name or self link.
project_idstringNo—GCP project ID override.
regionstringNo—Optional region filter.
page_sizeintegerNo—Provider page size.
max_resultsintegerNo—Maximum subnetworks to return.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—GCP CloudConnection UUID.
network_idstringNo—GCP VPC network name or self link.
project_idstringNo—GCP project ID override.
regionstringNo—Optional region filter.
page_sizeintegerNo—Provider page size.
max_resultsintegerNo—Maximum subnetworks to return.
subnetslistNo—Normalized subnetwork inventory records.
subnet_countintegerNo—Number of subnetworks returned.
failure_reasonstringNo—Human-readable failure reason.
failure_typestringNo—Failure type.
failed_actionstringNo—Failed action name.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

States ​

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

State Diagram ​

Transitions ​

FromActionToDescription
pendingpreflightpreflighting—
preflightingexecutelisting—
listingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gcp.network.list_subnets",
  "initial_data": {
    "connection_uuid": "value",
    "network_id": "value"
  }
}