Get Region Disk

compute_engine.get_region_disk
ActionGoogle Cloudconnection required

Calls compute v1 GET /projects/{project}/regions/{region}/disks/{disk}.

Returns a specified regional persistent disk.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Compute Engine
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id, zone
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
region
Region; defaults to the connection's zone minus its suffix.
stringNo———
disk
Disk name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
accessMode
string—
architecture
string—
asyncPrimaryDisk
object—
asyncSecondaryDisks
object—
creationTimestamp
string—
description
string—
diskEncryptionKey
object—
enableConfidentialCompute
boolean—
guestOsFeatures
array—
id
string—
kind
string—
labelFingerprint
string—
labels
object—
lastAttachTimestamp
string—
lastDetachTimestamp
string—
licenseCodes
array—
licenses
array—
locationHint
string—
name
string—
options
string—
params
object—
physicalBlockSizeBytes
string—
provisionedIops
string—
provisionedThroughput
string—
region
string—
replicaZones
array—
resourcePolicies
array—
resourceStatus
object—
satisfiesPzi
boolean—
satisfiesPzs
boolean—
selfLink
string—
sizeGb
string—
sourceConsistencyGroupPolicy
string—
sourceConsistencyGroupPolicyId
string—
sourceDisk
string—
sourceDiskId
string—
sourceImage
string—
sourceImageEncryptionKey
object—
sourceImageId
string—
sourceInstantSnapshot
string—
sourceInstantSnapshotId
string—
sourceSnapshot
string—
sourceSnapshotEncryptionKey
object—
sourceSnapshotId
string—
sourceStorageObject
string—
status
string—
storagePool
string—
type
string—
users
array—
zone
string—
{
  "accessMode": "",
  "architecture": "",
  "asyncPrimaryDisk": {},
  "asyncSecondaryDisks": {},
  "creationTimestamp": "",
  "description": "",
  "diskEncryptionKey": {},
  "enableConfidentialCompute": false,
  "guestOsFeatures": [],
  "id": "",
  "kind": "",
  "labelFingerprint": "",
  "labels": {},
  "lastAttachTimestamp": "",
  "lastDetachTimestamp": "",
  "licenseCodes": [],
  "licenses": [],
  "locationHint": "",
  "name": "",
  "options": "",
  "params": {},
  "physicalBlockSizeBytes": "",
  "provisionedIops": "",
  "provisionedThroughput": "",
  "region": "",
  "replicaZones": [],
  "resourcePolicies": [],
  "resourceStatus": {},
  "satisfiesPzi": false,
  "satisfiesPzs": false,
  "selfLink": "",
  "sizeGb": "",
  "sourceConsistencyGroupPolicy": "",
  "sourceConsistencyGroupPolicyId": "",
  "sourceDisk": "",
  "sourceDiskId": "",
  "sourceImage": "",
  "sourceImageEncryptionKey": {},
  "sourceImageId": "",
  "sourceInstantSnapshot": "",
  "sourceInstantSnapshotId": "",
  "sourceSnapshot": "",
  "sourceSnapshotEncryptionKey": {},
  "sourceSnapshotId": "",
  "sourceStorageObject": "",
  "status": "",
  "storagePool": "",
  "type": "",
  "users": [],
  "zone": ""
}

See Get Region Disk run in a workflow.

In a technical demo we add the Google Compute Engine connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.