- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Creates 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.
The returned operation is automatically deleted after a few hours, so there is no need to call operations.delete.
HTTP request
POST https://redis.googleapis.com/v1/{parent=projects/*/locations/*}/clusters
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the cluster location using the form: |
Query parameters
Parameters | |
---|---|
clusterId |
Required. The logical name of the Redis cluster in the customer project with the following restrictions:
|
requestId |
Idempotent request UUID. |
Request body
The request body contains an instance of Cluster
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.