Method: projects.locations.vmwareAdminClusters.enroll

Enrolls an existing VMware admin cluster to the Anthos On-Prem API within a given project and location. Through enrollment, an existing admin cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster will be expected to be performed through the API.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The parent of the project and location where the cluster is enrolled in. Format: "projects/{project}/locations/{location}"

Request body

The request body contains data with the following structure:

JSON representation
  "vmwareAdminClusterId": string,
  "membership": string


User provided OnePlatform identifier that is used as part of the resource name. This must be unique among all GKE on-prem clusters within a project and location and will return a 409 if the cluster already exists.

( format.



Required. This is the full resource name of this admin cluster's fleet membership.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.