- gcloud alpha sql instances - provide commands for managing Cloud SQL instances
gcloud alpha sql instances COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Provide commands for managing Cloud SQL instances including
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
COMMAND is one of the following:
(ALPHA) Clones a Cloud SQL instance.
(ALPHA) Creates a new Cloud SQL instance.
(ALPHA) Deletes a Cloud SQL instance.
(ALPHA) Displays configuration and metadata about a Cloud SQL instance.
(ALPHA) (DEPRECATED) Exports data from a Cloud SQL instance.
(ALPHA) Causes a high-availability Cloud SQL instance to failover.
(ALPHA) (DEPRECATED) Imports data into a Cloud SQL instance from
Google Cloud Storage.
(ALPHA) Lists Cloud SQL instances in a given project.
(ALPHA) Updates the settings of a Cloud SQL instance.
(ALPHA) Promotes Cloud SQL read replica to a stand-alone instance.
(ALPHA) Deletes all client certificates and generates a new server
(ALPHA) Restarts a Cloud SQL instance.
(ALPHA) Restores a backup of a Cloud SQL instance.
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud sql instances $ gcloud beta sql instances