yc managed-mysql
Manage MySQL clusters, hosts, databases, backups and users.
Command Usage
Syntax:
yc managed-mysql <group|command>
Aliases:
mysql
Command Tree
-
yc managed-mysql connect — Connect to MySQL cluster with iam-auth
-
yc managed-mysql backup — Manage MySQL backups
-
yc managed-mysql backup get — Show information about the specified MySQL backup
-
yc managed-mysql backup list — List available backups
-
-
yc managed-mysql cluster — Manage MySQL clusters
-
yc managed-mysql cluster add-access-binding — Add access binding for the specified MySQL cluster
-
yc managed-mysql cluster add-labels — Add labels to MySQL cluster
-
yc managed-mysql cluster backup — Create a backup for the specified MySQL cluster
-
yc managed-mysql cluster create — Create MySQL cluster
-
yc managed-mysql cluster delete — Delete the specified MySQL cluster
-
yc managed-mysql cluster get — Show information about the specified MySQL cluster
-
yc managed-mysql cluster list — List MySQL clusters
-
yc managed-mysql cluster list-access-bindings — List access bindings for the specified MySQL cluster
-
yc managed-mysql cluster list-backups — List available backups for the specified MySQL cluster
-
yc managed-mysql cluster list-logs — Retrieves logs for the specified MySQL cluster
-
yc managed-mysql cluster list-operations — List operations for the specified MySQL cluster
-
yc managed-mysql cluster move — Move the specified MySQL cluster into the folder
-
yc managed-mysql cluster remove-access-binding — Remove access binding for the specified MySQL cluster
-
yc managed-mysql cluster remove-labels — Remove labels from MySQL cluster
-
yc managed-mysql cluster reschedule-maintenance — Reschedule currently planned maintenance operation.
-
yc managed-mysql cluster restore — Restore MySQL cluster
-
yc managed-mysql cluster set-access-bindings — Set access bindings for the specified MySQL cluster and delete all existing access bindings if there were any
-
yc managed-mysql cluster start — Start the specified MySQL cluster
-
yc managed-mysql cluster start-failover — Start manual failover for the specified MySQL cluster
-
yc managed-mysql cluster stop — Stop the specified MySQL cluster
-
yc managed-mysql cluster update — Update the specified MySQL cluster
-
yc managed-mysql cluster update-config — Update the specified MySQL cluster config
-
-
yc managed-mysql database — Manage MySQL databases
-
yc managed-mysql database create — Create MySQL database
-
yc managed-mysql database delete — Delete the specified MySQL database
-
yc managed-mysql database get — Show information about the specified MySQL database
-
yc managed-mysql database list — List MySQL databases
-
-
yc managed-mysql hosts — Manage MySQL cluster hosts
-
yc managed-mysql hosts add — Create new hosts for the cluster in the specified availability zones
-
yc managed-mysql hosts delete — Delete the specified hosts
-
yc managed-mysql hosts list — List hosts for the specified MySQL cluster
-
yc managed-mysql hosts update — Update the specified hosts
-
-
yc managed-mysql resource-preset — Manage MySQL resource presets
-
yc managed-mysql resource-preset get — Show information about the specified MySQL resource preset
-
yc managed-mysql resource-preset list — List available MySQL resource presets.
-
-
yc managed-mysql user — Manage MySQL users
-
yc managed-mysql user create — Create a MySQL user
-
yc managed-mysql user delete — Delete the specified MySQL user
-
yc managed-mysql user get — Show information about the specified MySQL user
-
yc managed-mysql user grant-permission — Grant permission to the specified MySQL user
-
yc managed-mysql user list — List users for the specified MySQL cluster
-
yc managed-mysql user revoke-permission — Revoke permission from the specified MySQL user
-
yc managed-mysql user update — Update the specified MySQL user
-
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |