1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/alpha/sql/reschedule-maintenance
2022-03-01 04:29:52 +00:00

64 lines
2.2 KiB
Text

NAME
gcloud alpha sql reschedule-maintenance - reschedule a Cloud SQL instance's
maintenance
SYNOPSIS
gcloud alpha sql reschedule-maintenance INSTANCE
--reschedule-type=RESCHEDULE_TYPE [--schedule-time=SCHEDULE_TIME]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) gcloud alpha sql reschedule-maintenance reschedules a Cloud SQL
instance's maintenance.
EXAMPLES
To run maintenance on instance my-instance immediately, run:
$ gcloud alpha sql reschedule-maintenance my-instance \
--reschedule-type=IMMEDIATE
To reschedule maintenance on instance my-instance to the next available
window, run:
$ gcloud alpha 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 alpha sql reschedule-maintenance my-instance \
--reschedule-type=SPECIFIC_TIME \
--schedule-time=2019-11-07T04:00Z
POSITIONAL ARGUMENTS
INSTANCE
Cloud SQL instance ID.
REQUIRED FLAGS
--reschedule-type=RESCHEDULE_TYPE
The type of reschedule operation to perform. RESCHEDULE_TYPE must be
one of: IMMEDIATE, NEXT_AVAILABLE_WINDOW, SPECIFIC_TIME.
OPTIONAL FLAGS
--schedule-time=SCHEDULE_TIME
When specifying SPECIFIC_TIME, the date and time at which to schedule
the maintenance in ISO 8601 format.
GCLOUD WIDE FLAGS
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.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. These variants are also available:
$ gcloud sql reschedule-maintenance
$ gcloud beta sql reschedule-maintenance