yc managed-sqlserver
Written by
Updated at October 3, 2024
Manage SQLServer clusters, databases, backups and users.
Command Usage
Syntax:
yc managed-sqlserver <group>
Aliases:
sqlserver
Command Tree
- yc managed-sqlserver cluster — Manage SQLServer clusters
- yc managed-sqlserver cluster get — Show information about the specified SQLServer cluster
- yc managed-sqlserver cluster list — List SQLServer clusters
- yc managed-sqlserver cluster create — Create SQLServer cluster
- yc managed-sqlserver cluster restore — Restore SQLServer cluster
- yc managed-sqlserver cluster start-failover — Start manual failover for the specified SQLServer cluster
- yc managed-sqlserver cluster update — Update the specified SQLServer cluster
- yc managed-sqlserver cluster update-config — Update the specified SQLServer cluster config
- yc managed-sqlserver cluster add-labels — Add labels to SQLServer cluster
- yc managed-sqlserver cluster remove-labels — Remove labels from SQLServer cluster
- yc managed-sqlserver cluster delete — Delete the specified SQLServer cluster
- yc managed-sqlserver cluster backup — Create a backup for the specified SQLServer cluster
- yc managed-sqlserver cluster list-backups — List available backups for the specified SQLServer cluster
- yc managed-sqlserver cluster list-operations — List operations for the specified SQLServer cluster
- yc managed-sqlserver cluster start — Start the specified SQLServer cluster
- yc managed-sqlserver cluster stop — Stop the specified SQLServer cluster
- yc managed-sqlserver host — Manage SQLServer cluster hosts
- yc managed-sqlserver host list — List hosts for the specified SQLServer cluster
- yc managed-sqlserver host update — Update the specified hosts
- yc managed-sqlserver database — Manage SQLServer databases
- yc managed-sqlserver database get — Show information about the specified SQLServer database
- yc managed-sqlserver database list — List SQLServer databases
- yc managed-sqlserver database create — Create SQLServer database
- yc managed-sqlserver database restore — Restore SQLServer database
- yc managed-sqlserver database backup-export — Export SQLServer database backup to Object Storage
- yc managed-sqlserver database backup-import — Import SQLServer database from external backup in Object Storage
- yc managed-sqlserver database delete — Delete the specified SQLServer database
- yc managed-sqlserver user — Manage SQLServer users
- yc managed-sqlserver user get — Show information about the specified SQLServer user
- yc managed-sqlserver user list — List users for the specified SQLServer cluster
- yc managed-sqlserver user create — Create a SQLServer user
- yc managed-sqlserver user update — Update the specified SQLServer user
- yc managed-sqlserver user delete — Delete the specified SQLServer user
- yc managed-sqlserver user grant-permission — Grant database access to the specified SQLServer user
- yc managed-sqlserver user revoke-permission — Revoke database access from the specified SQLServer user
- yc managed-sqlserver backup — Manage SQLServer backups
- yc managed-sqlserver backup get — Show information about the specified SQLServer backup
- yc managed-sqlserver backup list — List available backups
- yc managed-sqlserver resource-preset — Manage SQLServer resource presets
- yc managed-sqlserver resource-preset get — Show information about the specified SQLServer resource preset
- yc managed-sqlserver resource-preset list — List available SQLServer 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. |