gcloud alpha sql instances - provide commands for managing Cloud SQL instances
gcloud alpha sql instances GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Provide commands for managing Cloud SQL instances including creating, configuring, restarting, and deleting instances.
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- config
(ALPHA) Manage Sqladmin instance configurations.
COMMAND is one of the following:
- clone
(ALPHA) Clones a Cloud SQL instance.
- create
(ALPHA) Creates a new Cloud SQL instance.
- delete
(ALPHA) Deletes a Cloud SQL instance.
- describe
(ALPHA) Displays configuration and metadata about a Cloud SQL instance.
- export
(ALPHA) (DEPRECATED) Exports data from a Cloud SQL instance.
- failover
(ALPHA) Causes a high-availability Cloud SQL instance to failover.
- import
(ALPHA) (DEPRECATED) Imports data into a Cloud SQL instance from Google Cloud Storage.
- list
(ALPHA) Lists Cloud SQL instances in a given project.
- patch
(ALPHA) Updates the settings of a Cloud SQL instance.
- promote-replica
(ALPHA) Promotes Cloud SQL read replica to a stand-alone instance.
- reset-ssl-config
(ALPHA) Deletes all client certificates and generates a new server certificate.
- restart
(ALPHA) Restarts a Cloud SQL instance.
- restore-backup
(ALPHA) Restores a backup of a Cloud SQL instance.
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 instances
$ gcloud beta sql instances