Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • Машинное обучение
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Истории успеха
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Документация
  • Блог
Проект Яндекса
© 2025 ООО «Яндекс.Облако»
Yandex Managed Service for MongoDB
  • Начало работы
  • Управление доступом
  • Правила тарификации
    • Overview
  • Справочник Terraform
  • Метрики Monitoring
  • Аудитные логи Audit Trails
  • Публичные материалы
  • История изменений
  • Обучающие курсы
  1. Справочник CLI (англ.)
  2. Overview

yc managed-mongodb

Статья создана
Yandex Cloud
Обновлена 2 декабря 2024 г.

Manage MongoDB clusters, hosts, databases, backups and users.

Command UsageCommand Usage

Syntax:

yc managed-mongodb <group>

Aliases:

  • mongodb
  • mongo

Command TreeCommand Tree

  • yc managed-mongodb backup — Manage MongoDB backups.
    • yc managed-mongodb backup delete — Delete MongoDB backup.
    • yc managed-mongodb backup get — Get information about the specified MongoDB backup.
    • yc managed-mongodb backup list — List MongoDB backups available in a folder.
  • yc managed-mongodb cluster — Manage MongoDB clusters.
    • yc managed-mongodb cluster add-labels — Assign labels to a MongoDB cluster.
    • yc managed-mongodb cluster backup — Create a backup for the specified MongoDB cluster.
    • yc managed-mongodb cluster create — Create a MongoDB cluster.
    • yc managed-mongodb cluster delete — Delete the specified MongoDB cluster.
    • yc managed-mongodb cluster enable-sharding — Enable sharding for MongoDB cluster.
    • 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 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 remove-labels — Remove labels from specified MongoDB cluster
    • yc managed-mongodb cluster reschedule-maintenance — Reschedule currently planned maintenance operation.
    • yc managed-mongodb cluster restore — Restore a MongoDB cluster from a backup.
    • yc managed-mongodb cluster start — Start the specified MongoDB cluster
    • yc managed-mongodb cluster stop — Stop the specified MongoDB cluster
    • 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 database — Manage MongoDB databases.
    • yc managed-mongodb database create — Create a database in a MongoDB cluster.
    • yc managed-mongodb database delete — Delete a MongoDB database.
    • yc managed-mongodb database get — Get information about a MongoDB database.
    • yc managed-mongodb database list — List databases for a MongoDB cluster.
  • yc managed-mongodb hosts — Manage hosts of a MongoDB cluster.
    • yc managed-mongodb hosts add — Add new hosts to the cluster in specified availability zones.
    • yc managed-mongodb hosts delete — Remove specified hosts from the a cluster.
    • yc managed-mongodb hosts list — List hosts for a MongoDB cluster.
    • yc managed-mongodb hosts resetup — Resetup specified MongoD hosts.
    • yc managed-mongodb hosts restart — Restart specified MongoD hosts.
    • yc managed-mongodb hosts stepdown — Stepdown specified MongoD hosts.
    • yc managed-mongodb hosts update — Update specified hosts in the cluster.
  • yc managed-mongodb resource-preset — Learn about MongoDB resource presets.
    • yc managed-mongodb resource-preset get — Get information about a MongoDB resource preset.
    • yc managed-mongodb resource-preset list — List available resource presets for Managed Service for MongoDB.
  • yc managed-mongodb shards — Manage shards in a MongoDB cluster.
    • yc managed-mongodb shards add — Create new shard for the cluster in the specified availability zones.
    • yc managed-mongodb shards delete — Delete a shard.
    • yc managed-mongodb shards get — Get information about a shard in a MongoDB cluster.
    • yc managed-mongodb shards list — List shards for a MongoDB cluster.
  • yc managed-mongodb user — Manage MongoDB users.
    • yc managed-mongodb user create — Create a MongoDB user.
    • yc managed-mongodb user delete — Delete a MongoDB user.
    • yc managed-mongodb user get — Get information about a MongoDB user.
    • yc managed-mongodb user grant-permission — Grant a permission to the specified MongoDB user.
    • yc managed-mongodb user list — List users for a MongoDB cluster.
    • yc managed-mongodb user revoke-permission — Revoke a permission from the specified MongoDB user.
    • yc managed-mongodb user update — Modify attributes of a MongoDB user.

Global FlagsGlobal 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.

Была ли статья полезна?

Предыдущая
Правила тарификации
Следующая
Overview
Проект Яндекса
© 2025 ООО «Яндекс.Облако»