gcloud alpha sql reschedule-maintenance

NAME
gcloud alpha sql reschedule-maintenance - reschedule a Cloud SQL instance's maintenance
SYNOPSIS
gcloud alpha sql reschedule-maintenanceINSTANCE--reschedule-type=RESCHEDULE_TYPE[--schedule-time=SCHEDULE_TIME][GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) gcloud alpha sql reschedule-maintenance reschedules a CloudSQL instance's maintenance.
EXAMPLES
To run maintenance on instancemy-instance immediately, run:
gcloudalphasqlreschedule-maintenancemy-instance--reschedule-type=IMMEDIATE

To reschedule maintenance on instancemy-instance to the nextavailable window, run:

gcloudalphasqlreschedule-maintenancemy-instance--reschedule-type=NEXT_AVAILABLE_WINDOW

To reschedule maintenance on instancemy-instance to 2019-11-07 at4:00 am UTC, run:

gcloudalphasqlreschedule-maintenancemy-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 themaintenance 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 thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudsqlreschedule-maintenance
gcloudbetasqlreschedule-maintenance

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.