- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- RescheduleType
- Examples
- Try it!
Reschedules upcoming maintenance event.
HTTP request
POST https://redis.googleapis.com/v1/{name=projects/*/locations/*/clusters/*}:rescheduleClusterMaintenance
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Redis Cluster instance resource name using the form: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"rescheduleType": enum ( |
Fields | |
---|---|
rescheduleType |
Required. If reschedule type is SPECIFIC_TIME, must set up scheduleTime as well. |
scheduleTime |
Optional. Timestamp when the maintenance shall be rescheduled to if rescheduleType=SPECIFIC_TIME, in RFC 3339 format, for example A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
RescheduleType
Reschedule options.
Enums | |
---|---|
RESCHEDULE_TYPE_UNSPECIFIED |
Not set. |
IMMEDIATE |
If the user wants to schedule the maintenance to happen now. |
SPECIFIC_TIME |
If the user wants to reschedule the maintenance to a specific time. |