yc managed-mongodb cluster
Статья создана
Обновлена 3 октября 2024 г.
Manage MongoDB clusters.
Command Usage
Syntax:
yc managed-mongodb cluster <command>
Aliases:
clusters
Command Tree
- yc managed-mongodb cluster get — Get information about the specified MongoDB cluster.
- yc managed-mongodb cluster list — List MongoDB clusters in a folder.
- yc managed-mongodb cluster create — Create a MongoDB cluster.
- yc managed-mongodb cluster restore — Restore a MongoDB cluster from a backup.
- yc managed-mongodb cluster reschedule-maintenance — Reschedule currently planned maintenance operation.
- yc managed-mongodb cluster update — Modify configuration or attributes of a MongoDB cluster.
- yc managed-mongodb cluster update-config — Update the configuration of a MongoDB cluster.
- yc managed-mongodb cluster add-labels — Assign labels to a MongoDB cluster.
- yc managed-mongodb cluster remove-labels — Remove labels from specified MongoDB cluster
- yc managed-mongodb cluster delete — Delete the specified MongoDB cluster.
- yc managed-mongodb cluster backup — Create a backup for the specified MongoDB cluster.
- yc managed-mongodb cluster list-backups — List available backups for the specified MongoDB cluster.
- yc managed-mongodb cluster list-logs — Retrieve logs for the specified MongoDB cluster.
- yc managed-mongodb cluster list-operations — List operations for the specified MongoDB cluster.
- yc managed-mongodb cluster move — Move the specified MongoDB cluster into the folder
- yc managed-mongodb cluster start — Start the specified MongoDB cluster
- yc managed-mongodb cluster stop — Stop the specified MongoDB cluster
- yc managed-mongodb cluster enable-sharding — Enable sharding for MongoDB cluster.
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. |