gcloud beta sql reschedule-maintenance - reschedule a Cloud SQL instance's maintenance
gcloud beta sql reschedule-maintenance INSTANCE --reschedule-type=RESCHEDULE_TYPE [--schedule-time=SCHEDULE_TIME] [GCLOUD_WIDE_FLAG ...]
(BETA) gcloud beta sql reschedule-maintenance reschedules a Cloud SQL instance's maintenance.
To run maintenance on instance my-instance immediately, run:
$ gcloud beta sql reschedule-maintenance my-instance \ --reschedule-type=IMMEDIATE
To reschedule maintenance on instance my-instance to the next available window, run:
$ gcloud beta sql reschedule-maintenance my-instance \ --reschedule-type=NEXT_AVAILABLE_WINDOW
To reschedule maintenance on instance my-instance to 2019-11-07 at 4:00 am UTC, run:
$ gcloud beta sql reschedule-maintenance my-instance \ --reschedule-type=SPECIFIC_TIME \ --schedule-time=2019-11-07T04:00Z
- INSTANCE
Cloud SQL instance ID.
- --reschedule-type=RESCHEDULE_TYPE
The type of reschedule operation to perform. RESCHEDULE_TYPE must be one of: IMMEDIATE, NEXT_AVAILABLE_WINDOW, SPECIFIC_TIME.
- --schedule-time=SCHEDULE_TIME
When specifying SPECIFIC_TIME, the date and time at which to schedule the maintenance in ISO 8601 format.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command is currently in beta and might change without notice. These variants are also available:
$ gcloud sql reschedule-maintenance
$ gcloud alpha sql reschedule-maintenance