gcloud sql reschedule-maintenance - reschedule a Cloud SQL instance's maintenance
gcloud sql reschedule-maintenance INSTANCE --reschedule-type=RESCHEDULE_TYPE [--schedule-time=SCHEDULE_TIME] [GCLOUD_WIDE_FLAG ...]
gcloud sql reschedule-maintenance reschedules a Cloud SQL instance's maintenance.
To run maintenance on instance my-instance immediately, run:
$ gcloud sql reschedule-maintenance my-instance \ --reschedule-type=IMMEDIATE
To reschedule maintenance on instance my-instance to the next available window, run:
$ gcloud 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 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.
These variants are also available:
$ gcloud alpha sql reschedule-maintenance
$ gcloud beta sql reschedule-maintenance