Reschedules upcoming maintenance event.
HTTP request
POST https://memorystore.googleapis.com/v1beta/{name=projects/*/locations/*/instances/*}:rescheduleMaintenance
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Name of the instance to reschedule maintenance for: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"rescheduleType": enum ( |
Fields | |
---|---|
rescheduleType |
Required. If reschedule type is SPECIFIC_TIME, scheduleTime must be set. |
scheduleTime |
Optional. Timestamp when the maintenance shall be rescheduled to if rescheduleType=SPECIFIC_TIME, in RFC 3339 format. Example: Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. 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
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. |