Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Command line interface
  • Getting started with the CLI
  • Step-by-step instructions
    • All instructions
    • CLI installation
    • Authentication
      • Authenticating as a user
      • Authenticating as a service account
      • Authenticating as a federated user
    • Profile management
      • Creating a profile
      • Managing profile parameters
      • Getting profile information
      • Activating a profile
      • Deleting a profile
  • Concepts
    • Running commands
    • CLI configuration
    • Synchronous and asynchronous command execution modes
  • CLI releases
  • Troubleshooting
  • CLI reference
    • Overview
    • YC CLI management
      • yc operation
      • yc config
      • yc components
    • Service management
      • yc iam
      • yc resource-manager
      • yc compute
      • yc vpc
      • yc managed-clickhouse
      • yc managed-mongodb
      • yc managed-postgresql
  1. CLI reference
  2. Service management
  3. yc managed-mongodb

yc managed-mongodb

    Manage MongoDB.

    Usage

    Syntax:

    yc managed-mongodb <group>

    Aliases:

    • yc mongodb <group>;
    • yc mongo <group>.

    Groups

    • yc managed-mongodb cluster — manage MongoDB clusters.
      • get — show information about the specified MongoDB cluster.
      • list — list MongoDB clusters.
      • create — create MongoDB cluster.
      • restore — restore MongoDB cluster.
      • update — update the specified MongoDB cluster.
      • update-config — update the specified MongoDB cluster config.
      • delete — delete the specified MongoDB cluster.
      • backup — create a backup for the specified MongoDB cluster.
      • list-backups — list available backups for the specified MongoDB cluster.
      • list-logs — retrieves logs for the specified MongoDB cluster.
      • list-operations — list operations for the specified MongoDB cluster.
    • yc managed-mongodb hosts — manage MongoDB cluster hosts.
      • list — list hosts for the specified MongoDB cluster.
      • add — create new hosts for the cluster in the specified availability zones.
      • delete — delete the specified hosts.
    • yc managed-mongodb database — manage MongoDB databases.
      • get — show information about the specified MongoDB database.
      • list — list MongoDB databases.
      • create — create MongoDB database.
      • delete — delete the specified MongoDB database.
    • yc managed-mongodb user — manage MongoDB users.
      • get — show information about the specified MongoDB user.
      • list — list users for the specified MongoDB cluster.
      • create — create a MongoDB user.
      • update — update the specified MongoDB user.
      • delete — delete the specified MongoDB user.
      • grant-permission — grant permission to the specified MongoDB user.
      • revoke-permission — revoke permission from the specified MongoDB user.
    • yc managed-mongodb backup — manage MongoDB backups.
      • get — show information about the specified MongoDB backup.
      • list — list available backups.
    • yc managed-mongodb resource-preset — manage MongoDB resource presets.
      • get — show information about the specified MongoDB resource preset.
      • list — list available MongoDB resource presets.
    Language
    Careers
    Privacy policy
    Terms of use
    © 2021 Yandex.Cloud LLC