yc managed-mysql
Статья создана
Обновлена 3 октября 2024 г.
Manage MySQL clusters, hosts, databases, backups and users.
Command Usage
Syntax:
yc managed-mysql <group>
Aliases:
mysql
Command Tree
- yc managed-mysql cluster — Manage MySQL clusters
- yc managed-mysql cluster get — Show information about the specified MySQL cluster
- yc managed-mysql cluster list — List MySQL clusters
- yc managed-mysql cluster create — Create MySQL cluster
- yc managed-mysql cluster restore — Restore MySQL cluster
- yc managed-mysql cluster start-failover — Start manual failover for the specified MySQL cluster
- yc managed-mysql cluster reschedule-maintenance — Reschedule currently planned maintenance operation.
- 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 cluster add-labels — Add labels to MySQL cluster
- yc managed-mysql cluster remove-labels — Remove labels from MySQL cluster
- yc managed-mysql cluster delete — Delete the specified MySQL cluster
- yc managed-mysql cluster backup — Create a backup 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 start — Start the specified MySQL cluster
- yc managed-mysql cluster stop — Stop the specified MySQL cluster
- yc managed-mysql hosts — Manage MySQL cluster hosts
- yc managed-mysql hosts list — List hosts for the specified MySQL cluster
- yc managed-mysql hosts add — Create new hosts for the cluster in the specified availability zones
- yc managed-mysql hosts update — Update the specified hosts
- yc managed-mysql hosts delete — Delete the specified hosts
- yc managed-mysql database — Manage MySQL databases
- yc managed-mysql database get — Show information about the specified MySQL database
- yc managed-mysql database list — List MySQL databases
- yc managed-mysql database create — Create MySQL database
- yc managed-mysql database delete — Delete the specified MySQL database
- yc managed-mysql user — Manage MySQL users
- yc managed-mysql user get — Show information about the specified MySQL user
- yc managed-mysql user list — List users for the specified MySQL cluster
- yc managed-mysql user create — Create a MySQL user
- yc managed-mysql user update — Update the specified MySQL user
- yc managed-mysql user delete — Delete the specified MySQL user
- yc managed-mysql user grant-permission — Grant permission to the specified MySQL user
- yc managed-mysql user revoke-permission — Revoke permission from the specified MySQL user
- 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 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.
Global Flags
Flag | Description |
---|---|
--profile |
string Set the custom configuration file. |
--debug |
Debug logging. |
--debug-grpc |
Debug gRPC logging. Very verbose, used for debugging connection problems. |
--no-user-output |
Disable printing user intended output to stderr. |
--retry |
int Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. Pass 0 to disable retries. Pass any negative value for infinite retries. Even infinite retries are capped with 2 minutes timeout. |
--cloud-id |
string Set the ID of the cloud to use. |
--folder-id |
string Set the ID of the folder to use. |
--folder-name |
string Set the name of the folder to use (will be resolved to id). |
--endpoint |
string Set the Cloud API endpoint (host:port). |
--token |
string Set the OAuth token to use. |
--impersonate-service-account-id |
string Set the ID of the service account to impersonate. |
--no-browser |
Disable opening browser for authentication. |
--format |
string Set the output format: text (default), yaml, json, json-rest. |
--jq |
string Query to select values from the response using jq syntax |
-h ,--help |
Display help for the command. |