Enroll Vmware Cluster
gke_on_prem.enroll_vmware_cluster
ActionGoogle Cloudconnection required
Calls GKE On-Prem POST /v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters:enroll.
Enrolls an existing VMware user cluster and its node pools to the Anthos On-Prem API within a given project and location.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google GKE On-Prem
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- location, project_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
project_id GCP project id (overrides connection). | string | No | — | — | — |
location Location / region (overrides connection). | string | No | — | — | — |
body Request body (EnrollVmwareClusterRequest) as JSON. | object | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
name | string | — |
error | object | — |
done | boolean | — |
metadata | object | — |
response | object | — |
{
"done": false,
"error": {},
"metadata": {},
"name": "",
"ok": false,
"response": {}
}See Enroll Vmware Cluster run in a workflow.
In a technical demo we add the Google GKE On-Prem connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.