yc managed-redis
Статья создана
Обновлена 3 октября 2024 г.
Manage Redis clusters, hosts, databases, backups and users.
Command Usage
Syntax:
yc managed-redis <group>
Aliases:
redis
Command Tree
- yc managed-redis cluster — Manage Redis clusters
- yc managed-redis cluster get — Show information about the specified Redis cluster
- yc managed-redis cluster list — List Redis clusters
- yc managed-redis cluster create — Create Redis cluster
- yc managed-redis cluster restore — Restore Redis cluster
- yc managed-redis cluster start-failover — Start manual failover for the specified Redis cluster
- yc managed-redis cluster reschedule-maintenance — Reschedule currently planned maintenance operation.
- yc managed-redis cluster update — Update the specified Redis cluster
- yc managed-redis cluster update-config — Update the specified Redis cluster config
- yc managed-redis cluster add-labels — Add labels to Redis cluster
- yc managed-redis cluster remove-labels — Remove labels from Redis cluster
- yc managed-redis cluster delete — Delete the specified Redis cluster
- yc managed-redis cluster rebalance — Rebalance the specified Redis cluster
- yc managed-redis cluster enable-sharding — Enable sharding on specified Redis cluster
- yc managed-redis cluster backup — Create a backup for the specified Redis cluster
- yc managed-redis cluster list-backups — List available backups for the specified Redis cluster
- yc managed-redis cluster list-logs — Retrieves logs for the specified Redis cluster
- yc managed-redis cluster list-operations — List operations for the specified Redis cluster
- yc managed-redis cluster move — Move the specified Redis cluster into the folder
- yc managed-redis cluster start — Start the specified Redis cluster
- yc managed-redis cluster stop — Stop the specified Redis cluster
- yc managed-redis hosts — Manage Redis cluster hosts
- yc managed-redis hosts list — List hosts for the specified Redis cluster
- yc managed-redis hosts add — Create new hosts for the cluster in the specified availability zones
- yc managed-redis hosts update — Update the specified hosts
- yc managed-redis hosts delete — Delete the specified hosts
- yc managed-redis backup — Manage Redis backups
- yc managed-redis backup get — Show information about the specified Redis backup
- yc managed-redis backup list — List available backups
- yc managed-redis backup delete — Delete Redis backup.
- yc managed-redis resource-preset — Manage Redis resource presets
- yc managed-redis resource-preset get — Show information about the specified Redis resource preset
- yc managed-redis resource-preset list — List available Redis resource presets
- yc managed-redis shards — Manage shards in a Redis cluster.
- yc managed-redis shards get — Get information about a shard in a Redis cluster.
- yc managed-redis shards list — List shards for a Redis cluster.
- yc managed-redis shards add — Create new shard for the cluster in the specified availability zones.
- yc managed-redis shards delete — Delete shard.
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. |