Erstellt einen Redis-Cluster basierend auf den angegebenen Eigenschaften. Die Erstellung wird asynchron ausgeführt. Anrufer können den zurückgegebenen Vorgang überprüfen, um den Fortschritt zu verfolgen. Nach Abschluss des Vorgangs ist der Redis-Cluster voll funktionsfähig. Die abgeschlossene „longrunning.Operation“ enthält das neue Clusterobjekt im Antwortfeld.
Der zurückgegebene Vorgang wird nach einigen Stunden automatisch gelöscht, operations.delete muss also nicht aufgerufen werden.
HTTP-Anfrage
POST https://redis.googleapis.com/v1beta1/{parent=projects/*/locations/*}/clusters
Pflichtangabe. Der Ressourcenname des Clusterstandorts im Format projects/{projectId}/locations/{locationId}, wobei sich locationId auf eine Google Cloud-Region bezieht.
Abfrageparameter
Parameter
clusterId
string
Pflichtangabe. Der logische Name des Redis-Clusters im Kundenprojekt mit den folgenden Einschränkungen:
Darf nur Kleinbuchstaben, Ziffern und Bindestriche enthalten.
Muss mit einem Buchstaben beginnen
Muss 1–63 Zeichen umfassen
Muss mit einer Zahl oder einem Buchstaben enden
Darf innerhalb des Kundenprojekts bzw. der Zone nur einmal vorkommen
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[],[],null,["# Method: projects.locations.clusters.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- [Examples](#examples)\n- [Try it!](#try-it)\n\nCreates a Redis cluster based on the specified properties. The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis cluster will be fully functional. The completed longrunning.Operation will contain the new cluster object in the response field.\n\nThe returned operation is automatically deleted after a few hours, so there is no need to call operations.delete.\n\n### HTTP request\n\n`POST https://redis.googleapis.com/v1beta1/{parent=projects/*/locations/*}/clusters`\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 [Cluster](/memorystore/docs/cluster/reference/rest/v1beta1/projects.locations.clusters#Cluster).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/memorystore/docs/cluster/reference/rest/Shared.Types/ListOperationsResponse#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)."]]