Crea un nuovo cluster di amministrazione VMware in un determinato progetto e una determinata località. Per funzionare, l'API deve essere combinata con la creazione di un cluster di bootstrap.
Richiesta HTTP
POST https://gkeonprem.googleapis.com/v1/{parent=projects/*/locations/*}/vmwareAdminClusters
Obbligatorio. Il progetto padre e la località in cui viene creato il cluster. Formato: "projects/{project}/locations/{location}"
Parametri di query
Parametri
vmwareAdminClusterId
string
Obbligatorio. Identificatore fornito dall'utente utilizzato come parte del nome della risorsa; deve essere conforme a RFC-1034 e limitato a lettere minuscole. che corrisponde all'incirca a: /^[a-z][a-z0-9.-]+[a-z0-9]$/
validateOnly
boolean
Convalida la richiesta senza eseguire effettivamente alcun aggiornamento.
allowPreflightFailure
boolean
Facoltativo. Se impostato su true, CLM forzerà CCFE a rendere persistente la risorsa cluster in RMS quando la creazione non riesce durante i controlli preflight autonomi. In questo caso, la successiva chiamata di creazione non riuscirà a causa dell'errore "Il cluster esiste già" e pertanto è necessario un aggiornamento del cluster per risolvere il problema.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-01 UTC."],[],[],null,["# Method: projects.locations.vmwareAdminClusters.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nCreates a new VMware admin cluster in a given project and location. The API needs to be combined with creating a bootstrap cluster to work.\n\n### HTTP request\n\n`POST https://gkeonprem.googleapis.com/v1/{parent=projects/*/locations/*}/vmwareAdminClusters`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [VmwareAdminCluster](/kubernetes-engine/distributed-cloud/reference/on-prem-api/rest/v1/projects.locations.vmwareAdminClusters#VmwareAdminCluster).\n\n### Response body\n\nIf successful, the response body contains a newly created 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)."]]