AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。
Docs Menu

アラート構成ファイル

アラート構成ファイルを使用して、Atlas CLI を使用して アラート構成を作成 するか アラート構成を更新 する際に必要な設定を指定できます。 Atlas CLI は.jsonアラート構成ファイルを受け入れます。

When you create an alert configuration using a configuration file, you can specify any settings that are listed in Create One Alert Configuration in One Project under Request Body Schema.

When you update an alert configuration using a configuration file, you can specify any settings that are listed in Update One Alert Configuration for One Project under Request Body Schema.

構成ファイルを使用してアラート構成を作成するには、次の手順に従います。

1
  1. Atlas Admin API 仕様の「 1 つのプロジェクトに 1 つのアラート構成を作成する」セクションに移動します。

  2. 右側の [ Request samples ] の下にある [ Expand all ] をクリックします。

  3. サンプル リクエストをコピーするには、 Copyをクリックします。

2
  1. サンプル リクエストをテキストエディタに貼り付け、必要な構成を反映するように値を変更します。

  2. 拡張子が のファイルを保存し.json 。

3

--fileオプションを指定して、 Atlas クラスター検索ノード作成コマンドを実行します。

--fileフラグを使用して保存したファイルへのパスを指定します。

構成ファイルを使用してアラート構成を更新するには、次の手順に従います。

1
  1. Navigate to the Update One Alert Configuration for One Project section of the Atlas Admin API specification.

  2. 右側の [ Request samples ] の下にある [ Expand all ] をクリックします。

  3. サンプル リクエストをコピーするには、 Copyをクリックします。

2
  1. サンプル リクエストをテキストエディタに貼り付け、必要な構成を反映するように値を変更します。

  2. 拡張子が のファイルを保存し.json 。

3

--fileオプションを指定して、 Atlas クラスター検索ノードの更新コマンドを実行します。

--fileフラグを使用して保存したファイルへのパスを指定します。