Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

Cloud DB for MongoDB (VPC)の概要

Prev Next

VPC環境で利用できます。

Cloud DB for MongoDBは、MongoDBデータベースを簡単に構築して自動管理する完全管理型クラウドデータベースサービスです。Cloud DB for MongoDBでは、データベース管理機能関連の CLIをvmongodbコマンドとして提供します。

Cloud DB for MongoDB(VPC)共通設定

Cloud DB for MongoDB (VPC) CLIで共通して使用するコマンドとオプションの形式について説明します。

構文

vmongodbの構文は次の通りです。

./ncloud vmongodb <subcommand> [options]

オプション

vmongodbで共通して使用できるオプションです。

オプション タイプ 必須の有無 説明
--regionCode String Optional リージョンコード
  • KR | SGN | JPN
  • デフォルト: getRegionList照会結果の最初のリージョン
--output String Optional レスポンス結果の形式
  • json(デフォルト) | xml

Cloud DB for MongoDB (VPC)コマンド

vmongodb配下で使用できるサブコマンドのリストです。

DB Server

DB Server関連のコマンドは次の通りです。

コマンド 説明
createCloudMongoDbInstance Cloud DB for MongoDBインスタンスを作成
getCloudMongoDbInstanceList Cloud DB for MongoDBインスタンスリストを照会
getCloudMongoDbInstanceDetail Cloud DB for MongoDBインスタンスの詳細情報を照会
changeCloudMongoDbConfigCount Cloud DB for MongoDBインスタンスの Configサーバ台数を変更
changeCloudMongoDbMongosCount Cloud DB for MongoDBインスタンスの Mongosサーバ台数を変更
changeCloudMongoDbSecondaryCount Cloud DB for MongoDBインスタンスの Secondaryサーバ台数を変更
changeCloudMongoDbShardCount Cloud DB for MongoDBインスタンスのシャード数を変更
rebootCloudMongoDbServerInstance Cloud DB for MongoDBサーバインスタンスを再起動
deleteCloudMongoDbInstance Cloud DB for MongoDBインスタンスを削除

DB User

DB User関連のコマンドは次の通りです。

コマンド 説明
addCloudMongoDbUserList Cloud DB for MongoDBインスタンスにユーザーを追加
getCloudMongoDbUserList Cloud DB for MongoDBインスタンスのユーザーリストを照会
changeCloudMongoDbUserList Cloud DB for MongoDBインスタンスのユーザー情報を変更
deleteCloudMongoDbUserList Cloud DB for MongoDBインスタンスからユーザーを削除

Backup

バックアップ関連のコマンドは次の通りです。

コマンド 説明
getCloudMongoDbBackupList Cloud DB for MongoDBインスタンスのバックアップリストを照会
getCloudMongoDbBackupDetailList Cloud DB for MongoDBインスタンスのバックアップ詳細情報リストを照会
exportBackupToObjectStorage Cloud DB for MongoDBインスタンスのバックアップファイルを Object Storageに転送

DB Server Log

DB Serverログ関連のコマンドは次の通りです。

コマンド 説明
getDbServerLogList Cloud DB for MongoDBインスタンスの DBサーバログリストを照会
exportDbServerLogToObjectStorage Cloud DB for MongoDBインスタンスの DBサーバログファイルを Object Storageに転送

Common

リソース作成時に参照できる共通の照会コマンドは次の通りです。

コマンド 説明
getCloudMongoDbImageProductList Cloud DB for MongoDBイメージ商品コードリストを照会
getCloudMongoDbProductList Cloud DB for MongoDBサーバスペックコードリストを照会
getCloudMongoDbTargetVpcList VPCリストを照会
getCloudMongoDbTargetSubnetList Subnetリストを照会
getCloudMongoDbBucketList Object Storageバケットリストを照会

Cloud DB for MongoDB (VPC)関連リソース

Cloud DB for MongoDB (VPC) CLIをより効果的に活用するために、さまざまな関連リソースを提供しています。