Mendaftarkan cluster admin VMware yang ada ke Anthos On-Prem API dalam project dan lokasi tertentu. Melalui pendaftaran, cluster admin yang ada akan dikelola oleh Anthos On-Prem API. Resource GCP yang sesuai akan dibuat dan semua modifikasi cluster di masa mendatang diharapkan dilakukan melalui API.
Permintaan HTTP
POST https://gkeonprem.googleapis.com/v1/{parent=projects/*/locations/*}/vmwareAdminClusters:enroll
ID OnePlatform yang disediakan pengguna dan digunakan sebagai bagian dari nama resource. Nama ini harus unik di antara semua cluster GKE on-prem dalam project dan lokasi, serta akan menampilkan 409 jika cluster sudah ada.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-14 UTC."],[],[],null,["# Method: projects.locations.vmwareAdminClusters.enroll\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nEnrolls 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.\n\n### HTTP request\n\n`POST https://gkeonprem.googleapis.com/v1/{parent=projects/*/locations/*}/vmwareAdminClusters:enroll`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/kubernetes-engine/distributed-cloud/reference/on-prem-api/rest/v1/projects.locations.operations#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]