지정된 프로젝트 및 위치 내에서 기존 VMware 사용자 클러스터와 노드 풀을 Anthos On-Prem API에 등록합니다. 등록을 통해 기존 클러스터가 Anthos On-Prem API 관리형이 됩니다. 해당 GCP 리소스가 생성되며 향후 클러스터 또는 노드 풀의 모든 수정사항은 API를 통해 실행해야 합니다.
HTTP 요청
POST https://gkeonprem.googleapis.com/v1/{parent=projects/*/locations/*}/vmwareClusters:enroll
(선택사항) 연결된 관리자 클러스터에서 VMware OnPremUserCluster 커스텀 리소스의 객체 이름입니다. 이 필드는 기존 클러스터를 API에 등록할 때 충돌하는 리소스 이름을 지원하는 데 사용됩니다. 제공되지 않으면 이 필드가 vmwareClusterId로 확인됩니다. 그렇지 않으면 VMware OnPremUserCluster 커스텀 리소스의 객체 이름과 일치해야 합니다. 등록 작업 외부에서는 수정할 수 없습니다.
adminClusterMembership
string
필수 항목입니다. 이 VMware 사용자 클러스터가 속한 관리자 클러스터입니다. 관리자 클러스터의 Fleet 멤버십의 전체 리소스 이름입니다. 향후 관리자 클러스터가 자체 리소스로 모델링되는 경우 다른 리소스 유형에 대한 참조가 허용될 수 있습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-01(UTC)"],[],[],null,["# Method: projects.locations.vmwareClusters.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 user cluster and its node pools to the Anthos On-Prem API within a given project and location. Through enrollment, an existing cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster and/or its node pools will be expected to be performed through the API.\n\n### HTTP request\n\n`POST https://gkeonprem.googleapis.com/v1/{parent=projects/*/locations/*}/vmwareClusters: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)."]]